Lines Matching full:txn
306 struct qmi_txn txn; in ping_write() local
311 ret = qmi_txn_init(qmi, &txn, NULL, NULL); in ping_write()
315 ret = qmi_send_request(qmi, NULL, &txn, in ping_write()
320 qmi_txn_cancel(&txn); in ping_write()
324 ret = qmi_txn_wait(&txn, 5 * HZ); in ping_write()
337 struct qmi_txn *txn, const void *data) in ping_pong_cb() argument
341 if (!txn) { in ping_pong_cb()
347 txn->result = -ENXIO; in ping_pong_cb()
349 txn->result = -EINVAL; in ping_pong_cb()
351 complete(&txn->completion); in ping_pong_cb()
375 struct qmi_txn txn; in data_write() local
394 ret = qmi_txn_init(qmi, &txn, test_data_resp_msg_v01_ei, resp); in data_write()
398 ret = qmi_send_request(qmi, NULL, &txn, in data_write()
403 qmi_txn_cancel(&txn); in data_write()
407 ret = qmi_txn_wait(&txn, 5 * HZ); in data_write()