Lines Matching refs:thingy
177 #define KOVAPLUS_SYSFS_W(thingy, THINGY) \ argument
178 static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \
186 #define KOVAPLUS_SYSFS_R(thingy, THINGY) \ argument
187 static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \
195 #define KOVAPLUS_SYSFS_RW(thingy, THINGY) \ argument
196 KOVAPLUS_SYSFS_W(thingy, THINGY) \
197 KOVAPLUS_SYSFS_R(thingy, THINGY)
199 #define KOVAPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument
200 KOVAPLUS_SYSFS_RW(thingy, THINGY); \
201 static struct bin_attribute bin_attr_##thingy = { \
202 .attr = { .name = #thingy, .mode = 0660 }, \
204 .read = kovaplus_sysfs_read_ ## thingy, \
205 .write = kovaplus_sysfs_write_ ## thingy \
208 #define KOVAPLUS_BIN_ATTRIBUTE_W(thingy, THINGY) \ argument
209 KOVAPLUS_SYSFS_W(thingy, THINGY); \
210 static struct bin_attribute bin_attr_##thingy = { \
211 .attr = { .name = #thingy, .mode = 0220 }, \
213 .write = kovaplus_sysfs_write_ ## thingy \