Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-betopff.c94 if (report->field[i]->report_count < 1) { in betopff_init()
98 for (j = 0; j < report->field[i]->report_count; j++) { in betopff_init()
Dhid-core.c292 report->size += parser->global.report_size * parser->global.report_count; in hid_add_field()
304 parser->global.report_count); in hid_add_field()
331 field->report_count = parser->global.report_count; in hid_add_field()
448 parser->global.report_count = item_udata(item); in hid_parser_global()
449 if (parser->global.report_count > HID_MAX_USAGES) { in hid_parser_global()
451 parser->global.report_count); in hid_parser_global()
792 if (usage == 0xff0000c5 && parser->global.report_count == 256 && in hid_scan_feature_usage()
796 if (usage == 0xff0000c6 && parser->global.report_count == 1 && in hid_scan_feature_usage()
1011 if (report->field[field_index]->report_count < report_counts) { in hid_validate_values()
1169 if (rep->field[i]->report_count < 1) in hid_setup_resolution_multiplier()
[all …]
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-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-sensor-hub.c92 info->size = (field->report_size * field->report_count)/8; in sensor_hub_fill_attr_info()
254 report->field[field_index]->report_count < 1) { in sensor_hub_get_feature()
264 report->field[field_index]->report_count; in sensor_hub_get_feature()
272 for (i = 0; i < report->field[field_index]->report_count; ++i) { in sensor_hub_get_feature()
500 report->field[i]->report_count)/8); in sensor_hub_raw_event()
502 report->field[i]->report_count)/8; in sensor_hub_raw_event()
Dhid-lg3ff.c61 sizeof(__s32) * report->field[0]->report_count); in hid_lg3ff_play()
Dhid-holtekff.c147 if (report->maxfield < 1 || report->field[0]->report_count != 7) { in holtekff_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-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.c152 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()
416 if (report->maxfield != 1 || report->field[0]->report_count != 2 || in picolcd_init_keys()
Dhid-multitouch.c498 if (usage->usage_index >= field->report_count) { in mt_feature_mapping()
637 for (n = 0; n < field->report_count; n++) { in mt_allocate_report_data()
1230 count = field->report_count; in mt_touch_report()
1527 if (rep->field[i]->report_count < 1) in mt_set_modes()
/linux-6.1.9/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()
/linux-6.1.9/drivers/hid/surface-hid/
Dsurface_kbd.c171 for (i = 0; i < field->report_count; i++) in skbd_get_caps_led_value()
175 if (i == field->report_count) in skbd_get_caps_led_value()
/linux-6.1.9/drivers/input/touchscreen/
Delants_i2c.c1070 int report_count, report_len; in elants_i2c_irq() local
1138 report_count = ts->buf[FW_HDR_COUNT]; in elants_i2c_irq()
1139 if (report_count == 0 || report_count > 3) { in elants_i2c_irq()
1146 report_len = ts->buf[FW_HDR_LENGTH] / report_count; in elants_i2c_irq()
1159 for (i = 0; i < report_count; i++) { in elants_i2c_irq()
/linux-6.1.9/include/linux/
Dhid.h408 unsigned report_count; member
467 unsigned report_count; /* number of this field in the report */ member
/linux-6.1.9/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()
531 } while (report_count); in cyapa_empty_pip_output_data()

12