Lines Matching refs:thingy
157 #define ISKU_SYSFS_W(thingy, THINGY) \ argument
158 static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \
166 #define ISKU_SYSFS_R(thingy, THINGY) \ argument
167 static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \
175 #define ISKU_SYSFS_RW(thingy, THINGY) \ argument
176 ISKU_SYSFS_R(thingy, THINGY) \
177 ISKU_SYSFS_W(thingy, THINGY)
179 #define ISKU_BIN_ATTR_RW(thingy, THINGY) \ argument
180 ISKU_SYSFS_RW(thingy, THINGY); \
181 static struct bin_attribute bin_attr_##thingy = { \
182 .attr = { .name = #thingy, .mode = 0660 }, \
184 .read = isku_sysfs_read_ ## thingy, \
185 .write = isku_sysfs_write_ ## thingy \
188 #define ISKU_BIN_ATTR_R(thingy, THINGY) \ argument
189 ISKU_SYSFS_R(thingy, THINGY); \
190 static struct bin_attribute bin_attr_##thingy = { \
191 .attr = { .name = #thingy, .mode = 0440 }, \
193 .read = isku_sysfs_read_ ## thingy, \
196 #define ISKU_BIN_ATTR_W(thingy, THINGY) \ argument
197 ISKU_SYSFS_W(thingy, THINGY); \
198 static struct bin_attribute bin_attr_##thingy = { \
199 .attr = { .name = #thingy, .mode = 0220 }, \
201 .write = isku_sysfs_write_ ## thingy \