/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac4_dma.c | 167 u32 *reg_space) in _dwmac4_dump_dma_regs() argument 169 reg_space[DMA_CHAN_CONTROL(channel) / 4] = in _dwmac4_dump_dma_regs() 171 reg_space[DMA_CHAN_TX_CONTROL(channel) / 4] = in _dwmac4_dump_dma_regs() 173 reg_space[DMA_CHAN_RX_CONTROL(channel) / 4] = in _dwmac4_dump_dma_regs() 175 reg_space[DMA_CHAN_TX_BASE_ADDR(channel) / 4] = in _dwmac4_dump_dma_regs() 177 reg_space[DMA_CHAN_RX_BASE_ADDR(channel) / 4] = in _dwmac4_dump_dma_regs() 179 reg_space[DMA_CHAN_TX_END_ADDR(channel) / 4] = in _dwmac4_dump_dma_regs() 181 reg_space[DMA_CHAN_RX_END_ADDR(channel) / 4] = in _dwmac4_dump_dma_regs() 183 reg_space[DMA_CHAN_TX_RING_LEN(channel) / 4] = in _dwmac4_dump_dma_regs() 185 reg_space[DMA_CHAN_RX_RING_LEN(channel) / 4] = in _dwmac4_dump_dma_regs() [all …]
|
D | dwmac100_core.c | 45 static void dwmac100_dump_mac_regs(struct mac_device_info *hw, u32 *reg_space) in dwmac100_dump_mac_regs() argument 49 reg_space[MAC_CONTROL / 4] = readl(ioaddr + MAC_CONTROL); in dwmac100_dump_mac_regs() 50 reg_space[MAC_ADDR_HIGH / 4] = readl(ioaddr + MAC_ADDR_HIGH); in dwmac100_dump_mac_regs() 51 reg_space[MAC_ADDR_LOW / 4] = readl(ioaddr + MAC_ADDR_LOW); in dwmac100_dump_mac_regs() 52 reg_space[MAC_HASH_HIGH / 4] = readl(ioaddr + MAC_HASH_HIGH); in dwmac100_dump_mac_regs() 53 reg_space[MAC_HASH_LOW / 4] = readl(ioaddr + MAC_HASH_LOW); in dwmac100_dump_mac_regs() 54 reg_space[MAC_FLOW_CTRL / 4] = readl(ioaddr + MAC_FLOW_CTRL); in dwmac100_dump_mac_regs() 55 reg_space[MAC_VLAN1 / 4] = readl(ioaddr + MAC_VLAN1); in dwmac100_dump_mac_regs() 56 reg_space[MAC_VLAN2 / 4] = readl(ioaddr + MAC_VLAN2); in dwmac100_dump_mac_regs()
|
D | dwmac100_dma.c | 68 static void dwmac100_dump_dma_regs(void __iomem *ioaddr, u32 *reg_space) in dwmac100_dump_dma_regs() argument 73 reg_space[DMA_BUS_MODE / 4 + i] = in dwmac100_dump_dma_regs() 76 reg_space[DMA_CUR_TX_BUF_ADDR / 4] = in dwmac100_dump_dma_regs() 78 reg_space[DMA_CUR_RX_BUF_ADDR / 4] = in dwmac100_dump_dma_regs()
|
D | stmmac_ethtool.c | 433 u32 *reg_space = (u32 *) space; in stmmac_ethtool_gregs() local 435 stmmac_dump_mac_regs(priv, priv->hw, reg_space); in stmmac_ethtool_gregs() 436 stmmac_dump_dma_regs(priv, priv->ioaddr, reg_space); in stmmac_ethtool_gregs() 441 memcpy(®_space[ETHTOOL_DMA_OFFSET], in stmmac_ethtool_gregs() 442 ®_space[GMAC4_DMA_CHAN_BASE_ADDR / 4], in stmmac_ethtool_gregs() 445 memcpy(®_space[ETHTOOL_DMA_OFFSET], in stmmac_ethtool_gregs() 446 ®_space[DMA_BUS_MODE / 4], in stmmac_ethtool_gregs()
|
D | dwmac1000_dma.c | 211 static void dwmac1000_dump_dma_regs(void __iomem *ioaddr, u32 *reg_space) in dwmac1000_dump_dma_regs() argument 217 reg_space[DMA_BUS_MODE / 4 + i] = in dwmac1000_dump_dma_regs()
|
D | dwmac-sun8i.c | 312 static void sun8i_dwmac_dump_regs(void __iomem *ioaddr, u32 *reg_space) in sun8i_dwmac_dump_regs() argument 319 reg_space[i / 4] = readl(ioaddr + i); in sun8i_dwmac_dump_regs() 328 u32 *reg_space) in sun8i_dwmac_dump_mac_regs() argument 336 reg_space[i / 4] = readl(ioaddr + i); in sun8i_dwmac_dump_mac_regs()
|
D | dwmac1000_core.c | 97 static void dwmac1000_dump_regs(struct mac_device_info *hw, u32 *reg_space) in dwmac1000_dump_regs() argument 103 reg_space[i] = readl(ioaddr + i * 4); in dwmac1000_dump_regs()
|
D | dwxgmac2_dma.c | 134 static void dwxgmac2_dma_dump_regs(void __iomem *ioaddr, u32 *reg_space) in dwxgmac2_dma_dump_regs() argument 139 reg_space[i] = readl(ioaddr + i * 4); in dwxgmac2_dma_dump_regs()
|
D | hwif.h | 186 void (*dump_regs)(void __iomem *ioaddr, u32 *reg_space); 320 void (*dump_regs)(struct mac_device_info *hw, u32 *reg_space);
|
D | dwmac4_core.c | 273 static void dwmac4_dump_regs(struct mac_device_info *hw, u32 *reg_space) in dwmac4_dump_regs() argument 279 reg_space[i] = readl(ioaddr + i * 4); in dwmac4_dump_regs()
|
D | dwxgmac2_core.c | 233 static void dwxgmac2_dump_regs(struct mac_device_info *hw, u32 *reg_space) in dwxgmac2_dump_regs() argument 239 reg_space[i] = readl(ioaddr + i * 4); in dwxgmac2_dump_regs()
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_ethtool.c | 442 u32 *reg_space = (u32 *)space; in sxgbe_get_regs() local 447 memset(reg_space, 0x0, REG_SPACE_SIZE); in sxgbe_get_regs() 452 reg_space[reg_ix] = readl(ioaddr + reg_offset); in sxgbe_get_regs() 459 reg_space[reg_ix] = readl(ioaddr + reg_offset); in sxgbe_get_regs() 466 reg_space[reg_ix] = readl(ioaddr + reg_offset); in sxgbe_get_regs()
|
/drivers/gpu/drm/hisilicon/kirin/ |
D | kirin_drm_ade.c | 350 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_dump_regs() local 357 reg_space = RD_CH_SPACE(ch); in ade_rdma_dump_regs() 370 val = readl(base + reg_space); in ade_rdma_dump_regs() 553 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_set() local 568 reg_space = RD_CH_SPACE(ch); in ade_rdma_set() 578 writel(in_h * stride, base + reg_space); in ade_rdma_set()
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-ethtool.c | 133 u64 *reg_space = (u64 *)space; in vxge_ethtool_gregs() local 152 *reg_space++ = reg; in vxge_ethtool_gregs()
|
/drivers/net/ethernet/neterion/ |
D | s2io.c | 5363 u8 *reg_space = (u8 *)space; in s2io_ethtool_gregs() local 5371 memcpy((reg_space + i), ®, 8); in s2io_ethtool_gregs()
|