Home
last modified time | relevance | path

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

/Linux-v5.4/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)
35 struct driver_attribute driver_attr_##_name = \
59 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_show()
71 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_store()
/Linux-v5.4/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-v5.4/Documentation/driver-api/driver-model/
Ddriver.rst200 struct driver_attribute {
217 struct driver_attribute driver_attr_debug;
222 int driver_create_file(struct device_driver *, const struct driver_attribute *);
223 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/Linux-v5.4/include/linux/
Ddevice.h406 struct driver_attribute { struct
414 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name) argument
416 struct driver_attribute driver_attr_##_name = __ATTR_RO(_name)
418 struct driver_attribute driver_attr_##_name = __ATTR_WO(_name)
421 const struct driver_attribute *attr);
423 const struct driver_attribute *attr);
/Linux-v5.4/Documentation/filesystems/
Dsysfs.txt383 struct driver_attribute {
397 int driver_create_file(struct device_driver *, const struct driver_attribute *);
398 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/Linux-v5.4/drivers/platform/x86/
Dthinkpad_acpi.c1576 static struct driver_attribute *tpacpi_driver_attributes[] = {