/Linux-v5.15/drivers/hid/amd-sfh-hid/hid_descriptor/ |
D | amd_sfh_hid_desc.c | 141 u8 report_size = 0; in get_feature_report() local 144 return report_size; in get_feature_report() 153 report_size = sizeof(acc_feature); in get_feature_report() 161 report_size = sizeof(gyro_feature); in get_feature_report() 172 report_size = sizeof(magno_feature); in get_feature_report() 180 report_size = sizeof(als_feature); in get_feature_report() 185 report_size = sizeof(hpd_feature); in get_feature_report() 191 return report_size; in get_feature_report() 213 u8 report_size = 0; in get_input_report() local 216 return report_size; in get_input_report() [all …]
|
/Linux-v5.15/drivers/usb/misc/ |
D | iowarrior.c | 93 int report_size; /* number of bytes in a report */ member 188 offset = aux_idx * (dev->report_size + 1); in iowarrior_callback() 191 dev->report_size)) { in iowarrior_callback() 207 offset = intr_idx * (dev->report_size + 1); in iowarrior_callback() 209 dev->report_size); in iowarrior_callback() 210 *(dev->read_queue + offset + (dev->report_size)) = dev->serial_number++; in iowarrior_callback() 295 if ((count != dev->report_size) in iowarrior_read() 296 && (count != (dev->report_size + 1))) in iowarrior_read() 329 offset = read_idx * (dev->report_size + 1); in iowarrior_read() 368 if (count != dev->report_size) { in iowarrior_write() [all …]
|
/Linux-v5.15/drivers/hid/ |
D | hid-led.c | 76 size_t report_size; member 123 memcpy(ldev->buf, buf, ldev->config->report_size); in hidled_send() 127 ldev->config->report_size, in hidled_send() 132 ldev->config->report_size); in hidled_send() 141 return ret == ldev->config->report_size ? 0 : -EMSGSIZE; in hidled_send() 154 memcpy(ldev->buf, buf, ldev->config->report_size); in hidled_recv() 157 ldev->config->report_size, in hidled_recv() 164 ldev->config->report_size, in hidled_recv() 168 memcpy(buf, ldev->buf, ldev->config->report_size); in hidled_recv() 258 .report_size = 9, [all …]
|
D | hid-roccat.c | 41 int report_size; member 123 len = device->report_size > count ? count : device->report_size; in roccat_read() 256 new_value = kmemdup(data, device->report_size, GFP_ATOMIC); in roccat_report_event() 294 int roccat_connect(struct class *klass, struct hid_device *hid, int report_size) in roccat_connect() argument 342 device->report_size = report_size; in roccat_connect() 393 if (put_user(device->report_size, (int __user *)arg)) in roccat_ioctl()
|
D | hid-sensor-hub.c | 92 info->size = (field->report_size * field->report_count)/8; in sensor_hub_fill_attr_info() 243 int report_size; in sensor_hub_get_feature() local 262 report_size = DIV_ROUND_UP(report->field[field_index]->report_size, in sensor_hub_get_feature() 265 if (!report_size) { in sensor_hub_get_feature() 269 ret = min(report_size, buffer_size); in sensor_hub_get_feature() 277 report->field[field_index]->report_size / 8); in sensor_hub_get_feature() 279 buffer_index += (report->field[field_index]->report_size / 8); in sensor_hub_get_feature() 499 (report->field[i]->report_size * in sensor_hub_raw_event() 501 sz = (report->field[i]->report_size * in sensor_hub_raw_event()
|
D | hid-sensor-custom.c | 501 sensor_field->attribute.size = (field->report_size / 8); in hid_sensor_custom_add_field() 516 sensor_inst->input_report_size += (field->report_size * in hid_sensor_custom_add_field() 773 int report_size; in get_known_custom_sensor_index() local 789 report_size = in get_known_custom_sensor_index() 793 if (report_size <= 0) { in get_known_custom_sensor_index() 796 report_size); in get_known_custom_sensor_index() 818 report_size = sensor_hub_get_feature(hsdev, sensor_luid_info.report_id, in get_known_custom_sensor_index() 821 if (report_size <= 0) { in get_known_custom_sensor_index() 823 report_size); in get_known_custom_sensor_index()
|
D | hid-asus.c | 111 int report_size; member 137 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 147 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 157 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 167 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 177 .report_size = 15 /* 2 byte header + 3 * 4 + 1 byte footer */, 187 .report_size = 32 /* 2 byte header + 5 * 5 + 5 byte footer */, 255 if (size != drvdat->tp->report_size) in asus_report_input()
|
D | hid-picolcd_lcd.c | 63 report->field[0]->report_size != 8) { in picolcd_init_lcd()
|
D | hid-core.c | 289 report->size += parser->global.report_size * parser->global.report_count; in hid_add_field() 327 field->report_size = parser->global.report_size; in hid_add_field() 436 parser->global.report_size = item_udata(item); in hid_parser_global() 437 if (parser->global.report_size > 256) { in hid_parser_global() 439 parser->global.report_size); in hid_parser_global() 788 parser->global.report_size == 8) in hid_scan_feature_usage() 792 parser->global.report_size == 8) in hid_scan_feature_usage() 1539 unsigned size = field->report_size; in hid_input_field() 1597 unsigned size = field->report_size; in hid_output_field() 1668 size = field->report_size; in hid_set_field()
|
D | hid-picolcd_backlight.c | 61 report->field[0]->report_size != 8) { in picolcd_init_backlight()
|
D | hid-picolcd_leds.c | 107 report->field[0]->report_size != 8) { in picolcd_init_leds()
|
D | wacom_sys.c | 91 struct hid_report *report, u8 *raw_data, int report_size) in wacom_wac_pen_serial_enforce() argument 120 size = field->report_size; in wacom_wac_pen_serial_enforce() 153 raw_data, report_size); in wacom_wac_pen_serial_enforce() 262 field->report_size == 16 && in wacom_hid_usage_quirk() 269 a->report_size == 32 && in wacom_hid_usage_quirk() 272 b->report_size == 8) { in wacom_hid_usage_quirk() 2202 size_t report_size = hid_report_len(report); in wacom_compute_pktlen() local 2203 if (report_size > size) in wacom_compute_pktlen() 2204 size = report_size; in wacom_compute_pktlen()
|
D | hid-google-hammer.c | 504 field->report_offset, field->report_size); in hammer_get_folded_state()
|
D | hid-picolcd_core.c | 417 report->field[0]->report_size != 8) { in picolcd_init_keys()
|
D | hid-debug.c | 603 tab(n, f); seq_printf(f, "Report Size(%u)\n", field->report_size); in hid_dump_field()
|
D | hid-picolcd_debugfs.c | 858 if (flash_r && flash_r->maxfield == 1 && flash_r->field[0]->report_size == 8) in picolcd_init_devfs()
|
/Linux-v5.15/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_client.c | 83 u8 report_size = 0; in amd_sfh_work() local 94 report_size = get_feature_report(sensor_index, report_id, in amd_sfh_work() 96 if (report_size) in amd_sfh_work() 99 cli_data->feature_report[current_index], report_size, 0); in amd_sfh_work() 104 report_size = get_input_report(current_index, sensor_index, report_id, in_data); in amd_sfh_work() 105 if (report_size) in amd_sfh_work() 108 in_data->input_report[current_index], report_size, 0); in amd_sfh_work() 121 u8 report_size; in amd_sfh_work_buffer() local 126 report_size = get_input_report in amd_sfh_work_buffer() 129 in_data->input_report[i], report_size, 0); in amd_sfh_work_buffer()
|
/Linux-v5.15/drivers/input/rmi4/ |
D | rmi_f54.c | 107 int report_size; member 349 memcpy(ptr, f54->report_data, f54->report_size); in rmi_f54_buffer_queue() 538 int report_size; in rmi_f54_work() local 543 report_size = rmi_f54_get_report_size(f54); in rmi_f54_work() 544 if (report_size == 0) { in rmi_f54_work() 568 report_size = 0; in rmi_f54_work() 574 for (i = 0; i < report_size; i += F54_REPORT_DATA_SIZE) { in rmi_f54_work() 575 int size = min(F54_REPORT_DATA_SIZE, report_size - i); in rmi_f54_work() 598 f54->report_size = error ? 0 : report_size; in rmi_f54_work() 601 report_size = 0; in rmi_f54_work() [all …]
|
/Linux-v5.15/include/linux/ |
D | hid-roccat.h | 20 int report_size);
|
D | hid.h | 404 unsigned report_size; member 463 unsigned report_size; /* size of this field in the report */ member
|
/Linux-v5.15/include/linux/usb/ |
D | iowarrior.h | 34 __u32 report_size; member
|
/Linux-v5.15/drivers/gpu/drm/i915/ |
D | i915_perf.c | 459 int report_size = stream->oa_buffer.format_size; in oa_buffer_check_unlocked() local 476 hw_tail &= ~(report_size - 1); in oa_buffer_check_unlocked() 511 while (OA_TAKEN(tail, aged_tail) >= report_size) { in oa_buffer_check_unlocked() 517 tail = (tail - report_size) & (OA_BUFFER_SIZE - 1); in oa_buffer_check_unlocked() 520 if (OA_TAKEN(hw_tail, tail) > report_size && in oa_buffer_check_unlocked() 532 stream->oa_buffer.head - gtt_offset) >= report_size; in oa_buffer_check_unlocked() 596 int report_size = stream->oa_buffer.format_size; in append_oa_sample() local 611 if (copy_to_user(buf, report, report_size)) in append_oa_sample() 646 int report_size = stream->oa_buffer.format_size; in gen8_append_oa_reports() local 681 head > OA_BUFFER_SIZE || head % report_size || in gen8_append_oa_reports() [all …]
|
/Linux-v5.15/drivers/input/touchscreen/ |
D | raydium_i2c_ts.c | 131 u8 report_size; member 318 ts->report_size = ts->pkg_size - RM_PACKET_CRC_SIZE; in raydium_i2c_query_ts_info() 326 ts->data_bank_addr, ts->report_size, ts->contact_size); in raydium_i2c_query_ts_info() 834 for (i = 0; i < ts->report_size / ts->contact_size; i++) { in raydium_mt_event() 878 fw_crc = get_unaligned_le16(&ts->report_data[ts->report_size]); in raydium_i2c_irq() 879 calc_crc = raydium_calc_chksum(ts->report_data, ts->report_size); in raydium_i2c_irq()
|
/Linux-v5.15/drivers/hid/i2c-hid/ |
D | i2c-hid-core.c | 581 static int i2c_hid_alloc_buffers(struct i2c_hid *ihid, size_t report_size) in i2c_hid_alloc_buffers() argument 589 report_size; /* report */ in i2c_hid_alloc_buffers() 591 ihid->inbuf = kzalloc(report_size, GFP_KERNEL); in i2c_hid_alloc_buffers() 592 ihid->rawbuf = kzalloc(report_size, GFP_KERNEL); in i2c_hid_alloc_buffers() 601 ihid->bufsize = report_size; in i2c_hid_alloc_buffers()
|
/Linux-v5.15/drivers/hid/surface-hid/ |
D | surface_kbd.c | 179 size = field->report_size; in skbd_get_caps_led_value()
|