Searched refs:macb (Results 1 – 10 of 10) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | macb.c | 129 static int macb_is_gem(struct macb_device *macb) in macb_is_gem() argument 131 return MACB_BFEXT(IDNUM, macb_readl(macb, MID)) == 0x2; in macb_is_gem() 142 static int gem_is_gigabit_capable(struct macb_device *macb) in gem_is_gigabit_capable() argument 148 return macb_is_gem(macb) && !cpu_is_sama5d2() && !cpu_is_sama5d4(); in gem_is_gigabit_capable() 151 static void macb_mdio_write(struct macb_device *macb, u8 reg, u16 value) in macb_mdio_write() argument 157 netctl = macb_readl(macb, NCR); in macb_mdio_write() 159 macb_writel(macb, NCR, netctl); in macb_mdio_write() 163 | MACB_BF(PHYA, macb->phy_addr) in macb_mdio_write() 167 macb_writel(macb, MAN, frame); in macb_mdio_write() 170 netstat = macb_readl(macb, NSR); in macb_mdio_write() [all …]
|
| H A D | keystone_net.c | 507 u32 macb = 0; in keystone2_eth_read_mac_addr() local 514 macb = __raw_readl(MAC_ID_BASE_ADDR + 4); in keystone2_eth_read_mac_addr() 517 dev->enetaddr[0] = (macb >> 8) & 0xff; in keystone2_eth_read_mac_addr() 518 dev->enetaddr[1] = (macb >> 0) & 0xff; in keystone2_eth_read_mac_addr() 856 u32 macb = 0; in ks2_eth_read_rom_hwaddr() local 861 macb = __raw_readl(MAC_ID_BASE_ADDR + 4); in ks2_eth_read_rom_hwaddr() 864 pdata->enetaddr[0] = (macb >> 8) & 0xff; in ks2_eth_read_rom_hwaddr() 865 pdata->enetaddr[1] = (macb >> 0) & 0xff; in ks2_eth_read_rom_hwaddr()
|
| H A D | Makefile | 40 obj-$(CONFIG_MACB) += macb.o
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | at91sam9x5_macb1.dtsi | 44 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | sama5d3_emac.dtsi | 44 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | at91sam9x5_macb0.dtsi | 56 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | at91sam9260.dtsi | 583 macb { 865 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | at91sam9263.dtsi | 497 macb { 871 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | at91sam9g45.dtsi | 623 macb { 981 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | sama5d2.dtsi | 609 compatible = "cdns,macb";
|