Home
last modified time | relevance | path

Searched refs:_show (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Dhwmon-sysfs.h32 #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)
Dconfigfs.h153 #define __CONFIGFS_ATTR(_name, _mode, _show, _store) \ argument
160 .show = _show, \
164 #define __CONFIGFS_ATTR_RO(_name, _show) \ argument
171 .show = _show, \
Dsysfs.h70 #define __ATTR(_name,_mode,_show,_store) { \ argument
72 .show = _show, \
78 .show = _name##_show, \
Ddevice.h45 #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)
Dperf_event.h1364 _name##_show(struct device *dev, \
/include/target/
Dconfigfs_macros.h68 #define __CONFIGFS_EATTR(_name, _mode, _show, _store) \ argument
75 .show = _show, \
79 #define __CONFIGFS_EATTR_RO(_name, _show) \ argument
86 .show = _show, \
/include/scsi/
Dscsi_transport_fc.h165 #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)