Searched refs:NFP_NET_CFG_MACADDR (Results 1 – 3 of 3) sorted by relevance
53 put_unaligned_be32(nn_readl(nn, NFP_NET_CFG_MACADDR + 0), &mac_addr[0]); in nfp_netvf_get_mac_addr()54 put_unaligned_be16(nn_readw(nn, NFP_NET_CFG_MACADDR + 6), &mac_addr[4]); in nfp_netvf_get_mac_addr()
148 #define NFP_NET_CFG_MACADDR 0x0024 macro
2733 nn_writel(nn, NFP_NET_CFG_MACADDR + 0, get_unaligned_be32(addr)); in nfp_net_write_mac_addr()2734 nn_writew(nn, NFP_NET_CFG_MACADDR + 6, get_unaligned_be16(addr + 4)); in nfp_net_write_mac_addr()