Home
last modified time | relevance | path

Searched refs:report_data (Results 1 – 5 of 5) sorted by relevance

/drivers/input/mouse/
Dcypress_ps2.c444 struct cytp_data *cytp, struct cytp_report_data *report_data) in cypress_parse_packet() argument
449 memset(report_data, 0, sizeof(struct cytp_report_data)); in cypress_parse_packet()
451 report_data->contact_cnt = cypress_get_finger_count(header_byte); in cypress_parse_packet()
452 report_data->tap = (header_byte & ABS_MULTIFINGER_TAP) ? 1 : 0; in cypress_parse_packet()
454 if (report_data->contact_cnt == 1) { in cypress_parse_packet()
455 report_data->contacts[0].x = in cypress_parse_packet()
457 report_data->contacts[0].y = in cypress_parse_packet()
460 report_data->contacts[0].z = packet[4]; in cypress_parse_packet()
462 } else if (report_data->contact_cnt >= 2) { in cypress_parse_packet()
463 report_data->contacts[0].x = in cypress_parse_packet()
[all …]
Dcyapa_gen5.c346 struct cyapa_pip_report_data *report_data);
2674 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_buttons() argument
2677 u8 buttons = report_data->report_head[PIP_BUTTONS_OFFSET]; in cyapa_pip_report_buttons()
2698 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_proximity() argument
2701 u8 distance = report_data->report_head[PIP_PROXIMITY_DISTANCE_OFFSET] & in cyapa_pip_report_proximity()
2747 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_touches() argument
2753 touch_num = report_data->report_head[PIP_NUMBER_OF_TOUCH_OFFSET] & in cyapa_pip_report_touches()
2758 &report_data->touch_records[i]); in cyapa_pip_report_touches()
2767 struct cyapa_pip_report_data report_data; in cyapa_pip_irq_handler() local
2777 ret = cyapa_i2c_pip_read(cyapa, (u8 *)&report_data, in cyapa_pip_irq_handler()
[all …]
/drivers/hid/
Dhid-vivaldi.c81 u8 *report_data, *buf; in vivaldi_feature_mapping() local
93 report_data = buf = hid_alloc_report_buf(report, GFP_KERNEL); in vivaldi_feature_mapping()
94 if (!report_data) in vivaldi_feature_mapping()
110 ret = hid_hw_raw_request(hdev, report->id, report_data, in vivaldi_feature_mapping()
124 report_data++; in vivaldi_feature_mapping()
128 ret = hid_report_raw_event(hdev, HID_FEATURE_REPORT, report_data, in vivaldi_feature_mapping()
/drivers/input/touchscreen/
Draydium_i2c_ts.c128 u8 *report_data; member
314 if (ts->report_data && ts->pkg_size != data_info.pkg_size) { in raydium_i2c_query_ts_info()
837 u8 *contact = &ts->report_data[ts->contact_size * i]; in raydium_mt_event()
876 ts->report_data, ts->pkg_size); in raydium_i2c_irq()
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()
1108 ts->report_data = devm_kmalloc(&client->dev, in raydium_i2c_probe()
1110 if (!ts->report_data) in raydium_i2c_probe()
/drivers/input/rmi4/
Drmi_f54.c100 u8 *report_data; member
343 memcpy(ptr, f54->report_data, f54->report_size); in rmi_f54_buffer_queue()
583 f54->report_data + i, size); in rmi_f54_work()
677 f54->report_data = devm_kzalloc(&fn->dev, in rmi_f54_probe()
680 if (f54->report_data == NULL) in rmi_f54_probe()