iommu-omap.h 618 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * omap iommu: main structures
  4. *
  5. * Copyright (C) 2008-2009 Nokia Corporation
  6. *
  7. * Written by Hiroshi DOYU <[email protected]>
  8. */
  9. #include <linux/platform_device.h>
  10. struct iommu_platform_data {
  11. const char *reset_name;
  12. int (*assert_reset)(struct platform_device *pdev, const char *name);
  13. int (*deassert_reset)(struct platform_device *pdev, const char *name);
  14. int (*device_enable)(struct platform_device *pdev);
  15. int (*device_idle)(struct platform_device *pdev);
  16. int (*set_pwrdm_constraint)(struct platform_device *pdev, bool request,
  17. u8 *pwrst);
  18. };