Home
last modified time | relevance | path

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

/linux-5.19.10/sound/soc/qcom/
Dlpass-cdc-dma.c33 struct lpaif_dmactl **dmactl, int *id) in __lpass_get_dmactl_handle() argument
45 *dmactl = drvdata->rxtx_rd_dmactl; in __lpass_get_dmactl_handle()
49 *dmactl = drvdata->rxtx_wr_dmactl; in __lpass_get_dmactl_handle()
53 *dmactl = drvdata->va_wr_dmactl; in __lpass_get_dmactl_handle()
127 struct lpaif_dmactl *dmactl = NULL; in __lpass_platform_codec_intf_init() local
138 __lpass_get_dmactl_handle(substream, dai, &dmactl, &id); in __lpass_platform_codec_intf_init()
139 if (!dmactl) in __lpass_platform_codec_intf_init()
142 ret = regmap_fields_write(dmactl->codec_intf, id, codec_intf); in __lpass_platform_codec_intf_init()
147 ret = regmap_fields_write(dmactl->codec_fs_sel, id, 0x0); in __lpass_platform_codec_intf_init()
152 ret = regmap_fields_write(dmactl->codec_fs_delay, id, 0x0); in __lpass_platform_codec_intf_init()
[all …]
Dlpass-platform.c327 struct lpaif_dmactl *dmactl = NULL; in __lpass_get_dmactl_handle() local
332 dmactl = drvdata->rd_dmactl; in __lpass_get_dmactl_handle()
334 dmactl = drvdata->wr_dmactl; in __lpass_get_dmactl_handle()
337 dmactl = drvdata->hdmi_rd_dmactl; in __lpass_get_dmactl_handle()
340 dmactl = drvdata->rxtx_rd_dmactl; in __lpass_get_dmactl_handle()
343 dmactl = drvdata->rxtx_wr_dmactl; in __lpass_get_dmactl_handle()
346 dmactl = drvdata->va_wr_dmactl; in __lpass_get_dmactl_handle()
350 return dmactl; in __lpass_get_dmactl_handle()
428 struct lpaif_dmactl *dmactl; in lpass_platform_pcmops_hw_params() local
434 dmactl = __lpass_get_dmactl_handle(substream, component); in lpass_platform_pcmops_hw_params()
[all …]
/linux-5.19.10/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.c542 u32 dmactl; in sata_rcar_bmdma_setup() local
549 dmactl = ioread32(base + ATAPI_CONTROL1_REG); in sata_rcar_bmdma_setup()
550 dmactl &= ~(ATAPI_CONTROL1_RW | ATAPI_CONTROL1_STOP); in sata_rcar_bmdma_setup()
551 if (dmactl & ATAPI_CONTROL1_START) { in sata_rcar_bmdma_setup()
552 dmactl &= ~ATAPI_CONTROL1_START; in sata_rcar_bmdma_setup()
553 dmactl |= ATAPI_CONTROL1_STOP; in sata_rcar_bmdma_setup()
556 dmactl |= ATAPI_CONTROL1_RW; in sata_rcar_bmdma_setup()
557 iowrite32(dmactl, base + ATAPI_CONTROL1_REG); in sata_rcar_bmdma_setup()
568 u32 dmactl; in sata_rcar_bmdma_start() local
571 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.c2951 u8 dmactl; in ata_bmdma_setup() local
2958 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_setup()
2959 dmactl &= ~(ATA_DMA_WR | ATA_DMA_START); in ata_bmdma_setup()
2961 dmactl |= ATA_DMA_WR; in ata_bmdma_setup()
2962 iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_setup()
2979 u8 dmactl; in ata_bmdma_start() local
2982 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_start()
2983 iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_start()
Dsata_nv.c2147 u8 dmactl; in nv_swncq_dmafis() local
2167 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in nv_swncq_dmafis()
2168 dmactl &= ~ATA_DMA_WR; in nv_swncq_dmafis()
2170 dmactl |= ATA_DMA_WR; in nv_swncq_dmafis()
2172 iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in nv_swncq_dmafis()
/linux-5.19.10/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 …]
/linux-5.19.10/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()
/linux-5.19.10/include/linux/usb/
Dnet2280.h338 u32 dmactl; member
/linux-5.19.10/drivers/net/ethernet/toshiba/
Dtc35815.c1435 u32 dmactl = tc_readl(&tr->DMA_Ctl); in tc35815_interrupt() local
1437 if (!(dmactl & DMA_IntMask)) { in tc35815_interrupt()
1439 tc_writel(dmactl | DMA_IntMask, &tr->DMA_Ctl); in tc35815_interrupt()