/drivers/hid/ |
D | hid-roccat-common.h | 47 #define ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \ argument 48 static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \ 56 #define ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) \ argument 57 static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \ 65 #define ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE) \ argument 66 ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \ 67 ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) 69 #define ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(thingy, COMMAND, SIZE) \ argument 70 ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE); \ 71 static struct bin_attribute bin_attr_ ## thingy = { \ [all …]
|
D | hid-roccat-isku.c | 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 = { \ [all …]
|
D | hid-roccat-koneplus.c | 131 #define KONEPLUS_SYSFS_W(thingy, THINGY) \ argument 132 static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \ 140 #define KONEPLUS_SYSFS_R(thingy, THINGY) \ argument 141 static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \ 149 #define KONEPLUS_SYSFS_RW(thingy, THINGY) \ argument 150 KONEPLUS_SYSFS_W(thingy, THINGY) \ 151 KONEPLUS_SYSFS_R(thingy, THINGY) 153 #define KONEPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 154 KONEPLUS_SYSFS_RW(thingy, THINGY); \ 155 static struct bin_attribute bin_attr_##thingy = { \ [all …]
|
D | hid-roccat-lua.c | 67 #define LUA_SYSFS_W(thingy, THINGY) \ argument 68 static ssize_t lua_sysfs_write_ ## thingy(struct file *fp, \ 76 #define LUA_SYSFS_R(thingy, THINGY) \ argument 77 static ssize_t lua_sysfs_read_ ## thingy(struct file *fp, \ 85 #define LUA_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 86 LUA_SYSFS_W(thingy, THINGY) \ 87 LUA_SYSFS_R(thingy, THINGY) \ 88 static struct bin_attribute lua_ ## thingy ## _attr = { \ 89 .attr = { .name = #thingy, .mode = 0660 }, \ 91 .read = lua_sysfs_read_ ## thingy, \ [all …]
|
D | hid-roccat-pyra.c | 133 #define PYRA_SYSFS_W(thingy, THINGY) \ argument 134 static ssize_t pyra_sysfs_write_ ## thingy(struct file *fp, \ 142 #define PYRA_SYSFS_R(thingy, THINGY) \ argument 143 static ssize_t pyra_sysfs_read_ ## thingy(struct file *fp, \ 151 #define PYRA_SYSFS_RW(thingy, THINGY) \ argument 152 PYRA_SYSFS_W(thingy, THINGY) \ 153 PYRA_SYSFS_R(thingy, THINGY) 155 #define PYRA_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 156 PYRA_SYSFS_RW(thingy, THINGY); \ 157 static struct bin_attribute bin_attr_##thingy = { \ [all …]
|
D | hid-roccat-kovaplus.c | 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 = { \ [all …]
|