Home
last modified time | relevance | path

Searched refs:dmacr (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/ata/
Dahci_dwc.c122 u32 dmacr[AHCI_MAX_PORTS]; member
265 u32 port, dmacr, ts; in ahci_dwc_init_dmacr() local
284 dmacr = readl(port_mmio + AHCI_DWC_PORT_DMACR); in ahci_dwc_init_dmacr()
288 dmacr &= ~AHCI_DWC_PORT_TXTS_MASK; in ahci_dwc_init_dmacr()
289 dmacr |= FIELD_PREP(AHCI_DWC_PORT_TXTS_MASK, ts); in ahci_dwc_init_dmacr()
294 dmacr &= ~AHCI_DWC_PORT_RXTS_MASK; in ahci_dwc_init_dmacr()
295 dmacr |= FIELD_PREP(AHCI_DWC_PORT_RXTS_MASK, ts); in ahci_dwc_init_dmacr()
298 writel(dmacr, port_mmio + AHCI_DWC_PORT_DMACR); in ahci_dwc_init_dmacr()
299 dpriv->dmacr[port] = dmacr; in ahci_dwc_init_dmacr()
361 writel(dpriv->dmacr[i], port_mmio + AHCI_DWC_PORT_DMACR); in ahci_dwc_reinit_host()
Dsata_dwc_460ex.c58 u32 dmacr; /* DMA Control */ member
689 u32 dmacr = sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr); in sata_dwc_clear_dmacr() local
692 dmacr = SATA_DWC_DMACR_RX_CLEAR(dmacr); in sata_dwc_clear_dmacr()
693 sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr, dmacr); in sata_dwc_clear_dmacr()
695 dmacr = SATA_DWC_DMACR_TX_CLEAR(dmacr); in sata_dwc_clear_dmacr()
696 sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr, dmacr); in sata_dwc_clear_dmacr()
704 __func__, tag, hsdevp->dma_pending[tag], dmacr); in sata_dwc_clear_dmacr()
705 sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr, in sata_dwc_clear_dmacr()
729 sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr)); in sata_dwc_dma_xfer_complete()
877 sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr, in sata_dwc_port_start()
[all …]
/linux-6.6.21/drivers/tty/serial/
Damba-pl011.c259 unsigned int dmacr; /* dma control reg */ member
545 u16 dmacr; in pl011_dma_tx_callback() local
552 dmacr = uap->dmacr; in pl011_dma_tx_callback()
553 uap->dmacr = dmacr & ~UART011_TXDMAE; in pl011_dma_tx_callback()
554 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_callback()
565 if (!(dmacr & UART011_TXDMAE) || uart_tx_stopped(&uap->port) || in pl011_dma_tx_callback()
668 uap->dmacr |= UART011_TXDMAE; in pl011_dma_tx_refill()
669 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_refill()
703 uap->dmacr |= UART011_TXDMAE; in pl011_dma_tx_irq()
704 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_irq()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/display/imx/
Dfsl,imx-lcdc.yaml53 fsl,dmacr:
79 fsl,dmacr: false
/linux-6.6.21/include/linux/fsl/
Dguts.h106 u32 dmacr; /* 0x.0908 - DMA Control Register */ member
160 clrsetbits_be32(&guts->dmacr, 3 << shift, device << shift); in guts_set_dmacr()
/linux-6.6.21/drivers/dma/xilinx/
Dxilinx_dma.c2539 u32 dmacr; in xilinx_vdma_channel_set_config() local
2544 dmacr = dma_ctrl_read(chan, XILINX_DMA_REG_DMACR); in xilinx_vdma_channel_set_config()
2553 dmacr &= ~XILINX_DMA_DMACR_GENLOCK_EN; in xilinx_vdma_channel_set_config()
2555 dmacr |= XILINX_DMA_DMACR_GENLOCK_EN; in xilinx_vdma_channel_set_config()
2556 dmacr &= ~XILINX_DMA_DMACR_MASTER_MASK; in xilinx_vdma_channel_set_config()
2557 dmacr |= cfg->master << XILINX_DMA_DMACR_MASTER_SHIFT; in xilinx_vdma_channel_set_config()
2572 dmacr &= ~XILINX_DMA_DMACR_FRAME_COUNT_MASK; in xilinx_vdma_channel_set_config()
2573 dmacr |= cfg->coalesc << XILINX_DMA_DMACR_FRAME_COUNT_SHIFT; in xilinx_vdma_channel_set_config()
2578 dmacr &= ~XILINX_DMA_DMACR_DELAY_MASK; in xilinx_vdma_channel_set_config()
2579 dmacr |= cfg->delay << XILINX_DMA_DMACR_DELAY_SHIFT; in xilinx_vdma_channel_set_config()
[all …]
/linux-6.6.21/drivers/spi/
Dspi-pl022.c422 u16 dmacr; member
561 writew(chip->dmacr, SSP_DMACR(pl022->virtbase)); in restore_state()
1964 chip->dmacr = 0; in pl022_setup()
1970 SSP_WRITE_BITS(chip->dmacr, SSP_DMA_ENABLED, in pl022_setup()
1972 SSP_WRITE_BITS(chip->dmacr, SSP_DMA_ENABLED, in pl022_setup()
1977 SSP_WRITE_BITS(chip->dmacr, SSP_DMA_DISABLED, in pl022_setup()
1979 SSP_WRITE_BITS(chip->dmacr, SSP_DMA_DISABLED, in pl022_setup()
Dspi-rockchip.c535 u32 dmacr = 0; in rockchip_spi_config() local
580 dmacr |= TF_DMA_EN; in rockchip_spi_config()
582 dmacr |= RF_DMA_EN; in rockchip_spi_config()
600 writel_relaxed(dmacr, rs->regs + ROCKCHIP_SPI_DMACR); in rockchip_spi_config()
/linux-6.6.21/drivers/video/fbdev/
Dimxfb.c186 u_int dmacr; member
680 if (fbi->dmacr) in imxfb_activate_var()
681 writel(fbi->dmacr, fbi->regs + LCDC_DMACR); in imxfb_activate_var()
737 of_property_read_u32(np, "fsl,dmacr", &fbi->dmacr); in imxfb_init_fbinfo()
/linux-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx27-apf27dev.dts94 fsl,dmacr = <0x00020010>;
Dimx27-eukrea-mbimxsd27-baseboard.dts91 fsl,dmacr = <0x00040060>;
Dimx27-phytec-phycore-rdk.dts74 fsl,dmacr = <0x00020010>;
Dimx25-pdk.dts242 fsl,dmacr = <0x00020010>;
/linux-6.6.21/drivers/dma/
Dmpc512x_dma.c95 u32 dmacr; /* DMA control register */ member
1023 out_be32(&mdma->regs->dmacr, MPC_DMA_DMACR_ERCA); in mpc_dma_probe()
1034 out_be32(&mdma->regs->dmacr, MPC_DMA_DMACR_EDCG | in mpc_dma_probe()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_adminq_cmd.h425 __le32 dmacr; member