Searched refs:hvd (Results 1 – 1 of 1) sorted by relevance
413 struct mtk_hsdma_vdesc *hvd) in mtk_hsdma_issue_pending_vdesc() argument427 num_sgs = DIV_ROUND_UP(hvd->len, MTK_HSDMA_MAX_LEN); in mtk_hsdma_issue_pending_vdesc()439 tlen = (hvd->len > MTK_HSDMA_MAX_LEN) ? in mtk_hsdma_issue_pending_vdesc()440 MTK_HSDMA_MAX_LEN : hvd->len; in mtk_hsdma_issue_pending_vdesc()450 WRITE_ONCE(txd->desc1, hvd->src); in mtk_hsdma_issue_pending_vdesc()455 WRITE_ONCE(rxd->desc1, hvd->dest); in mtk_hsdma_issue_pending_vdesc()459 ring->cb[ring->cur_tptr].vd = &hvd->vd; in mtk_hsdma_issue_pending_vdesc()466 hvd->src += tlen; in mtk_hsdma_issue_pending_vdesc()467 hvd->dest += tlen; in mtk_hsdma_issue_pending_vdesc()468 hvd->len -= tlen; in mtk_hsdma_issue_pending_vdesc()[all …]