Lines Matching refs:new_data
605 u64 new_data; in i40e_stat_update64() local
607 new_data = rd64(hw, loreg); in i40e_stat_update64()
609 if (!offset_loaded || new_data < *offset) in i40e_stat_update64()
610 *offset = new_data; in i40e_stat_update64()
611 *stat = new_data - *offset; in i40e_stat_update64()
632 u64 new_data; in i40e_stat_update48() local
635 new_data = rd32(hw, loreg); in i40e_stat_update48()
636 new_data |= ((u64)(rd32(hw, hireg) & 0xFFFF)) << 32; in i40e_stat_update48()
638 new_data = rd64(hw, loreg); in i40e_stat_update48()
641 *offset = new_data; in i40e_stat_update48()
642 if (likely(new_data >= *offset)) in i40e_stat_update48()
643 *stat = new_data - *offset; in i40e_stat_update48()
645 *stat = (new_data + BIT_ULL(48)) - *offset; in i40e_stat_update48()
660 u32 new_data; in i40e_stat_update32() local
662 new_data = rd32(hw, reg); in i40e_stat_update32()
664 *offset = new_data; in i40e_stat_update32()
665 if (likely(new_data >= *offset)) in i40e_stat_update32()
666 *stat = (u32)(new_data - *offset); in i40e_stat_update32()
668 *stat = (u32)((new_data + BIT_ULL(32)) - *offset); in i40e_stat_update32()
679 u32 new_data = rd32(hw, reg); in i40e_stat_update_and_clear32() local
682 *stat += new_data; in i40e_stat_update_and_clear32()