Home
last modified time | relevance | path

Searched refs:macb (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/drivers/net/
Dmacb.c144 static int macb_is_gem(struct macb_device *macb) in macb_is_gem() argument
146 return MACB_BFEXT(IDNUM, macb_readl(macb, MID)) == 0x2; in macb_is_gem()
157 static int gem_is_gigabit_capable(struct macb_device *macb) in gem_is_gigabit_capable() argument
163 return macb_is_gem(macb) && !cpu_is_sama5d2() && !cpu_is_sama5d4(); in gem_is_gigabit_capable()
166 static void macb_mdio_write(struct macb_device *macb, u8 reg, u16 value) in macb_mdio_write() argument
172 netctl = macb_readl(macb, NCR); in macb_mdio_write()
174 macb_writel(macb, NCR, netctl); in macb_mdio_write()
178 | MACB_BF(PHYA, macb->phy_addr) in macb_mdio_write()
182 macb_writel(macb, MAN, frame); in macb_mdio_write()
185 netstat = macb_readl(macb, NSR); in macb_mdio_write()
[all …]
Dkeystone_net.c506 u32 macb = 0; in keystone2_eth_read_mac_addr() local
513 macb = __raw_readl(MAC_ID_BASE_ADDR + 4); in keystone2_eth_read_mac_addr()
516 dev->enetaddr[0] = (macb >> 8) & 0xff; in keystone2_eth_read_mac_addr()
517 dev->enetaddr[1] = (macb >> 0) & 0xff; in keystone2_eth_read_mac_addr()
855 u32 macb = 0; in ks2_eth_read_rom_hwaddr() local
860 macb = __raw_readl(MAC_ID_BASE_ADDR + 4); in ks2_eth_read_rom_hwaddr()
863 pdata->enetaddr[0] = (macb >> 8) & 0xff; in ks2_eth_read_rom_hwaddr()
864 pdata->enetaddr[1] = (macb >> 0) & 0xff; in ks2_eth_read_rom_hwaddr()
DMakefile36 obj-$(CONFIG_MACB) += macb.o
/external/u-boot/arch/arm/dts/
Dat91sam9x5_macb1.dtsi44 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dsama5d3_emac.dtsi44 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dat91sam9x5_macb0.dtsi56 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dat91sam9260.dtsi583 macb {
865 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dat91sam9263.dtsi497 macb {
871 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dat91sam9g45.dtsi623 macb {
981 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dsama5d2.dtsi631 compatible = "cdns,macb";