/sound/core/seq/ |
D | seq_prioq.c | 91 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); in compare_timestamp() 94 return (snd_seq_compare_real_time(&a->time.time, &b->time.time)); in compare_timestamp() 108 if (a->time.tick > b->time.tick) in compare_timestamp_rel() 110 else if (a->time.tick == b->time.tick) in compare_timestamp_rel() 116 if (a->time.time.tv_sec > b->time.time.tv_sec) in compare_timestamp_rel() 118 else if (a->time.time.tv_sec == b->time.time.tv_sec) { in compare_timestamp_rel() 119 if (a->time.time.tv_nsec > b->time.time.tv_nsec) in compare_timestamp_rel() 121 else if (a->time.time.tv_nsec == b->time.time.tv_nsec) in compare_timestamp_rel() 206 return snd_seq_compare_tick_time(current_time, &ev->time.tick); in event_is_ready() 208 return snd_seq_compare_real_time(current_time, &ev->time.time); in event_is_ready() [all …]
|
D | seq_queue.c | 315 cell->event.time.tick += q->timer->tick.cur_tick; in snd_seq_enqueue_event() 319 snd_seq_inc_real_time(&cell->event.time.time, in snd_seq_enqueue_event() 637 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event() 680 if (snd_seq_timer_set_position_tick(q->timer, ev->data.queue.param.time.tick) == 0) { in snd_seq_queue_process_event() 686 if (snd_seq_timer_set_position_time(q->timer, ev->data.queue.param.time.time) == 0) { in snd_seq_queue_process_event()
|
D | seq_clientmgr.c | 583 event->time.time = snd_seq_timer_get_cur_time(q->timer, true); in update_timestamp_of_queue() 586 event->time.tick = snd_seq_timer_get_cur_tick(q->timer); in update_timestamp_of_queue() 892 ev->time.tick += ev->data.note.duration; in snd_seq_dispatch_event() 896 ev->time.time.tv_nsec += 1000000 * (ev->data.note.duration % 1000); in snd_seq_dispatch_event() 897 ev->time.time.tv_sec += ev->data.note.duration / 1000 + in snd_seq_dispatch_event() 898 ev->time.time.tv_nsec / 1000000000; in snd_seq_dispatch_event() 899 ev->time.time.tv_nsec %= 1000000000; in snd_seq_dispatch_event() 1672 status->time = snd_seq_timer_get_cur_time(tmr, true); in snd_seq_ioctl_get_queue_status()
|
/sound/core/seq/oss/ |
D | seq_oss_writeq.c | 86 abstime_t time; in snd_seq_oss_writeq_sync() local 88 time = snd_seq_oss_timer_cur_tick(dp->timer); in snd_seq_oss_writeq_sync() 89 if (q->sync_time >= time) in snd_seq_oss_writeq_sync() 100 ev.time.tick = time; in snd_seq_oss_writeq_sync() 105 rec->t.time = time; in snd_seq_oss_writeq_sync() 114 if (! q->sync_event_put || q->sync_time >= time) in snd_seq_oss_writeq_sync() 123 snd_seq_oss_writeq_wakeup(struct seq_oss_writeq *q, abstime_t time) in snd_seq_oss_writeq_wakeup() argument 128 q->sync_time = time; in snd_seq_oss_writeq_wakeup()
|
D | seq_oss_writeq.h | 32 void snd_seq_oss_writeq_wakeup(struct seq_oss_writeq *q, abstime_t time);
|
D | seq_oss_event.h | 39 unsigned int time; member
|
D | seq_oss_event.c | 233 tmp.echo = (q->t.time << 8) | SEQ_ECHO; in timing_event() 249 return snd_seq_oss_timer_tempo(dp->timer, q->t.time); in timing_event() 437 snd_seq_oss_writeq_wakeup(dp->writeq, rec->t.time); in snd_seq_oss_event_input()
|
D | seq_oss_device.h | 120 void snd_seq_oss_process_queue(struct seq_oss_devinfo *dp, abstime_t time);
|
/sound/drivers/opl3/ |
D | opl3_midi.c | 144 unsigned int time; in opl3_get_voice() member 150 best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ in opl3_get_voice() 163 voice_time = vp->time; in opl3_get_voice() 183 voice_time = max(voice_time, vp2->time); in opl3_get_voice() 197 if (voice_time < bp->time) { in opl3_get_voice() 198 bp->time = voice_time; in opl3_get_voice() 560 vp->time = opl3->use_time++; in snd_opl3_note_on() 568 vp2->time = opl3->use_time++; in snd_opl3_note_on() 576 vp2->time = opl3->use_time++; in snd_opl3_note_on() 635 vp->time = opl3->use_time++; in snd_opl3_kill_voice() [all …]
|
/sound/drivers/ |
D | Kconfig | 105 The loopback device allows time synchronization with an external 106 timing source using the time shift universal control (+-20% 107 of system time). 199 snd-ac97-codec driver module, where 'X' is the time-out 201 seconds of idle time the driver must count before it may 210 In this case, the time-out is set to 10 seconds; setting 211 the time-out to 1 second (the minimum activation value) 219 int "Default time-out for AC97 power-save mode" 223 The default time-out value in seconds for AC97 automatic
|
D | mts64.c | 59 u8 time[4]; /* [0]=hh, [1]=mm, [2]=ss, [3]=ff */ member 458 mts->time[0], mts->time[1], in snd_mts64_ctl_smpte_switch_put() 459 mts->time[2], mts->time[3], in snd_mts64_ctl_smpte_switch_put() 518 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get() 529 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put() local 533 if (mts->time[idx] != time) { in snd_mts64_ctl_smpte_time_put() 535 mts->time[idx] = time; in snd_mts64_ctl_smpte_time_put()
|
/sound/pci/echoaudio/ |
D | midi.c | 206 int bytes, sent, time; in snd_echo_midi_output_write() local 241 time = (sent << 3) / 25 + 1; /* 8/25=0.32ms to send a byte */ in snd_echo_midi_output_write() 242 mod_timer(&chip->timer, jiffies + (time * HZ + 999) / 1000); in snd_echo_midi_output_write() 244 "Timer armed(%d)\n", ((time * HZ + 999) / 1000)); in snd_echo_midi_output_write()
|
/sound/isa/sb/ |
D | emu8000_callback.c | 157 unsigned int time; in get_voice() member 165 best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ in get_voice() 200 if (vp->time < bp->time) { in get_voice() 201 bp->time = vp->time; in get_voice()
|
/sound/soc/codecs/ |
D | rt715-sdca-sdw.c | 237 unsigned long time; in rt715_dev_resume() local 245 time = wait_for_completion_timeout(&slave->enumeration_complete, in rt715_dev_resume() 247 if (!time) { in rt715_dev_resume()
|
D | rt711-sdca-sdw.c | 440 unsigned long time; in rt711_sdca_dev_resume() local 456 time = wait_for_completion_timeout(&slave->initialization_complete, in rt711_sdca_dev_resume() 458 if (!time) { in rt711_sdca_dev_resume()
|
D | rt715-sdw.c | 553 unsigned long time; in rt715_dev_resume() local 561 time = wait_for_completion_timeout(&slave->initialization_complete, in rt715_dev_resume() 563 if (!time) { in rt715_dev_resume()
|
D | rt700-sdw.c | 533 unsigned long time; in rt700_dev_resume() local 541 time = wait_for_completion_timeout(&slave->initialization_complete, in rt700_dev_resume() 543 if (!time) { in rt700_dev_resume()
|
D | rt711-sdw.c | 539 unsigned long time; in rt711_dev_resume() local 554 time = wait_for_completion_timeout(&slave->initialization_complete, in rt711_dev_resume() 556 if (!time) { in rt711_dev_resume()
|
D | rt1316-sdw.c | 712 unsigned long time; in rt1316_dev_resume() local 720 time = wait_for_completion_timeout(&slave->initialization_complete, in rt1316_dev_resume() 722 if (!time) { in rt1316_dev_resume()
|
D | rt1308-sdw.c | 720 unsigned long time; in rt1308_dev_resume() local 728 time = wait_for_completion_timeout(&slave->initialization_complete, in rt1308_dev_resume() 730 if (!time) { in rt1308_dev_resume()
|
/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 19 unsigned int time; member 217 best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */ in lookup_voices() 262 if (vp->time < bp->time) { in lookup_voices() 263 bp->time = vp->time; in lookup_voices()
|
/sound/pci/riptide/ |
D | riptide.c | 826 unsigned int time = 0; in sendcmd() local 861 for (j = 0, time = 0; time < CMDIF_TIMEOUT; j++, time += 2) { in sendcmd() 873 time < CMDIF_TIMEOUT) { in sendcmd() 875 time++; in sendcmd() 877 if (time < CMDIF_TIMEOUT) { /* read response */ in sendcmd() 891 if (time == CMDIF_TIMEOUT) { in sendcmd() 898 cif->cmdtime += time; in sendcmd() 899 if (time > cif->cmdtimemax) in sendcmd() 900 cif->cmdtimemax = time; in sendcmd() 901 if (time < cif->cmdtimemin) in sendcmd() [all …]
|
/sound/soc/intel/common/ |
D | sst-dsp.c | 145 u32 target, u32 time, char *operation) in sst_dsp_register_poll() argument 161 timeout = jiffies + msecs_to_jiffies(time); in sst_dsp_register_poll()
|
D | sst-dsp.h | 59 u32 target, u32 time, char *operation);
|
/sound/usb/hiface/ |
D | pcm.c | 185 int i, time; in hiface_pcm_stream_stop() local 191 time = usb_wait_anchor_empty_timeout( in hiface_pcm_stream_stop() 193 if (!time) in hiface_pcm_stream_stop()
|