Lines Matching refs:nig_stats
456 dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, nig_stats)); in bnx2x_port_stats_init()
457 dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, nig_stats)); in bnx2x_port_stats_init()
458 dmae->len = (sizeof(struct nig_stats) - 4*sizeof(u32)) >> 2; in bnx2x_port_stats_init()
468 dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, nig_stats) + in bnx2x_port_stats_init()
469 offsetof(struct nig_stats, egress_mac_pkt0_lo)); in bnx2x_port_stats_init()
470 dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, nig_stats) + in bnx2x_port_stats_init()
471 offsetof(struct nig_stats, egress_mac_pkt0_lo)); in bnx2x_port_stats_init()
483 dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, nig_stats) + in bnx2x_port_stats_init()
484 offsetof(struct nig_stats, egress_mac_pkt1_lo)); in bnx2x_port_stats_init()
485 dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, nig_stats) + in bnx2x_port_stats_init()
486 offsetof(struct nig_stats, egress_mac_pkt1_lo)); in bnx2x_port_stats_init()
696 struct nig_stats *new = bnx2x_sp(bp, nig_stats); in bnx2x_hw_stats_update()
697 struct nig_stats *old = &(bp->port.old_nig_stats); in bnx2x_hw_stats_update()
725 memcpy(old, new, sizeof(struct nig_stats)); in bnx2x_hw_stats_update()
1366 memset(&(bp->port.old_nig_stats), 0, sizeof(struct nig_stats)); in bnx2x_stats_init()