Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/device/
A Ddriver.h136 struct driver_attribute { struct
144 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name) argument
146 struct driver_attribute driver_attr_##_name = __ATTR_RO(_name)
148 struct driver_attribute driver_attr_##_name = __ATTR_WO(_name)
151 const struct driver_attribute *attr);
153 const struct driver_attribute *attr);
/linux-6.3-rc2/drivers/base/
A Ddriver.c177 const struct driver_attribute *attr) in driver_create_file()
195 const struct driver_attribute *attr) in driver_remove_file()
A Dbus.c37 #define to_drv_attr(_attr) container_of(_attr, struct driver_attribute, attr)
40 struct driver_attribute driver_attr_##_name = \
108 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_show()
120 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_store()
/linux-6.3-rc2/Documentation/translations/zh_CN/filesystems/
A Dsysfs.txt351 struct driver_attribute {
364 int driver_create_file(struct device_driver *, const struct driver_attribute *);
365 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux-6.3-rc2/Documentation/translations/zh_TW/filesystems/
A Dsysfs.txt354 struct driver_attribute {
367 int driver_create_file(struct device_driver *, const struct driver_attribute *);
368 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux-6.3-rc2/drivers/dma/idxd/
A Dcompat.c14 struct driver_attribute driver_attr_##_name = \
/linux-6.3-rc2/Documentation/driver-api/driver-model/
A Ddriver.rst263 struct driver_attribute {
280 struct driver_attribute driver_attr_debug;
285 int driver_create_file(struct device_driver *, const struct driver_attribute *);
286 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Datomisp_drvfs.c158 static const struct driver_attribute iunit_drvfs_attrs[] = {
/linux-6.3-rc2/Documentation/filesystems/
A Dsysfs.rst397 struct driver_attribute {
411 int driver_create_file(struct device_driver *, const struct driver_attribute *);
412 void driver_remove_file(struct device_driver *, const struct driver_attribute *);

Completed in 25 milliseconds