Lines Matching full:txn
283 struct qmi_txn *txn, const void *data) in sysmon_ind_cb() argument
308 struct qmi_txn txn; in ssctl_request_shutdown() local
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()
323 qmi_txn_cancel(&txn); in ssctl_request_shutdown()
327 ret = qmi_txn_wait(&txn, 5 * HZ); in ssctl_request_shutdown()
357 struct qmi_txn txn; in ssctl_send_event() local
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()
379 qmi_txn_cancel(&txn); in ssctl_send_event()
383 ret = qmi_txn_wait(&txn, 5 * HZ); in ssctl_send_event()