Home
last modified time | relevance | path

Searched refs:next_period (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/sound/atmel/
H A Dac97c.c475 int offset, next_period, block_size; in atmel_ac97c_interrupt() local
490 next_period = chip->playback_period + 1; in atmel_ac97c_interrupt()
491 if (next_period == runtime->periods) in atmel_ac97c_interrupt()
492 next_period = 0; in atmel_ac97c_interrupt()
494 offset = block_size * next_period; in atmel_ac97c_interrupt()
508 next_period = chip->capture_period + 1; in atmel_ac97c_interrupt()
509 if (next_period == runtime->periods) in atmel_ac97c_interrupt()
510 next_period = 0; in atmel_ac97c_interrupt()
512 offset = block_size * next_period; in atmel_ac97c_interrupt()
/openbmc/linux/sound/spi/
H A Dat73c213.c358 int next_period; in snd_at73c213_interrupt() local
370 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()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.h91 unsigned long next_period; member
H A Dbnxt_ptp.c714 if (!time_after_eq(now, ptp->next_period)) in bnxt_ptp_ts_aux_work()
715 return ptp->next_period - now; in bnxt_ptp_ts_aux_work()
718 ptp->next_period = now + HZ; in bnxt_ptp_ts_aux_work()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c2926 unsigned long next_period; in sge_timer_tx() local
2940 next_period = TX_RECLAIM_PERIOD >> in sge_timer_tx()
2943 mod_timer(&qs->tx_reclaim_timer, jiffies + next_period); in sge_timer_tx()