Searched refs:driver_attribute (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/base/
H A Ddriver.c103 const struct driver_attribute *attr) driver_create_file()
121 const struct driver_attribute *attr) driver_remove_file()
H A Dbus.c33 #define to_drv_attr(_attr) container_of(_attr, struct driver_attribute, attr)
57 struct driver_attribute *drv_attr = to_drv_attr(attr); drv_attr_show()
69 struct driver_attribute *drv_attr = to_drv_attr(attr); drv_attr_store()
/linux-4.1.27/include/linux/
H A Ddevice.h266 struct driver_attribute { struct
274 struct driver_attribute driver_attr_##_name = __ATTR(_name, _mode, _show, _store)
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/drivers/staging/unisys/virtpci/
H A Dvirtpci.c1170 container_of(obj, struct driver_attribute, attr)
1176 struct driver_attribute *dattr = attribute_to_driver_attribute(attr); virtpci_driver_attr_show()
1192 struct driver_attribute *dattr = attribute_to_driver_attribute(attr); virtpci_driver_attr_store()
/linux-4.1.27/drivers/platform/x86/
H A Dthinkpad_acpi.c1587 static struct driver_attribute *tpacpi_driver_attributes[] = {

Completed in 231 milliseconds