Home
last modified time | relevance | path

Searched refs:tempo (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/sound/core/seq/
Dseq_timer.c38 if (tmr->tempo < 1000000) in snd_seq_timer_set_tick_resolution()
39 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; in snd_seq_timer_set_tick_resolution()
43 s = tmr->tempo % 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()
97 tmr->tempo = 500000; /* 120 BPM */ in snd_seq_timer_defaults()
171 int snd_seq_timer_set_tempo(struct snd_seq_timer * tmr, int tempo) in snd_seq_timer_set_tempo() argument
177 if (tempo <= 0) in snd_seq_timer_set_tempo()
180 if ((unsigned int)tempo != tmr->tempo) { in snd_seq_timer_set_tempo()
181 tmr->tempo = tempo; in snd_seq_timer_set_tempo()
Dseq_clientmgr.c1685 struct snd_seq_queue_tempo tempo; in snd_seq_ioctl_get_queue_tempo() local
1689 if (copy_from_user(&tempo, arg, sizeof(tempo))) in snd_seq_ioctl_get_queue_tempo()
1692 queue = queueptr(tempo.queue); in snd_seq_ioctl_get_queue_tempo()
1695 memset(&tempo, 0, sizeof(tempo)); in snd_seq_ioctl_get_queue_tempo()
1696 tempo.queue = queue->queue; in snd_seq_ioctl_get_queue_tempo()
1700 tempo.tempo = tmr->tempo; in snd_seq_ioctl_get_queue_tempo()
1701 tempo.ppq = tmr->ppq; in snd_seq_ioctl_get_queue_tempo()
1702 tempo.skew_value = tmr->skew; in snd_seq_ioctl_get_queue_tempo()
1703 tempo.skew_base = tmr->skew_base; in snd_seq_ioctl_get_queue_tempo()
1706 if (copy_to_user(arg, &tempo, sizeof(tempo))) in snd_seq_ioctl_get_queue_tempo()
[all …]
Dseq_timer.h39 unsigned int tempo; /* current tempo, us/tick */ member
133 int snd_seq_timer_set_tempo(struct snd_seq_timer *tmr, int tempo);
Dseq_queue.c494 result = snd_seq_timer_set_tempo(q->timer, info->tempo); in snd_seq_queue_timer_set_tempo()
772 if (tmr->tempo) in snd_seq_info_queues_read()
773 bpm = 60000000 / tmr->tempo; in snd_seq_info_queues_read()
784 snd_iprintf(buffer, "current tempo : %d\n", tmr->tempo); in snd_seq_info_queues_read()
/linux-3.4.99/sound/core/seq/oss/
Dseq_oss_timer.c131 timer->tempo = (60 * 1000000) / timer->oss_tempo; in calc_alsa_tempo()
171 tmprec.tempo = timer->tempo; in snd_seq_oss_timer_start()
222 send_timer_event(timer->dp, SNDRV_SEQ_EVENT_TEMPO, timer->tempo); in snd_seq_oss_timer_tempo()
Dseq_oss_timer.h35 int tempo, ppq; /* ALSA queue */ member
/linux-3.4.99/include/sound/
Dseq_kernel.h97 int snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo);
Dasequencer.h565 unsigned int tempo; /* current tempo, us/tick */ member
/linux-3.4.99/drivers/media/dvb/frontends/
Dstv0367.c1270 short int wd, tempo; in stv0367ter_lock_algo() local
1365 tempo = stv0367ter_duration(mode, 4, 16, 8); in stv0367ter_lock_algo()
1369 usleep_range(1000 * tempo, 1000 * (tempo + 1)); in stv0367ter_lock_algo()
1370 wd -= tempo; in stv0367ter_lock_algo()
1421 usleep_range(1000 * tempo, 1000 * (tempo + 1)); in stv0367ter_lock_algo()
1422 wd -= tempo; in stv0367ter_lock_algo()
1585 int offset = 0, tempo = 0; in stv0367ter_algo() local
1759 tempo = 10; /* exit even if timing_offset stays null */ in stv0367ter_algo()
1760 while ((timing_offset == 0) && (tempo > 0)) { in stv0367ter_algo()
1775 tempo--; in stv0367ter_algo()