/Linux-v4.19/drivers/hid/ |
D | hid-roccat-common.h | 50 #define ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \ argument 51 static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \ 59 #define ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) \ argument 60 static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \ 68 #define ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE) \ argument 69 ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \ 70 ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) 72 #define ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(thingy, COMMAND, SIZE) \ argument 73 ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE); \ 74 static struct bin_attribute bin_attr_ ## thingy = { \ [all …]
|
D | hid-roccat-isku.c | 162 #define ISKU_SYSFS_W(thingy, THINGY) \ argument 163 static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \ 171 #define ISKU_SYSFS_R(thingy, THINGY) \ argument 172 static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \ 180 #define ISKU_SYSFS_RW(thingy, THINGY) \ argument 181 ISKU_SYSFS_R(thingy, THINGY) \ 182 ISKU_SYSFS_W(thingy, THINGY) 184 #define ISKU_BIN_ATTR_RW(thingy, THINGY) \ argument 185 ISKU_SYSFS_RW(thingy, THINGY); \ 186 static struct bin_attribute bin_attr_##thingy = { \ [all …]
|
D | hid-roccat-lua.c | 70 #define LUA_SYSFS_W(thingy, THINGY) \ argument 71 static ssize_t lua_sysfs_write_ ## thingy(struct file *fp, \ 79 #define LUA_SYSFS_R(thingy, THINGY) \ argument 80 static ssize_t lua_sysfs_read_ ## thingy(struct file *fp, \ 88 #define LUA_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 89 LUA_SYSFS_W(thingy, THINGY) \ 90 LUA_SYSFS_R(thingy, THINGY) \ 91 static struct bin_attribute lua_ ## thingy ## _attr = { \ 92 .attr = { .name = #thingy, .mode = 0660 }, \ 94 .read = lua_sysfs_read_ ## thingy, \ [all …]
|
D | hid-roccat-koneplus.c | 134 #define KONEPLUS_SYSFS_W(thingy, THINGY) \ argument 135 static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \ 143 #define KONEPLUS_SYSFS_R(thingy, THINGY) \ argument 144 static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \ 152 #define KONEPLUS_SYSFS_RW(thingy, THINGY) \ argument 153 KONEPLUS_SYSFS_W(thingy, THINGY) \ 154 KONEPLUS_SYSFS_R(thingy, THINGY) 156 #define KONEPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 157 KONEPLUS_SYSFS_RW(thingy, THINGY); \ 158 static struct bin_attribute bin_attr_##thingy = { \ [all …]
|
D | hid-roccat-pyra.c | 136 #define PYRA_SYSFS_W(thingy, THINGY) \ argument 137 static ssize_t pyra_sysfs_write_ ## thingy(struct file *fp, \ 145 #define PYRA_SYSFS_R(thingy, THINGY) \ argument 146 static ssize_t pyra_sysfs_read_ ## thingy(struct file *fp, \ 154 #define PYRA_SYSFS_RW(thingy, THINGY) \ argument 155 PYRA_SYSFS_W(thingy, THINGY) \ 156 PYRA_SYSFS_R(thingy, THINGY) 158 #define PYRA_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 159 PYRA_SYSFS_RW(thingy, THINGY); \ 160 static struct bin_attribute bin_attr_##thingy = { \ [all …]
|
D | hid-roccat-kovaplus.c | 177 #define KOVAPLUS_SYSFS_W(thingy, THINGY) \ argument 178 static ssize_t kovaplus_sysfs_write_ ## thingy(struct file *fp, \ 186 #define KOVAPLUS_SYSFS_R(thingy, THINGY) \ argument 187 static ssize_t kovaplus_sysfs_read_ ## thingy(struct file *fp, \ 195 #define KOVAPLUS_SYSFS_RW(thingy, THINGY) \ argument 196 KOVAPLUS_SYSFS_W(thingy, THINGY) \ 197 KOVAPLUS_SYSFS_R(thingy, THINGY) 199 #define KOVAPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 200 KOVAPLUS_SYSFS_RW(thingy, THINGY); \ 201 static struct bin_attribute bin_attr_##thingy = { \ [all …]
|