Searched refs:limit (Results 1 – 7 of 7) sorted by relevance
155 unsigned long i, limit; in pss_write() local157 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() local272 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_reset_dsp()314 unsigned long limit; in pss_download_boot() local321 limit = jiffies + HZ/10; in pss_download_boot()322 for (i = 0; i < 32768 && time_before(jiffies, limit); i++) in pss_download_boot()372 limit = jiffies + HZ/10; in pss_download_boot()373 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_download_boot()[all …]
89 unsigned long limit; in sb_dsp_command() local91 limit = jiffies + HZ / 10; /* Timeout */ in sb_dsp_command()101 for (i = 0; i < 500000 && (limit-jiffies)>0; i++) in sb_dsp_command()
455 int limit = 0; in snd_aw2_saa7146_get_limit() local458 limit++; in snd_aw2_saa7146_get_limit()460 return limit; in snd_aw2_saa7146_get_limit()
153 unsigned long limit; in snd_card_azt2320_command() local155 limit = jiffies + HZ / 10; in snd_card_azt2320_command()156 for (i = 50000; i && time_after(limit, jiffies); i--) in snd_card_azt2320_command()
402 u32 limit = 32; in flush_fifo_rx() local408 while (!(reg_val_FLR & RX_FIFO_EMPTY) && limit--) { in flush_fifo_rx()419 u32 limit = 32; in flush_fifo_tx() local426 while (!(reg_val_FLR & TX_FIFO_EMPTY) && limit--) { in flush_fifo_tx()
4691 unsigned int idx, limit; in snd_hdspm_create_controls() local4699 limit = ARRAY_SIZE(snd_hdspm_controls_madi); in snd_hdspm_create_controls()4703 limit = ARRAY_SIZE(snd_hdspm_controls_madiface); in snd_hdspm_create_controls()4707 limit = ARRAY_SIZE(snd_hdspm_controls_aio); in snd_hdspm_create_controls()4711 limit = ARRAY_SIZE(snd_hdspm_controls_raydat); in snd_hdspm_create_controls()4715 limit = ARRAY_SIZE(snd_hdspm_controls_aes32); in snd_hdspm_create_controls()4720 for (idx = 0; idx < limit; idx++) { in snd_hdspm_create_controls()4732 limit = hdspm->qs_out_channels; in snd_hdspm_create_controls()4734 limit = hdspm->ds_out_channels; in snd_hdspm_create_controls()4736 limit = hdspm->ss_out_channels; in snd_hdspm_create_controls()[all …]
269 wavefront_sleep (int limit) in wavefront_sleep() argument272 schedule_timeout_interruptible(limit); in wavefront_sleep()