Home
last modified time | relevance | path

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

/include/linux/iio/
Dsysfs.h55 { .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/
Dhwmon-sysfs.h20 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
54 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
Dcpufreq.h285 __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)
Dmdev.h133 __ATTR(_name, _mode, _show, _store)
Dsysfs.h101 #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
Ddevice.h127 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) }
Dperf_event.h1630 .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/
Dclass.h239 { __ATTR(_name, _mode, show_class_attr_string, NULL), _str }
/include/scsi/
Dscsi_transport_fc.h167 __ATTR(_name,_mode,_show,_store)
323 __ATTR(_name,_mode,_show,_store)