Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c2357 u64 flow_tsf, curr_tsf; in mt7915_mac_add_twt_setup() local
2362 curr_tsf = __mt7915_get_tsf(hw, msta->vif); in mt7915_mac_add_twt_setup()
2363 div_u64_rem(curr_tsf - flow->start_tsf, interval, &rem); in mt7915_mac_add_twt_setup()
2364 flow_tsf = curr_tsf + interval - rem; in mt7915_mac_add_twt_setup()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c2523 u64 flow_tsf, curr_tsf; in mt7996_mac_add_twt_setup() local
2528 curr_tsf = __mt7996_get_tsf(hw, msta->vif); in mt7996_mac_add_twt_setup()
2529 div_u64_rem(curr_tsf - flow->start_tsf, interval, &rem); in mt7996_mac_add_twt_setup()
2530 flow_tsf = curr_tsf + interval - rem; in mt7996_mac_add_twt_setup()