Home
last modified time | relevance | path

Searched refs:avail_slots (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/sound/soc/sti/
Dsti_uniperif.c130 int i, frame_size, avail_slots; in sti_uniperiph_set_tdm_slot() local
144 for (i = 0, avail_slots = 0; i < uni->tdm_slot.slots; i++) { in sti_uniperiph_set_tdm_slot()
146 avail_slots++; in sti_uniperiph_set_tdm_slot()
148 uni->tdm_slot.avail_slots = avail_slots; in sti_uniperiph_set_tdm_slot()
151 frame_size = uni->tdm_slot.avail_slots * uni->tdm_slot.slot_width / 8; in sti_uniperiph_set_tdm_slot()
170 t.min = uni->tdm_slot.avail_slots; in sti_uniperiph_fix_tdm_chan()
171 t.max = uni->tdm_slot.avail_slots; in sti_uniperiph_fix_tdm_chan()
Duniperif.h1290 unsigned int avail_slots; member
/Linux-v6.6/sound/pci/ac97/
Dac97_pcm.c438 unsigned short avail_slots[2][4]; in snd_ac97_pcm_assign() local
448 memset(avail_slots, 0, sizeof(avail_slots)); in snd_ac97_pcm_assign()
455 avail_slots[0][i] = get_pslots(codec, &rate_table[0][i], &spdif_slots[i]); in snd_ac97_pcm_assign()
456 avail_slots[1][i] = get_cslots(codec); in snd_ac97_pcm_assign()
460 avail_slots[1][i] &= ~avail_slots[1][j]; in snd_ac97_pcm_assign()
487 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign()
508 avail_slots[pcm->stream][j] &= ~tmp; in snd_ac97_pcm_assign()
526 avail_slots[pcm->stream][0] &= ~tmp; in snd_ac97_pcm_assign()
/Linux-v6.6/drivers/gpu/drm/display/
Ddrm_dp_mst_topology.c5200 int avail_slots = mst_state->total_avail_slots, payload_count = 0; in drm_dp_mst_atomic_check_payload_alloc_limits() local
5213 avail_slots -= payload->time_slots; in drm_dp_mst_atomic_check_payload_alloc_limits()
5214 if (avail_slots < 0) { in drm_dp_mst_atomic_check_payload_alloc_limits()
5217 payload->port, mst_state, avail_slots + payload->time_slots); in drm_dp_mst_atomic_check_payload_alloc_limits()
5241 mgr, mst_state, mst_state->pbn_div, avail_slots, in drm_dp_mst_atomic_check_payload_alloc_limits()
5242 mst_state->total_avail_slots - avail_slots); in drm_dp_mst_atomic_check_payload_alloc_limits()