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 15 #ifndef __VIDEO_ADF_ADF_SYSFS_H 16 #define __VIDEO_ADF_ADF_SYSFS_H 17 18 struct adf_device; 19 struct adf_interface; 20 struct adf_overlay_engine; 21 22 int adf_device_sysfs_init(struct adf_device *dev); 23 void adf_device_sysfs_destroy(struct adf_device *dev); 24 int adf_interface_sysfs_init(struct adf_interface *intf); 25 void adf_interface_sysfs_destroy(struct adf_interface *intf); 26 int adf_overlay_engine_sysfs_init(struct adf_overlay_engine *eng); 27 void adf_overlay_engine_sysfs_destroy(struct adf_overlay_engine *eng); 28 struct adf_obj *adf_obj_sysfs_find(int minor); 29 30 int adf_sysfs_init(void); 31 void adf_sysfs_destroy(void); 32 33 #endif /* __VIDEO_ADF_ADF_SYSFS_H */ 34