Searched refs:report_size (Results 1 – 14 of 14) sorted by relevance
/drivers/usb/misc/ |
D | iowarrior.c | 90 int report_size; /* number of bytes in a report */ member 180 offset = aux_idx * (dev->report_size + 1); in iowarrior_callback() 183 dev->report_size)) { in iowarrior_callback() 200 offset = intr_idx * (dev->report_size + 1); in iowarrior_callback() 202 dev->report_size); in iowarrior_callback() 203 *(dev->read_queue + offset + (dev->report_size)) = dev->serial_number++; in iowarrior_callback() 288 if ((count != dev->report_size) in iowarrior_read() 289 && (count != (dev->report_size + 1))) in iowarrior_read() 322 offset = read_idx * (dev->report_size + 1); in iowarrior_read() 361 if (count != dev->report_size) { in iowarrior_write() [all …]
|
/drivers/hid/ |
D | hid-roccat.c | 44 int report_size; member 126 len = device->report_size > count ? count : device->report_size; in roccat_read() 259 new_value = kmemdup(data, device->report_size, GFP_ATOMIC); in roccat_report_event() 297 int roccat_connect(struct class *klass, struct hid_device *hid, int report_size) in roccat_connect() argument 345 device->report_size = report_size; in roccat_connect() 396 if (put_user(device->report_size, (int __user *)arg)) in roccat_ioctl()
|
D | hid-rmi.c | 51 unsigned int report_size; /* size of a report */ member 348 return hdata->f11.report_size; in rmi_f11_input_event() 362 if (size < (int)hdata->f30.report_size) { in rmi_f30_input_event() 376 return hdata->f30.report_size; in rmi_f30_input_event() 624 data->f11.report_size = data->max_fingers * 5 + in rmi_populate_f11() 734 data->f11.report_size += data->max_fingers * 2; in rmi_populate_f11() 789 data->f30.report_size = bytes_per_ctrl; in rmi_populate_f30()
|
D | hid-picolcd_lcd.c | 73 report->field[0]->report_size != 8) { in picolcd_init_lcd()
|
D | hid-picolcd_backlight.c | 71 report->field[0]->report_size != 8) { in picolcd_init_backlight()
|
D | hid-core.c | 249 report->size += parser->global.report_size * parser->global.report_count; in hid_add_field() 280 field->report_size = parser->global.report_size; in hid_add_field() 389 parser->global.report_size = item_udata(item); in hid_parser_global() 390 if (parser->global.report_size > 128) { in hid_parser_global() 392 parser->global.report_size); in hid_parser_global() 694 parser->global.report_size == 8) in hid_scan_feature_usage() 1197 unsigned size = field->report_size; in hid_input_field() 1255 unsigned size = field->report_size; in hid_output_field() 1321 size = field->report_size; in hid_set_field()
|
D | hid-sensor-hub.c | 124 info->size = (field->report_size * field->report_count)/8; in sensor_hub_fill_attr_info() 452 (report->field[i]->report_size * in sensor_hub_raw_event() 454 sz = (report->field[i]->report_size * in sensor_hub_raw_event()
|
D | hid-picolcd_leds.c | 117 report->field[0]->report_size != 8) { in picolcd_init_leds()
|
D | wacom_sys.c | 1332 size_t report_size = wacom_hid_report_len(report); in wacom_compute_pktlen() local 1333 if (report_size > size) in wacom_compute_pktlen() 1334 size = report_size; in wacom_compute_pktlen()
|
D | hid-picolcd_core.c | 434 report->field[0]->report_size != 8) { in picolcd_init_keys()
|
D | hid-debug.c | 609 tab(n, f); seq_printf(f, "Report Size(%u)\n", field->report_size); in hid_dump_field()
|
D | hid-picolcd_debugfs.c | 868 if (flash_r && flash_r->maxfield == 1 && flash_r->field[0]->report_size == 8) in picolcd_init_devfs()
|
D | hid-input.c | 936 if (field->report_size == 1) { in hidinput_configure_usage()
|
/drivers/hid/i2c-hid/ |
D | i2c-hid.c | 525 static int i2c_hid_alloc_buffers(struct i2c_hid *ihid, size_t report_size) in i2c_hid_alloc_buffers() argument 533 report_size; /* report */ in i2c_hid_alloc_buffers() 535 ihid->inbuf = kzalloc(report_size, GFP_KERNEL); in i2c_hid_alloc_buffers() 536 ihid->rawbuf = kzalloc(report_size, GFP_KERNEL); in i2c_hid_alloc_buffers() 545 ihid->bufsize = report_size; in i2c_hid_alloc_buffers()
|