Lines Matching refs:dma_xfer
440 struct dma_xfer_hbm *dma_xfer) in ishtp_hbm_dma_xfer_ack() argument
451 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_tx_buf_phys; in ishtp_hbm_dma_xfer_ack()
456 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer_ack()
464 ishtp_cl_release_dma_acked_mem(dev, msg, dma_xfer->msg_length); in ishtp_hbm_dma_xfer_ack()
467 if (cl->fw_client_id == dma_xfer->fw_client_id && in ishtp_hbm_dma_xfer_ack()
468 cl->host_client_id == dma_xfer->host_client_id) in ishtp_hbm_dma_xfer_ack()
479 dma_xfer->msg_length) { in ishtp_hbm_dma_xfer_ack()
491 ++dma_xfer; in ishtp_hbm_dma_xfer_ack()
503 struct dma_xfer_hbm *dma_xfer) in ishtp_hbm_dma_xfer() argument
510 struct dma_xfer_hbm *prm = dma_xfer; in ishtp_hbm_dma_xfer()
516 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_rx_buf_phys; in ishtp_hbm_dma_xfer()
521 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer()
527 recv_ishtp_cl_msg_dma(dev, msg, dma_xfer); in ishtp_hbm_dma_xfer()
528 dma_xfer->hbm = DMA_XFER_ACK; /* Prepare for response */ in ishtp_hbm_dma_xfer()
529 ++dma_xfer; in ishtp_hbm_dma_xfer()
558 struct dma_xfer_hbm *dma_xfer; in ishtp_hbm_dispatch() local
705 dma_xfer = (struct dma_xfer_hbm *)ishtp_msg; in ishtp_hbm_dispatch()
711 ishtp_hbm_dma_xfer(dev, dma_xfer); in ishtp_hbm_dispatch()
715 dma_xfer = (struct dma_xfer_hbm *)ishtp_msg; in ishtp_hbm_dispatch()
722 ishtp_hbm_dma_xfer_ack(dev, dma_xfer); in ishtp_hbm_dispatch()