Lines Matching defs:hw_config
1281 struct snd_soc_tplg_hw_config *hw_config;
1287 /* get current hw_config from link */
1301 hw_config = &slink->hw_configs[i];
1302 if (dai->current_config == le32_to_cpu(hw_config->id)) {
1309 dev_err(sdev->dev, "%s: no matching hw_config found for DAI %s\n", __func__,
1314 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width);
1315 *channel_count = le32_to_cpu(hw_config->tdm_slots);
1316 *sample_rate = le32_to_cpu(hw_config->fsync_rate);
2822 struct snd_soc_tplg_hw_config *hw_config;
2844 hw_config = &slink->hw_configs[i];
2845 if (dai->current_config == le32_to_cpu(hw_config->id)) {
2852 dev_err(sdev->dev, "no matching hw_config found for DAI %s\n", dai->name);
2860 return le32_to_cpu(hw_config->mclk_rate);
2862 return le32_to_cpu(hw_config->bclk_rate);