Lines Matching refs:tre_count
805 trans = &trans_info->trans[trans_id % channel->tre_count]; in gsi_channel_trans_last()
2196 if (channel_data->tre_count < 2 * channel_data->tlv_count - 1) { in gsi_channel_data_valid()
2199 channel_data->tre_count); in gsi_channel_data_valid()
2203 if (!is_power_of_2(channel_data->tre_count)) { in gsi_channel_data_valid()
2205 channel_id, channel_data->tre_count); in gsi_channel_data_valid()
2224 u32 tre_count; in gsi_channel_init_one() local
2231 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one()
2232 tre_count = data->channel.event_count; in gsi_channel_init_one()
2234 data->channel_id, tre_count); in gsi_channel_init_one()
2236 tre_count = data->channel.tre_count; in gsi_channel_init_one()
2246 channel->tre_count = tre_count; in gsi_channel_init_one()
2253 ret = gsi_ring_alloc(gsi, &channel->tre_ring, data->channel.tre_count); in gsi_channel_init_one()
2430 return channel->tre_count - (channel->trans_tre_max - 1); in gsi_channel_tre_max()