Lines Matching refs:cli_data

37 	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()
73 schedule_delayed_work(&cli_data->work, 0); in amd_sfh_get_report()
79 struct amdtp_cl_data *cli_data = container_of(work, struct amdtp_cl_data, work.work); in amd_sfh_work() local
80 struct amd_input_data *in_data = cli_data->in_data; in amd_sfh_work()
96 cli_data->feature_report[current_index]); in amd_sfh_work()
98 hid_input_report(cli_data->hid_sensor_hubs[current_index], in amd_sfh_work()
99 cli_data->report_type[current_index], in amd_sfh_work()
100 cli_data->feature_report[current_index], report_size, 0); in amd_sfh_work()
107 hid_input_report(cli_data->hid_sensor_hubs[current_index], in amd_sfh_work()
108 cli_data->report_type[current_index], in amd_sfh_work()
113 cli_data->cur_hid_dev = current_index; in amd_sfh_work()
114 cli_data->sensor_requested_cnt[current_index] = 0; in amd_sfh_work()
115 amdtp_hid_wakeup(cli_data->hid_sensor_hubs[current_index]); in amd_sfh_work()
120 struct amdtp_cl_data *cli_data = container_of(work, struct amdtp_cl_data, work_buffer.work); in amd_sfh_work_buffer() local
121 struct amd_input_data *in_data = cli_data->in_data; in amd_sfh_work_buffer()
125 for (i = 0; i < cli_data->num_hid_devices; i++) { in amd_sfh_work_buffer()
126 if (cli_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_work_buffer()
128 (i, cli_data->sensor_idx[i], cli_data->report_id[i], in_data); in amd_sfh_work_buffer()
129 hid_input_report(cli_data->hid_sensor_hubs[i], HID_INPUT_REPORT, in amd_sfh_work_buffer()
133 schedule_delayed_work(&cli_data->work_buffer, msecs_to_jiffies(AMD_SFH_IDLE_LOOP)); in amd_sfh_work_buffer()