Home
last modified time | relevance | path

Searched refs:driver_attribute (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/device/
H A Ddriver.h139 struct driver_attribute { struct
147 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name) argument
149 struct driver_attribute driver_attr_##_name = __ATTR_RO(_name)
151 struct driver_attribute driver_attr_##_name = __ATTR_WO(_name)
154 const struct driver_attribute *attr);
156 const struct driver_attribute *attr);
/OK3568_Linux_fs/kernel/drivers/base/
H A Ddriver.c102 const struct driver_attribute *attr) in driver_create_file()
120 const struct driver_attribute *attr) in driver_remove_file()
H A Dbus.c33 #define to_drv_attr(_attr) container_of(_attr, struct driver_attribute, attr)
36 struct driver_attribute driver_attr_##_name = \
60 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_show()
72 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_store()
/OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt351 struct driver_attribute {
364 int driver_create_file(struct device_driver *, const struct driver_attribute *);
365 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/OK3568_Linux_fs/kernel/Documentation/driver-api/driver-model/
H A Ddriver.rst263 struct driver_attribute {
280 struct driver_attribute driver_attr_debug;
285 int driver_create_file(struct device_driver *, const struct driver_attribute *);
286 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Datomisp_drvfs.c163 static const struct driver_attribute iunit_drvfs_attrs[] = {
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dsysfs.rst390 struct driver_attribute {
404 int driver_create_file(struct device_driver *, const struct driver_attribute *);
405 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dthinkpad_acpi.c1549 static struct driver_attribute *tpacpi_driver_attributes[] = {