Searched refs:dma_cnum (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_dma.h | 26 void (*enable_dma_transmission)(void __iomem *ioaddr, int dma_cnum); 27 void (*enable_dma_irq)(void __iomem *ioaddr, int dma_cnum); 28 void (*disable_dma_irq)(void __iomem *ioaddr, int dma_cnum); 30 void (*start_tx_queue)(void __iomem *ioaddr, int dma_cnum); 32 void (*stop_tx_queue)(void __iomem *ioaddr, int dma_cnum);
|
D | sxgbe_dma.c | 105 static void sxgbe_enable_dma_irq(void __iomem *ioaddr, int dma_cnum) in sxgbe_enable_dma_irq() argument 109 ioaddr + SXGBE_DMA_CHA_INT_ENABLE_REG(dma_cnum)); in sxgbe_enable_dma_irq() 112 static void sxgbe_disable_dma_irq(void __iomem *ioaddr, int dma_cnum) in sxgbe_disable_dma_irq() argument 115 writel(0, ioaddr + SXGBE_DMA_CHA_INT_ENABLE_REG(dma_cnum)); in sxgbe_disable_dma_irq() 131 static void sxgbe_dma_start_tx_queue(void __iomem *ioaddr, int dma_cnum) in sxgbe_dma_start_tx_queue() argument 135 tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(dma_cnum)); in sxgbe_dma_start_tx_queue() 137 writel(tx_ctl_reg, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(dma_cnum)); in sxgbe_dma_start_tx_queue() 140 static void sxgbe_dma_stop_tx_queue(void __iomem *ioaddr, int dma_cnum) in sxgbe_dma_stop_tx_queue() argument 144 tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(dma_cnum)); in sxgbe_dma_stop_tx_queue() 146 writel(tx_ctl_reg, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(dma_cnum)); in sxgbe_dma_stop_tx_queue()
|