Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/base/
Ddriver.c101 const struct driver_attribute *attr) in driver_create_file()
119 const struct driver_attribute *attr) in driver_remove_file()
Dbus.c32 #define to_drv_attr(_attr) container_of(_attr, struct driver_attribute, attr)
56 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_show()
68 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_store()
/Linux-v4.19/Documentation/translations/zh_CN/filesystems/
Dsysfs.txt350 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-v4.19/Documentation/driver-model/
Ddriver.txt192 struct driver_attribute {
209 struct driver_attribute driver_attr_debug;
214 int driver_create_file(struct device_driver *, const struct driver_attribute *);
215 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/Linux-v4.19/include/linux/
Ddevice.h314 struct driver_attribute { struct
322 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name) argument
324 struct driver_attribute driver_attr_##_name = __ATTR_RO(_name)
326 struct driver_attribute driver_attr_##_name = __ATTR_WO(_name)
329 const struct driver_attribute *attr);
331 const struct driver_attribute *attr);
/Linux-v4.19/Documentation/filesystems/
Dsysfs.txt360 struct driver_attribute {
374 int driver_create_file(struct device_driver *, const struct driver_attribute *);
375 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/Linux-v4.19/drivers/platform/x86/
Dthinkpad_acpi.c1586 static struct driver_attribute *tpacpi_driver_attributes[] = {