Lines Matching refs:tre_count
1791 if (data->channel.tre_count < 2 * data->channel.tlv_count - 1) { in gsi_channel_data_valid()
1794 data->channel.tre_count); in gsi_channel_data_valid()
1798 if (!is_power_of_2(data->channel.tre_count)) { in gsi_channel_data_valid()
1800 channel_id, data->channel.tre_count); in gsi_channel_data_valid()
1820 u32 tre_count; in gsi_channel_init_one() local
1827 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one()
1828 tre_count = data->channel.event_count; in gsi_channel_init_one()
1830 data->channel_id, tre_count); in gsi_channel_init_one()
1832 tre_count = data->channel.tre_count; in gsi_channel_init_one()
1843 channel->tre_count = tre_count; in gsi_channel_init_one()
1851 ret = gsi_ring_alloc(gsi, &channel->tre_ring, data->channel.tre_count); in gsi_channel_init_one()
2062 return channel->tre_count - (channel->tlv_count - 1); in gsi_channel_tre_max()