Searched refs:next_period (Results 1 – 4 of 4) sorted by relevance
492 int offset, next_period, block_size; in atmel_ac97c_interrupt() local507 next_period = chip->playback_period + 1; in atmel_ac97c_interrupt()508 if (next_period == runtime->periods) in atmel_ac97c_interrupt()509 next_period = 0; in atmel_ac97c_interrupt()511 offset = block_size * next_period; in atmel_ac97c_interrupt()525 next_period = chip->capture_period + 1; in atmel_ac97c_interrupt()526 if (next_period == runtime->periods) in atmel_ac97c_interrupt()527 next_period = 0; in atmel_ac97c_interrupt()529 offset = block_size * next_period; in atmel_ac97c_interrupt()
84 unsigned long next_period[2]; member247 sun4i_pwm->next_period[pwm->hwpwm] = jiffies + in sun4i_pwm_apply()280 time_before(now, sun4i_pwm->next_period[pwm->hwpwm])) { in sun4i_pwm_apply()281 delay_us = jiffies_to_usecs(sun4i_pwm->next_period[pwm->hwpwm] - in sun4i_pwm_apply()
364 int next_period; in snd_at73c213_interrupt() local376 next_period = chip->period + 1; in snd_at73c213_interrupt()377 if (next_period == runtime->periods) in snd_at73c213_interrupt()378 next_period = 0; in snd_at73c213_interrupt()380 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()