Home
last modified time | relevance | path

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

12

/linux/drivers/hid/
H A Dhid-betopff.c88 if (report->maxfield < 4) { in betopff_init()
90 report->maxfield); in betopff_init()
93 for (i = 0; i < report->maxfield; i++) { in betopff_init()
H A Dhid-picolcd_lcd.c32 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_contrast()
56 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_lcd()
H A Dhid-picolcd_backlight.c28 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_brightness()
54 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_backlight()
H A Dhid-axff.c48 for (i = 0; i < report->maxfield; i++) { in axff_play()
86 for (i = 0; i < report->maxfield; i++) { in axff_init()
H A 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()
H A Dhid-pl.c111 if (report->maxfield < 1) { in plff_init()
126 report->maxfield >= 4 && in plff_init()
H A Dhid-sensor-hub.c203 if (!report || (field_index >= report->maxfield)) { in sensor_hub_set_feature()
253 if (!report || (field_index >= report->maxfield) || in sensor_hub_get_feature()
360 if (!report || (field_index >= report->maxfield)) in hid_sensor_get_usage_index()
397 for (i = 0; i < report->maxfield; ++i) { in sensor_hub_input_get_attribute_info()
486 hid_dbg(hdev, "maxfield:%d\n", report->maxfield); in sensor_hub_raw_event()
496 for (i = 0; i < report->maxfield; ++i) { in sensor_hub_raw_event()
H A Dhid-input.c142 for (i = 0; i < report->maxfield; i++) { in hidinput_find_key()
1747 for (i = 0; i < report->maxfield; i++) { in hidinput_find_field()
1766 for (i = 0; i < report->maxfield; i++) { in hidinput_get_led_field()
1787 for (i = 0; i < report->maxfield; i++) { in hidinput_count_leds()
1893 if (report->maxfield == 0) in __hidinput_change_resolution_multipliers()
1896 for (i = 0; i < report->maxfield; i++) { in __hidinput_change_resolution_multipliers()
1924 if (!get_report_completed && report->maxfield > 1) { in __hidinput_change_resolution_multipliers()
1976 for (i = 0; i < rep->maxfield; i++) { in report_features()
2150 for (i = 0; i < report->maxfield; i++) in hidinput_cleanup_hidinput()
2210 for (i = 0; i < report->maxfield; i++) { in hidinput_configure_usages()
[all …]
H A Dhid-core.c121 if (report->maxfield == HID_MAX_FIELDS) { in hid_register_field()
132 field->index = report->maxfield++; in hid_register_field()
691 for (n = 0; n < report->maxfield; n++) in hid_free_report()
1051 if (report->maxfield <= field_index) { in hid_validate_values()
1171 for (i = 0; i < rep->maxfield; i++) { in hid_apply_multiplier()
1212 for (i = 0; i < rep->maxfield; i++) { in hid_setup_resolution_multiplier()
1683 for (a = 0; a < report->maxfield; a++) in hid_process_report()
1704 for (a = 0; a < report->maxfield; a++) { in hid_process_report()
1713 for (a = 0; a < report->maxfield; a++) { in hid_process_report()
1770 for (a = 0; a < report->maxfield; a++) { in hid_report_process_ordering()
[all …]
H A Dhid-picolcd_fb.c99 if (!report1 || report1->maxfield != 1) in picolcd_fb_send_tile()
102 if (!report2 || report2->maxfield != 1) in picolcd_fb_send_tile()
193 if (!report || report->maxfield != 1) in picolcd_fb_reset()
H A Dhid-chicony.c31 if (report->id != CH_WIRELESS_CTL_REPORT_ID || report->maxfield != 1) in ch_report_wireless()
H A Dhid-holtekff.c147 if (report->maxfield < 1 || report->field[0]->report_count != 7) { in holtekff_init()
H A Dhid-emsff.c69 if (report->maxfield < 1) { in emsff_init()
H A Dhid-mf.c78 if (report->maxfield < 1 || report->field[0]->report_count < 2) { in mf_init()
H A Dhid-sjoy.c76 if (report->maxfield < 1) { in sjoyff_init()
H A Dhid-gaff.c89 if (report->maxfield < 1) { in gaff_init()
H A Dhid-google-hammer.c442 if (!report || report->maxfield < 1) in hammer_get_folded_state()
458 for (a = 0; a < report->maxfield; a++) { in hammer_get_folded_state()
H A Dhid-dr.c97 if (report->maxfield < 1) { in drff_init()
H A Dhid-tmff.c144 for (fieldnum = 0; fieldnum < report->maxfield; ++fieldnum) { in tmff_init()
H A Dhid-kye.c547 if (report->maxfield < 1 || report->field[0]->report_count < 7) { in kye_tablet_enable()
H A Dhid-multitouch.c644 for (r = 0; r < report->maxfield; r++) { in mt_allocate_report_data()
1263 for (r = 0; r < report->maxfield; r++) { in mt_touch_report()
1584 for (i = 0; i < rep->maxfield; i++) { in mt_set_modes()
1709 if (!report->maxfield) in mt_fix_const_fields()
1712 for (i = 0; i < report->maxfield; i++) in mt_fix_const_fields()
H A Dhid-ntrig.c114 if (!report || report->maxfield < 1 || in ntrig_get_mode()
864 if (hidinput->report->maxfield < 1) in ntrig_input_configured()
H A Dwacom_sys.c99 for (i = 0; i < report->maxfield; i++) { in wacom_wac_pen_serial_enforce()
261 field->index + 2 < field->report->maxfield) { in wacom_hid_usage_quirk()
519 for (i = 0; i < hreport->maxfield; i++) { in wacom_parse_hid()
535 if (!hreport->maxfield) in wacom_parse_hid()
538 for (i = 0; i < hreport->maxfield; i++) in wacom_parse_hid()
/linux/drivers/hid/usbhid/
H A Dhiddev.c124 for (i = 0; i < report->maxfield; i++) { in hiddev_lookup_usage()
457 if (uref->field_index >= report->maxfield) in hiddev_ioctl_usage()
460 report->maxfield); in hiddev_ioctl_usage()
491 if (uref->field_index >= report->maxfield) in hiddev_ioctl_usage()
494 report->maxfield); in hiddev_ioctl_usage()
742 rinfo.num_fields = report->maxfield; in hiddev_ioctl()
761 if (finfo.field_index >= report->maxfield) in hiddev_ioctl()
764 report->maxfield); in hiddev_ioctl()
H A Dhid-pidff.c765 for (i = 0; i < report->maxfield; i++) { in pidff_find_fields()
820 if (report->maxfield < 1) in pidff_find_reports()
876 for (i = 0; i < report->maxfield; i++) { in pidff_find_special_field()

12