/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_timer.c | 23 if (tmr->tempo < 1000000) in snd_seq_timer_set_tick_resolution() 24 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; in snd_seq_timer_set_tick_resolution() 28 s = tmr->tempo % tmr->ppq; in snd_seq_timer_set_tick_resolution() 30 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * 1000; in snd_seq_timer_set_tick_resolution() 83 tmr->tempo = 500000; /* 120 BPM */ in snd_seq_timer_defaults() 161 /* set current tempo */ 162 int snd_seq_timer_set_tempo(struct snd_seq_timer * tmr, int tempo) in snd_seq_timer_set_tempo() argument 168 if (tempo <= 0) in snd_seq_timer_set_tempo() 171 if ((unsigned int)tempo != tmr->tempo) { in snd_seq_timer_set_tempo() 180 snd_seq_timer_set_tempo_ppq(struct snd_seq_timer *tmr, int tempo, int ppq) snd_seq_timer_set_tempo_ppq() argument [all...] |
H A D | seq_timer.h | 19 /* ... tempo / offset / running state */ 24 unsigned int tempo; /* current tempo, us/tick */ member 118 int snd_seq_timer_set_tempo(struct snd_seq_timer *tmr, int tempo); 119 int snd_seq_timer_set_tempo_ppq(struct snd_seq_timer *tmr, int tempo, int ppq);
|
H A D | seq_clientmgr.c | 1676 struct snd_seq_queue_tempo *tempo = arg; in snd_seq_ioctl_get_queue_tempo() local 1680 queue = queueptr(tempo->queue); in snd_seq_ioctl_get_queue_tempo() 1683 memset(tempo, 0, sizeof(*tempo)); in snd_seq_ioctl_get_queue_tempo() 1684 tempo->queue = queue->queue; in snd_seq_ioctl_get_queue_tempo() 1688 tempo->tempo = tmr->tempo; in snd_seq_ioctl_get_queue_tempo() 1689 tempo->ppq = tmr->ppq; in snd_seq_ioctl_get_queue_tempo() 1690 tempo in snd_seq_ioctl_get_queue_tempo() 1699 snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo) snd_seq_set_queue_tempo() argument 1710 struct snd_seq_queue_tempo *tempo = arg; snd_seq_ioctl_set_queue_tempo() local 2121 struct snd_seq_queue_tempo tempo; snd_seq_ioctl() member [all...] |
H A D | seq_queue.c | 469 /* change queue tempo and ppq */ 483 result = snd_seq_timer_set_tempo_ppq(q->timer, info->tempo, info->ppq); in snd_seq_queue_timer_set_tempo() 768 if (tmr->tempo) in snd_seq_info_queues_read() 769 bpm = 60000000 / tmr->tempo; in snd_seq_info_queues_read() 785 snd_iprintf(buffer, "current tempo : %d\n", tmr->tempo); in snd_seq_info_queues_read()
|
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_timer.c | 23 if (tmr->tempo < 1000000) in snd_seq_timer_set_tick_resolution() 24 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; in snd_seq_timer_set_tick_resolution() 28 s = tmr->tempo % tmr->ppq; in snd_seq_timer_set_tick_resolution() 30 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * 1000; in snd_seq_timer_set_tick_resolution() 83 tmr->tempo = 500000; /* 120 BPM */ in snd_seq_timer_defaults() 161 /* set current tempo */ 162 int snd_seq_timer_set_tempo(struct snd_seq_timer * tmr, int tempo) in snd_seq_timer_set_tempo() argument 168 if (tempo <= 0) in snd_seq_timer_set_tempo() 171 if ((unsigned int)tempo != tmr->tempo) { in snd_seq_timer_set_tempo() 180 snd_seq_timer_set_tempo_ppq(struct snd_seq_timer *tmr, int tempo, int ppq) snd_seq_timer_set_tempo_ppq() argument [all...] |
H A D | seq_timer.h | 19 /* ... tempo / offset / running state */ 24 unsigned int tempo; /* current tempo, us/tick */ member 118 int snd_seq_timer_set_tempo(struct snd_seq_timer *tmr, int tempo); 119 int snd_seq_timer_set_tempo_ppq(struct snd_seq_timer *tmr, int tempo, int ppq);
|
H A D | seq_clientmgr.c | 1705 struct snd_seq_queue_tempo *tempo = arg; in snd_seq_ioctl_get_queue_tempo() local 1709 queue = queueptr(tempo->queue); in snd_seq_ioctl_get_queue_tempo() 1712 memset(tempo, 0, sizeof(*tempo)); in snd_seq_ioctl_get_queue_tempo() 1713 tempo->queue = queue->queue; in snd_seq_ioctl_get_queue_tempo() 1717 tempo->tempo = tmr->tempo; in snd_seq_ioctl_get_queue_tempo() 1718 tempo->ppq = tmr->ppq; in snd_seq_ioctl_get_queue_tempo() 1719 tempo in snd_seq_ioctl_get_queue_tempo() 1728 snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo) snd_seq_set_queue_tempo() argument 1739 struct snd_seq_queue_tempo *tempo = arg; snd_seq_ioctl_set_queue_tempo() local 2284 struct snd_seq_queue_tempo tempo; snd_seq_ioctl() member [all...] |
H A D | seq_queue.c | 471 /* change queue tempo and ppq */ 485 result = snd_seq_timer_set_tempo_ppq(q->timer, info->tempo, info->ppq); in snd_seq_queue_timer_set_tempo() 748 if (tmr->tempo) in snd_seq_info_queues_read() 749 bpm = 60000000 / tmr->tempo; in snd_seq_info_queues_read() 765 snd_iprintf(buffer, "current tempo : %d\n", tmr->tempo); in snd_seq_info_queues_read()
|
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
H A D | seq_oss_timer.c | 113 * convert tempo units 118 timer->tempo = (60 * 1000000) / timer->oss_tempo; in calc_alsa_tempo() 144 * set queue tempo and start queue 158 tmprec.tempo = timer->tempo; in snd_seq_oss_timer_start() 197 * change queue tempo 209 send_timer_event(timer->dp, SNDRV_SEQ_EVENT_TEMPO, timer->tempo); in snd_seq_oss_timer_tempo()
|
H A D | seq_oss_timer.h | 22 int tempo, ppq; /* ALSA queue */ member
|
/kernel/linux/linux-6.6/sound/core/seq/oss/ |
H A D | seq_oss_timer.c | 113 * convert tempo units 118 timer->tempo = (60 * 1000000) / timer->oss_tempo; in calc_alsa_tempo() 144 * set queue tempo and start queue 158 tmprec.tempo = timer->tempo; in snd_seq_oss_timer_start() 197 * change queue tempo 209 send_timer_event(timer->dp, SNDRV_SEQ_EVENT_TEMPO, timer->tempo); in snd_seq_oss_timer_tempo()
|
H A D | seq_oss_timer.h | 22 int tempo, ppq; /* ALSA queue */ member
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | seq_kernel.h | 77 int snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo);
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | seq_kernel.h | 87 int snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo);
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | stv0367.c | 688 short int wd, tempo; in stv0367ter_lock_algo() local 783 tempo = stv0367ter_duration(mode, 4, 16, 8); in stv0367ter_lock_algo() 787 usleep_range(1000 * tempo, 1000 * (tempo + 1)); in stv0367ter_lock_algo() 788 wd -= tempo; in stv0367ter_lock_algo() 839 usleep_range(1000 * tempo, 1000 * (tempo + 1)); in stv0367ter_lock_algo() 840 wd -= tempo; in stv0367ter_lock_algo() 849 tempo=0; in stv0367ter_lock_algo() 851 (stv0367_readbits(state,F367TER_COM_AGCLOCK)!=1)&&(tempo<10 in stv0367ter_lock_algo() 982 int offset = 0, tempo = 0; stv0367ter_algo() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | stv0367.c | 688 short int wd, tempo; in stv0367ter_lock_algo() local 783 tempo = stv0367ter_duration(mode, 4, 16, 8); in stv0367ter_lock_algo() 787 usleep_range(1000 * tempo, 1000 * (tempo + 1)); in stv0367ter_lock_algo() 788 wd -= tempo; in stv0367ter_lock_algo() 839 usleep_range(1000 * tempo, 1000 * (tempo + 1)); in stv0367ter_lock_algo() 840 wd -= tempo; in stv0367ter_lock_algo() 849 tempo=0; in stv0367ter_lock_algo() 851 (stv0367_readbits(state,F367TER_COM_AGCLOCK)!=1)&&(tempo<10 in stv0367ter_lock_algo() 982 int offset = 0, tempo = 0; stv0367ter_algo() local [all...] |
/kernel/linux/linux-5.10/include/uapi/sound/ |
H A D | asequencer.h | 80 #define SNDRV_SEQ_EVENT_QUEUE_SKEW 38 /* skew queue tempo */ 255 signed int value; /* affected value (e.g. tempo) */ 502 /* queue tempo */ 505 unsigned int tempo; /* current tempo, us/tick */ member
|
/kernel/linux/linux-6.6/include/uapi/sound/ |
H A D | asequencer.h | 64 #define SNDRV_SEQ_EVENT_QUEUE_SKEW 38 /* skew queue tempo */ 240 signed int value; /* affected value (e.g. tempo) */ 523 /* queue tempo */ 526 unsigned int tempo; /* current tempo, us/tick */ member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/ |
H A D | asequencer.h | 335 unsigned int tempo; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/sound/ |
H A D | asequencer.h | 324 unsigned int tempo; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/ |
H A D | asequencer.h | 324 unsigned int tempo; member
|