Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A 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 …]
H A DMakefile38 obj-$(CONFIG_MACB) += macb.o
/openbmc/u-boot/arch/arm/dts/
H A Dat91sam9x5_macb1.dtsi44 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dsama5d3_emac.dtsi44 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91sam9x5_macb0.dtsi56 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91sam9260.dtsi580 macb {
862 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91sam9263.dtsi494 macb {
868 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91sam9g45.dtsi620 macb {
978 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dsama5d2.dtsi631 compatible = "cdns,macb";
/openbmc/u-boot/drivers/net/ti/
H A Dkeystone_net.c498 u32 macb = 0; in ks2_eth_read_rom_hwaddr() local
503 macb = __raw_readl(MAC_ID_BASE_ADDR + 4); in ks2_eth_read_rom_hwaddr()
506 pdata->enetaddr[0] = (macb >> 8) & 0xff; in ks2_eth_read_rom_hwaddr()
507 pdata->enetaddr[1] = (macb >> 0) & 0xff; in ks2_eth_read_rom_hwaddr()
/openbmc/u-boot/doc/
H A DREADME.sifive-fu540260 [ 3.832623] macb: GEM doesn't support hardware ptp.
263 [ 4.055779] macb 10090000.ethernet eth0: Cadence GEM rev 0x10070109 at 0x10090000 irq 12 (70:b3:…
291 [ 7.927510] macb 10090000.ethernet eth0: link up (1000/Full)