Home
last modified time | relevance | path

Searched refs:rdesc_size (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/hid/bpf/progs/
H A DXPPen__ACK05.bpf.c221 __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 DHuion__Kamvas16Gen3.bpf.c558 __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 DHuion__Kamvas13Gen3.bpf.c1243 __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 DLogitech__SpaceNavigator.bpf.c67 if (ctx->rdesc_size != 202 && in probe()
68 ctx->rdesc_size != 217 && in probe()
69 ctx->rdesc_size != 228) { in probe()
H A DHuion__KeydialK20.bpf.c348 __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 DHuion__Inspiroy-2-M.bpf.c385 __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 DHuion__Inspiroy-2-S.bpf.c385 __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 DHuion__Dial-2.bpf.c445 __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 DXPPen__DecoMini4.bpf.c223 ctx->retval = ctx->rdesc_size != RDESC_SIZE_PAD && in probe()
224 ctx->rdesc_size != RDESC_SIZE_PEN; in probe()
H A DHuion__Kamvas-Pro-19.bpf.c335 ctx->retval = !((ctx->rdesc_size == PRE_240524_RDESC_SIZE) || in probe()
336 (ctx->rdesc_size == FW_240524_RDESC_SIZE)); in probe()
H A Dhid_bpf.h16 unsigned int rdesc_size; member
H A DHP__Elite-Presenter.bpf.c55 ctx->retval = ctx->rdesc_size != 264; in probe()
H A DRapoo__M50-Plus-Silent.bpf.c141 ctx->retval = ctx->rdesc_size != RDESC_SIZE; in probe()
H A DMistel__MD770.bpf.c147 ctx->retval = ctx->rdesc_size != RDESC_SIZE; in probe()
H A DIOGEAR__Kaliber-MMOmentum.bpf.c56 ctx->retval = ctx->rdesc_size != 213; in probe()
H A DFR-TEC__Raptor-Mach-2.bpf.c179 ctx->retval = ctx->rdesc_size != 232; in probe()
H A DMicrosoft__Xbox-Elite-2.bpf.c124 ctx->retval = ctx->rdesc_size != ORIGINAL_RDESC_SIZE; in probe()
H A DXPPen__Artist24.bpf.c220 ctx->retval = ctx->rdesc_size != 107; in probe()
H A DWALTOP__Batteryless-Tablet.bpf.c313 if (ctx->rdesc_size == EXPECTED_RDESC_SIZE) in probe()
H A DWacom__ArtPen.bpf.c167 if (device->pid == pid && device->rdesc_len == ctx->rdesc_size) { in probe()
H A DXPPen__Deco01V3.bpf.c293 switch (ctx->rdesc_size) { in probe()
H A DXPPen__Deco02.bpf.c355 ctx->retval = ctx->rdesc_size != RDESC_SIZE_PAD ? -EINVAL : 0; in probe()
H A DXPPen__ArtistPro16Gen2.bpf.c313 ctx->retval = ctx->rdesc_size != 113; in probe()
/linux/drivers/regulator/
H A Dtps65219-regulator.c358 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 Dhid_common.h137 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()