Lines Matching refs:thingy
174 #define KOVAPLUS_SYSFS_W(thingy, THINGY) \ argument
175 static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \
183 #define KOVAPLUS_SYSFS_R(thingy, THINGY) \ argument
184 static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \
192 #define KOVAPLUS_SYSFS_RW(thingy, THINGY) \ argument
193 KOVAPLUS_SYSFS_W(thingy, THINGY) \
194 KOVAPLUS_SYSFS_R(thingy, THINGY)
196 #define KOVAPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument
197 KOVAPLUS_SYSFS_RW(thingy, THINGY); \
198 static struct bin_attribute bin_attr_##thingy = { \
199 .attr = { .name = #thingy, .mode = 0660 }, \
201 .read = kovaplus_sysfs_read_ ## thingy, \
202 .write = kovaplus_sysfs_write_ ## thingy \
205 #define KOVAPLUS_BIN_ATTRIBUTE_W(thingy, THINGY) \ argument
206 KOVAPLUS_SYSFS_W(thingy, THINGY); \
207 static struct bin_attribute bin_attr_##thingy = { \
208 .attr = { .name = #thingy, .mode = 0220 }, \
210 .write = kovaplus_sysfs_write_ ## thingy \