Searched refs:time_passed_ms (Results 1 – 2 of 2) sorted by relevance
733 u32 time_passed_ms; in hns_update_rx_rate() local748 time_passed_ms = jiffies_to_msecs(jiffies - ring->coal_last_jiffies); in hns_update_rx_rate()749 do_div(total_bytes, time_passed_ms); in hns_update_rx_rate()
3004 u32 time_passed_ms; in hns3_get_new_flow_lvl() local3007 time_passed_ms = in hns3_get_new_flow_lvl()3009 if (!time_passed_ms) in hns3_get_new_flow_lvl()3012 do_div(ring_group->total_packets, time_passed_ms); in hns3_get_new_flow_lvl()3015 do_div(ring_group->total_bytes, time_passed_ms); in hns3_get_new_flow_lvl()