Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 7 of 7) sorted by relevance

/sound/core/seq/
Dseq_memory.c24 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()
171 atomic_dec(&pool->counter); in free_cell()
259 atomic_inc(&pool->counter); in snd_seq_cell_alloc()
260 used = atomic_read(&pool->counter); in snd_seq_cell_alloc()
435 while (atomic_read(&pool->counter) > 0) in snd_seq_pool_done()
469 atomic_set(&pool->counter, 0); in snd_seq_pool_new()
501 snd_iprintf(buffer, "%sCells in use : %d\n", space, atomic_read(&pool->counter)); in snd_seq_info_pool()
Dseq_memory.h31 atomic_t counter; /* cells free */ member
60 return pool ? pool->total_elements - atomic_read(&pool->counter) : 0; in snd_seq_unused_cells()
Dseq_clientmgr.c1861 if (atomic_read(&client->pool->counter)) in snd_seq_ioctl_set_client_pool()
/sound/hda/
Dhdac_controller.c280 unsigned int counter = 0; in snd_hdac_bus_parse_capabilities() local
334 counter++; in snd_hdac_bus_parse_capabilities()
336 if (counter > HDAC_MAX_CAPS) { in snd_hdac_bus_parse_capabilities()
/sound/synth/emux/
Dsoundfont.c339 zp->counter = sflist->zone_counter++; in set_zone_counter()
371 sp->counter = sflist->sample_counter++; in set_sample_counter()
1174 if (p->counter > cur->counter) in add_preset()
1459 if (zp->counter < sflist->zone_locked) in snd_soundfont_remove_unlocked()
1467 if (sp->counter < sflist->sample_locked) in snd_soundfont_remove_unlocked()
/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c188 unsigned int counter = runtime->period_size; in mtk_afe_fe_trigger() local
202 irq_data->irq_cnt_maskbit, counter, in mtk_afe_fe_trigger()
/sound/soc/codecs/
Dtlv320aic31xx.c332 int counter = count; in aic31xx_wait_bits() local
335 while ((bits & mask) != wbits && counter && !ret) { in aic31xx_wait_bits()
338 counter--; in aic31xx_wait_bits()
344 (count - counter) * sleep); in aic31xx_wait_bits()