/linux-4.1.27/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 | 164 #define ISKU_SYSFS_W(thingy, THINGY) \ argument 165 static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \ 173 #define ISKU_SYSFS_R(thingy, THINGY) \ argument 174 static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \ 182 #define ISKU_SYSFS_RW(thingy, THINGY) \ argument 183 ISKU_SYSFS_R(thingy, THINGY) \ 184 ISKU_SYSFS_W(thingy, THINGY) 186 #define ISKU_BIN_ATTR_RW(thingy, THINGY) \ argument 187 ISKU_SYSFS_RW(thingy, THINGY); \ 188 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 | 136 #define KONEPLUS_SYSFS_W(thingy, THINGY) \ argument 137 static ssize_t koneplus_sysfs_write_ ## thingy(struct file *fp, \ 145 #define KONEPLUS_SYSFS_R(thingy, THINGY) \ argument 146 static ssize_t koneplus_sysfs_read_ ## thingy(struct file *fp, \ 154 #define KONEPLUS_SYSFS_RW(thingy, THINGY) \ argument 155 KONEPLUS_SYSFS_W(thingy, THINGY) \ 156 KONEPLUS_SYSFS_R(thingy, THINGY) 158 #define KONEPLUS_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 159 KONEPLUS_SYSFS_RW(thingy, THINGY); \ 160 static struct bin_attribute bin_attr_##thingy = { \ [all …]
|
D | hid-roccat-pyra.c | 138 #define PYRA_SYSFS_W(thingy, THINGY) \ argument 139 static ssize_t pyra_sysfs_write_ ## thingy(struct file *fp, \ 147 #define PYRA_SYSFS_R(thingy, THINGY) \ argument 148 static ssize_t pyra_sysfs_read_ ## thingy(struct file *fp, \ 156 #define PYRA_SYSFS_RW(thingy, THINGY) \ argument 157 PYRA_SYSFS_W(thingy, THINGY) \ 158 PYRA_SYSFS_R(thingy, THINGY) 160 #define PYRA_BIN_ATTRIBUTE_RW(thingy, THINGY) \ argument 161 PYRA_SYSFS_RW(thingy, THINGY); \ 162 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 …]
|