Lines Matching refs:channel_data
2154 const struct gsi_channel_data *channel_data; in gsi_channel_data_valid() local
2175 channel_data = &data->channel; in gsi_channel_data_valid()
2177 if (!channel_data->tlv_count || in gsi_channel_data_valid()
2178 channel_data->tlv_count > GSI_TLV_MAX) { in gsi_channel_data_valid()
2180 channel_id, channel_data->tlv_count, GSI_TLV_MAX); in gsi_channel_data_valid()
2184 if (command && IPA_COMMAND_TRANS_TRE_MAX > channel_data->tlv_count) { in gsi_channel_data_valid()
2187 channel_data->tlv_count); in gsi_channel_data_valid()
2196 if (channel_data->tre_count < 2 * channel_data->tlv_count - 1) { in gsi_channel_data_valid()
2198 channel_id, channel_data->tlv_count, 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()
2209 if (!is_power_of_2(channel_data->event_count)) { in gsi_channel_data_valid()
2211 channel_id, channel_data->event_count); in gsi_channel_data_valid()