Lines Matching full:txn
290 struct qmi_txn *txn, const void *data) in sysmon_ind_cb() argument
333 struct qmi_txn txn; in ssctl_request_shutdown() local
339 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_shutdown_resp_ei, &resp); in ssctl_request_shutdown()
341 dev_err(sysmon->dev, "failed to allocate QMI txn\n"); in ssctl_request_shutdown()
345 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_request_shutdown()
349 qmi_txn_cancel(&txn); in ssctl_request_shutdown()
353 ret = qmi_txn_wait(&txn, 5 * HZ); in ssctl_request_shutdown()
379 struct qmi_txn txn; in ssctl_send_event() local
383 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_subsys_event_resp_ei, &resp); in ssctl_send_event()
385 dev_err(sysmon->dev, "failed to allocate QMI txn\n"); in ssctl_send_event()
396 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_send_event()
401 qmi_txn_cancel(&txn); in ssctl_send_event()
405 ret = qmi_txn_wait(&txn, 5 * HZ); in ssctl_send_event()