Searched refs:mac_regs (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/drivers/net/ |
D | pch_gbe.c | 25 static void pch_gbe_mac_read(struct pch_gbe_regs *mac_regs, u8 *addr) in pch_gbe_mac_read() argument 29 macid_hi = readl(&mac_regs->mac_adr[0].high); in pch_gbe_mac_read() 30 macid_lo = readl(&mac_regs->mac_adr[0].low) & 0xffff; in pch_gbe_mac_read() 41 static int pch_gbe_mac_write(struct pch_gbe_regs *mac_regs, u8 *addr) in pch_gbe_mac_write() argument 49 writel(macid_hi, &mac_regs->mac_adr[0].high); in pch_gbe_mac_write() 50 writel(macid_lo, &mac_regs->mac_adr[0].low); in pch_gbe_mac_write() 51 writel(0xfffe, &mac_regs->addr_mask); in pch_gbe_mac_write() 55 if (!(readl(&mac_regs->addr_mask) & PCH_GBE_BUSY)) in pch_gbe_mac_write() 68 struct pch_gbe_regs *mac_regs = priv->mac_regs; in pch_gbe_reset() local 74 writel(PCH_GBE_ALL_RST, &mac_regs->reset); in pch_gbe_reset() [all …]
|
D | dwc_eth_qos.c | 269 struct eqos_mac_regs *mac_regs; member 363 return wait_for_bit_le32(&eqos->mac_regs->mdio_address, in eqos_mdio_wait_idle() 384 val = readl(&eqos->mac_regs->mdio_address); in eqos_mdio_read() 394 writel(val, &eqos->mac_regs->mdio_address); in eqos_mdio_read() 404 val = readl(&eqos->mac_regs->mdio_data); in eqos_mdio_read() 428 writel(mdio_val, &eqos->mac_regs->mdio_data); in eqos_mdio_write() 430 val = readl(&eqos->mac_regs->mdio_address); in eqos_mdio_write() 440 writel(val, &eqos->mac_regs->mdio_address); in eqos_mdio_write() 641 setbits_le32(&eqos->mac_regs->configuration, EQOS_MAC_CONFIGURATION_DM); in eqos_set_full_duplex() 652 clrbits_le32(&eqos->mac_regs->configuration, EQOS_MAC_CONFIGURATION_DM); in eqos_set_half_duplex() [all …]
|
D | ep93xx_eth.c | 149 struct mac_regs *mac = GET_REGS(dev); in ep93xx_mac_reset() 168 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_open() 285 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_close() 301 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_rcv_packet() 371 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_send_packet() 459 priv->regs = (struct mac_regs *)base_addr; in ep93xx_eth_initialize() 558 struct mac_regs *mac = (struct mac_regs *)MAC_BASE; in ep93xx_miiphy_read() 611 struct mac_regs *mac = (struct mac_regs *)MAC_BASE; in ep93xx_miiphy_write()
|
D | ep93xx_eth.h | 123 struct mac_regs *regs;
|
D | pch_gbe.h | 291 struct pch_gbe_regs *mac_regs; member
|
/external/u-boot/arch/arm/include/asm/arch-ep93xx/ |
D | ep93xx.h | 91 struct mac_regs { struct
|