/include/linux/ |
D | hwmon-sysfs.h | 32 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ argument 33 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 36 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ argument 38 = SENSOR_ATTR(_name, _mode, _show, _store, _index) 48 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ argument 49 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 53 #define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index) \ argument 55 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index)
|
D | configfs.h | 153 #define __CONFIGFS_ATTR(_name, _mode, _show, _store) \ argument 160 .show = _show, \ 164 #define __CONFIGFS_ATTR_RO(_name, _show) \ argument 171 .show = _show, \
|
D | sysfs.h | 70 #define __ATTR(_name,_mode,_show,_store) { \ argument 72 .show = _show, \ 78 .show = _name##_show, \
|
D | device.h | 45 #define BUS_ATTR(_name, _mode, _show, _store) \ argument 46 struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store) 256 #define DRIVER_ATTR(_name, _mode, _show, _store) \ argument 258 __ATTR(_name, _mode, _show, _store) 407 #define CLASS_ATTR(_name, _mode, _show, _store) \ argument 408 struct class_attribute class_attr_##_name = __ATTR(_name, _mode, _show, _store) 498 #define DEVICE_ATTR(_name, _mode, _show, _store) \ argument 499 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
|
D | perf_event.h | 1364 _name##_show(struct device *dev, \
|
/include/target/ |
D | configfs_macros.h | 68 #define __CONFIGFS_EATTR(_name, _mode, _show, _store) \ argument 75 .show = _show, \ 79 #define __CONFIGFS_EATTR_RO(_name, _show) \ argument 86 .show = _show, \
|
/include/scsi/ |
D | scsi_transport_fc.h | 165 #define FC_VPORT_ATTR(_name,_mode,_show,_store) \ argument 167 __ATTR(_name,_mode,_show,_store) 291 #define FC_RPORT_ATTR(_name,_mode,_show,_store) \ argument 293 __ATTR(_name,_mode,_show,_store)
|