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)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()
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 *);
192 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 *);
314 struct driver_attribute { struct322 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name) argument324 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);
360 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 *);
1586 static struct driver_attribute *tpacpi_driver_attributes[] = {