Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/soc/qcom/
A 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
139 if (!dmactl) in __lpass_platform_codec_intf_init()
157 ret = regmap_fields_write(dmactl->codec_pack, id, 0x1); in __lpass_platform_codec_intf_init()
218 struct lpaif_dmactl *dmactl = NULL; in lpass_cdc_dma_daiops_hw_params() local
245 if (!dmactl) in lpass_cdc_dma_daiops_hw_params()
261 struct lpaif_dmactl *dmactl; in lpass_cdc_dma_daiops_trigger() local
[all …]
A 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
606 struct lpaif_dmactl *dmactl; in lpass_platform_pcmops_prepare() local
[all …]
/linux-6.3-rc2/drivers/ata/
A 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()
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()
234 u8 dmactl; in k2_bmdma_setup_mmio() local
245 dmactl |= ATA_DMA_WR; in k2_bmdma_setup_mmio()
[all …]
A Dsata_rcar.c542 u32 dmactl; in sata_rcar_bmdma_setup() local
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()
568 u32 dmactl; in sata_rcar_bmdma_start() local
572 dmactl &= ~ATAPI_CONTROL1_STOP; in sata_rcar_bmdma_start()
573 dmactl |= ATAPI_CONTROL1_START; in sata_rcar_bmdma_start()
582 u32 dmactl; in sata_rcar_bmdma_stop() local
587 dmactl &= ~ATAPI_CONTROL1_START; in sata_rcar_bmdma_stop()
[all …]
A 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()
A 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()
A Dlibata-sff.c2891 u8 dmactl; in ata_bmdma_setup() local
2898 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_setup()
2899 dmactl &= ~(ATA_DMA_WR | ATA_DMA_START); in ata_bmdma_setup()
2901 dmactl |= ATA_DMA_WR; in ata_bmdma_setup()
2902 iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_setup()
2919 u8 dmactl; in ata_bmdma_start() local
2922 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_start()
2923 iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_start()
A 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-6.3-rc2/drivers/usb/gadget/udc/
A Dnet2280.c391 writel(0, &ep->dma->dmactl); in ep_reset_228x()
467 writel(0, &ep->dma->dmactl); in ep_reset_338x()
843 writel(readl(&dma->dmactl) & ~BIT(DMA_ENABLE), &dma->dmactl); in stop_dma()
861 writel(dmactl, &dma->dmactl); in start_queue()
878 writel(0, &ep->dma->dmactl); in start_dma()
1238 u32 dmactl; in net2280_dequeue() local
1252 dmactl = 0; in net2280_dequeue()
1255 dmactl = readl(&ep->dma->dmactl); in net2280_dequeue()
1306 writel(dmactl, &ep->dma->dmactl); in net2280_dequeue()
1764 readl(&ep->dma->dmactl), in registers_show()
[all …]
/linux-6.3-rc2/drivers/mtd/nand/raw/
A 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-6.3-rc2/include/linux/usb/
A Dnet2280.h324 u32 dmactl; member
/linux-6.3-rc2/drivers/net/ethernet/toshiba/
A 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()

Completed in 50 milliseconds