Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/base/
Ddriver.c103 const struct driver_attribute *attr) in driver_create_file()
121 const struct driver_attribute *attr) in driver_remove_file()
Dbus.c34 #define to_drv_attr(_attr) container_of(_attr, struct driver_attribute, attr)
58 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_show()
70 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_store()
/linux-4.4.14/Documentation/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-4.4.14/include/linux/
Ddevice.h296 struct driver_attribute { struct
304 struct driver_attribute driver_attr_##_name = __ATTR(_name, _mode, _show, _store) argument
306 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name)
308 struct driver_attribute driver_attr_##_name = __ATTR_RO(_name)
310 struct driver_attribute driver_attr_##_name = __ATTR_WO(_name)
313 const struct driver_attribute *attr);
315 const struct driver_attribute *attr);
/linux-4.4.14/Documentation/driver-model/
Ddriver.txt192 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.4.14/drivers/staging/unisys/include/
Dvisorbus.h113 struct driver_attribute version_attr;
/linux-4.4.14/Documentation/filesystems/
Dsysfs.txt360 struct driver_attribute {
373 int driver_create_file(struct device_driver *, const struct driver_attribute *);
374 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorbus_main.c705 struct driver_attribute version = in register_driver_attributes()
/linux-4.4.14/drivers/platform/x86/
Dthinkpad_acpi.c1588 static struct driver_attribute *tpacpi_driver_attributes[] = {