Home
last modified time | relevance | path

Searched refs:cli_data (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/hid/amd-sfh-hid/
Damd_sfh_hid.c30 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amdtp_hid_parse() local
32 return hid_parse_report(hid, cli_data->report_descr[hid_data->index], in amdtp_hid_parse()
33 cli_data->report_descr_sz[hid_data->index]); in amdtp_hid_parse()
82 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amdtp_wait_for_response() local
85 for (i = 0; i < cli_data->num_hid_devices; i++) { in amdtp_wait_for_response()
86 if (cli_data->hid_sensor_hubs[i] == hid) in amdtp_wait_for_response()
90 if (!cli_data->request_done[i]) in amdtp_wait_for_response()
92 cli_data->request_done[i], in amdtp_wait_for_response()
105 struct amdtp_cl_data *cli_data; in amdtp_hid_wakeup() local
109 cli_data = hid_data->cli_data; in amdtp_hid_wakeup()
[all …]
Damd_sfh_client.c37 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amd_sfh_set_report() local
40 for (i = 0; i < cli_data->num_hid_devices; i++) { in amd_sfh_set_report()
41 if (cli_data->hid_sensor_hubs[i] == hid) { in amd_sfh_set_report()
42 cli_data->cur_hid_dev = i; in amd_sfh_set_report()
52 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amd_sfh_get_report() local
55 for (i = 0; i < cli_data->num_hid_devices; i++) { in amd_sfh_get_report()
56 if (cli_data->hid_sensor_hubs[i] == hid) { in amd_sfh_get_report()
63 new->sensor_idx = cli_data->sensor_idx[i]; in amd_sfh_get_report()
67 cli_data->report_id[i] = report_id; in amd_sfh_get_report()
68 cli_data->request_done[i] = false; in amd_sfh_get_report()
[all …]
Damd_sfh_hid.h60 struct amdtp_cl_data *cli_data; member
67 int amdtp_hid_probe(u32 cur_hid_dev, struct amdtp_cl_data *cli_data);
68 void amdtp_hid_remove(struct amdtp_cl_data *cli_data);