Lines Matching refs:maca
505 u32 maca = 0; in keystone2_eth_read_mac_addr() local
512 maca = __raw_readl(MAC_ID_BASE_ADDR); in keystone2_eth_read_mac_addr()
518 dev->enetaddr[2] = (maca >> 24) & 0xff; in keystone2_eth_read_mac_addr()
519 dev->enetaddr[3] = (maca >> 16) & 0xff; in keystone2_eth_read_mac_addr()
520 dev->enetaddr[4] = (maca >> 8) & 0xff; in keystone2_eth_read_mac_addr()
521 dev->enetaddr[5] = (maca >> 0) & 0xff; in keystone2_eth_read_mac_addr()
854 u32 maca = 0; in ks2_eth_read_rom_hwaddr() local
859 maca = __raw_readl(MAC_ID_BASE_ADDR); in ks2_eth_read_rom_hwaddr()
865 pdata->enetaddr[2] = (maca >> 24) & 0xff; in ks2_eth_read_rom_hwaddr()
866 pdata->enetaddr[3] = (maca >> 16) & 0xff; in ks2_eth_read_rom_hwaddr()
867 pdata->enetaddr[4] = (maca >> 8) & 0xff; in ks2_eth_read_rom_hwaddr()
868 pdata->enetaddr[5] = (maca >> 0) & 0xff; in ks2_eth_read_rom_hwaddr()