Home
last modified time | relevance | path

Searched refs:jiffies (Results 1 – 25 of 71) sorted by relevance

123

/sound/drivers/
Dpcm-indirect2.c262 rec->lastdifftime = jiffies; in snd_pcm_indirect2_playback_transfer()
278 rec->firstzerotime = jiffies; in snd_pcm_indirect2_playback_transfer()
289 if ((jiffies - rec->firstzerotime) < 3750) { in snd_pcm_indirect2_playback_transfer()
290 rec->zero_times[(jiffies - rec->firstzerotime)]++; in snd_pcm_indirect2_playback_transfer()
327 rec->firstbytetime = jiffies; in snd_pcm_indirect2_playback_transfer()
328 rec->lastbytetime = jiffies; in snd_pcm_indirect2_playback_transfer()
424 rec->lastdifftime = jiffies; in snd_pcm_indirect2_capture_transfer()
439 rec->firstzerotime = jiffies; in snd_pcm_indirect2_capture_transfer()
450 if ((jiffies - rec->firstzerotime) < 3750) { in snd_pcm_indirect2_capture_transfer()
451 rec->zero_times[(jiffies - rec->firstzerotime)]++; in snd_pcm_indirect2_capture_transfer()
[all …]
Dml403-ac97cr.c895 end_time = jiffies + (HZ / CODEC_TIMEOUT_AFTER_READ);
924 } while (time_after(end_time, jiffies));
1009 end_time = jiffies + HZ / CODEC_TIMEOUT_AFTER_WRITE;
1035 } while (time_after(end_time, jiffies));
1071 end_time = jiffies + HZ / CODEC_TIMEOUT_ON_INIT;
1081 } while (time_after(end_time, jiffies));
Daloop.c184 dpcm->timer.expires = jiffies + tick; in loopback_timer_start()
268 dpcm->last_jiffies = jiffies; in loopback_trigger()
298 dpcm->last_jiffies = jiffies; in loopback_trigger()
491 delta_play = jiffies - dpcm_play->last_jiffies; in loopback_pos_update()
496 delta_capt = jiffies - dpcm_capt->last_jiffies; in loopback_pos_update()
1080 dpcm->last_jiffies, jiffies); in print_dpcm_info()
/sound/soc/tegra/
Dtegra20_ac97.c59 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_reset()
66 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_reset()
88 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_warm_reset()
95 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_warm_reset()
109 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_read()
116 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_read()
135 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_write()
142 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_write()
/sound/oss/
Dpss.c157 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()
272 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_reset_dsp()
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()
375 limit = jiffies + HZ/10; in pss_download_boot()
376 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_download_boot()
Dsys_timer.c58 def_tmr.expires = (1) + jiffies; in poll_def_tmr()
104 def_tmr.expires = (1) + jiffies; in def_tmr_open()
Dsequencer.c169 tstamp = jiffies - seq_time; in sequencer_midi_input()
192 this_time = jiffies - seq_time; in seq_input_event()
671 seq_time = jiffies; in seq_timing_event()
800 seq_time = jiffies; in play_event()
1063 seq_time = jiffies; in sequencer_open()
1245 seq_time = jiffies; in seq_reset()
1409 val = jiffies - seq_time; in sequencer_ioctl()
Dmidibuf.c147 poll_timer.expires = (1) + jiffies; in midi_poll()
209 poll_timer.expires = 1 + jiffies; in MIDIbuf_open()
Dsoundcard.c678 seq_timer.expires = (-count) + jiffies; in request_sound_timer()
684 count -= jiffies; in request_sound_timer()
689 seq_timer.expires = (count) + jiffies; in request_sound_timer()
/sound/pci/lola/
Dlola_pcm.c98 unsigned long end_time = jiffies + msecs_to_jiffies(200); in wait_for_srst_clear()
99 while (time_before(jiffies, end_time)) { in wait_for_srst_clear()
114 unsigned long end_time = jiffies + msecs_to_jiffies(200); in lola_stream_wait_for_fifo()
115 while (time_before(jiffies, end_time)) { in lola_stream_wait_for_fifo()
133 unsigned long end_time = jiffies + msecs_to_jiffies(200); in lola_sync_wait_for_fifo()
137 while (time_before(jiffies, end_time)) { in lola_sync_wait_for_fifo()
Dlola.c157 timeout = jiffies + msecs_to_jiffies(1000); in rirb_get_response()
180 if (time_after(jiffies, timeout)) in rirb_get_response()
322 end_time = jiffies + msecs_to_jiffies(200); in reset_controller()
328 } while (time_before(jiffies, end_time)); in reset_controller()
380 end_time = jiffies + msecs_to_jiffies(200); in setup_corb_rirb()
386 } while (time_before(jiffies, end_time)); in setup_corb_rirb()
/sound/pci/
Dintel8x0m.c898 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init()
903 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init()
914 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init()
921 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init()
933 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init()
934 while (status != nstatus && time_after_eq(end_time, jiffies)) { in snd_intel8x0m_ich_chip_init()
945 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init()
952 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init()
Dcs4281.c1494 end_time = jiffies + HZ; in snd_cs4281_chip_init()
1503 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init()
1520 end_time = jiffies + HZ; in snd_cs4281_chip_init()
1529 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init()
1536 end_time = jiffies + HZ; in snd_cs4281_chip_init()
1541 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init()
1559 end_time = jiffies + HZ; in snd_cs4281_chip_init()
1568 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init()
Dvia82xx_modem.c985 end_time = jiffies + msecs_to_jiffies(750); in snd_via82xx_chip_init()
991 } while (time_before(jiffies, end_time)); in snd_via82xx_chip_init()
999 end_time = jiffies + msecs_to_jiffies(750); in snd_via82xx_chip_init()
1009 } while (time_before(jiffies, end_time)); in snd_via82xx_chip_init()
/sound/sh/
Daica.c301 mod_timer(&dreamcastcard->timer, jiffies + 1); in run_spu_dma()
323 mod_timer(&(dreamcastcard->timer), jiffies + 1); in aica_period_elapsed()
343 mod_timer(&dreamcastcard->timer, jiffies + 4); in spu_begin_dma()
349 dreamcastcard->timer.expires = jiffies + 4; in spu_begin_dma()
/sound/synth/emux/
Demux_synth.c138 vp->ontime = jiffies; /* remember the trigger timing */ in snd_emux_note_on()
181 if (vp->ontime == jiffies) { in snd_emux_note_off()
189 emu->tlist.expires = jiffies + 1; in snd_emux_note_off()
217 if (vp->ontime == jiffies) in snd_emux_timer_callback()
226 emu->tlist.expires = jiffies + 1; in snd_emux_timer_callback()
/sound/isa/sb/
Dsb8_midi.c219 chip->midi_timer.expires = 1 + jiffies; in snd_sb8dsp_midi_output_timer()
237 chip->midi_timer.expires = 1 + jiffies; in snd_sb8dsp_midi_output_trigger()
/sound/drivers/opl3/
Dopl3_midi.c251 if (vp->note_off == jiffies) in snd_opl3_timer_func()
262 opl3->tlist.expires = jiffies + 1; /* invoke again */ in snd_opl3_timer_func()
278 opl3->tlist.expires = jiffies + 1; in snd_opl3_start_timer()
563 opl3->voices[voice].note_off = jiffies + in snd_opl3_note_on()
/sound/isa/
Dazt2320.c155 limit = jiffies + HZ / 10; in snd_card_azt2320_command()
156 for (i = 50000; i && time_after(limit, jiffies); i--) in snd_card_azt2320_command()
Dsscape.c389 unsigned long end_time = jiffies + msecs_to_jiffies(timeout); in obp_startup_ack()
402 } while (time_before(jiffies, end_time)); in obp_startup_ack()
416 unsigned long end_time = jiffies + msecs_to_jiffies(timeout); in host_startup_ack()
429 } while (time_before(jiffies, end_time)); in host_startup_ack()
/sound/soc/cirrus/
Dep93xx-ac97.c291 unsigned long timeout = jiffies + AC97_TIMEOUT; in ep93xx_ac97_trigger()
295 if (time_after(jiffies, timeout)) { in ep93xx_ac97_trigger()
/sound/mips/
Dad1843.c495 later = jiffies + msecs_to_jiffies(500); in ad1843_init()
498 if (time_after(jiffies, later)) { in ad1843_init()
/sound/isa/wss/
Dwss_lib.c433 snd_printdd("(1) jiffies = %lu\n", jiffies); in snd_wss_mce_down()
436 end_time = jiffies + msecs_to_jiffies(250); in snd_wss_mce_down()
440 if (time_after(jiffies, end_time)) { in snd_wss_mce_down()
448 snd_printdd("(2) jiffies = %lu\n", jiffies); in snd_wss_mce_down()
451 end_time = jiffies + msecs_to_jiffies(100); in snd_wss_mce_down()
453 if (time_after(jiffies, end_time)) { in snd_wss_mce_down()
460 snd_printdd("(3) jiffies = %lu\n", jiffies); in snd_wss_mce_down()
1182 unsigned long timeout = jiffies + msecs_to_jiffies(1000); in snd_ad1848_probe()
1190 if (time_after(jiffies, timeout)) in snd_ad1848_probe()
/sound/isa/wavefront/
Dwavefront_midi.c359 midi->timer.expires = 1 + jiffies; in snd_wavefront_midi_output_timer()
390 midi->timer.expires = 1 + jiffies; in snd_wavefront_midi_output_trigger()
/sound/pci/ctxfi/
Dcttimer.c90 mod_timer(&ti->timer, jiffies + interval); in ct_systimer_callback()
108 jiffies + (runtime->period_size * HZ + in ct_systimer_start()

123