Home
last modified time | relevance | path

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

/linux-6.1.9/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);
2675 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_buttons() argument
2678 u8 buttons = report_data->report_head[PIP_BUTTONS_OFFSET]; in cyapa_pip_report_buttons()
2699 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_proximity() argument
2702 u8 distance = report_data->report_head[PIP_PROXIMITY_DISTANCE_OFFSET] & in cyapa_pip_report_proximity()
2748 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_touches() argument
2754 touch_num = report_data->report_head[PIP_NUMBER_OF_TOUCH_OFFSET] & in cyapa_pip_report_touches()
2759 &report_data->touch_records[i]); in cyapa_pip_report_touches()
2768 struct cyapa_pip_report_data report_data; in cyapa_pip_irq_handler() local
2778 ret = cyapa_i2c_pip_read(cyapa, (u8 *)&report_data, in cyapa_pip_irq_handler()
[all …]
/linux-6.1.9/drivers/hid/
Dhid-vivaldi-common.c36 u8 *report_data, *buf; in vivaldi_feature_mapping() local
52 report_data = buf = hid_alloc_report_buf(report, GFP_KERNEL); in vivaldi_feature_mapping()
53 if (!report_data) in vivaldi_feature_mapping()
69 ret = hid_hw_raw_request(hdev, report->id, report_data, in vivaldi_feature_mapping()
83 report_data++; in vivaldi_feature_mapping()
87 ret = hid_report_raw_event(hdev, HID_FEATURE_REPORT, report_data, in vivaldi_feature_mapping()
/linux-6.1.9/tools/perf/util/
Dbpf_kwork.c33 struct report_data { struct
259 struct report_data *data) in add_work()
311 struct report_data data; in perf_kwork__report_read_bpf()
/linux-6.1.9/tools/perf/util/bpf_skel/
Dkwork_trace.bpf.c27 struct report_data { struct
52 __uint(value_size, sizeof(struct report_data)); argument
119 struct report_data zero, *data; in do_update_time()
/linux-6.1.9/drivers/input/rmi4/
Drmi_f54.c106 u8 *report_data; member
349 memcpy(ptr, f54->report_data, f54->report_size); in rmi_f54_buffer_queue()
589 f54->report_data + i, size); in rmi_f54_work()
683 f54->report_data = devm_kzalloc(&fn->dev, in rmi_f54_probe()
686 if (f54->report_data == NULL) in rmi_f54_probe()
/linux-6.1.9/drivers/input/touchscreen/
Draydium_i2c_ts.c129 u8 *report_data; member
353 if (ts->report_data && ts->pkg_size != data_info.pkg_size) { in raydium_i2c_query_ts_info()
873 u8 *contact = &ts->report_data[ts->contact_size * i]; in raydium_mt_event()
912 ts->report_data, ts->pkg_size); in raydium_i2c_irq()
916 fw_crc = get_unaligned_le16(&ts->report_data[ts->report_size]); in raydium_i2c_irq()
917 calc_crc = raydium_calc_chksum(ts->report_data, ts->report_size); in raydium_i2c_irq()
1144 ts->report_data = devm_kmalloc(&client->dev, in raydium_i2c_probe()
1146 if (!ts->report_data) in raydium_i2c_probe()