Lines Matching refs:ut_info
25 static void set_si_param(struct ucc_tdm *utdm, struct ucc_tdm_info *ut_info) in set_si_param() argument
27 struct si_mode_info *si_info = &ut_info->si_info; in set_si_param()
36 struct ucc_tdm_info *ut_info) in ucc_of_parse_tdm() argument
44 ut_info->uf_info.rx_sync = qe_clock_source(sprop); in ucc_of_parse_tdm()
45 if ((ut_info->uf_info.rx_sync < QE_CLK_NONE) || in ucc_of_parse_tdm()
46 (ut_info->uf_info.rx_sync > QE_RSYNC_PIN)) { in ucc_of_parse_tdm()
57 ut_info->uf_info.tx_sync = qe_clock_source(sprop); in ucc_of_parse_tdm()
58 if ((ut_info->uf_info.tx_sync < QE_CLK_NONE) || in ucc_of_parse_tdm()
59 (ut_info->uf_info.tx_sync > QE_TSYNC_PIN)) { in ucc_of_parse_tdm()
90 ut_info->uf_info.tdm_num = utdm->tdm_port; in ucc_of_parse_tdm()
116 set_si_param(utdm, ut_info); in ucc_of_parse_tdm()
121 void ucc_tdm_init(struct ucc_tdm *utdm, struct ucc_tdm_info *ut_info) in ucc_tdm_init() argument
137 ucc_num = ut_info->uf_info.ucc_num; in ucc_tdm_init()
185 sixmr |= SIMR_RFSD(ut_info->si_info.simr_rfsd) | in ucc_tdm_init()
186 SIMR_TFSD(ut_info->si_info.simr_tfsd); in ucc_tdm_init()
188 if (ut_info->si_info.simr_crt) in ucc_tdm_init()
190 if (ut_info->si_info.simr_sl) in ucc_tdm_init()
192 if (ut_info->si_info.simr_ce) in ucc_tdm_init()
194 if (ut_info->si_info.simr_fe) in ucc_tdm_init()
196 if (ut_info->si_info.simr_gm) in ucc_tdm_init()