Lines Matching refs:thingy
159 #define ISKU_SYSFS_W(thingy, THINGY) \ argument
160 static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \
168 #define ISKU_SYSFS_R(thingy, THINGY) \ argument
169 static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \
177 #define ISKU_SYSFS_RW(thingy, THINGY) \ argument
178 ISKU_SYSFS_R(thingy, THINGY) \
179 ISKU_SYSFS_W(thingy, THINGY)
181 #define ISKU_BIN_ATTR_RW(thingy, THINGY) \ argument
182 ISKU_SYSFS_RW(thingy, THINGY); \
183 static struct bin_attribute bin_attr_##thingy = { \
184 .attr = { .name = #thingy, .mode = 0660 }, \
186 .read = isku_sysfs_read_ ## thingy, \
187 .write = isku_sysfs_write_ ## thingy \
190 #define ISKU_BIN_ATTR_R(thingy, THINGY) \ argument
191 ISKU_SYSFS_R(thingy, THINGY); \
192 static struct bin_attribute bin_attr_##thingy = { \
193 .attr = { .name = #thingy, .mode = 0440 }, \
195 .read = isku_sysfs_read_ ## thingy, \
198 #define ISKU_BIN_ATTR_W(thingy, THINGY) \ argument
199 ISKU_SYSFS_W(thingy, THINGY); \
200 static struct bin_attribute bin_attr_##thingy = { \
201 .attr = { .name = #thingy, .mode = 0220 }, \
203 .write = isku_sysfs_write_ ## thingy \