Searched refs:counter (Results 1 – 4 of 4) sorted by relevance
36 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()
44 atomic_t counter; /* cells free */ member72 return pool ? pool->total_elements - atomic_read(&pool->counter) : 0; in snd_seq_unused_cells()
52 int counter; member141 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()
349 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()