cha_num 43 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_channel_init(void __iomem *ioaddr, int cha_num, cha_num 50 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c reg_val = readl(ioaddr + SXGBE_DMA_CHA_CTL_REG(cha_num)); cha_num 54 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(reg_val, ioaddr + SXGBE_DMA_CHA_CTL_REG(cha_num)); cha_num 56 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c reg_val = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); cha_num 58 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(reg_val, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); cha_num 60 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c reg_val = readl(ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cha_num)); cha_num 62 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(reg_val, ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cha_num)); cha_num 67 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_TXDESC_HADD_REG(cha_num)); cha_num 69 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_TXDESC_LADD_REG(cha_num)); cha_num 72 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_RXDESC_HADD_REG(cha_num)); cha_num 74 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_RXDESC_LADD_REG(cha_num)); cha_num 82 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_TXDESC_TAILPTR_REG(cha_num)); cha_num 86 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_RXDESC_LADD_REG(cha_num)); cha_num 88 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(t_rsize - 1, ioaddr + SXGBE_DMA_CHA_TXDESC_RINGLEN_REG(cha_num)); cha_num 89 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(r_rsize - 1, ioaddr + SXGBE_DMA_CHA_RXDESC_RINGLEN_REG(cha_num)); cha_num 93 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_INT_ENABLE_REG(cha_num)); cha_num 96 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_enable_dma_transmission(void __iomem *ioaddr, int cha_num) cha_num 100 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c tx_config = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); cha_num 102 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(tx_config, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); cha_num 23 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*cha_init)(void __iomem *ioaddr, int cha_num, int fix_burst, cha_num 312 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_CTL_REG(cha_num) \ cha_num 313 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x00) cha_num 316 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_TXCTL_REG(cha_num) \ cha_num 317 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x04) cha_num 318 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_RXCTL_REG(cha_num) \ cha_num 319 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x08) cha_num 320 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_TXDESC_HADD_REG(cha_num) \ cha_num 321 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x10) cha_num 322 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_TXDESC_LADD_REG(cha_num) \ cha_num 323 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x14) cha_num 324 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_RXDESC_HADD_REG(cha_num) \ cha_num 325 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x18) cha_num 326 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_RXDESC_LADD_REG(cha_num) \ cha_num 327 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x1C) cha_num 328 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_TXDESC_TAILPTR_REG(cha_num) \ cha_num 329 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x24) cha_num 330 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_RXDESC_TAILPTR_REG(cha_num) \ cha_num 331 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x2C) cha_num 332 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_TXDESC_RINGLEN_REG(cha_num) \ cha_num 333 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x30) cha_num 334 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_RXDESC_RINGLEN_REG(cha_num) \ cha_num 335 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x34) cha_num 336 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_INT_ENABLE_REG(cha_num) \ cha_num 337 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x38) cha_num 338 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_INT_RXWATCHTMR_REG(cha_num) \ cha_num 339 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x3C) cha_num 340 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_TXDESC_CURADDLO_REG(cha_num) \ cha_num 341 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x44) cha_num 342 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_RXDESC_CURADDLO_REG(cha_num) \ cha_num 343 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x4C) cha_num 344 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_CURTXBUF_ADDHI_REG(cha_num) \ cha_num 345 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x50) cha_num 346 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_CURTXBUF_ADDLO_REG(cha_num) \ cha_num 347 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x54) cha_num 348 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_CURRXBUF_ADDHI_REG(cha_num) \ cha_num 349 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x58) cha_num 350 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_CURRXBUF_ADDLO_REG(cha_num) \ cha_num 351 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x5C) cha_num 352 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_DMA_CHA_STATUS_REG(cha_num) \ cha_num 353 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h (SXGBE_DMA_CHA_BASE_REG + (cha_num * 0x80) + 0x60)