adf_sysfs.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (C) 2013 Google, Inc.
  3. *
  4. * This software is licensed under the terms of the GNU General Public
  5. * License version 2, as published by the Free Software Foundation, and
  6. * may be copied, distributed, and modified under those terms.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. */
  14. #ifndef __VIDEO_ADF_ADF_SYSFS_H
  15. #define __VIDEO_ADF_ADF_SYSFS_H
  16. struct adf_device;
  17. struct adf_interface;
  18. struct adf_overlay_engine;
  19. int adf_device_sysfs_init(struct adf_device *dev);
  20. void adf_device_sysfs_destroy(struct adf_device *dev);
  21. int adf_interface_sysfs_init(struct adf_interface *intf);
  22. void adf_interface_sysfs_destroy(struct adf_interface *intf);
  23. int adf_overlay_engine_sysfs_init(struct adf_overlay_engine *eng);
  24. void adf_overlay_engine_sysfs_destroy(struct adf_overlay_engine *eng);
  25. struct adf_obj *adf_obj_sysfs_find(int minor);
  26. int adf_sysfs_init(void);
  27. void adf_sysfs_destroy(void);
  28. #endif /* __VIDEO_ADF_ADF_SYSFS_H */