/include/linux/ |
D | hwmon-sysfs.h | 19 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ argument 20 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 27 SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index) 30 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index) 32 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ argument 34 = SENSOR_ATTR(_name, _mode, _show, _store, _index) 40 SENSOR_DEVICE_ATTR(_name, 0644, _func##_show, _func##_store, _index) 43 SENSOR_DEVICE_ATTR(_name, 0200, NULL, _func##_store, _index) 53 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ argument 54 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ [all …]
|
D | sysfs.h | 101 #define __ATTR(_name, _mode, _show, _store) { \ argument 105 .store = _store, \ 108 #define __ATTR_PREALLOC(_name, _mode, _show, _store) { \ argument 112 .store = _store, \ 130 .store = _name##_store, \ 135 .store = _name##_store, \ 138 #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store) 143 #define __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) { \ argument 147 .store = _store, \
|
D | mdev.h | 131 #define MDEV_TYPE_ATTR(_name, _mode, _show, _store) \ argument 133 __ATTR(_name, _mode, _show, _store)
|
D | configfs.h | 129 .store = _pfx##_name##_store, \ 145 .store = _pfx##_name##_store, \
|
D | device.h | 126 #define DEVICE_ATTR(_name, _mode, _show, _store) \ argument 127 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) 128 #define DEVICE_ATTR_PREALLOC(_name, _mode, _show, _store) \ argument 130 __ATTR_PREALLOC(_name, _mode, _show, _store) 150 #define DEVICE_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument 152 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
|
/include/linux/iio/ |
D | sysfs.h | 54 #define IIO_ATTR(_name, _mode, _show, _store, _addr) \ argument 55 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 70 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ argument 72 = IIO_ATTR(_name, _mode, _show, _store, _addr) 86 #define IIO_DEVICE_ATTR_NAMED(_vname, _name, _mode, _show, _store, _addr) \ argument 88 = IIO_ATTR(_name, _mode, _show, _store, _addr) 108 #define IIO_DEV_ATTR_SAMP_FREQ(_mode, _show, _store) \ argument 109 IIO_DEVICE_ATTR(sampling_frequency, _mode, _show, _store, 0)
|
/include/linux/usb/ |
D | gadget_configfs.h | 11 static ssize_t __struct##_##__name##_store(struct config_item *item, \
|
/include/scsi/ |
D | scsi_transport_fc.h | 165 #define FC_VPORT_ATTR(_name,_mode,_show,_store) \ argument 167 __ATTR(_name,_mode,_show,_store) 321 #define FC_RPORT_ATTR(_name,_mode,_show,_store) \ argument 323 __ATTR(_name,_mode,_show,_store)
|