Lines Matching defs:handle
123 struct qmi_handle *handle;
344 rc = qmi_txn_init(ctrl->qmi.handle, &txn,
351 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn,
376 static void qcom_slim_qmi_power_resp_cb(struct qmi_handle *handle,
397 rc = qmi_txn_init(ctrl->qmi.handle, &txn,
400 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn,
441 struct qmi_handle *handle;
444 handle = devm_kzalloc(ctrl->dev, sizeof(*handle), GFP_KERNEL);
445 if (!handle)
448 rc = qmi_handle_init(handle, SLIMBUS_QMI_POWER_REQ_MAX_MSG_LEN,
455 rc = kernel_connect(handle->sock,
473 ctrl->qmi.handle = handle;
484 ctrl->qmi.handle = NULL;
486 qmi_handle_release(handle);
488 devm_kfree(ctrl->dev, handle);
494 if (!ctrl->qmi.handle)
497 qmi_handle_release(ctrl->qmi.handle);
498 devm_kfree(ctrl->dev, ctrl->qmi.handle);
499 ctrl->qmi.handle = NULL;
1210 if (!ctrl->qmi.handle)
1512 if (!ctrl->qmi.handle)