Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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()
600 min_t(size_t, ev->u.input.size, UHID_DATA_MAX), 0); in uhid_dev_input()
611 min_t(size_t, ev->u.input2.size, UHID_DATA_MAX), 0); in uhid_dev_input2()