Searched refs:resolution (Results 1 – 16 of 16) sorted by relevance
/sound/core/seq/ |
D | seq_timer.c | 39 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; in snd_seq_timer_set_tick_resolution() 45 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * 1000; in snd_seq_timer_set_tick_resolution() 46 tmr->tick.resolution += s; in snd_seq_timer_set_tick_resolution() 48 if (tmr->tick.resolution <= 0) in snd_seq_timer_set_tick_resolution() 49 tmr->tick.resolution = 1; in snd_seq_timer_set_tick_resolution() 131 unsigned long resolution, in snd_seq_timer_interrupt() argument 146 resolution *= ticks; in snd_seq_timer_interrupt() 149 resolution = (resolution >> 16) * tmr->skew + in snd_seq_timer_interrupt() 150 (((resolution & 0xffff) * tmr->skew) >> 16); in snd_seq_timer_interrupt() 156 snd_seq_inc_time_nsec(&tmr->cur_time, resolution); in snd_seq_timer_interrupt() [all …]
|
D | seq_timer.h | 29 unsigned long resolution; /* time per tick in nsec */ member 69 unsigned long resolution) in snd_seq_timer_update_tick() argument 71 if (tick->resolution > 0) { in snd_seq_timer_update_tick() 72 tick->fraction += resolution; in snd_seq_timer_update_tick() 73 tick->cur_tick += (unsigned int)(tick->fraction / tick->resolution); in snd_seq_timer_update_tick() 74 tick->fraction %= tick->resolution; in snd_seq_timer_update_tick()
|
D | seq_clientmgr.c | 1766 timer.u.alsa.resolution = tmr->preferred_resolution; in snd_seq_ioctl_get_queue_timer() 1806 tmr->preferred_resolution = timer.u.alsa.resolution; in snd_seq_ioctl_set_queue_timer()
|
/sound/core/ |
D | hrtimer.c | 36 static unsigned int resolution; variable 53 oruns = hrtimer_forward_now(hrt, ns_to_ktime(t->sticks * resolution)); in snd_hrtimer_callback() 94 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start() 134 resolution = tp.tv_nsec; in snd_hrtimer_init() 145 timer->hw.resolution = resolution; in snd_hrtimer_init() 146 timer->hw.ticks = NANO_SEC / resolution; in snd_hrtimer_init()
|
D | timer.c | 383 return timer->hw.resolution; in snd_timer_resolution() 392 unsigned long resolution = 0; in snd_timer_notify1() local 405 resolution = snd_timer_resolution(ti); in snd_timer_notify1() 407 ti->ccallback(ti, event, &tstamp, resolution); in snd_timer_notify1() 418 ts->ccallback(ti, event + 100, &tstamp, resolution); in snd_timer_notify1() 633 unsigned long resolution, ticks; in snd_timer_tasklet() local 647 resolution = ti->resolution; in snd_timer_tasklet() 652 ti->callback(ti, resolution, ticks); in snd_timer_tasklet() 668 unsigned long resolution, ticks; in snd_timer_interrupt() local 680 resolution = timer->hw.c_resolution(timer); in snd_timer_interrupt() [all …]
|
D | timer_compat.c | 31 u32 resolution; member 54 info.resolution = t->hw.resolution; in snd_timer_user_info_compat() 62 u32 resolution; member 80 status.resolution = snd_timer_resolution(tu->timeri); in snd_timer_user_status_compat()
|
D | rtctimer.c | 148 timer->hw.resolution = NANO_SEC / rtctimer_freq; in rtctimer_init()
|
D | pcm_timer.c | 92 .resolution = 0,
|
/sound/isa/gus/ |
D | gus_timer.c | 129 .resolution = 80000, 138 .resolution = 320000,
|
/sound/pci/emu10k1/ |
D | timer.c | 71 .resolution = 20833, /* 1 sample @ 48KHZ = 20.833...us */
|
/sound/drivers/opl3/ |
D | opl3_lib.c | 235 .resolution = 80000, 244 .resolution = 320000,
|
/sound/pci/ |
D | azt3328.c | 2340 .resolution = 977, /* 1000000/1024000 = 0.9765625us */ 2361 snd_azf3328_timer_hw.resolution *= seqtimer_scaling; in snd_azf3328_timer()
|
/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 436 .resolution = 10000,
|
/sound/sparc/ |
D | cs4231.c | 872 .resolution = 9945,
|
/sound/isa/wss/ |
D | wss_lib.c | 981 .resolution = 9945,
|
/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1967 .resolution = 10417, /* 1 / 96 kHz = 10.41666...us */
|