• Home
  • Raw
  • Download

Lines Matching full:qmi

49 	struct qmi_handle qmi;  member
282 static void sysmon_ind_cb(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, in sysmon_ind_cb() argument
285 struct qcom_sysmon *sysmon = container_of(qmi, struct qcom_sysmon, qmi); in sysmon_ind_cb()
302 * ssctl_request_shutdown() - request shutdown via SSCTL QMI service
313 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_shutdown_resp_ei, &resp); in ssctl_request_shutdown()
315 dev_err(sysmon->dev, "failed to allocate QMI txn\n"); in ssctl_request_shutdown()
319 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_request_shutdown()
329 dev_err(sysmon->dev, "failed receiving QMI response\n"); in ssctl_request_shutdown()
361 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_subsys_event_resp_ei, &resp); in ssctl_send_event()
363 dev_err(sysmon->dev, "failed to allocate QMI txn\n"); in ssctl_send_event()
374 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_send_event()
385 dev_err(sysmon->dev, "failed receiving QMI response\n"); in ssctl_send_event()
393 * ssctl_new_server() - QMI callback indicating a new service
394 * @qmi: QMI handle
399 static int ssctl_new_server(struct qmi_handle *qmi, struct qmi_service *svc) in ssctl_new_server() argument
401 struct qcom_sysmon *sysmon = container_of(qmi, struct qcom_sysmon, qmi); in ssctl_new_server()
432 * ssctl_del_server() - QMI callback indicating that @svc is removed
433 * @qmi: QMI handle
436 static void ssctl_del_server(struct qmi_handle *qmi, struct qmi_service *svc) in ssctl_del_server() argument
594 * @ssctl_instance: instance id of the ssctl QMI service
646 ret = qmi_handle_init(&sysmon->qmi, SSCTL_MAX_MSG_LEN, &ssctl_ops, in qcom_add_sysmon_subdev()
649 dev_err(sysmon->dev, "failed to initialize qmi handle\n"); in qcom_add_sysmon_subdev()
654 qmi_add_lookup(&sysmon->qmi, 43, 0, 0); in qcom_add_sysmon_subdev()
691 qmi_handle_release(&sysmon->qmi); in qcom_remove_sysmon_subdev()