thingy 47 drivers/hid/hid-roccat-common.h #define ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \ thingy 48 drivers/hid/hid-roccat-common.h static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \ thingy 56 drivers/hid/hid-roccat-common.h #define ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) \ thingy 57 drivers/hid/hid-roccat-common.h static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \ thingy 65 drivers/hid/hid-roccat-common.h #define ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE) \ thingy 66 drivers/hid/hid-roccat-common.h ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \ thingy 67 drivers/hid/hid-roccat-common.h ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) thingy 69 drivers/hid/hid-roccat-common.h #define ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(thingy, COMMAND, SIZE) \ thingy 70 drivers/hid/hid-roccat-common.h ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE); \ thingy 71 drivers/hid/hid-roccat-common.h static struct bin_attribute bin_attr_ ## thingy = { \ thingy 72 drivers/hid/hid-roccat-common.h .attr = { .name = #thingy, .mode = 0660 }, \ thingy 74 drivers/hid/hid-roccat-common.h .read = roccat_common2_sysfs_read_ ## thingy, \ thingy 75 drivers/hid/hid-roccat-common.h .write = roccat_common2_sysfs_write_ ## thingy \ thingy 78 drivers/hid/hid-roccat-common.h #define ROCCAT_COMMON2_BIN_ATTRIBUTE_R(thingy, COMMAND, SIZE) \ thingy 79 drivers/hid/hid-roccat-common.h ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE); \ thingy 80 drivers/hid/hid-roccat-common.h static struct bin_attribute bin_attr_ ## thingy = { \ thingy 81 drivers/hid/hid-roccat-common.h .attr = { .name = #thingy, .mode = 0440 }, \ thingy 83 drivers/hid/hid-roccat-common.h .read = roccat_common2_sysfs_read_ ## thingy, \ thingy 86 drivers/hid/hid-roccat-common.h #define ROCCAT_COMMON2_BIN_ATTRIBUTE_W(thingy, COMMAND, SIZE) \ thingy 87 drivers/hid/hid-roccat-common.h ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE); \ thingy 88 drivers/hid/hid-roccat-common.h static struct bin_attribute bin_attr_ ## thingy = { \ thingy 89 drivers/hid/hid-roccat-common.h .attr = { .name = #thingy, .mode = 0220 }, \ thingy 91 drivers/hid/hid-roccat-common.h .write = roccat_common2_sysfs_write_ ## thingy \ thingy 159 drivers/hid/hid-roccat-isku.c #define ISKU_SYSFS_W(thingy, THINGY) \ thingy 160 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \ thingy 168 drivers/hid/hid-roccat-isku.c #define ISKU_SYSFS_R(thingy, THINGY) \ thingy 169 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \ thingy 177 drivers/hid/hid-roccat-isku.c #define ISKU_SYSFS_RW(thingy, THINGY) \ thingy 178 drivers/hid/hid-roccat-isku.c ISKU_SYSFS_R(thingy, THINGY) \ thingy 179 drivers/hid/hid-roccat-isku.c ISKU_SYSFS_W(thingy, THINGY) thingy 181 drivers/hid/hid-roccat-isku.c #define ISKU_BIN_ATTR_RW(thingy, THINGY) \ thingy 182 drivers/hid/hid-roccat-isku.c ISKU_SYSFS_RW(thingy, THINGY); \ thingy 183 drivers/hid/hid-roccat-isku.c static struct bin_attribute bin_attr_##thingy = { \ thingy 184 drivers/hid/hid-roccat-isku.c .attr = { .name = #thingy, .mode = 0660 }, \ thingy 186 drivers/hid/hid-roccat-isku.c .read = isku_sysfs_read_ ## thingy, \ thingy 187 drivers/hid/hid-roccat-isku.c .write = isku_sysfs_write_ ## thingy \ thingy 190 drivers/hid/hid-roccat-isku.c #define ISKU_BIN_ATTR_R(thingy, THINGY) \ thingy 191 drivers/hid/hid-roccat-isku.c ISKU_SYSFS_R(thingy, THINGY); \ thingy 192 drivers/hid/hid-roccat-isku.c static struct bin_attribute bin_attr_##thingy = { \ thingy 193 drivers/hid/hid-roccat-isku.c .attr = { .name = #thingy, .mode = 0440 }, \ thingy 195 drivers/hid/hid-roccat-isku.c .read = isku_sysfs_read_ ## thingy, \ thingy 198 drivers/hid/hid-roccat-isku.c #define ISKU_BIN_ATTR_W(thingy, THINGY) \ thingy 199 drivers/hid/hid-roccat-isku.c ISKU_SYSFS_W(thingy, THINGY); \ thingy 200 drivers/hid/hid-roccat-isku.c static struct bin_attribute bin_attr_##thingy = { \ thingy 201 drivers/hid/hid-roccat-isku.c .attr = { .name = #thingy, .mode = 0220 }, \ thingy 203 drivers/hid/hid-roccat-isku.c .write = isku_sysfs_write_ ## thingy \ thingy 131 drivers/hid/hid-roccat-koneplus.c #define KONEPLUS_SYSFS_W(thingy, THINGY) \ thingy 132 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \ thingy 140 drivers/hid/hid-roccat-koneplus.c #define KONEPLUS_SYSFS_R(thingy, THINGY) \ thingy 141 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \ thingy 149 drivers/hid/hid-roccat-koneplus.c #define KONEPLUS_SYSFS_RW(thingy, THINGY) \ thingy 150 drivers/hid/hid-roccat-koneplus.c KONEPLUS_SYSFS_W(thingy, THINGY) \ thingy 151 drivers/hid/hid-roccat-koneplus.c KONEPLUS_SYSFS_R(thingy, THINGY) thingy 153 drivers/hid/hid-roccat-koneplus.c #define KONEPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ thingy 154 drivers/hid/hid-roccat-koneplus.c KONEPLUS_SYSFS_RW(thingy, THINGY); \ thingy 155 drivers/hid/hid-roccat-koneplus.c static struct bin_attribute bin_attr_##thingy = { \ thingy 156 drivers/hid/hid-roccat-koneplus.c .attr = { .name = #thingy, .mode = 0660 }, \ thingy 158 drivers/hid/hid-roccat-koneplus.c .read = koneplus_sysfs_read_ ## thingy, \ thingy 159 drivers/hid/hid-roccat-koneplus.c .write = koneplus_sysfs_write_ ## thingy \ thingy 162 drivers/hid/hid-roccat-koneplus.c #define KONEPLUS_BIN_ATTRIBUTE_R(thingy, THINGY) \ thingy 163 drivers/hid/hid-roccat-koneplus.c KONEPLUS_SYSFS_R(thingy, THINGY); \ thingy 164 drivers/hid/hid-roccat-koneplus.c static struct bin_attribute bin_attr_##thingy = { \ thingy 165 drivers/hid/hid-roccat-koneplus.c .attr = { .name = #thingy, .mode = 0440 }, \ thingy 167 drivers/hid/hid-roccat-koneplus.c .read = koneplus_sysfs_read_ ## thingy, \ thingy 170 drivers/hid/hid-roccat-koneplus.c #define KONEPLUS_BIN_ATTRIBUTE_W(thingy, THINGY) \ thingy 171 drivers/hid/hid-roccat-koneplus.c KONEPLUS_SYSFS_W(thingy, THINGY); \ thingy 172 drivers/hid/hid-roccat-koneplus.c static struct bin_attribute bin_attr_##thingy = { \ thingy 173 drivers/hid/hid-roccat-koneplus.c .attr = { .name = #thingy, .mode = 0220 }, \ thingy 175 drivers/hid/hid-roccat-koneplus.c .write = koneplus_sysfs_write_ ## thingy \ thingy 174 drivers/hid/hid-roccat-kovaplus.c #define KOVAPLUS_SYSFS_W(thingy, THINGY) \ thingy 175 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \ thingy 183 drivers/hid/hid-roccat-kovaplus.c #define KOVAPLUS_SYSFS_R(thingy, THINGY) \ thingy 184 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \ thingy 192 drivers/hid/hid-roccat-kovaplus.c #define KOVAPLUS_SYSFS_RW(thingy, THINGY) \ thingy 193 drivers/hid/hid-roccat-kovaplus.c KOVAPLUS_SYSFS_W(thingy, THINGY) \ thingy 194 drivers/hid/hid-roccat-kovaplus.c KOVAPLUS_SYSFS_R(thingy, THINGY) thingy 196 drivers/hid/hid-roccat-kovaplus.c #define KOVAPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ thingy 197 drivers/hid/hid-roccat-kovaplus.c KOVAPLUS_SYSFS_RW(thingy, THINGY); \ thingy 198 drivers/hid/hid-roccat-kovaplus.c static struct bin_attribute bin_attr_##thingy = { \ thingy 199 drivers/hid/hid-roccat-kovaplus.c .attr = { .name = #thingy, .mode = 0660 }, \ thingy 201 drivers/hid/hid-roccat-kovaplus.c .read = kovaplus_sysfs_read_ ## thingy, \ thingy 202 drivers/hid/hid-roccat-kovaplus.c .write = kovaplus_sysfs_write_ ## thingy \ thingy 205 drivers/hid/hid-roccat-kovaplus.c #define KOVAPLUS_BIN_ATTRIBUTE_W(thingy, THINGY) \ thingy 206 drivers/hid/hid-roccat-kovaplus.c KOVAPLUS_SYSFS_W(thingy, THINGY); \ thingy 207 drivers/hid/hid-roccat-kovaplus.c static struct bin_attribute bin_attr_##thingy = { \ thingy 208 drivers/hid/hid-roccat-kovaplus.c .attr = { .name = #thingy, .mode = 0220 }, \ thingy 210 drivers/hid/hid-roccat-kovaplus.c .write = kovaplus_sysfs_write_ ## thingy \ thingy 67 drivers/hid/hid-roccat-lua.c #define LUA_SYSFS_W(thingy, THINGY) \ thingy 68 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_write_ ## thingy(struct file *fp, \ thingy 76 drivers/hid/hid-roccat-lua.c #define LUA_SYSFS_R(thingy, THINGY) \ thingy 77 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_read_ ## thingy(struct file *fp, \ thingy 85 drivers/hid/hid-roccat-lua.c #define LUA_BIN_ATTRIBUTE_RW(thingy, THINGY) \ thingy 86 drivers/hid/hid-roccat-lua.c LUA_SYSFS_W(thingy, THINGY) \ thingy 87 drivers/hid/hid-roccat-lua.c LUA_SYSFS_R(thingy, THINGY) \ thingy 88 drivers/hid/hid-roccat-lua.c static struct bin_attribute lua_ ## thingy ## _attr = { \ thingy 89 drivers/hid/hid-roccat-lua.c .attr = { .name = #thingy, .mode = 0660 }, \ thingy 91 drivers/hid/hid-roccat-lua.c .read = lua_sysfs_read_ ## thingy, \ thingy 92 drivers/hid/hid-roccat-lua.c .write = lua_sysfs_write_ ## thingy \ thingy 133 drivers/hid/hid-roccat-pyra.c #define PYRA_SYSFS_W(thingy, THINGY) \ thingy 134 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_write_ ## thingy(struct file *fp, \ thingy 142 drivers/hid/hid-roccat-pyra.c #define PYRA_SYSFS_R(thingy, THINGY) \ thingy 143 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read_ ## thingy(struct file *fp, \ thingy 151 drivers/hid/hid-roccat-pyra.c #define PYRA_SYSFS_RW(thingy, THINGY) \ thingy 152 drivers/hid/hid-roccat-pyra.c PYRA_SYSFS_W(thingy, THINGY) \ thingy 153 drivers/hid/hid-roccat-pyra.c PYRA_SYSFS_R(thingy, THINGY) thingy 155 drivers/hid/hid-roccat-pyra.c #define PYRA_BIN_ATTRIBUTE_RW(thingy, THINGY) \ thingy 156 drivers/hid/hid-roccat-pyra.c PYRA_SYSFS_RW(thingy, THINGY); \ thingy 157 drivers/hid/hid-roccat-pyra.c static struct bin_attribute bin_attr_##thingy = { \ thingy 158 drivers/hid/hid-roccat-pyra.c .attr = { .name = #thingy, .mode = 0660 }, \ thingy 160 drivers/hid/hid-roccat-pyra.c .read = pyra_sysfs_read_ ## thingy, \ thingy 161 drivers/hid/hid-roccat-pyra.c .write = pyra_sysfs_write_ ## thingy \ thingy 164 drivers/hid/hid-roccat-pyra.c #define PYRA_BIN_ATTRIBUTE_R(thingy, THINGY) \ thingy 165 drivers/hid/hid-roccat-pyra.c PYRA_SYSFS_R(thingy, THINGY); \ thingy 166 drivers/hid/hid-roccat-pyra.c static struct bin_attribute bin_attr_##thingy = { \ thingy 167 drivers/hid/hid-roccat-pyra.c .attr = { .name = #thingy, .mode = 0440 }, \ thingy 169 drivers/hid/hid-roccat-pyra.c .read = pyra_sysfs_read_ ## thingy, \ thingy 172 drivers/hid/hid-roccat-pyra.c #define PYRA_BIN_ATTRIBUTE_W(thingy, THINGY) \ thingy 173 drivers/hid/hid-roccat-pyra.c PYRA_SYSFS_W(thingy, THINGY); \ thingy 174 drivers/hid/hid-roccat-pyra.c static struct bin_attribute bin_attr_##thingy = { \ thingy 175 drivers/hid/hid-roccat-pyra.c .attr = { .name = #thingy, .mode = 0220 }, \ thingy 177 drivers/hid/hid-roccat-pyra.c .write = pyra_sysfs_write_ ## thingy \