Lines Matching refs:bufsize
138 unsigned int bufsize; /* i2c buffer size */ member
286 if (data_len > ihid->bufsize) in i2c_hid_set_or_send_report()
379 if (size > ihid->bufsize) in i2c_hid_get_input()
380 size = ihid->bufsize; in i2c_hid_get_input()
435 size_t bufsize) in i2c_hid_init_report() argument
472 u8 *inbuf = kzalloc(ihid->bufsize, GFP_KERNEL); in i2c_hid_init_reports()
487 i2c_hid_init_report(report, inbuf, ihid->bufsize); in i2c_hid_init_reports()
522 ihid->bufsize = 0; in i2c_hid_free_buffers()
545 ihid->bufsize = report_size; in i2c_hid_alloc_buffers()
563 ask_count = min(count + 2, (size_t)ihid->bufsize); in i2c_hid_get_raw_report()
694 unsigned int bufsize = HID_MIN_BUFFER_SIZE; in i2c_hid_start() local
696 i2c_hid_find_max_report(hid, HID_INPUT_REPORT, &bufsize); in i2c_hid_start()
697 i2c_hid_find_max_report(hid, HID_OUTPUT_REPORT, &bufsize); in i2c_hid_start()
698 i2c_hid_find_max_report(hid, HID_FEATURE_REPORT, &bufsize); in i2c_hid_start()
700 if (bufsize > ihid->bufsize) { in i2c_hid_start()
703 ret = i2c_hid_alloc_buffers(ihid, bufsize); in i2c_hid_start()
1052 if (ihid->bufsize) in i2c_hid_remove()