| /linux/drivers/hid/bpf/progs/ |
| H A D | XPPen__ACK05.bpf.c | 221 __s32 rdesc_size = hctx->size; in SEC() local 226 if (rdesc_size == VENDOR_DESCRIPTOR_LENGTH) { in SEC() 231 __builtin_memcpy(data + rdesc_size, fixed_rdesc_vendor, sizeof(fixed_rdesc_vendor)); in SEC() 232 return sizeof(fixed_rdesc_vendor) + rdesc_size; in SEC() 302 switch (ctx->rdesc_size) { in probe() 314 if (ctx->rdesc_size == VENDOR_DESCRIPTOR_LENGTH) { in probe()
|
| H A D | Huion__Kamvas16Gen3.bpf.c | 558 __s32 rdesc_size = hid_ctx->size; in SEC() local 573 if (rdesc_size == TABLET_DESCRIPTOR_LENGTH) { in SEC() 579 if (rdesc_size == WHEEL_DESCRIPTOR_LENGTH) { in SEC() 590 if (rdesc_size == VENDOR_DESCRIPTOR_LENGTH) { in SEC() 711 switch (ctx->rdesc_size) { in probe()
|
| H A D | Huion__Kamvas13Gen3.bpf.c | 1243 __s32 rdesc_size = hid_ctx->size; in SEC() local 1258 if (rdesc_size == TABLET_DESCRIPTOR_LENGTH) { in SEC() 1264 if (rdesc_size == WHEEL_DESCRIPTOR_LENGTH) { in SEC() 1275 if (rdesc_size == VENDOR_DESCRIPTOR_LENGTH) { in SEC() 1382 switch (ctx->rdesc_size) { in probe()
|
| H A D | Logitech__SpaceNavigator.bpf.c | 67 if (ctx->rdesc_size != 202 && in probe() 68 ctx->rdesc_size != 217 && in probe() 69 ctx->rdesc_size != 228) { in probe()
|
| H A D | Huion__KeydialK20.bpf.c | 348 __s32 rdesc_size = hctx->size; in SEC() local 361 if (rdesc_size == PAD_REPORT_DESCRIPTOR_LENGTH) { in SEC() 371 if (rdesc_size == PUCK_REPORT_DESCRIPTOR_LENGTH) { in SEC() 380 if (rdesc_size == VENDOR_REPORT_DESCRIPTOR_LENGTH) { in SEC() 518 switch (ctx->rdesc_size) { in probe()
|
| H A D | Huion__Inspiroy-2-M.bpf.c | 385 __s32 rdesc_size = hctx->size; in SEC() local 398 if (rdesc_size == PAD_REPORT_DESCRIPTOR_LENGTH) { in SEC() 407 if (rdesc_size == PEN_REPORT_DESCRIPTOR_LENGTH) { in SEC() 419 if (rdesc_size == VENDOR_REPORT_DESCRIPTOR_LENGTH) { in SEC() 550 switch (ctx->rdesc_size) { in probe()
|
| H A D | Huion__Inspiroy-2-S.bpf.c | 385 __s32 rdesc_size = hctx->size; in SEC() local 398 if (rdesc_size == PAD_REPORT_DESCRIPTOR_LENGTH) { in SEC() 407 if (rdesc_size == PEN_REPORT_DESCRIPTOR_LENGTH) { in SEC() 419 if (rdesc_size == VENDOR_REPORT_DESCRIPTOR_LENGTH) { in SEC() 566 switch (ctx->rdesc_size) { in probe()
|
| H A D | Huion__Dial-2.bpf.c | 445 __s32 rdesc_size = hctx->size; in SEC() local 458 if (rdesc_size == PAD_REPORT_DESCRIPTOR_LENGTH) { in SEC() 467 if (rdesc_size == PEN_REPORT_DESCRIPTOR_LENGTH) { in SEC() 479 if (rdesc_size == VENDOR_REPORT_DESCRIPTOR_LENGTH) { in SEC() 623 switch (ctx->rdesc_size) { in probe()
|
| H A D | XPPen__DecoMini4.bpf.c | 223 ctx->retval = ctx->rdesc_size != RDESC_SIZE_PAD && in probe() 224 ctx->rdesc_size != RDESC_SIZE_PEN; in probe()
|
| H A D | Huion__Kamvas-Pro-19.bpf.c | 335 ctx->retval = !((ctx->rdesc_size == PRE_240524_RDESC_SIZE) || in probe() 336 (ctx->rdesc_size == FW_240524_RDESC_SIZE)); in probe()
|
| H A D | hid_bpf.h | 16 unsigned int rdesc_size; member
|
| H A D | HP__Elite-Presenter.bpf.c | 55 ctx->retval = ctx->rdesc_size != 264; in probe()
|
| H A D | Rapoo__M50-Plus-Silent.bpf.c | 141 ctx->retval = ctx->rdesc_size != RDESC_SIZE; in probe()
|
| H A D | Mistel__MD770.bpf.c | 147 ctx->retval = ctx->rdesc_size != RDESC_SIZE; in probe()
|
| H A D | IOGEAR__Kaliber-MMOmentum.bpf.c | 56 ctx->retval = ctx->rdesc_size != 213; in probe()
|
| H A D | FR-TEC__Raptor-Mach-2.bpf.c | 179 ctx->retval = ctx->rdesc_size != 232; in probe()
|
| H A D | Microsoft__Xbox-Elite-2.bpf.c | 124 ctx->retval = ctx->rdesc_size != ORIGINAL_RDESC_SIZE; in probe()
|
| H A D | XPPen__Artist24.bpf.c | 220 ctx->retval = ctx->rdesc_size != 107; in probe()
|
| H A D | WALTOP__Batteryless-Tablet.bpf.c | 313 if (ctx->rdesc_size == EXPECTED_RDESC_SIZE) in probe()
|
| H A D | Wacom__ArtPen.bpf.c | 167 if (device->pid == pid && device->rdesc_len == ctx->rdesc_size) { in probe()
|
| H A D | XPPen__Deco01V3.bpf.c | 293 switch (ctx->rdesc_size) { in probe()
|
| H A D | XPPen__Deco02.bpf.c | 355 ctx->retval = ctx->rdesc_size != RDESC_SIZE_PAD ? -EINVAL : 0; in probe()
|
| H A D | XPPen__ArtistPro16Gen2.bpf.c | 313 ctx->retval = ctx->rdesc_size != 113; in probe()
|
| /linux/drivers/regulator/ |
| H A D | tps65219-regulator.c | 358 size_t rdesc_size; member 371 .rdesc_size = ARRAY_SIZE(tps65214_regs), 381 .rdesc_size = ARRAY_SIZE(tps65215_regs), 391 .rdesc_size = ARRAY_SIZE(tps65219_regs), 430 for (i = 0; i < pmic->rdesc_size; i++) { in tps65219_regulator_probe()
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_common.h | 137 size_t rdesc_size) in uhid_create() argument 148 ev.u.create.rd_size = rdesc_size; in uhid_create() 442 __u16 bus, __u32 vid, __u32 pid, const __u8 *rdesc, size_t rdesc_size) in setup_uhid() argument 460 (__u8 *)rdesc, rdesc_size); in setup_uhid()
|