Searched refs:hvd (Results 1 – 1 of 1) sorted by relevance
414 struct mtk_hsdma_vdesc *hvd) in mtk_hsdma_issue_pending_vdesc() argument428 num_sgs = DIV_ROUND_UP(hvd->len, MTK_HSDMA_MAX_LEN); in mtk_hsdma_issue_pending_vdesc()440 tlen = (hvd->len > MTK_HSDMA_MAX_LEN) ? in mtk_hsdma_issue_pending_vdesc()441 MTK_HSDMA_MAX_LEN : hvd->len; in mtk_hsdma_issue_pending_vdesc()451 WRITE_ONCE(txd->desc1, hvd->src); in mtk_hsdma_issue_pending_vdesc()456 WRITE_ONCE(rxd->desc1, hvd->dest); in mtk_hsdma_issue_pending_vdesc()460 ring->cb[ring->cur_tptr].vd = &hvd->vd; in mtk_hsdma_issue_pending_vdesc()467 hvd->src += tlen; in mtk_hsdma_issue_pending_vdesc()468 hvd->dest += tlen; in mtk_hsdma_issue_pending_vdesc()469 hvd->len -= tlen; in mtk_hsdma_issue_pending_vdesc()[all …]