Home
last modified time | relevance | path

Searched refs:new_reg_value (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_hw_stats.c22 u32 new_reg_value; in fbnic_hw_stat_rd32() local
24 new_reg_value = rd32(fbd, reg); in fbnic_hw_stat_rd32()
25 stat->value += new_reg_value - stat->u.old_reg_value_32; in fbnic_hw_stat_rd32()
26 stat->u.old_reg_value_32 = new_reg_value; in fbnic_hw_stat_rd32()
68 u64 new_reg_value; in fbnic_hw_stat_rd64() local
70 new_reg_value = fbnic_stat_rd64(fbd, reg, offset); in fbnic_hw_stat_rd64()
71 stat->value += new_reg_value - stat->u.old_reg_value_64; in fbnic_hw_stat_rd64()
72 stat->u.old_reg_value_64 = new_reg_value; in fbnic_hw_stat_rd64()
H A Dfbnic_mac.c411 u64 new_reg_value; in __fbnic_mac_stat_rd64() local
413 new_reg_value = fbnic_stat_rd64(fbd, reg, 1); in __fbnic_mac_stat_rd64()
415 stat->value += new_reg_value - stat->u.old_reg_value_64; in __fbnic_mac_stat_rd64()
416 stat->u.old_reg_value_64 = new_reg_value; in __fbnic_mac_stat_rd64()