Lines Matching refs:mp2_ops

73 	struct amd_mp2_ops *mp2_ops;  in amd_sfh_work()  local
87 mp2_ops = mp2->mp2_ops; in amd_sfh_work()
89 report_size = mp2_ops->get_feat_rep(sensor_index, report_id, in amd_sfh_work()
99 report_size = mp2_ops->get_in_rep(current_index, sensor_index, report_id, in_data); in amd_sfh_work()
123 report_size = mp2->mp2_ops->get_in_rep(i, cli_data->sensor_idx[i], in amd_sfh_work_buffer()
134 if (mp2->mp2_ops->response) in amd_sfh_wait_for_response()
135 sensor_sts = mp2->mp2_ops->response(mp2, sid, sensor_sts); in amd_sfh_wait_for_response()
169 mp2->mp2_ops->start(mp2, info); in amd_sfh_resume()
192 mp2->mp2_ops->stop(mp2, cl_data->sensor_idx[i]); in amd_sfh_suspend()
211 struct amd_mp2_ops *mp2_ops = privdata->mp2_ops; in amd_sfh_hid_client_init() local
222 amd_sfh_set_desc_ops(mp2_ops); in amd_sfh_hid_client_init()
224 mp2_ops->suspend = amd_sfh_suspend; in amd_sfh_hid_client_init()
225 mp2_ops->resume = amd_sfh_resume; in amd_sfh_hid_client_init()
249 cl_data->report_descr_sz[i] = mp2_ops->get_desc_sz(cl_idx, descr_size); in amd_sfh_hid_client_init()
254 feature_report_size = mp2_ops->get_desc_sz(cl_idx, feature_size); in amd_sfh_hid_client_init()
259 input_report_size = mp2_ops->get_desc_sz(cl_idx, input_size); in amd_sfh_hid_client_init()
284 rc = mp2_ops->get_rep_desc(cl_idx, cl_data->report_descr[i]); in amd_sfh_hid_client_init()
287 mp2_ops->start(privdata, info); in amd_sfh_hid_client_init()
295 mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_init()
318 (mp2_ops->discovery_status && mp2_ops->discovery_status(privdata) == 0)) { in amd_sfh_hid_client_init()
353 privdata->mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_deinit()