Lines Matching refs:qmi
119 struct qmi_handle qmi; member
148 struct qcom_slim_ngd_qmi qmi; member
344 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_select_inst_req()
351 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_select_inst_req()
397 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_power_request()
400 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_power_request()
456 (struct sockaddr *)&ctrl->qmi.svc_info, in qcom_slim_qmi_init()
457 sizeof(ctrl->qmi.svc_info), 0); in qcom_slim_qmi_init()
473 ctrl->qmi.handle = handle; in qcom_slim_qmi_init()
484 ctrl->qmi.handle = NULL; in qcom_slim_qmi_init()
494 if (!ctrl->qmi.handle) in qcom_slim_qmi_exit()
497 qmi_handle_release(ctrl->qmi.handle); in qcom_slim_qmi_exit()
498 devm_kfree(ctrl->dev, ctrl->qmi.handle); in qcom_slim_qmi_exit()
499 ctrl->qmi.handle = NULL; in qcom_slim_qmi_exit()
1086 timeout = wait_for_completion_timeout(&ctrl->qmi.qmi_comp, HZ); in qcom_slim_ngd_power_up()
1230 complete(&ctrl->qmi.qmi_comp); in qcom_slim_ngd_enable()
1257 struct qcom_slim_ngd_qmi *qmi = in qcom_slim_ngd_qmi_new_server() local
1260 container_of(qmi, struct qcom_slim_ngd_ctrl, qmi); in qcom_slim_ngd_qmi_new_server()
1262 qmi->svc_info.sq_family = AF_QIPCRTR; in qcom_slim_ngd_qmi_new_server()
1263 qmi->svc_info.sq_node = service->node; in qcom_slim_ngd_qmi_new_server()
1264 qmi->svc_info.sq_port = service->port; in qcom_slim_ngd_qmi_new_server()
1274 struct qcom_slim_ngd_qmi *qmi = in qcom_slim_ngd_qmi_del_server() local
1277 qmi->svc_info.sq_node = 0; in qcom_slim_ngd_qmi_del_server()
1278 qmi->svc_info.sq_port = 0; in qcom_slim_ngd_qmi_del_server()
1288 struct qcom_slim_ngd_qmi *qmi = &ctrl->qmi; in qcom_slim_ngd_qmi_svc_event_init() local
1291 ret = qmi_handle_init(&qmi->svc_event_hdl, 0, in qcom_slim_ngd_qmi_svc_event_init()
1298 ret = qmi_add_lookup(&qmi->svc_event_hdl, SLIMBUS_QMI_SVC_ID, in qcom_slim_ngd_qmi_svc_event_init()
1302 qmi_handle_release(&qmi->svc_event_hdl); in qcom_slim_ngd_qmi_svc_event_init()
1307 static void qcom_slim_ngd_qmi_svc_event_deinit(struct qcom_slim_ngd_qmi *qmi) in qcom_slim_ngd_qmi_svc_event_deinit() argument
1309 qmi_handle_release(&qmi->svc_event_hdl); in qcom_slim_ngd_qmi_svc_event_deinit()
1399 qcom_slim_ngd_qmi_svc_event_deinit(&ctrl->qmi); in qcom_slim_ngd_probe()
1452 init_completion(&ctrl->qmi.qmi_comp); in qcom_slim_ngd_ctrl_probe()
1472 qcom_slim_ngd_qmi_svc_event_deinit(&ctrl->qmi); in qcom_slim_ngd_remove()