Lines Matching refs:thingy
164 #define ISKU_SYSFS_W(thingy, THINGY) \ argument
165 static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \
173 #define ISKU_SYSFS_R(thingy, THINGY) \ argument
174 static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \
182 #define ISKU_SYSFS_RW(thingy, THINGY) \ argument
183 ISKU_SYSFS_R(thingy, THINGY) \
184 ISKU_SYSFS_W(thingy, THINGY)
186 #define ISKU_BIN_ATTR_RW(thingy, THINGY) \ argument
187 ISKU_SYSFS_RW(thingy, THINGY); \
188 static struct bin_attribute bin_attr_##thingy = { \
189 .attr = { .name = #thingy, .mode = 0660 }, \
191 .read = isku_sysfs_read_ ## thingy, \
192 .write = isku_sysfs_write_ ## thingy \
195 #define ISKU_BIN_ATTR_R(thingy, THINGY) \ argument
196 ISKU_SYSFS_R(thingy, THINGY); \
197 static struct bin_attribute bin_attr_##thingy = { \
198 .attr = { .name = #thingy, .mode = 0440 }, \
200 .read = isku_sysfs_read_ ## thingy, \
203 #define ISKU_BIN_ATTR_W(thingy, THINGY) \ argument
204 ISKU_SYSFS_W(thingy, THINGY); \
205 static struct bin_attribute bin_attr_##thingy = { \
206 .attr = { .name = #thingy, .mode = 0220 }, \
208 .write = isku_sysfs_write_ ## thingy \