Lines Matching refs:dma_xfer
441 struct dma_xfer_hbm *dma_xfer) in ishtp_hbm_dma_xfer_ack() argument
452 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_tx_buf_phys; in ishtp_hbm_dma_xfer_ack()
457 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer_ack()
465 ishtp_cl_release_dma_acked_mem(dev, msg, dma_xfer->msg_length); in ishtp_hbm_dma_xfer_ack()
468 if (cl->fw_client_id == dma_xfer->fw_client_id && in ishtp_hbm_dma_xfer_ack()
469 cl->host_client_id == dma_xfer->host_client_id) in ishtp_hbm_dma_xfer_ack()
480 dma_xfer->msg_length) { in ishtp_hbm_dma_xfer_ack()
492 ++dma_xfer; in ishtp_hbm_dma_xfer_ack()
504 struct dma_xfer_hbm *dma_xfer) in ishtp_hbm_dma_xfer() argument
511 struct dma_xfer_hbm *prm = dma_xfer; in ishtp_hbm_dma_xfer()
517 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_rx_buf_phys; in ishtp_hbm_dma_xfer()
522 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer()
528 recv_ishtp_cl_msg_dma(dev, msg, dma_xfer); in ishtp_hbm_dma_xfer()
529 dma_xfer->hbm = DMA_XFER_ACK; /* Prepare for response */ in ishtp_hbm_dma_xfer()
530 ++dma_xfer; in ishtp_hbm_dma_xfer()
559 struct dma_xfer_hbm *dma_xfer; in ishtp_hbm_dispatch() local
710 dma_xfer = (struct dma_xfer_hbm *)ishtp_msg; in ishtp_hbm_dispatch()
716 ishtp_hbm_dma_xfer(dev, dma_xfer); in ishtp_hbm_dispatch()
720 dma_xfer = (struct dma_xfer_hbm *)ishtp_msg; in ishtp_hbm_dispatch()
727 ishtp_hbm_dma_xfer_ack(dev, dma_xfer); in ishtp_hbm_dispatch()