Searched refs:next_period (Results 1 – 4 of 4) sorted by relevance
476 int offset, next_period, block_size; in atmel_ac97c_interrupt() local491 next_period = chip->playback_period + 1; in atmel_ac97c_interrupt()492 if (next_period == runtime->periods) in atmel_ac97c_interrupt()493 next_period = 0; in atmel_ac97c_interrupt()495 offset = block_size * next_period; in atmel_ac97c_interrupt()509 next_period = chip->capture_period + 1; in atmel_ac97c_interrupt()510 if (next_period == runtime->periods) in atmel_ac97c_interrupt()511 next_period = 0; in atmel_ac97c_interrupt()513 offset = block_size * next_period; in atmel_ac97c_interrupt()
92 unsigned long next_period[2]; member287 sun4i_pwm->next_period[pwm->hwpwm] = jiffies + in sun4i_pwm_apply()309 if (time_before(now, sun4i_pwm->next_period[pwm->hwpwm])) { in sun4i_pwm_apply()310 delay_us = jiffies_to_usecs(sun4i_pwm->next_period[pwm->hwpwm] - in sun4i_pwm_apply()
358 int next_period; in snd_at73c213_interrupt() local370 next_period = chip->period + 1; in snd_at73c213_interrupt()371 if (next_period == runtime->periods) in snd_at73c213_interrupt()372 next_period = 0; in snd_at73c213_interrupt()374 offset = block_size * next_period; in snd_at73c213_interrupt()
2928 unsigned long next_period; in sge_timer_tx() local2942 next_period = TX_RECLAIM_PERIOD >> in sge_timer_tx()2945 mod_timer(&qs->tx_reclaim_timer, jiffies + next_period); in sge_timer_tx()