Searched refs:driver_attribute (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/base/ |
D | driver.c | 103 const struct driver_attribute *attr) in driver_create_file() 121 const struct driver_attribute *attr) in driver_remove_file()
|
D | bus.c | 33 #define to_drv_attr(_attr) container_of(_attr, struct driver_attribute, attr) 57 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_show() 69 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_store()
|
/linux-4.1.27/Documentation/zh_CN/filesystems/ |
D | sysfs.txt | 350 struct driver_attribute { 363 int driver_create_file(struct device_driver *, const struct driver_attribute *); 364 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
|
/linux-4.1.27/include/linux/ |
D | device.h | 266 struct driver_attribute { struct 274 struct driver_attribute driver_attr_##_name = __ATTR(_name, _mode, _show, _store) argument 276 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name) 278 struct driver_attribute driver_attr_##_name = __ATTR_RO(_name) 280 struct driver_attribute driver_attr_##_name = __ATTR_WO(_name) 283 const struct driver_attribute *attr); 285 const struct driver_attribute *attr);
|
/linux-4.1.27/Documentation/driver-model/ |
D | driver.txt | 192 struct driver_attribute { 208 struct driver_attribute driver_attr_debug; 213 int driver_create_file(struct device_driver *, const struct driver_attribute *); 214 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
|
/linux-4.1.27/Documentation/filesystems/ |
D | sysfs.txt | 356 struct driver_attribute { 369 int driver_create_file(struct device_driver *, const struct driver_attribute *); 370 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
|
/linux-4.1.27/drivers/staging/unisys/virtpci/ |
D | virtpci.c | 1170 container_of(obj, struct driver_attribute, attr) 1176 struct driver_attribute *dattr = attribute_to_driver_attribute(attr); in virtpci_driver_attr_show() 1192 struct driver_attribute *dattr = attribute_to_driver_attribute(attr); in virtpci_driver_attr_store()
|
/linux-4.1.27/drivers/platform/x86/ |
D | thinkpad_acpi.c | 1587 static struct driver_attribute *tpacpi_driver_attributes[] = {
|