Lines Matching refs:sai
1039 memset(&config->sai, 0, sizeof(config->sai)); in sof_link_sai_load()
1043 ret = sof_update_ipc_object(scomp, &config->sai, SOF_SAI_TOKENS, slink->tuples, in sof_link_sai_load()
1048 config->sai.mclk_rate = le32_to_cpu(hw_config->mclk_rate); in sof_link_sai_load()
1049 config->sai.bclk_rate = le32_to_cpu(hw_config->bclk_rate); in sof_link_sai_load()
1050 config->sai.fsync_rate = le32_to_cpu(hw_config->fsync_rate); in sof_link_sai_load()
1051 config->sai.mclk_direction = hw_config->mclk_direction; in sof_link_sai_load()
1053 config->sai.tdm_slots = le32_to_cpu(hw_config->tdm_slots); in sof_link_sai_load()
1054 config->sai.tdm_slot_width = le32_to_cpu(hw_config->tdm_slot_width); in sof_link_sai_load()
1055 config->sai.rx_slots = le32_to_cpu(hw_config->rx_slots); in sof_link_sai_load()
1056 config->sai.tx_slots = le32_to_cpu(hw_config->tx_slots); in sof_link_sai_load()
1061 config->sai.mclk_rate, config->sai.tdm_slot_width, in sof_link_sai_load()
1062 config->sai.tdm_slots, config->sai.mclk_id); in sof_link_sai_load()
1064 if (config->sai.tdm_slots < 1 || config->sai.tdm_slots > 8) { in sof_link_sai_load()