Home
last modified time | relevance | path

Searched refs:report_count (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/hid/
Dhid-pl.c117 if (report->field[0]->report_count >= 4) { in plff_init()
127 report->field[0]->report_count >= 1 && in plff_init()
128 report->field[1]->report_count >= 1 && in plff_init()
129 report->field[2]->report_count >= 1 && in plff_init()
130 report->field[3]->report_count >= 1) { in plff_init()
Dhid-picolcd_lcd.c32 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_contrast()
62 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_lcd()
Dhid-picolcd_backlight.c29 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_brightness()
60 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_backlight()
Dhid-axff.c49 for (j = 0; j < report->field[i]->report_count; j++) { in axff_play()
87 for (j = 0; j < report->field[i]->report_count; j++) { in axff_init()
Dhid-picolcd_leds.c40 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_leds_set()
106 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_leds()
Dhid-sensor-hub.c93 info->size = (field->report_size * field->report_count)/8; in sensor_hub_fill_attr_info()
255 report->field[field_index]->report_count < 1) { in sensor_hub_get_feature()
265 report->field[field_index]->report_count; in sensor_hub_get_feature()
273 for (i = 0; i < report->field[field_index]->report_count; ++i) { in sensor_hub_get_feature()
501 report->field[i]->report_count)/8); in sensor_hub_raw_event()
503 report->field[i]->report_count)/8; in sensor_hub_raw_event()
Dhid-core.c289 report->size += parser->global.report_size * parser->global.report_count; in hid_add_field()
301 parser->global.report_count); in hid_add_field()
328 field->report_count = parser->global.report_count; in hid_add_field()
445 parser->global.report_count = item_udata(item); in hid_parser_global()
446 if (parser->global.report_count > HID_MAX_USAGES) { in hid_parser_global()
448 parser->global.report_count); in hid_parser_global()
787 if (usage == 0xff0000c5 && parser->global.report_count == 256 && in hid_scan_feature_usage()
791 if (usage == 0xff0000c6 && parser->global.report_count == 1 && in hid_scan_feature_usage()
1006 if (report->field[field_index]->report_count < report_counts) { in hid_validate_values()
1164 if (rep->field[i]->report_count < 1) in hid_setup_resolution_multiplier()
[all …]
Dhid-lg3ff.c61 sizeof(__s32) * report->field[0]->report_count); in hid_lg3ff_play()
Dhid-betopff.c90 for (j = 0; j < report->field[i]->report_count; j++) { in betopff_init()
Dhid-emsff.c74 if (report->field[0]->report_count < 7) { in emsff_init()
Dhid-mf.c78 if (report->maxfield < 1 || report->field[0]->report_count < 2) { in mf_init()
Dhid-holtekff.c147 if (report->maxfield < 1 || report->field[0]->report_count != 7) { in holtekff_init()
Dhid-sjoy.c81 if (report->field[0]->report_count < 3) { in sjoyff_init()
Dhid-gaff.c94 if (report->field[0]->report_count < 6) { in gaff_init()
Dhid-kye.c684 if (report->maxfield < 1 || report->field[0]->report_count < 7) { in kye_tablet_enable()
Dhid-dr.c102 if (report->field[0]->report_count < 7) { in drff_init()
Dhid-tmff.c156 if (field->report_count < 2) { in tmff_init()
Dhid-picolcd_core.c93 for (j = 0; j < report->field[i]->report_count; j++) { in picolcd_send_and_wait()
417 if (report->maxfield != 1 || report->field[0]->report_count != 2 || in picolcd_init_keys()
Dhid-multitouch.c469 if (usage->usage_index >= field->report_count) { in mt_feature_mapping()
608 for (n = 0; n < field->report_count; n++) { in mt_allocate_report_data()
1199 count = field->report_count; in mt_touch_report()
1496 if (rep->field[i]->report_count < 1) in mt_set_modes()
Dhid-input.c580 if (field->report_count < 1) in hidinput_configure_usage()
1601 if (report->field[i]->report_count != 1) in __hidinput_change_resolution_multipliers()
1674 if (rep->field[i]->report_count < 1) in report_features()
/kernel/linux/linux-5.10/drivers/hid/usbhid/
Dhiddev.c504 } else if (uref->usage_index >= field->report_count) in hiddev_ioctl_usage()
511 field->report_count) in hiddev_ioctl_usage()
516 field->report_count - in hiddev_ioctl_usage()
522 if (uref->usage_index >= field->report_count) in hiddev_ioctl_usage()
530 if (uref->usage_index >= field->report_count) in hiddev_ioctl_usage()
770 finfo.field_index = field->report_count - 1; in hiddev_ioctl()
Dhid-pidff.c767 report->field[i]->report_count) { in pidff_find_fields()
878 report->field[i]->report_count > 0) { in pidff_find_special_field()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Delants_i2c.c979 int report_count, report_len; in elants_i2c_irq() local
1033 report_count = ts->buf[FW_HDR_COUNT]; in elants_i2c_irq()
1034 if (report_count == 0 || report_count > 3) { in elants_i2c_irq()
1041 report_len = ts->buf[FW_HDR_LENGTH] / report_count; in elants_i2c_irq()
1049 for (i = 0; i < report_count; i++) { in elants_i2c_irq()
/kernel/linux/linux-5.10/include/linux/
Dhid.h403 unsigned report_count; member
462 unsigned report_count; /* number of this field in the report */ member
/kernel/linux/linux-5.10/drivers/input/mouse/
Dcyapa_gen5.c449 int report_count; in cyapa_empty_pip_output_data() local
461 report_count = 8; /* max 7 pending data before command response data */ in cyapa_empty_pip_output_data()
509 report_count--; in cyapa_empty_pip_output_data()
530 } while (report_count); in cyapa_empty_pip_output_data()

12