Lines Matching refs:regs
2080 const struct dai_intel_ipc4_ssp_config_ver_3_0 *regs = spec_config; in dai_ssp_set_reg_config() local
2082 uint32_t ssc0 = regs->ssc0; in dai_ssp_set_reg_config()
2083 sscr1 = regs->ssc1 & ~(SSCR1_RSVD21); in dai_ssp_set_reg_config()
2088 sys_write32(regs->ssc2 & ~SSCR2_SFRMEN, dai_base(dp) + SSCR2); /* hardware specific flow */ in dai_ssp_set_reg_config()
2090 sys_write32(regs->ssc2 | SSCR2_SFRMEN, dai_base(dp) + SSCR2); /* hardware specific flow */ in dai_ssp_set_reg_config()
2091 sys_write32(regs->ssc2, dai_base(dp) + SSCR2); in dai_ssp_set_reg_config()
2092 sys_write32(regs->sspsp, dai_base(dp) + SSPSP); in dai_ssp_set_reg_config()
2093 sys_write32(regs->sspsp2, dai_base(dp) + SSPSP2); in dai_ssp_set_reg_config()
2094 sys_write32(regs->ssioc, dai_base(dp) + SSIOC); in dai_ssp_set_reg_config()
2095 sys_write32(regs->sscto, dai_base(dp) + SSTO); in dai_ssp_set_reg_config()
2098 sys_write64(regs->ssmidytsa[idx], dai_base(dp) + SSMIDyTSA(idx)); in dai_ssp_set_reg_config()
2102 sys_write64(regs->ssmodytsa[idx], dai_base(dp) + SSMODyTSA(idx)); in dai_ssp_set_reg_config()
2106 ssc0, sscr1, regs->sscto, regs->sspsp); in dai_ssp_set_reg_config()
2108 regs->ssc2, regs->sspsp2, regs->ssc3); in dai_ssp_set_reg_config()
2109 LOG_INF(" ssioc = 0x%08x", regs->ssioc); in dai_ssp_set_reg_config()
2116 ssp_plat_data->params.tx_slots = regs->ssmodytsa[dp->tdm_slot_group]; in dai_ssp_set_reg_config()
2117 ssp_plat_data->params.rx_slots = regs->ssmidytsa[dp->tdm_slot_group]; in dai_ssp_set_reg_config()
2128 const struct dai_intel_ipc4_ssp_config *regs = spec_config; in dai_ssp_set_reg_config() local
2132 uint32_t ssc0 = regs->ssc0; in dai_ssp_set_reg_config()
2134 sscr1 = regs->ssc1 & ~(SSCR1_RSRE | SSCR1_TSRE); in dai_ssp_set_reg_config()
2135 sstsa = SSTSA_GET(regs->sstsa); in dai_ssp_set_reg_config()
2136 ssrsa = SSRSA_GET(regs->ssrsa); in dai_ssp_set_reg_config()
2140 if (regs->sstsa & SSTSA_TXEN || regs->ssrsa & SSRSA_RXEN || in dai_ssp_set_reg_config()
2141 regs->ssc1 & (SSCR1_RSRE | SSCR1_TSRE)) { in dai_ssp_set_reg_config()
2143 regs->sstsa & SSTSA_TXEN ? "SSTSA:TXEN " : "", in dai_ssp_set_reg_config()
2144 regs->ssrsa & SSRSA_RXEN ? "SSRSA:RXEN " : "", in dai_ssp_set_reg_config()
2145 regs->ssc1 & SSCR1_TSRE ? "SSCR1:TSRE " : "", in dai_ssp_set_reg_config()
2146 regs->ssc1 & SSCR1_RSRE ? "SSCR1:RSRE " : ""); in dai_ssp_set_reg_config()
2150 sys_write32(regs->ssc2 & ~SSCR2_SFRMEN, dai_base(dp) + SSCR2); /* hardware specific flow */ in dai_ssp_set_reg_config()
2152 sys_write32(regs->ssc2 | SSCR2_SFRMEN, dai_base(dp) + SSCR2); /* hardware specific flow */ in dai_ssp_set_reg_config()
2153 sys_write32(regs->ssc2, dai_base(dp) + SSCR2); in dai_ssp_set_reg_config()
2154 sys_write32(regs->ssc3, dai_base(dp) + SSCR3); in dai_ssp_set_reg_config()
2155 sys_write32(regs->sspsp, dai_base(dp) + SSPSP); in dai_ssp_set_reg_config()
2156 sys_write32(regs->sspsp2, dai_base(dp) + SSPSP2); in dai_ssp_set_reg_config()
2157 sys_write32(regs->ssioc, dai_base(dp) + SSIOC); in dai_ssp_set_reg_config()
2158 sys_write32(regs->sscto, dai_base(dp) + SSTO); in dai_ssp_set_reg_config()
2163 ssc0, sscr1, regs->sscto, regs->sspsp); in dai_ssp_set_reg_config()
2165 regs->ssc2, regs->sspsp2, regs->ssc3); in dai_ssp_set_reg_config()
2167 regs->ssioc, ssrsa, sstsa); in dai_ssp_set_reg_config()