Lines Matching refs:_name
90 #define CLASS_ATTR(_name, _mode, _show, _store) \
91 struct class_attribute class_attr_##_name = \
92 { { #_name, NULL, _mode }, _show, _store }
103 #define DEVICE_ATTR(_name, _mode, _show, _store) \
104 struct device_attribute dev_attr_##_name = \
105 { { #_name, NULL, _mode }, _show, _store }
123 #define _CLASS_ATTR_STRING(_name, _mode, _str) \
124 { __ATTR(_name, _mode, show_class_attr_string, NULL), _str }
125 #define CLASS_ATTR_STRING(_name, _mode, _str) \
126 struct class_attribute_string class_attr_##_name = \
127 _CLASS_ATTR_STRING(_name, _mode, _str)