Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dssv_ht_rc.c530 struct firmware_rate_control_report_data *report_data; in ssv6xxx_ht_report_handler() local
538 report_data = (struct firmware_rate_control_report_data *)&host_event->dat[0]; in ssv6xxx_ht_report_handler()
541 …T AMPDU wsid[%d]ampdu_len[%d]ampdu_ack_len[%d]\n",report_data->wsid,report_data->ampdu_len,report_… in ssv6xxx_ht_report_handler()
543 if(report_data->rates[i].data_rate == -1) in ssv6xxx_ht_report_handler()
545 if(report_data->rates[i].count == 0) { in ssv6xxx_ht_report_handler()
550 …printk(" i=[%d] rate[%d] count[%d]\n",i,report_data->rates[i].data_rate,report_data->rates[… in ssv6xxx_ht_report_handler()
556 report_data->ampdu_len = 1; in ssv6xxx_ht_report_handler()
557 report_ampdu_packets = report_data->ampdu_len; in ssv6xxx_ht_report_handler()
559 …SC MPDU wsid[%d]ampdu_len[%d]ampdu_ack_len[%d]\n",report_data->wsid,report_data->ampdu_len,report_… in ssv6xxx_ht_report_handler()
561 if(report_data->rates[i].data_rate == -1) in ssv6xxx_ht_report_handler()
[all …]
H A Dssv_rc.c699 struct firmware_rate_control_report_data *report_data; in ssv6xxx_legacy_report_handler() local
707 report_data = (struct firmware_rate_control_report_data *)&host_event->dat[0]; in ssv6xxx_legacy_report_handler()
708 if ( (report_data->wsid != (-1)) in ssv6xxx_legacy_report_handler()
709 && sc->sta_info[report_data->wsid].sta == NULL) in ssv6xxx_legacy_report_handler()
711 dev_warn(sc->dev, "RC report has no valid STA.(%d)\n", report_data->wsid); in ssv6xxx_legacy_report_handler()
738 …printk("SC report !MPDU! wsid[%d]rate[%d]M[%d]S[%d]R[%d]\n",report_data->wsid,report_data->rates[0… in ssv6xxx_legacy_report_handler()
739 report_data->ampdu_len,report_data->ampdu_ack_len,report_data->rates[0].count); in ssv6xxx_legacy_report_handler()
748 if(report_data->rates[0].data_rate < 7) in ssv6xxx_legacy_report_handler()
750 if(report_data->rates[0].data_rate>3) in ssv6xxx_legacy_report_handler()
752 report_data->rates[0].data_rate -= 3; in ssv6xxx_legacy_report_handler()
[all …]
H A Dampdu.c1764 struct firmware_rate_control_report_data *report_data; in ssv6200_ampdu_no_BA_handler() local
1826 report_data = in ssv6200_ampdu_no_BA_handler()
1828 report_data->ampdu_len = aggr_num; in ssv6200_ampdu_no_BA_handler()
1829 report_data->ampdu_ack_len = 0; in ssv6200_ampdu_no_BA_handler()
1830 report_data->wsid = ssv_sta_priv->sta_info->hw_wsid; in ssv6200_ampdu_no_BA_handler()
1832 …x[%d]F[%d]R[%d]S[%d]\n",report_data->wsid,report_data->data_rate,report_data->mpduFrames,report_da… in ssv6200_ampdu_no_BA_handler()
1850 struct firmware_rate_control_report_data *report_data; in ssv6200_ampdu_BA_handler() local
1940 report_data = in ssv6200_ampdu_BA_handler()
1942 memcpy(report_data, ba_notification, in ssv6200_ampdu_BA_handler()
1944 report_data->ampdu_len = aggr_num; in ssv6200_ampdu_BA_handler()
[all …]
H A Ddev.c5249 struct firmware_rate_control_report_data *report_data;
5251 report_data = (struct firmware_rate_control_report_data *)&host_event->dat[0];
5252 …et!!wsid[%d]didx[%d]F[%d]S[%d]\n",report_data->wsid,report_data->rates[0].data_rate,report_data->a…
/OK3568_Linux_fs/kernel/drivers/hid/
H A 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()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A 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()
H A Dgslx680.c867 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id) in report_data() function
1069 report_data(ts, x_new, y_new, 10, id); in gslX680_ts_worker()
1531 report_data(ts, 1, 1, 10, 1);
1609 report_data(ts, 1, 1, 10, 1); in gsl_ts_early_suspend()
1679 report_data(ts, 1, 1, 10, 1); in gsl_ts_early_suspend()
H A Dgslx6801.c836 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id) in report_data() function
1001 report_data(ts, x, y, 10, id); in gslX680_ts_worker()
1396 report_data(ts, 1, 1, 10, 1); in gsl_ts_early_suspend()
1461 report_data(ts, 1, 1, 10, 1); in gsl_ts_early_suspend()
H A Dgslx680_pad.c658 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id) in report_data() function
777 report_data(ts, x, y, 10, id); in gslX680_ts_worker()
924 report_data(ts, 1, 1, 10, 1); in gsl_ts_suspend()
H A Dgslx680_firefly.c626 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id)
747 report_data(ts, x_new, y_new, 10, id);
904 report_data(ts, 1, 1, 10, 1);
H A Dgsl3673.c726 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id) in report_data() function
869 report_data(ts, x_new, y_new, 10, id); in gsl3673_ts_worker()
1079 report_data(ts, 1, 1, 10, 1); in gsl_ts_suspend()
H A Dgslx680a.c750 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id) in report_data() function
877 report_data(ts, x_new, y_new, 10, id); in gslX680_ts_worker()
1107 report_data(ts, 1, 1, 10, 1); in gsl_ts_suspend()
H A Dgsl3673_800x1280.c748 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id) in report_data() function
891 report_data(ts, x_new, y_new, 10, id); in gsl3673_ts_worker()
1096 report_data(ts, 1, 1, 10, 1); in gsl_ts_suspend()
/OK3568_Linux_fs/kernel/drivers/input/rmi4/
H A 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()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gsl3676/
H A Dgsl3676.c720 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id) in report_data() function
864 report_data(ts, x_new, y_new, 10, id); in gsl_ts_worker()
1069 report_data(ts, 1, 1, 10, 1); in gsl_ts_suspend()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gslx680_d708/
H A Drockchip_gslX680.c690 static void report_data(struct gsl_ts *ts, u16 x, u16 y, u8 pressure, u8 id) in report_data() function
825 report_data(ts, x_new, y_new, 10, id); in gslX680_ts_worker()
1107 report_data(ts, 1, 1, 10, 1); in gsl_ts_suspend()