Searched refs:mp2_ops (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_init.c | 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() 77 privdata->mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_deinit() 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() 128 cl_data->report_descr_sz[i] = mp2_ops->get_desc_sz(cl_idx, descr_size); in amd_sfh1_1_hid_client_init() 133 feature_report_size = mp2_ops->get_desc_sz(cl_idx, feature_size); in amd_sfh1_1_hid_client_init() 138 input_report_size = mp2_ops->get_desc_sz(cl_idx, input_size); in amd_sfh1_1_hid_client_init() 162 rc = mp2_ops->get_rep_desc(cl_idx, cl_data->report_descr[i]); in amd_sfh1_1_hid_client_init() 167 mp2_ops->start(privdata, info); in amd_sfh1_1_hid_client_init() [all …]
|
D | amd_sfh_desc.c | 310 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()
|
D | amd_sfh_interface.c | 78 mp2->mp2_ops = &amd_sfh_ops; in sfh_interface_init()
|
D | amd_sfh_interface.h | 153 void amd_sfh1_1_set_desc_ops(struct amd_mp2_ops *mp2_ops);
|
/Linux-v6.6/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_client.c | 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() 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 [all …]
|
D | amd_sfh_pcie.c | 107 if (privdata->mp2_ops->clear_intr) in amd_sfh_clear_intr() 108 privdata->mp2_ops->clear_intr(privdata); in amd_sfh_clear_intr() 247 mp2->mp2_ops->stop_all(mp2); in amd_mp2_pci_remove() 279 privdata->mp2_ops = &amd_sfh_ops_v2; in mp2_select_ops() 282 privdata->mp2_ops = &amd_sfh_ops; in mp2_select_ops() 289 if (privdata->mp2_ops->init_intr) in amd_sfh_irq_init() 290 return privdata->mp2_ops->init_intr(privdata); in amd_sfh_irq_init() 371 return devm_add_action_or_reset(&pdev->dev, privdata->mp2_ops->remove, privdata); in amd_mp2_pci_probe() 378 if (mp2 && mp2->mp2_ops) in amd_sfh_shutdown() 379 mp2->mp2_ops->stop_all(mp2); in amd_sfh_shutdown() [all …]
|
D | amd_sfh_pcie.h | 105 void amd_sfh_set_desc_ops(struct amd_mp2_ops *mp2_ops);
|
D | amd_sfh_common.h | 46 struct amd_mp2_ops *mp2_ops; member
|
/Linux-v6.6/drivers/hid/amd-sfh-hid/hid_descriptor/ |
D | amd_sfh_hid_desc.c | 276 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()
|