Searched refs:avail_slots (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/sound/soc/sti/ |
D | sti_uniperif.c | 130 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()
|
D | uniperif.h | 1290 unsigned int avail_slots; member
|
/linux-6.1.9/sound/pci/ac97/ |
D | ac97_pcm.c | 438 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-6.1.9/drivers/gpu/drm/display/ |
D | drm_dp_mst_topology.c | 5119 int avail_slots = mst_state->total_avail_slots, payload_count = 0; in drm_dp_mst_atomic_check_payload_alloc_limits() local 5132 avail_slots -= payload->time_slots; in drm_dp_mst_atomic_check_payload_alloc_limits() 5133 if (avail_slots < 0) { in drm_dp_mst_atomic_check_payload_alloc_limits() 5136 payload->port, mst_state, avail_slots + payload->time_slots); in drm_dp_mst_atomic_check_payload_alloc_limits() 5160 mgr, mst_state, mst_state->pbn_div, avail_slots, in drm_dp_mst_atomic_check_payload_alloc_limits() 5161 mst_state->total_avail_slots - avail_slots); in drm_dp_mst_atomic_check_payload_alloc_limits()
|