Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/hid/
Dhid-pl.c129 if (report->field[0]->report_count >= 4) { in plff_init()
139 report->field[0]->report_count >= 1 && in plff_init()
140 report->field[1]->report_count >= 1 && in plff_init()
141 report->field[2]->report_count >= 1 && in plff_init()
142 report->field[3]->report_count >= 1) { in plff_init()
Dhid-picolcd_lcd.c42 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_contrast()
72 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_lcd()
Dhid-picolcd_backlight.c39 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_brightness()
70 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_backlight()
Dhid-axff.c61 for (j = 0; j < report->field[i]->report_count; j++) { in axff_play()
92 for (j = 0; j < report->field[i]->report_count; j++) { in axff_init()
Dhid-picolcd_leds.c50 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_leds_set()
116 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_leds()
Dhid-sensor-hub.c105 info->size = (field->report_size * field->report_count)/8; in sensor_hub_fill_attr_info()
256 report->field[field_index]->report_count < 1) { in sensor_hub_get_feature()
266 report->field[field_index]->report_count; in sensor_hub_get_feature()
484 report->field[i]->report_count)/8); in sensor_hub_raw_event()
486 report->field[i]->report_count)/8; in sensor_hub_raw_event()
Dhid-core.c249 report->size += parser->global.report_size * parser->global.report_count; in hid_add_field()
255 parser->global.report_count); in hid_add_field()
257 field = hid_register_field(report, usages, parser->global.report_count); in hid_add_field()
281 field->report_count = parser->global.report_count; in hid_add_field()
398 parser->global.report_count = item_udata(item); in hid_parser_global()
399 if (parser->global.report_count > HID_MAX_USAGES) { in hid_parser_global()
401 parser->global.report_count); in hid_parser_global()
712 if (usage == 0xff0000c5 && parser->global.report_count == 256 && in hid_scan_feature_usage()
921 if (report->field[field_index]->report_count < report_counts) { in hid_validate_values()
1233 unsigned count = field->report_count; in hid_input_field()
[all …]
Dhid-lg3ff.c73 sizeof(__s32) * report->field[0]->report_count); in hid_lg3ff_play()
Dhid-betopff.c86 for (j = 0; j < report->field[i]->report_count; j++) { in betopff_init()
Dhid-emsff.c80 if (report->field[0]->report_count < 7) { in emsff_init()
Dhid-holtekff.c157 if (report->maxfield < 1 || report->field[0]->report_count != 7) { in holtekff_init()
Dhid-sjoy.c93 if (report->field[0]->report_count < 3) { in sjoyff_init()
Dhid-gaff.c101 if (report->field[0]->report_count < 6) { in gaff_init()
Dhid-kye.c518 if (report->maxfield < 1 || report->field[0]->report_count < 7) { in kye_tablet_enable()
Dhid-multitouch.c355 if (usage->usage_index >= field->report_count) { in mt_feature_mapping()
389 if (usage->usage_index >= field->report_count) { in mt_feature_mapping()
546 usage->usage_index >= field->report_count) in mt_touch_input_mapping()
739 if (usage->usage_index + 1 == field->report_count) { in mt_process_mt_event()
768 count = field->report_count; in mt_touch_report()
Dhid-dr.c108 if (report->field[0]->report_count < 7) { in drff_init()
Dhid-tmff.c152 if (field->report_count < 2) { in tmff_init()
Dhid-picolcd_core.c102 for (j = 0; j < report->field[i]->report_count; j++) { in picolcd_send_and_wait()
433 if (report->maxfield != 1 || report->field[0]->report_count != 2 || in picolcd_init_keys()
Dhid-prodikeys.c290 if (report->field[0]->report_count != 2) { in pcmidi_get_output_report()
Dhid-input.c502 if (field->report_count < 1) in hidinput_configure_usage()
1343 if (rep->field[i]->report_count < 1) in report_features()
Dhid-sensor-custom.c525 field->report_count) / 8; in hid_sensor_custom_add_field()
Dhid-ntrig.c119 report->field[0]->report_count < 1) in ntrig_get_mode()
Dhid-debug.c611 tab(n, f); seq_printf(f, "Report Count(%u)\n", field->report_count); in hid_dump_field()
Dwacom_sys.c147 if (usage->usage_index >= field->report_count) { in wacom_feature_mapping()
280 if (hreport->field[i]->report_count < 1) in wacom_parse_hid()
Dhid-picolcd_debugfs.c869 data->addr_sz = flash_r->field[0]->report_count - 1; in picolcd_init_devfs()
Dwacom_wac.c1728 if (usage->usage_index + 1 == field->report_count) { in wacom_wac_finger_event()
1847 count = field->report_count; in wacom_report_events()
/linux-4.4.14/drivers/input/touchscreen/
Delants_i2c.c853 int report_count, report_len; in elants_i2c_irq() local
907 report_count = ts->buf[FW_HDR_COUNT]; in elants_i2c_irq()
908 if (report_count > 3) { in elants_i2c_irq()
915 report_len = ts->buf[FW_HDR_LENGTH] / report_count; in elants_i2c_irq()
923 for (i = 0; i < report_count; i++) { in elants_i2c_irq()
/linux-4.4.14/drivers/hid/usbhid/
Dhiddev.c517 } else if (uref->usage_index >= field->report_count) in hiddev_ioctl_usage()
522 uref->usage_index + uref_multi->num_values > field->report_count)) in hiddev_ioctl_usage()
769 finfo.field_index = field->report_count - 1; in hiddev_ioctl()
Dhid-pidff.c779 report->field[i]->report_count) { in pidff_find_fields()
890 report->field[i]->report_count > 0) { in pidff_find_special_field()
/linux-4.4.14/include/linux/
Dhid.h363 unsigned report_count; member
416 unsigned report_count; /* number of this field in the report */ member
/linux-4.4.14/drivers/input/mouse/
Dcyapa_gen5.c409 int report_count; in cyapa_empty_pip_output_data() local
421 report_count = 8; /* max 7 pending data before command response data */ in cyapa_empty_pip_output_data()
469 report_count--; in cyapa_empty_pip_output_data()
484 } while (report_count); in cyapa_empty_pip_output_data()