Lines Matching defs:handle
127 struct qmi_handle *handle;
355 rc = qmi_txn_init(ctrl->qmi.handle, &txn,
362 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn,
387 static void qcom_slim_qmi_power_resp_cb(struct qmi_handle *handle,
408 rc = qmi_txn_init(ctrl->qmi.handle, &txn,
411 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn,
452 struct qmi_handle *handle;
455 handle = devm_kzalloc(ctrl->dev, sizeof(*handle), GFP_KERNEL);
456 if (!handle)
459 rc = qmi_handle_init(handle, SLIMBUS_QMI_POWER_REQ_MAX_MSG_LEN,
466 rc = kernel_connect(handle->sock,
484 ctrl->qmi.handle = handle;
495 ctrl->qmi.handle = NULL;
497 qmi_handle_release(handle);
499 devm_kfree(ctrl->dev, handle);
505 if (!ctrl->qmi.handle)
508 qmi_handle_release(ctrl->qmi.handle);
509 devm_kfree(ctrl->dev, ctrl->qmi.handle);
510 ctrl->qmi.handle = NULL;
1307 if (!ctrl->qmi.handle)
1656 "Failed to init PDR handle\n");
1719 if (!ctrl->qmi.handle)