Lines Matching refs:qmi

123 	struct qmi_handle qmi;  member
152 struct qcom_slim_ngd_qmi qmi; member
355 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_select_inst_req()
362 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_select_inst_req()
408 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_power_request()
411 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_power_request()
467 (struct sockaddr *)&ctrl->qmi.svc_info, in qcom_slim_qmi_init()
468 sizeof(ctrl->qmi.svc_info), 0); in qcom_slim_qmi_init()
484 ctrl->qmi.handle = handle; in qcom_slim_qmi_init()
495 ctrl->qmi.handle = NULL; in qcom_slim_qmi_init()
505 if (!ctrl->qmi.handle) in qcom_slim_qmi_exit()
508 qmi_handle_release(ctrl->qmi.handle); in qcom_slim_qmi_exit()
509 devm_kfree(ctrl->dev, ctrl->qmi.handle); in qcom_slim_qmi_exit()
510 ctrl->qmi.handle = NULL; in qcom_slim_qmi_exit()
1106 timeout = wait_for_completion_timeout(&ctrl->qmi.qmi_comp, HZ); in qcom_slim_ngd_power_up()
1232 if (!ctrl->qmi.handle) in qcom_slim_ngd_runtime_resume()
1261 complete(&ctrl->qmi.qmi_comp); in qcom_slim_ngd_enable()
1289 struct qcom_slim_ngd_qmi *qmi = in qcom_slim_ngd_qmi_new_server() local
1292 container_of(qmi, struct qcom_slim_ngd_ctrl, qmi); in qcom_slim_ngd_qmi_new_server()
1294 qmi->svc_info.sq_family = AF_QIPCRTR; in qcom_slim_ngd_qmi_new_server()
1295 qmi->svc_info.sq_node = service->node; in qcom_slim_ngd_qmi_new_server()
1296 qmi->svc_info.sq_port = service->port; in qcom_slim_ngd_qmi_new_server()
1306 struct qcom_slim_ngd_qmi *qmi = in qcom_slim_ngd_qmi_del_server() local
1309 container_of(qmi, struct qcom_slim_ngd_ctrl, qmi); in qcom_slim_ngd_qmi_del_server()
1312 qmi->svc_info.sq_node = 0; in qcom_slim_ngd_qmi_del_server()
1313 qmi->svc_info.sq_port = 0; in qcom_slim_ngd_qmi_del_server()
1323 struct qcom_slim_ngd_qmi *qmi = &ctrl->qmi; in qcom_slim_ngd_qmi_svc_event_init() local
1326 ret = qmi_handle_init(&qmi->svc_event_hdl, 0, in qcom_slim_ngd_qmi_svc_event_init()
1333 ret = qmi_add_lookup(&qmi->svc_event_hdl, SLIMBUS_QMI_SVC_ID, in qcom_slim_ngd_qmi_svc_event_init()
1337 qmi_handle_release(&qmi->svc_event_hdl); in qcom_slim_ngd_qmi_svc_event_init()
1342 static void qcom_slim_ngd_qmi_svc_event_deinit(struct qcom_slim_ngd_qmi *qmi) in qcom_slim_ngd_qmi_svc_event_deinit() argument
1344 qmi_handle_release(&qmi->svc_event_hdl); in qcom_slim_ngd_qmi_svc_event_deinit()
1520 qcom_slim_ngd_qmi_svc_event_deinit(&ctrl->qmi); in qcom_slim_ngd_probe()
1577 init_completion(&ctrl->qmi.qmi_comp); in qcom_slim_ngd_ctrl_probe()
1621 qcom_slim_ngd_qmi_svc_event_deinit(&ctrl->qmi); in qcom_slim_ngd_remove()
1646 if (!ctrl->qmi.handle) in qcom_slim_ngd_runtime_suspend()