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