Lines Matching refs:_name
133 #define CLASS_ATTR(_name, _mode, _show, _store) \
134 struct class_attribute class_attr_##_name = \
135 { { #_name, NULL, _mode }, _show, _store }
146 #define DEVICE_ATTR(_name, _mode, _show, _store) \
147 struct device_attribute dev_attr_##_name = \
148 __ATTR(_name, _mode, _show, _store)
149 #define DEVICE_ATTR_RO(_name) \
150 struct device_attribute dev_attr_##_name = __ATTR_RO(_name)
151 #define DEVICE_ATTR_WO(_name) \
152 struct device_attribute dev_attr_##_name = __ATTR_WO(_name)
153 #define DEVICE_ATTR_RW(_name) \
154 struct device_attribute dev_attr_##_name = __ATTR_RW(_name)
172 #define _CLASS_ATTR_STRING(_name, _mode, _str) \
173 { __ATTR(_name, _mode, show_class_attr_string, NULL), _str }
174 #define CLASS_ATTR_STRING(_name, _mode, _str) \
175 struct class_attribute_string class_attr_##_name = \
176 _CLASS_ATTR_STRING(_name, _mode, _str)