Home
last modified time | relevance | path

Searched refs:mp2_ops (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_init.c46 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() local
110 amd_sfh1_1_set_desc_ops(mp2_ops); in amd_sfh1_1_hid_client_init()
167 mp2_ops->start(privdata, info); in amd_sfh1_1_hid_client_init()
221 mp2->mp2_ops->start(mp2, info); in amd_sfh_resume()
273 mp2->mp2_ops->stop_all(mp2); in amd_mp2_pci_remove()
280 struct amd_mp2_ops *mp2_ops; in amd_sfh_set_ops() local
283 mp2_ops = mp2->mp2_ops; in amd_sfh_set_ops()
286 mp2_ops->suspend = amd_sfh_suspend; in amd_sfh_set_ops()
287 mp2_ops->resume = amd_sfh_resume; in amd_sfh_set_ops()
[all …]
H A Damd_sfh_desc.c310 void amd_sfh1_1_set_desc_ops(struct amd_mp2_ops *mp2_ops) in amd_sfh1_1_set_desc_ops() argument
312 mp2_ops->get_rep_desc = get_report_desc; in amd_sfh1_1_set_desc_ops()
313 mp2_ops->get_feat_rep = get_feature_rep; in amd_sfh1_1_set_desc_ops()
314 mp2_ops->get_desc_sz = get_desc_size; in amd_sfh1_1_set_desc_ops()
315 mp2_ops->get_in_rep = get_input_rep; in amd_sfh1_1_set_desc_ops()
H A Damd_sfh_interface.c78 mp2->mp2_ops = &amd_sfh_ops; in sfh_interface_init()
H A Damd_sfh_interface.h153 void amd_sfh1_1_set_desc_ops(struct amd_mp2_ops *mp2_ops);
/openbmc/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c73 struct amd_mp2_ops *mp2_ops; in amd_sfh_work() local
87 mp2_ops = mp2->mp2_ops; in amd_sfh_work()
134 if (mp2->mp2_ops->response) in amd_sfh_wait_for_response()
170 mp2->mp2_ops->start(mp2, info); in amd_sfh_resume()
193 mp2->mp2_ops->stop(mp2, cl_data->sensor_idx[i]); in amd_sfh_suspend()
212 struct amd_mp2_ops *mp2_ops = privdata->mp2_ops; in amd_sfh_hid_client_init() local
223 amd_sfh_set_desc_ops(mp2_ops); in amd_sfh_hid_client_init()
225 mp2_ops->suspend = amd_sfh_suspend; in amd_sfh_hid_client_init()
226 mp2_ops->resume = amd_sfh_resume; in amd_sfh_hid_client_init()
288 mp2_ops->start(privdata, info); in amd_sfh_hid_client_init()
[all …]
H A Damd_sfh_pcie.c109 if (privdata->mp2_ops->clear_intr) in amd_sfh_clear_intr()
110 privdata->mp2_ops->clear_intr(privdata); in amd_sfh_clear_intr()
249 mp2->mp2_ops->stop_all(mp2); in amd_mp2_pci_remove()
281 privdata->mp2_ops = &amd_sfh_ops_v2; in mp2_select_ops()
284 privdata->mp2_ops = &amd_sfh_ops; in mp2_select_ops()
291 if (privdata->mp2_ops->init_intr) in amd_sfh_irq_init()
292 return privdata->mp2_ops->init_intr(privdata); in amd_sfh_irq_init()
402 if (mp2 && mp2->mp2_ops) in amd_sfh_shutdown()
403 mp2->mp2_ops->stop_all(mp2); in amd_sfh_shutdown()
410 mp2->mp2_ops->resume(mp2); in amd_mp2_pci_resume()
[all …]
H A Damd_sfh_pcie.h105 void amd_sfh_set_desc_ops(struct amd_mp2_ops *mp2_ops);
H A Damd_sfh_common.h46 struct amd_mp2_ops *mp2_ops; member
/openbmc/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c276 void amd_sfh_set_desc_ops(struct amd_mp2_ops *mp2_ops) in amd_sfh_set_desc_ops() argument
278 mp2_ops->get_rep_desc = get_report_descriptor; in amd_sfh_set_desc_ops()
279 mp2_ops->get_feat_rep = get_feature_report; in amd_sfh_set_desc_ops()
280 mp2_ops->get_in_rep = get_input_report; in amd_sfh_set_desc_ops()
281 mp2_ops->get_desc_sz = get_descr_sz; in amd_sfh_set_desc_ops()