Searched refs:next_period (Results 1 – 4 of 4) sorted by relevance
495 int offset, next_period, block_size; in atmel_ac97c_interrupt() local510 next_period = chip->playback_period + 1; in atmel_ac97c_interrupt()511 if (next_period == runtime->periods) in atmel_ac97c_interrupt()512 next_period = 0; in atmel_ac97c_interrupt()514 offset = block_size * next_period; in atmel_ac97c_interrupt()528 next_period = chip->capture_period + 1; in atmel_ac97c_interrupt()529 if (next_period == runtime->periods) in atmel_ac97c_interrupt()530 next_period = 0; in atmel_ac97c_interrupt()532 offset = block_size * next_period; in atmel_ac97c_interrupt()
85 unsigned long next_period[2]; member254 sun4i_pwm->next_period[pwm->hwpwm] = jiffies + in sun4i_pwm_apply()287 time_before(now, sun4i_pwm->next_period[pwm->hwpwm])) { in sun4i_pwm_apply()288 delay_us = jiffies_to_usecs(sun4i_pwm->next_period[pwm->hwpwm] - in sun4i_pwm_apply()
367 int next_period; in snd_at73c213_interrupt() local379 next_period = chip->period + 1; in snd_at73c213_interrupt()380 if (next_period == runtime->periods) in snd_at73c213_interrupt()381 next_period = 0; in snd_at73c213_interrupt()383 offset = block_size * next_period; in snd_at73c213_interrupt()
2927 unsigned long next_period; in sge_timer_tx() local2941 next_period = TX_RECLAIM_PERIOD >> in sge_timer_tx()2944 mod_timer(&qs->tx_reclaim_timer, jiffies + next_period); in sge_timer_tx()