Home
last modified time | relevance | path

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

/Linux-v6.6/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.c25 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amd_sfh_set_report() local
28 for (i = 0; i < cli_data->num_hid_devices; i++) { in amd_sfh_set_report()
29 if (cli_data->hid_sensor_hubs[i] == hid) { in amd_sfh_set_report()
30 cli_data->cur_hid_dev = i; in amd_sfh_set_report()
40 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amd_sfh_get_report() local
41 struct request_list *req_list = &cli_data->req_list; in amd_sfh_get_report()
44 for (i = 0; i < cli_data->num_hid_devices; i++) { in amd_sfh_get_report()
45 if (cli_data->hid_sensor_hubs[i] == hid) { in amd_sfh_get_report()
52 new->sensor_idx = cli_data->sensor_idx[i]; in amd_sfh_get_report()
56 cli_data->report_id[i] = report_id; in amd_sfh_get_report()
[all …]
Damd_sfh_hid.h71 struct amdtp_cl_data *cli_data; member
78 int amdtp_hid_probe(u32 cur_hid_dev, struct amdtp_cl_data *cli_data);
79 void amdtp_hid_remove(struct amdtp_cl_data *cli_data);