/kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/sfh1_1/ |
H A 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...] |
/kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A 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...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A 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...] |
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A 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...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A 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 [all...] |
H A 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() 293 * @report_size: size of reports 298 int roccat_connect(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()
|
H A D | hid-sensor-hub.c | 93 info->size = (field->report_size * field->report_count)/8; in sensor_hub_fill_attr_info() 244 int report_size; in sensor_hub_get_feature() local 263 report_size = DIV_ROUND_UP(report->field[field_index]->report_size, in sensor_hub_get_feature() 266 if (!report_size) { in sensor_hub_get_feature() 270 ret = min(report_size, buffer_size); in sensor_hub_get_feature() 278 report->field[field_index]->report_size / 8); in sensor_hub_get_feature() 280 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() [all...] |
H A D | hid-asus.c | 109 int report_size; member 135 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 145 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 155 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 165 .report_size = 28 /* 2 byte header + 5 * 5 + 1 byte footer */, 175 .report_size = 15 /* 2 byte header + 3 * 4 + 1 byte footer */, 185 .report_size = 32 /* 2 byte header + 5 * 5 + 5 byte footer */, 253 if (size != drvdat->tp->report_size) in asus_report_input()
|
H A D | hid-core.c | 290 report->size += parser->global.report_size * parser->global.report_count; in hid_add_field() 331 field->report_size = parser->global.report_size; in hid_add_field() 440 parser->global.report_size = item_udata(item); in hid_parser_global() 441 if (parser->global.report_size > 256) { in hid_parser_global() 442 hid_err(parser->device, "invalid report_size %d\n", in hid_parser_global() 443 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() 1555 unsigned size = field->report_size; in hid_input_field() [all...] |
H A D | hid-picolcd_lcd.c | 63 report->field[0]->report_size != 8) { in picolcd_init_lcd()
|
/kernel/linux/linux-6.6/drivers/hid/ |
H A 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 [all...] |
H A 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() 293 * @report_size: size of reports 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()
|
H A 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() [all...] |
H A 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()
|
H A D | hid-picolcd_lcd.c | 63 report->field[0]->report_size != 8) { in picolcd_init_lcd()
|
/kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/ |
H A 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, in amd_sfh_work_buffer() [all...] |
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
H A D | rmi_f54.c | 101 int report_size; member 343 memcpy(ptr, f54->report_data, f54->report_size); in rmi_f54_buffer_queue() 532 int report_size; in rmi_f54_work() local 537 report_size = rmi_f54_get_report_size(f54); in rmi_f54_work() 538 if (report_size == 0) { in rmi_f54_work() 562 report_size = 0; in rmi_f54_work() 568 for (i = 0; i < report_size; i += F54_REPORT_DATA_SIZE) { in rmi_f54_work() 569 int size = min(F54_REPORT_DATA_SIZE, report_size - i); in rmi_f54_work() 592 f54->report_size = error ? 0 : report_size; in rmi_f54_work() [all...] |
/kernel/linux/linux-6.6/drivers/input/rmi4/ |
H A 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() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | hid-roccat.h | 20 int report_size);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | hid-roccat.h | 20 int report_size);
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | iowarrior.h | 34 __u32 report_size; member
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | iowarrior.h | 34 __u32 report_size; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 464 int report_size = stream->oa_buffer.format_size; in oa_buffer_check_unlocked() local 479 * not in report_size steps... in oa_buffer_check_unlocked() 481 hw_tail &= ~(report_size - 1); in oa_buffer_check_unlocked() 516 while (OA_TAKEN(tail, aged_tail) >= report_size) { in oa_buffer_check_unlocked() 522 tail = (tail - report_size) & (OA_BUFFER_SIZE - 1); in oa_buffer_check_unlocked() 525 if (OA_TAKEN(hw_tail, tail) > report_size && in oa_buffer_check_unlocked() 537 stream->oa_buffer.head - gtt_offset) >= report_size; in oa_buffer_check_unlocked() 601 int report_size = stream->oa_buffer.format_size; in append_oa_sample() local 616 if (copy_to_user(buf, report, report_size)) in append_oa_sample() 650 int report_size in gen8_append_oa_reports() local 947 int report_size = stream->oa_buffer.format_size; gen7_append_oa_reports() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 544 int report_size = stream->oa_buffer.format->size; in oa_buffer_check_unlocked() local 559 /* The tail pointer increases in 64 byte increments, not in report_size in oa_buffer_check_unlocked() 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 in append_oa_sample() 736 int report_size = stream->oa_buffer.format->size; gen8_append_oa_reports() local 1054 int report_size = stream->oa_buffer.format->size; gen7_append_oa_reports() local [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | raydium_i2c_ts.c | 131 u8 report_size; member 320 ts->report_size = ts->pkg_size - RM_PACKET_CRC_SIZE; in raydium_i2c_query_ts_info() 327 "data_bank_addr: %#08x, report_size: %d, contact_size: %d\n", in raydium_i2c_query_ts_info() 328 ts->data_bank_addr, ts->report_size, ts->contact_size); in raydium_i2c_query_ts_info() 836 for (i = 0; i < ts->report_size / ts->contact_size; i++) { in raydium_mt_event() 880 fw_crc = get_unaligned_le16(&ts->report_data[ts->report_size]); in raydium_i2c_irq() 881 calc_crc = raydium_calc_chksum(ts->report_data, ts->report_size); in raydium_i2c_irq()
|