Home
last modified time | relevance | path

Searched refs:HID_MAX_DESCRIPTOR_SIZE (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/include/uapi/linux/
Dhid.h78 #define HID_MAX_DESCRIPTOR_SIZE 4096 macro
Dhidraw.h24 __u8 value[HID_MAX_DESCRIPTOR_SIZE];
Duhid.h55 __u8 rd_data[HID_MAX_DESCRIPTOR_SIZE];
/linux-6.12.1/drivers/hid/bpf/progs/
DThrustmaster__TCA-Yoke-Boeing.bpf.c107 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, HID_MAX_DESCRIPTOR_SIZE /* size */); in SEC()
DFR-TEC__Raptor-Mach-2.bpf.c139 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, HID_MAX_DESCRIPTOR_SIZE /* size */); in SEC()
DHuion__Kamvas-Pro-19.bpf.c197 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, HID_MAX_DESCRIPTOR_SIZE /* size */); in SEC()
DXPPen__DecoMini4.bpf.c155 __u8 *data = hid_bpf_get_data(hctx, 0, HID_MAX_DESCRIPTOR_SIZE); in SEC()
Dhid_bpf_helpers.h23 #define HID_MAX_DESCRIPTOR_SIZE 4096 macro
DHuion__Inspiroy-2-S.bpf.c361 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, HID_MAX_DESCRIPTOR_SIZE /* size */); in SEC()
DHuion__Dial-2.bpf.c422 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, HID_MAX_DESCRIPTOR_SIZE /* size */); in SEC()
/linux-6.12.1/drivers/hid/bpf/
Dhid_bpf_dispatch.c158 .allocated_size = HID_MAX_DESCRIPTOR_SIZE, in call_hid_bpf_rdesc_fixup()
169 memcpy(ctx_kern.data, rdesc, min_t(unsigned int, *size, HID_MAX_DESCRIPTOR_SIZE)); in call_hid_bpf_rdesc_fixup()
/linux-6.12.1/drivers/hid/
Duhid.c501 if (rd_size <= 0 || rd_size > HID_MAX_DESCRIPTOR_SIZE) in uhid_dev_create2()
558 if (orig.rd_size <= 0 || orig.rd_size > HID_MAX_DESCRIPTOR_SIZE) in uhid_dev_create()
Dhidraw.c426 else if (len > HID_MAX_DESCRIPTOR_SIZE - 1) in hidraw_ioctl()
Dhid-goodix-spi.c250 if (!rsize || rsize > HID_MAX_DESCRIPTOR_SIZE) { in goodix_hid_parse()
Dhid-core.c2201 .size = HID_MAX_DESCRIPTOR_SIZE,
/linux-6.12.1/drivers/staging/greybus/
Dhid.c287 if (!rsize || rsize > HID_MAX_DESCRIPTOR_SIZE) { in gb_hid_parse()
/linux-6.12.1/drivers/hid/i2c-hid/
Di2c-hid-core.c738 if (!rsize || rsize > HID_MAX_DESCRIPTOR_SIZE) { in i2c_hid_parse()
/linux-6.12.1/drivers/hid/usbhid/
Dhid-core.c1028 if (!rsize || rsize > HID_MAX_DESCRIPTOR_SIZE) { in usbhid_parse()
/linux-6.12.1/Documentation/hid/
Dhid-bpf.rst299 ``HID_MAX_DESCRIPTOR_SIZE`` (currently 4kB).