Lines Matching refs:utdm
140 ucc_tdm_init(priv->utdm, priv->ut_info); in uhdlc_init()
712 struct ucc_tdm *utdm = priv->utdm; in uhdlc_open() local
730 qe_setbits_8(&utdm->si_regs->siglmr1_h, 0x1 << utdm->tdm_port); in uhdlc_open()
811 struct ucc_tdm *utdm = priv->utdm; in uhdlc_close() local
824 qe_clrbits_8(&utdm->si_regs->siglmr1_h, 0x1 << utdm->tdm_port); in uhdlc_close()
928 struct ucc_tdm *utdm; in uhdlc_resume() local
943 utdm = priv->utdm; in uhdlc_resume()
974 ucc_tdm_init(priv->utdm, priv->ut_info); in uhdlc_resume()
1031 qe_setbits_8(&utdm->si_regs->siglmr1_h, 0x1 << utdm->tdm_port); in uhdlc_resume()
1120 struct ucc_tdm *utdm = NULL; in ucc_hdlc_probe() local
1193 utdm = kzalloc(sizeof(*utdm), GFP_KERNEL); in ucc_hdlc_probe()
1194 if (!utdm) { in ucc_hdlc_probe()
1199 uhdlc_priv->utdm = utdm; in ucc_hdlc_probe()
1200 ret = ucc_of_parse_tdm(np, utdm, ut_info); in ucc_hdlc_probe()
1205 (void __iomem **)&utdm->si_regs); in ucc_hdlc_probe()
1209 (void __iomem **)&utdm->siram); in ucc_hdlc_probe()
1249 if (utdm) in ucc_hdlc_probe()
1250 iounmap(utdm->siram); in ucc_hdlc_probe()
1252 if (utdm) in ucc_hdlc_probe()
1253 iounmap(utdm->si_regs); in ucc_hdlc_probe()
1256 kfree(utdm); in ucc_hdlc_probe()
1268 if (priv->utdm->si_regs) { in ucc_hdlc_remove()
1269 iounmap(priv->utdm->si_regs); in ucc_hdlc_remove()
1270 priv->utdm->si_regs = NULL; in ucc_hdlc_remove()
1273 if (priv->utdm->siram) { in ucc_hdlc_remove()
1274 iounmap(priv->utdm->siram); in ucc_hdlc_remove()
1275 priv->utdm->siram = NULL; in ucc_hdlc_remove()