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()
147 #define NFP_NET_CFG_MACADDR 0x0024 macro
2728 nn_writel(nn, NFP_NET_CFG_MACADDR + 0, get_unaligned_be32(addr)); in nfp_net_write_mac_addr()2729 nn_writew(nn, NFP_NET_CFG_MACADDR + 6, get_unaligned_be16(addr + 4)); in nfp_net_write_mac_addr()