Home
last modified time | relevance | path

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

/sound/core/seq/
Dseq_memory.c36 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()
182 atomic_dec(&pool->counter); in free_cell()
265 atomic_inc(&pool->counter); in snd_seq_cell_alloc()
266 used = atomic_read(&pool->counter); in snd_seq_cell_alloc()
431 while (atomic_read(&pool->counter) > 0) { in snd_seq_pool_done()
433 …d_printk(KERN_WARNING "snd_seq_pool_done timeout: %d cells remain\n", atomic_read(&pool->counter)); in snd_seq_pool_done()
473 atomic_set(&pool->counter, 0); in snd_seq_pool_new()
516 snd_iprintf(buffer, "%sCells in use : %d\n", space, atomic_read(&pool->counter)); in snd_seq_info_pool()
Dseq_memory.h44 atomic_t counter; /* cells free */ member
72 return pool ? pool->total_elements - atomic_read(&pool->counter) : 0; in snd_seq_unused_cells()
/sound/soc/blackfin/
Dbf5xx-i2s.c52 int counter; member
141 bf5xx_i2s.counter++; in bf5xx_i2s_startup()
171 if (bf5xx_i2s.counter == 1) { in bf5xx_i2s_hw_params()
202 bf5xx_i2s.counter--; in bf5xx_i2s_shutdown()
/sound/synth/emux/
Dsoundfont.c349 zp->counter = sflist->zone_counter++; in set_zone_counter()
381 sp->counter = sflist->sample_counter++; in set_sample_counter()
1177 if (p->counter > cur->counter) in add_preset()
1462 if (zp->counter < sflist->zone_locked) in snd_soundfont_remove_unlocked()
1470 if (sp->counter < sflist->sample_locked) in snd_soundfont_remove_unlocked()