Home
last modified time | relevance | path

Searched refs:tre_avail (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ipa/
Dgsi_trans.c304 int avail = atomic_read(&trans_info->tre_avail); in gsi_trans_tre_reserve()
311 } while (!atomic_try_cmpxchg(&trans_info->tre_avail, &avail, new)); in gsi_trans_tre_reserve()
320 atomic_add(tre_count, &trans_info->tre_avail); in gsi_trans_tre_release()
331 return atomic_read(&trans_info->tre_avail) == tre_max; in gsi_channel_trans_idle()
594 if (ring_db || !atomic_read(&channel->trans_info.tre_avail)) { in __gsi_trans_commit()
723 atomic_set(&trans_info->tre_avail, tre_max); in gsi_channel_trans_init()
Dgsi.h76 atomic_t tre_avail; /* TREs available for allocation */ member