Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/hid/
Duhid.c246 ret = min3(count, (size_t)req->size, (size_t)UHID_DATA_MAX); in uhid_hid_get_report()
262 if (!uhid->running || count > UHID_DATA_MAX) in uhid_hid_set_report()
345 if (count < 1 || count > UHID_DATA_MAX) in uhid_hid_output_raw()
579 min_t(size_t, ev->u.input.size, UHID_DATA_MAX), 0); in uhid_dev_input()
590 min_t(size_t, ev->u.input2.size, UHID_DATA_MAX), 0); in uhid_dev_input2()