Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 8 of 8) sorted by relevance

/sound/oss/
Dpss.c155 unsigned long i, limit; in pss_write() local
157 limit = jiffies + HZ/10; /* The timeout is 0.1 seconds */ in pss_write()
166 for (i = 0; i < 5000000 && time_before(jiffies, limit); i++) in pss_write()
269 unsigned long i, limit = jiffies + HZ/10; in pss_reset_dsp() local
272 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_reset_dsp()
313 unsigned long limit; in pss_download_boot() local
320 limit = jiffies + HZ/10; in pss_download_boot()
321 for (i = 0; i < 32768 && time_before(jiffies, limit); i++) in pss_download_boot()
371 limit = jiffies + HZ/10; in pss_download_boot()
372 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_download_boot()
[all …]
Dsb_common.c89 unsigned long limit; in sb_dsp_command() local
91 limit = jiffies + HZ / 10; /* Timeout */ in sb_dsp_command()
101 for (i = 0; i < 500000 && (limit-jiffies)>0; i++) in sb_dsp_command()
/sound/soc/samsung/
Ddma.c74 unsigned int limit; in dma_enqueue() local
79 limit = (prtd->dma_end - prtd->dma_start) / prtd->dma_period; in dma_enqueue()
82 __func__, prtd->dma_loaded, limit); in dma_enqueue()
91 dma_info.len = prtd->dma_period*limit; in dma_enqueue()
93 while (prtd->dma_loaded < limit) { in dma_enqueue()
/sound/pci/aw2/
Daw2-saa7146.c457 int limit = 0; in snd_aw2_saa7146_get_limit() local
460 limit++; in snd_aw2_saa7146_get_limit()
462 return limit; in snd_aw2_saa7146_get_limit()
/sound/isa/
Dazt2320.c153 unsigned long limit; in snd_card_azt2320_command() local
155 limit = jiffies + HZ / 10; in snd_card_azt2320_command()
156 for (i = 50000; i && time_after(limit, jiffies); i--) in snd_card_azt2320_command()
/sound/soc/ux500/
Dux500_msp_i2s.c420 u32 limit = 32; in flush_fifo_rx() local
426 while (!(reg_val_FLR & RX_FIFO_EMPTY) && limit--) { in flush_fifo_rx()
437 u32 limit = 32; in flush_fifo_tx() local
444 while (!(reg_val_FLR & TX_FIFO_EMPTY) && limit--) { in flush_fifo_tx()
/sound/pci/rme9652/
Dhdspm.c4407 unsigned int idx, limit; in snd_hdspm_create_controls() local
4415 limit = ARRAY_SIZE(snd_hdspm_controls_madi); in snd_hdspm_create_controls()
4419 limit = ARRAY_SIZE(snd_hdspm_controls_madiface); in snd_hdspm_create_controls()
4423 limit = ARRAY_SIZE(snd_hdspm_controls_aio); in snd_hdspm_create_controls()
4427 limit = ARRAY_SIZE(snd_hdspm_controls_raydat); in snd_hdspm_create_controls()
4431 limit = ARRAY_SIZE(snd_hdspm_controls_aes32); in snd_hdspm_create_controls()
4436 for (idx = 0; idx < limit; idx++) { in snd_hdspm_create_controls()
4448 limit = hdspm->qs_out_channels; in snd_hdspm_create_controls()
4450 limit = hdspm->ds_out_channels; in snd_hdspm_create_controls()
4452 limit = hdspm->ss_out_channels; in snd_hdspm_create_controls()
[all …]
/sound/isa/wavefront/
Dwavefront_synth.c269 wavefront_sleep (int limit) in wavefront_sleep() argument
272 schedule_timeout_interruptible(limit); in wavefront_sleep()