Searched refs:__ATTR (Results 1 – 9 of 9) sorted by relevance
/include/linux/iio/ |
D | sysfs.h | 55 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 93 .dev_attr = __ATTR(_name, S_IRUGO, iio_read_const_attr, NULL)} 98 .dev_attr = __ATTR(_name, S_IRUGO, iio_read_const_attr, NULL)}
|
/include/linux/ |
D | hwmon-sysfs.h | 20 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 54 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
|
D | cpufreq.h | 285 __ATTR(_name, 0444, show_##_name, NULL) 289 __ATTR(_name, _perm, show_##_name, NULL) 293 __ATTR(_name, 0644, show_##_name, store_##_name) 297 __ATTR(_name, 0200, NULL, store_##_name) 301 __ATTR(_name, 0444, show_##_name, NULL) 305 __ATTR(_name, 0644, show_##_name, store_##_name)
|
D | mdev.h | 133 __ATTR(_name, _mode, _show, _store)
|
D | sysfs.h | 101 #define __ATTR(_name, _mode, _show, _store) { \ macro 138 #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store) 150 #define __ATTR_IGNORE_LOCKDEP __ATTR
|
D | device.h | 127 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) 143 { __ATTR(_name, _mode, device_show_ulong, device_store_ulong), &(_var) } 146 { __ATTR(_name, _mode, device_show_int, device_store_int), &(_var) } 149 { __ATTR(_name, _mode, device_show_bool, device_store_bool), &(_var) }
|
D | perf_event.h | 1630 .attr = __ATTR(_name, 0444, _show, NULL), \ 1636 .attr = __ATTR(_name, 0444, perf_event_sysfs_show, NULL), \ 1643 { .attr = __ATTR(_name, 0444, _show, NULL), \
|
/include/linux/device/ |
D | class.h | 239 { __ATTR(_name, _mode, show_class_attr_string, NULL), _str }
|
/include/scsi/ |
D | scsi_transport_fc.h | 167 __ATTR(_name,_mode,_show,_store) 323 __ATTR(_name,_mode,_show,_store)
|