Lines Matching refs:tre_count
737 trans = &trans_info->trans[trans_id % channel->tre_count]; in gsi_channel_trans_last()
2042 if (channel_data->tre_count < 2 * channel_data->tlv_count - 1) { in gsi_channel_data_valid()
2045 channel_data->tre_count); in gsi_channel_data_valid()
2049 if (!is_power_of_2(channel_data->tre_count)) { in gsi_channel_data_valid()
2051 channel_id, channel_data->tre_count); in gsi_channel_data_valid()
2070 u32 tre_count; in gsi_channel_init_one() local
2077 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one()
2078 tre_count = data->channel.event_count; in gsi_channel_init_one()
2080 data->channel_id, tre_count); in gsi_channel_init_one()
2082 tre_count = data->channel.tre_count; in gsi_channel_init_one()
2092 channel->tre_count = tre_count; in gsi_channel_init_one()
2099 ret = gsi_ring_alloc(gsi, &channel->tre_ring, data->channel.tre_count); in gsi_channel_init_one()
2306 return channel->tre_count - (channel->trans_tre_max - 1); in gsi_channel_tre_max()