Lines Matching full:txn
303 struct slim_msg_txn *txn, in slim_alloc_txbuf() argument
326 struct slim_msg_txn *txn) in qcom_xfer_msg() argument
330 void *pbuf = slim_alloc_txbuf(ctrl, txn, &done); in qcom_xfer_msg()
331 unsigned long ms = txn->rl + HZ; in qcom_xfer_msg()
335 u8 la = txn->la; in qcom_xfer_msg()
338 txn->rl--; in qcom_xfer_msg()
344 pbuf = slim_alloc_txbuf(ctrl, txn, &done); in qcom_xfer_msg()
356 if (txn->dt == SLIM_MSG_DEST_LOGICALADDR) { in qcom_xfer_msg()
357 *head = SLIM_MSG_ASM_FIRST_WORD(txn->rl, txn->mt, in qcom_xfer_msg()
358 txn->mc, 0, la); in qcom_xfer_msg()
361 *head = SLIM_MSG_ASM_FIRST_WORD(txn->rl, txn->mt, in qcom_xfer_msg()
362 txn->mc, 1, la); in qcom_xfer_msg()
366 if (slim_tid_txn(txn->mt, txn->mc)) in qcom_xfer_msg()
367 *(puc++) = txn->tid; in qcom_xfer_msg()
369 if (slim_ec_txn(txn->mt, txn->mc)) { in qcom_xfer_msg()
370 *(puc++) = (txn->ec & 0xFF); in qcom_xfer_msg()
371 *(puc++) = (txn->ec >> 8) & 0xFF; in qcom_xfer_msg()
374 if (txn->msg && txn->msg->wbuf) in qcom_xfer_msg()
375 memcpy(puc, txn->msg->wbuf, txn->msg->num_bytes); in qcom_xfer_msg()
377 qcom_slim_queue_tx(ctrl, head, txn->rl, MGR_TX_MSG); in qcom_xfer_msg()
381 dev_err(ctrl->dev, "TX timed out:MC:0x%x,mt:0x%x", txn->mc, in qcom_xfer_msg()
382 txn->mt); in qcom_xfer_msg()
402 DEFINE_SLIM_EDEST_TXN(txn, SLIM_MSG_MC_ASSIGN_LOGICAL_ADDRESS, in qcom_set_laddr()
414 ret = slim_do_transfer(&ctrl->ctrl, &txn); in qcom_set_laddr()