Home
last modified time | relevance | path

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

/Linux-v5.4/sound/core/seq/
Dseq_timer.c24 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()
29 s = (s * 1000) / 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()
82 tmr->ppq = 96; /* 96 PPQ */ in snd_seq_timer_defaults()
180 int snd_seq_timer_set_tempo_ppq(struct snd_seq_timer *tmr, int tempo, int ppq) in snd_seq_timer_set_tempo_ppq() argument
187 if (tempo <= 0 || ppq <= 0) in snd_seq_timer_set_tempo_ppq()
190 if (tmr->running && (ppq != tmr->ppq)) { in snd_seq_timer_set_tempo_ppq()
197 changed = (tempo != tmr->tempo) || (ppq != tmr->ppq); in snd_seq_timer_set_tempo_ppq()
199 tmr->ppq = ppq; in snd_seq_timer_set_tempo_ppq()
Dseq_timer.h25 int ppq; /* time resolution, ticks/quarter */ member
119 int snd_seq_timer_set_tempo_ppq(struct snd_seq_timer *tmr, int tempo, int ppq);
Dseq_queue.c467 result = snd_seq_timer_set_tempo_ppq(q->timer, info->tempo, info->ppq); in snd_seq_queue_timer_set_tempo()
759 snd_iprintf(buffer, "timer PPQ : %d\n", tmr->ppq); in snd_seq_info_queues_read()
Dseq_clientmgr.c1691 tempo->ppq = tmr->ppq; in snd_seq_ioctl_get_queue_tempo()
/Linux-v5.4/sound/core/seq/oss/
Dseq_oss_timer.c119 timer->ppq = timer->oss_timebase; in calc_alsa_tempo()
157 tmprec.ppq = timer->ppq; in snd_seq_oss_timer_start()
Dseq_oss_timer.h22 int tempo, ppq; /* ALSA queue */ member
/Linux-v5.4/include/uapi/sound/
Dasequencer.h506 int ppq; /* time resolution, ticks/quarter */ member
/Linux-v5.4/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-hw.c1506 unsigned int ppq, ppq_extra, prio, prio_queues; in xlgmac_config_queue_mapping() local
1551 ppq = IEEE_8021QAZ_MAX_TCS / prio_queues; in xlgmac_config_queue_mapping()
1558 for (j = 0; j < ppq; j++) { in xlgmac_config_queue_mapping()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c2604 unsigned int ppq, ppq_extra, prio; in xgbe_config_queue_mapping() local
2634 ppq = IEEE_8021QAZ_MAX_TCS / prio_queues; in xgbe_config_queue_mapping()
2641 for (j = 0; j < ppq; j++) { in xgbe_config_queue_mapping()