Home
last modified time | relevance | path

Searched refs:UHID_DATA_MAX (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/include/uapi/linux/
Duhid.h68 #define UHID_DATA_MAX 4096 macro
78 __u8 data[UHID_DATA_MAX];
82 __u8 data[UHID_DATA_MAX];
97 __u8 data[UHID_DATA_MAX];
105 __u8 data[UHID_DATA_MAX];
145 __u8 data[UHID_DATA_MAX];
168 __u8 data[UHID_DATA_MAX];
/linux-6.12.1/drivers/hid/
Duhid.c266 ret = min3(count, (size_t)req->size, (size_t)UHID_DATA_MAX); in uhid_hid_get_report()
282 if (!READ_ONCE(uhid->running) || count > UHID_DATA_MAX) in uhid_hid_set_report()
365 if (count < 1 || count > UHID_DATA_MAX) in uhid_hid_output_raw()
398 .max_buffer_size = UHID_DATA_MAX,
599 min_t(size_t, ev->u.input.size, UHID_DATA_MAX), 0); in uhid_dev_input()
610 min_t(size_t, ev->u.input2.size, UHID_DATA_MAX), 0); in uhid_dev_input2()