Lines Matching refs:emm_dma
426 u64 emm_dma; in cleanup_dma() local
428 emm_dma = readq(host->base + MIO_EMM_DMA(host)); in cleanup_dma()
429 emm_dma |= FIELD_PREP(MIO_EMM_DMA_VAL, 1) | in cleanup_dma()
431 set_bus_id(&emm_dma, get_bus_id(rsp_sts)); in cleanup_dma()
432 writeq(emm_dma, host->base + MIO_EMM_DMA(host)); in cleanup_dma()
629 u64 emm_dma; in prepare_ext_dma() local
631 emm_dma = FIELD_PREP(MIO_EMM_DMA_VAL, 1) | in prepare_ext_dma()
638 set_bus_id(&emm_dma, slot->bus_id); in prepare_ext_dma()
642 emm_dma |= FIELD_PREP(MIO_EMM_DMA_MULTI, 1); in prepare_ext_dma()
645 (emm_dma & MIO_EMM_DMA_RW) ? "W" : "R", in prepare_ext_dma()
646 mrq->data->blocks, (emm_dma & MIO_EMM_DMA_MULTI) ? 1 : 0); in prepare_ext_dma()
647 return emm_dma; in prepare_ext_dma()
656 u64 emm_dma, addr; in cvm_mmc_dma_request() local
676 emm_dma = prepare_ext_dma(mmc, mrq); in cvm_mmc_dma_request()
699 writeq(emm_dma, host->base + MIO_EMM_DMA(host)); in cvm_mmc_dma_request()