Lines Matching refs:mac_addr
324 uint32_t mac_addr; in bxe_port_stats_init() local
371 mac_addr = (port ? GRCBASE_EMAC1 : GRCBASE_EMAC0); in bxe_port_stats_init()
376 dmae->src_addr_lo = (mac_addr + EMAC_REG_EMAC_RX_STAT_AC) >> 2; in bxe_port_stats_init()
388 dmae->src_addr_lo = ((mac_addr + EMAC_REG_EMAC_RX_STAT_AC_28) >> 2); in bxe_port_stats_init()
404 dmae->src_addr_lo = ((mac_addr + EMAC_REG_EMAC_TX_STAT_AC) >> 2); in bxe_port_stats_init()
423 mac_addr = (port) ? NIG_REG_INGRESS_BMAC1_MEM : in bxe_port_stats_init()
430 ((mac_addr + BIGMAC_REGISTER_TX_STAT_GTPKT) >> 2); in bxe_port_stats_init()
434 ((mac_addr + BIGMAC_REGISTER_RX_STAT_GR64) >> 2); in bxe_port_stats_init()
439 ((mac_addr + BIGMAC2_REGISTER_TX_STAT_GTPOK) >> 2); in bxe_port_stats_init()
443 ((mac_addr + BIGMAC2_REGISTER_RX_STAT_GR64) >> 2); in bxe_port_stats_init()
453 mac_addr = (port) ? GRCBASE_MSTAT1 : GRCBASE_MSTAT0; in bxe_port_stats_init()
454 tx_src_addr_lo = ((mac_addr + MSTAT_REG_TX_STAT_GTXPOK_LO) >> 2); in bxe_port_stats_init()
455 rx_src_addr_lo = ((mac_addr + MSTAT_REG_RX_STAT_GR64_LO) >> 2); in bxe_port_stats_init()