Home
last modified time | relevance | path

Searched refs:next_timeslot (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_ecsa.c158 u32 beacon_period_us = 0, next_timeslot = 0; in _phl_ecsa_calculate_next_timer_sta() local
175 next_timeslot = 0; in _phl_ecsa_calculate_next_timer_sta()
179 next_timeslot = (beacon_period_us * count) / 1000; /* ms */ in _phl_ecsa_calculate_next_timer_sta()
182 next_timeslot = 1000; /* 1s */ in _phl_ecsa_calculate_next_timer_sta()
185 return next_timeslot; in _phl_ecsa_calculate_next_timer_sta()
195 u32 next_timeslot = 0; /* ms */ in _phl_ecsa_calculate_next_timer() local
198 next_timeslot = _phl_ecsa_calculate_next_timer_ap(ecsa_ctrl); in _phl_ecsa_calculate_next_timer()
201 next_timeslot = _phl_ecsa_calculate_next_timer_sta(ecsa_ctrl);; in _phl_ecsa_calculate_next_timer()
202 PHL_TRACE(COMP_PHL_ECSA, _PHL_INFO_, "%s: Next time slot %d!\n", __FUNCTION__, next_timeslot); in _phl_ecsa_calculate_next_timer()
203 _os_set_timer(d, &ecsa_ctrl->timer, next_timeslot); in _phl_ecsa_calculate_next_timer()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_ecsa.c158 u32 beacon_period_us = 0, next_timeslot = 0; in _phl_ecsa_calculate_next_timer_sta() local
175 next_timeslot = 0; in _phl_ecsa_calculate_next_timer_sta()
179 next_timeslot = (beacon_period_us * count) / 1000; /* ms */ in _phl_ecsa_calculate_next_timer_sta()
182 next_timeslot = 1000; /* 1s */ in _phl_ecsa_calculate_next_timer_sta()
185 return next_timeslot; in _phl_ecsa_calculate_next_timer_sta()
195 u32 next_timeslot = 0; /* ms */ in _phl_ecsa_calculate_next_timer() local
198 next_timeslot = _phl_ecsa_calculate_next_timer_ap(ecsa_ctrl); in _phl_ecsa_calculate_next_timer()
201 next_timeslot = _phl_ecsa_calculate_next_timer_sta(ecsa_ctrl);; in _phl_ecsa_calculate_next_timer()
202 PHL_TRACE(COMP_PHL_ECSA, _PHL_INFO_, "%s: Next time slot %d!\n", __FUNCTION__, next_timeslot); in _phl_ecsa_calculate_next_timer()
203 _os_set_timer(d, &ecsa_ctrl->timer, next_timeslot); in _phl_ecsa_calculate_next_timer()
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_ec_lightbar.c58 unsigned long now, next_timeslot; in lb_throttle() local
65 next_timeslot = last_access + lb_interval_jiffies; in lb_throttle()
67 if (time_before(now, next_timeslot)) { in lb_throttle()
68 delay = (long)(next_timeslot) - (long)now; in lb_throttle()