Lines Matching refs:thingy
172 #define KOVAPLUS_SYSFS_W(thingy, THINGY) \ argument
173 static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \
181 #define KOVAPLUS_SYSFS_R(thingy, THINGY) \ argument
182 static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \
190 #define KOVAPLUS_SYSFS_RW(thingy, THINGY) \ argument
191 KOVAPLUS_SYSFS_W(thingy, THINGY) \
192 KOVAPLUS_SYSFS_R(thingy, THINGY)
194 #define KOVAPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument
195 KOVAPLUS_SYSFS_RW(thingy, THINGY); \
196 static struct bin_attribute bin_attr_##thingy = { \
197 .attr = { .name = #thingy, .mode = 0660 }, \
199 .read = kovaplus_sysfs_read_ ## thingy, \
200 .write = kovaplus_sysfs_write_ ## thingy \
203 #define KOVAPLUS_BIN_ATTRIBUTE_W(thingy, THINGY) \ argument
204 KOVAPLUS_SYSFS_W(thingy, THINGY); \
205 static struct bin_attribute bin_attr_##thingy = { \
206 .attr = { .name = #thingy, .mode = 0220 }, \
208 .write = kovaplus_sysfs_write_ ## thingy \