Home
last modified time | relevance | path

Searched refs:NFP_NET_CFG_MACADDR (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_netvf_main.c65 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()
H A Dnfp_net_ctrl.h160 #define NFP_NET_CFG_MACADDR 0x0024 macro
H A Dnfp_net_common.c914 nn_writel(nn, NFP_NET_CFG_MACADDR + 0, get_unaligned_be32(addr)); in nfp_net_write_mac_addr()
915 nn_writew(nn, NFP_NET_CFG_MACADDR + 6, get_unaligned_be16(addr + 4)); in nfp_net_write_mac_addr()