Home
last modified time | relevance | path

Searched refs:dmactl (Results 1 – 9 of 9) sorted by relevance

/drivers/ata/
Dsata_svw.c127 u8 dmactl; in k2_sata_softreset() local
130 dmactl = readb(mmio + ATA_DMA_CMD); in k2_sata_softreset()
133 if (dmactl & ATA_DMA_START) { in k2_sata_softreset()
134 dmactl &= ~ATA_DMA_START; in k2_sata_softreset()
135 writeb(dmactl, mmio + ATA_DMA_CMD); in k2_sata_softreset()
144 u8 dmactl; in k2_sata_hardreset() local
147 dmactl = readb(mmio + ATA_DMA_CMD); in k2_sata_hardreset()
150 if (dmactl & ATA_DMA_START) { in k2_sata_hardreset()
151 dmactl &= ~ATA_DMA_START; in k2_sata_hardreset()
152 writeb(dmactl, mmio + ATA_DMA_CMD); in k2_sata_hardreset()
[all …]
Dsata_rcar.c569 u32 dmactl; in sata_rcar_bmdma_setup() local
576 dmactl = ioread32(base + ATAPI_CONTROL1_REG); in sata_rcar_bmdma_setup()
577 dmactl &= ~(ATAPI_CONTROL1_RW | ATAPI_CONTROL1_STOP); in sata_rcar_bmdma_setup()
578 if (dmactl & ATAPI_CONTROL1_START) { in sata_rcar_bmdma_setup()
579 dmactl &= ~ATAPI_CONTROL1_START; in sata_rcar_bmdma_setup()
580 dmactl |= ATAPI_CONTROL1_STOP; in sata_rcar_bmdma_setup()
583 dmactl |= ATAPI_CONTROL1_RW; in sata_rcar_bmdma_setup()
584 iowrite32(dmactl, base + ATAPI_CONTROL1_REG); in sata_rcar_bmdma_setup()
595 u32 dmactl; in sata_rcar_bmdma_start() local
598 dmactl = ioread32(base + ATAPI_CONTROL1_REG); in sata_rcar_bmdma_start()
[all …]
Dpata_ns87415.c124 u8 dmactl; in ns87415_bmdma_setup() local
131 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ns87415_bmdma_setup()
132 dmactl &= ~(ATA_DMA_WR | ATA_DMA_START); in ns87415_bmdma_setup()
135 dmactl |= ATA_DMA_INTR | ATA_DMA_ERR; in ns87415_bmdma_setup()
137 dmactl |= ATA_DMA_WR; in ns87415_bmdma_setup()
138 iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ns87415_bmdma_setup()
Dsata_sil.c282 u8 dmactl = ATA_DMA_START; in sil_bmdma_start() local
288 dmactl |= ATA_DMA_WR; in sil_bmdma_start()
289 iowrite8(dmactl, bmdma2); in sil_bmdma_start()
Dlibata-sff.c2967 u8 dmactl; in ata_bmdma_setup() local
2974 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_setup()
2975 dmactl &= ~(ATA_DMA_WR | ATA_DMA_START); in ata_bmdma_setup()
2977 dmactl |= ATA_DMA_WR; in ata_bmdma_setup()
2978 iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_setup()
2995 u8 dmactl; in ata_bmdma_start() local
2998 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_start()
2999 iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_start()
Dsata_nv.c2165 u8 dmactl; in nv_swncq_dmafis() local
2185 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in nv_swncq_dmafis()
2186 dmactl &= ~ATA_DMA_WR; in nv_swncq_dmafis()
2188 dmactl |= ATA_DMA_WR; in nv_swncq_dmafis()
2190 iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in nv_swncq_dmafis()
/drivers/usb/gadget/udc/
Dnet2280.c391 writel(0, &ep->dma->dmactl); in ep_reset_228x()
467 writel(0, &ep->dma->dmactl); in ep_reset_338x()
838 handshake(&dma->dmactl, BIT(DMA_ENABLE), 0, 50); in spin_stop_dma()
843 writel(readl(&dma->dmactl) & ~BIT(DMA_ENABLE), &dma->dmactl); in stop_dma()
847 static void start_queue(struct net2280_ep *ep, u32 dmactl, u32 td_dma) in start_queue() argument
860 dmactl |= BIT(DMA_REQUEST_OUTSTANDING); in start_queue()
861 writel(dmactl, &dma->dmactl); in start_queue()
877 WARN_ON(readl(&dma->dmactl) & BIT(DMA_ENABLE)); in start_dma()
878 writel(0, &ep->dma->dmactl); in start_dma()
901 writel(BIT(DMA_ENABLE), &dma->dmactl); in start_dma()
[all …]
/drivers/mtd/nand/raw/
Dcafe_nand.c255 uint32_t dmactl = 0xc0000000 + cafe->datalen; in cafe_nand_cmdfunc() local
259 dmactl |= (1<<29); in cafe_nand_cmdfunc()
264 cafe_writel(cafe, dmactl, NAND_DMA_CTRL); in cafe_nand_cmdfunc()
/drivers/net/ethernet/toshiba/
Dtc35815.c1433 u32 dmactl = tc_readl(&tr->DMA_Ctl); in tc35815_interrupt() local
1435 if (!(dmactl & DMA_IntMask)) { in tc35815_interrupt()
1437 tc_writel(dmactl | DMA_IntMask, &tr->DMA_Ctl); in tc35815_interrupt()