Searched refs:mp2_ops (Results 1 – 9 of 9) sorted by relevance
46 if (mp2->mp2_ops->response) in amd_sfh_wait_for_response()99 struct amd_mp2_ops *mp2_ops = privdata->mp2_ops; in amd_sfh1_1_hid_client_init() local110 amd_sfh1_1_set_desc_ops(mp2_ops); in amd_sfh1_1_hid_client_init()166 mp2_ops->start(privdata, info); in amd_sfh1_1_hid_client_init()217 mp2->mp2_ops->start(mp2, info); in amd_sfh_resume()264 mp2->mp2_ops->stop_all(mp2); in amd_mp2_pci_remove()271 struct amd_mp2_ops *mp2_ops; in amd_sfh_set_ops() local274 mp2_ops = mp2->mp2_ops; in amd_sfh_set_ops()277 mp2_ops->suspend = amd_sfh_suspend; in amd_sfh_set_ops()278 mp2_ops->resume = amd_sfh_resume; in amd_sfh_set_ops()[all …]
294 void amd_sfh1_1_set_desc_ops(struct amd_mp2_ops *mp2_ops) in amd_sfh1_1_set_desc_ops() argument296 mp2_ops->get_rep_desc = get_report_desc; in amd_sfh1_1_set_desc_ops()297 mp2_ops->get_feat_rep = get_feature_rep; in amd_sfh1_1_set_desc_ops()298 mp2_ops->get_desc_sz = get_desc_size; in amd_sfh1_1_set_desc_ops()299 mp2_ops->get_in_rep = get_input_rep; in amd_sfh1_1_set_desc_ops()
74 mp2->mp2_ops = &amd_sfh_ops; in sfh_interface_init()
153 void amd_sfh1_1_set_desc_ops(struct amd_mp2_ops *mp2_ops);
73 struct amd_mp2_ops *mp2_ops; in amd_sfh_work() local87 mp2_ops = mp2->mp2_ops; in amd_sfh_work()134 if (mp2->mp2_ops->response) 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() local222 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()287 mp2_ops->start(privdata, info); in amd_sfh_hid_client_init()[all …]
106 if (privdata->mp2_ops->clear_intr) in amd_sfh_clear_intr()107 privdata->mp2_ops->clear_intr(privdata); in amd_sfh_clear_intr()243 mp2->mp2_ops->stop_all(mp2); in amd_mp2_pci_remove()275 privdata->mp2_ops = &amd_sfh_ops_v2; in mp2_select_ops()278 privdata->mp2_ops = &amd_sfh_ops; in mp2_select_ops()285 if (privdata->mp2_ops->init_intr) in amd_sfh_irq_init()286 return privdata->mp2_ops->init_intr(privdata); in amd_sfh_irq_init()367 return devm_add_action_or_reset(&pdev->dev, privdata->mp2_ops->remove, privdata); in amd_mp2_pci_probe()374 mp2->mp2_ops->resume(mp2); in amd_mp2_pci_resume()383 mp2->mp2_ops->suspend(mp2); in amd_mp2_pci_suspend()
104 void amd_sfh_set_desc_ops(struct amd_mp2_ops *mp2_ops);
46 struct amd_mp2_ops *mp2_ops; member
272 void amd_sfh_set_desc_ops(struct amd_mp2_ops *mp2_ops) in amd_sfh_set_desc_ops() argument274 mp2_ops->get_rep_desc = get_report_descriptor; in amd_sfh_set_desc_ops()275 mp2_ops->get_feat_rep = get_feature_report; in amd_sfh_set_desc_ops()276 mp2_ops->get_in_rep = get_input_report; in amd_sfh_set_desc_ops()277 mp2_ops->get_desc_sz = get_descr_sz; in amd_sfh_set_desc_ops()
Completed in 11 milliseconds