Searched refs:driver_attribute (Results 1 – 7 of 7) sorted by relevance
101 const struct driver_attribute *attr) in driver_create_file()119 const struct driver_attribute *attr) in driver_remove_file()
32 #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()
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 *);
200 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 *);
406 struct driver_attribute { struct414 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name) argument416 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);
383 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 *);
1576 static struct driver_attribute *tpacpi_driver_attributes[] = {