Lines Matching refs:mp2_ops
46 if (mp2->mp2_ops->response) in amd_sfh_wait_for_response()
47 return mp2->mp2_ops->response(mp2, sid, cmd_id); in amd_sfh_wait_for_response()
86 privdata->mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_deinit()
108 struct amd_mp2_ops *mp2_ops = privdata->mp2_ops; in amd_sfh1_1_hid_client_init() local
119 amd_sfh1_1_set_desc_ops(mp2_ops); in amd_sfh1_1_hid_client_init()
137 cl_data->report_descr_sz[i] = mp2_ops->get_desc_sz(cl_idx, descr_size); in amd_sfh1_1_hid_client_init()
142 feature_report_size = mp2_ops->get_desc_sz(cl_idx, feature_size); in amd_sfh1_1_hid_client_init()
147 input_report_size = mp2_ops->get_desc_sz(cl_idx, input_size); in amd_sfh1_1_hid_client_init()
171 rc = mp2_ops->get_rep_desc(cl_idx, cl_data->report_descr[i]); in amd_sfh1_1_hid_client_init()
176 mp2_ops->start(privdata, info); in amd_sfh1_1_hid_client_init()
238 mp2->mp2_ops->start(mp2, info); in amd_sfh_resume()
268 mp2->mp2_ops->stop(mp2, cl_data->sensor_idx[i]); in amd_sfh_suspend()
291 mp2->mp2_ops->stop_all(mp2); in amd_mp2_pci_remove()
298 struct amd_mp2_ops *mp2_ops; in amd_sfh_set_ops() local
301 mp2_ops = mp2->mp2_ops; in amd_sfh_set_ops()
302 mp2_ops->clear_intr = amd_sfh_clear_intr_v2; in amd_sfh_set_ops()
303 mp2_ops->init_intr = amd_sfh_irq_init_v2; in amd_sfh_set_ops()
304 mp2_ops->suspend = amd_sfh_suspend; in amd_sfh_set_ops()
305 mp2_ops->resume = amd_sfh_resume; in amd_sfh_set_ops()
306 mp2_ops->remove = amd_mp2_pci_remove; in amd_sfh_set_ops()