/linux-6.6.21/drivers/hid/amd-sfh-hid/hid_descriptor/ |
D | amd_sfh_hid_desc.c | 145 u8 report_size = 0; in get_feature_report() local 148 return report_size; in get_feature_report() 157 report_size = sizeof(acc_feature); in get_feature_report() 165 report_size = sizeof(gyro_feature); in get_feature_report() 176 report_size = sizeof(magno_feature); in get_feature_report() 185 report_size = sizeof(als_feature); in get_feature_report() 190 report_size = sizeof(hpd_feature); in get_feature_report() 196 return report_size; in get_feature_report() 219 u8 report_size = 0; in get_input_report() local 222 return report_size; in get_input_report() [all …]
|
/linux-6.6.21/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_desc.c | 78 u8 report_size = 0; in get_feature_rep() local 81 return report_size; in get_feature_rep() 90 report_size = sizeof(acc_feature); in get_feature_rep() 98 report_size = sizeof(gyro_feature); in get_feature_rep() 109 report_size = sizeof(magno_feature); in get_feature_rep() 117 report_size = sizeof(als_feature); in get_feature_rep() 122 report_size = sizeof(hpd_feature); in get_feature_rep() 125 return report_size; in get_feature_rep() 192 u8 report_size = 0; in get_input_rep() local 195 return report_size; in get_input_rep() [all …]
|
/linux-6.6.21/drivers/usb/misc/ |
D | iowarrior.c | 93 int report_size; /* number of bytes in a report */ member 184 offset = aux_idx * (dev->report_size + 1); in iowarrior_callback() 187 dev->report_size)) { in iowarrior_callback() 203 offset = intr_idx * (dev->report_size + 1); in iowarrior_callback() 205 dev->report_size); in iowarrior_callback() 206 *(dev->read_queue + offset + (dev->report_size)) = dev->serial_number++; in iowarrior_callback() 291 if ((count != dev->report_size) in iowarrior_read() 292 && (count != (dev->report_size + 1))) in iowarrior_read() 325 offset = read_idx * (dev->report_size + 1); in iowarrior_read() 364 if (count != dev->report_size) { in iowarrior_write() [all …]
|
/linux-6.6.21/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() 298 int roccat_connect(const struct class *klass, struct hid_device *hid, int report_size) in roccat_connect() argument 346 device->report_size = report_size; in roccat_connect() 397 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() 500 (report->field[i]->report_size * in sensor_hub_raw_event() 502 sz = (report->field[i]->report_size * in sensor_hub_raw_event()
|
D | hid-asus.c | 113 int report_size; member 139 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 149 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 159 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 169 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 179 .report_size = 15 /* 2 byte header + 3 * 4 + 1 byte footer */, 189 .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 | 288 report->size += parser->global.report_size * parser->global.report_count; in hid_add_field() 329 field->report_size = parser->global.report_size; in hid_add_field() 438 parser->global.report_size = item_udata(item); in hid_parser_global() 439 if (parser->global.report_size > 256) { in hid_parser_global() 441 parser->global.report_size); in hid_parser_global() 799 parser->global.report_size == 8) in hid_scan_feature_usage() 803 parser->global.report_size == 8) in hid_scan_feature_usage() 1575 unsigned size = field->report_size; in hid_input_fetch_field() 1825 unsigned size = field->report_size; in hid_output_field() 1896 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 | 86 struct hid_report *report, u8 *raw_data, int report_size) in wacom_wac_pen_serial_enforce() argument 115 size = field->report_size; in wacom_wac_pen_serial_enforce() 148 raw_data, report_size); in wacom_wac_pen_serial_enforce() 260 field->report_size == 16 && in wacom_hid_usage_quirk() 267 a->report_size == 32 && in wacom_hid_usage_quirk() 270 b->report_size == 8) { in wacom_hid_usage_quirk() 2216 size_t report_size = hid_report_len(report); in wacom_compute_pktlen() local 2217 if (report_size > size) in wacom_compute_pktlen() 2218 size = report_size; in wacom_compute_pktlen()
|
D | hid-sensor-custom.c | 502 sensor_field->attribute.size = (field->report_size / 8); in hid_sensor_custom_add_field() 517 sensor_inst->input_report_size += (field->report_size * in hid_sensor_custom_add_field()
|
D | hid-google-hammer.c | 487 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()
|
/linux-6.6.21/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_client.c | 76 u8 report_size = 0; in amd_sfh_work() local 89 report_size = mp2_ops->get_feat_rep(sensor_index, report_id, in amd_sfh_work() 91 if (report_size) in amd_sfh_work() 94 cli_data->feature_report[current_index], report_size, 0); in amd_sfh_work() 99 report_size = mp2_ops->get_in_rep(current_index, sensor_index, report_id, in_data); in amd_sfh_work() 100 if (report_size) in amd_sfh_work() 103 in_data->input_report[current_index], report_size, 0); in amd_sfh_work() 117 u8 report_size; in amd_sfh_work_buffer() local 123 report_size = mp2->mp2_ops->get_in_rep(i, cli_data->sensor_idx[i], in amd_sfh_work_buffer() 126 in_data->input_report[i], report_size, 0); in amd_sfh_work_buffer()
|
/linux-6.6.21/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-6.6.21/include/linux/ |
D | hid-roccat.h | 20 int report_size);
|
D | hid.h | 434 unsigned report_size; member 493 unsigned report_size; /* size of this field in the report */ member
|
/linux-6.6.21/include/linux/usb/ |
D | iowarrior.h | 34 __u32 report_size; member
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_perf.c | 544 int report_size = stream->oa_buffer.format->size; in oa_buffer_check_unlocked() local 564 partial_report_size %= report_size; in oa_buffer_check_unlocked() 589 while (OA_TAKEN(tail, read_tail) >= report_size) { in oa_buffer_check_unlocked() 596 tail = (tail - report_size) & (OA_BUFFER_SIZE - 1); in oa_buffer_check_unlocked() 599 if (OA_TAKEN(hw_tail, tail) > report_size && in oa_buffer_check_unlocked() 608 stream->oa_buffer.head) >= report_size; in oa_buffer_check_unlocked() 672 int report_size = stream->oa_buffer.format->size; in append_oa_sample() local 692 if (report_size_partial < report_size) { in append_oa_sample() 698 report_size - report_size_partial)) in append_oa_sample() 700 } else if (copy_to_user(buf, report, report_size)) { in append_oa_sample() [all …]
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | raydium_i2c_ts.c | 133 u8 report_size; member 358 ts->report_size = ts->pkg_size - RM_PACKET_CRC_SIZE; in raydium_i2c_query_ts_info() 366 ts->data_bank_addr, ts->report_size, ts->contact_size); in raydium_i2c_query_ts_info() 871 for (i = 0; i < ts->report_size / ts->contact_size; i++) { in raydium_mt_event() 915 fw_crc = get_unaligned_le16(&ts->report_data[ts->report_size]); in raydium_i2c_irq() 916 calc_crc = raydium_calc_chksum(ts->report_data, ts->report_size); in raydium_i2c_irq()
|
D | cyttsp5.c | 682 static int fill_tch_abs(struct cyttsp5_tch_abs_params *tch_abs, int report_size, in fill_tch_abs() argument 686 tch_abs->size = report_size / 8; in fill_tch_abs() 687 if (report_size % 8) in fill_tch_abs() 690 tch_abs->max = 1 << report_size; in fill_tch_abs()
|
/linux-6.6.21/drivers/hid/i2c-hid/ |
D | i2c-hid-core.c | 612 static int i2c_hid_alloc_buffers(struct i2c_hid *ihid, size_t report_size) in i2c_hid_alloc_buffers() argument 625 report_size; in i2c_hid_alloc_buffers() 627 ihid->inbuf = kzalloc(report_size, GFP_KERNEL); in i2c_hid_alloc_buffers() 628 ihid->rawbuf = kzalloc(report_size, GFP_KERNEL); in i2c_hid_alloc_buffers() 636 ihid->bufsize = report_size; in i2c_hid_alloc_buffers()
|
/linux-6.6.21/drivers/hid/surface-hid/ |
D | surface_kbd.c | 179 size = field->report_size; in skbd_get_caps_led_value()
|