utdm              138 drivers/net/wan/fsl_ucc_hdlc.c 		ucc_tdm_init(priv->utdm, priv->ut_info);
utdm              708 drivers/net/wan/fsl_ucc_hdlc.c 	struct ucc_tdm *utdm = priv->utdm;
utdm              725 drivers/net/wan/fsl_ucc_hdlc.c 			utdm->si_regs->siglmr1_h |= (0x1 << utdm->tdm_port);
utdm              803 drivers/net/wan/fsl_ucc_hdlc.c 	struct ucc_tdm *utdm = priv->utdm;
utdm              816 drivers/net/wan/fsl_ucc_hdlc.c 		utdm->si_regs->siglmr1_h &= ~(0x1 << utdm->tdm_port);
utdm              920 drivers/net/wan/fsl_ucc_hdlc.c 	struct ucc_tdm *utdm;
utdm              935 drivers/net/wan/fsl_ucc_hdlc.c 	utdm = priv->utdm;
utdm              966 drivers/net/wan/fsl_ucc_hdlc.c 		ucc_tdm_init(priv->utdm, priv->ut_info);
utdm             1024 drivers/net/wan/fsl_ucc_hdlc.c 			utdm->si_regs->siglmr1_h |= (0x1 << utdm->tdm_port);
utdm             1113 drivers/net/wan/fsl_ucc_hdlc.c 	struct ucc_tdm *utdm = NULL;
utdm             1192 drivers/net/wan/fsl_ucc_hdlc.c 		utdm = kzalloc(sizeof(*utdm), GFP_KERNEL);
utdm             1193 drivers/net/wan/fsl_ucc_hdlc.c 		if (!utdm) {
utdm             1198 drivers/net/wan/fsl_ucc_hdlc.c 		uhdlc_priv->utdm = utdm;
utdm             1199 drivers/net/wan/fsl_ucc_hdlc.c 		ret = ucc_of_parse_tdm(np, utdm, ut_info);
utdm             1204 drivers/net/wan/fsl_ucc_hdlc.c 				     (void __iomem **)&utdm->si_regs);
utdm             1208 drivers/net/wan/fsl_ucc_hdlc.c 				     (void __iomem **)&utdm->siram);
utdm             1248 drivers/net/wan/fsl_ucc_hdlc.c 	iounmap(utdm->siram);
utdm             1250 drivers/net/wan/fsl_ucc_hdlc.c 	iounmap(utdm->si_regs);
utdm             1253 drivers/net/wan/fsl_ucc_hdlc.c 		kfree(utdm);
utdm             1265 drivers/net/wan/fsl_ucc_hdlc.c 	if (priv->utdm->si_regs) {
utdm             1266 drivers/net/wan/fsl_ucc_hdlc.c 		iounmap(priv->utdm->si_regs);
utdm             1267 drivers/net/wan/fsl_ucc_hdlc.c 		priv->utdm->si_regs = NULL;
utdm             1270 drivers/net/wan/fsl_ucc_hdlc.c 	if (priv->utdm->siram) {
utdm             1271 drivers/net/wan/fsl_ucc_hdlc.c 		iounmap(priv->utdm->siram);
utdm             1272 drivers/net/wan/fsl_ucc_hdlc.c 		priv->utdm->siram = NULL;
utdm               66 drivers/net/wan/fsl_ucc_hdlc.h 	struct ucc_tdm	*utdm;
utdm               27 drivers/soc/fsl/qe/qe_tdm.c static void set_si_param(struct ucc_tdm *utdm, struct ucc_tdm_info *ut_info)
utdm               31 drivers/soc/fsl/qe/qe_tdm.c 	if (utdm->tdm_mode == TDM_INTERNAL_LOOPBACK) {
utdm               37 drivers/soc/fsl/qe/qe_tdm.c int ucc_of_parse_tdm(struct device_node *np, struct ucc_tdm *utdm,
utdm               75 drivers/soc/fsl/qe/qe_tdm.c 	utdm->tx_ts_mask = val;
utdm               83 drivers/soc/fsl/qe/qe_tdm.c 	utdm->rx_ts_mask = val;
utdm               91 drivers/soc/fsl/qe/qe_tdm.c 	utdm->tdm_port = val;
utdm               92 drivers/soc/fsl/qe/qe_tdm.c 	ut_info->uf_info.tdm_num = utdm->tdm_port;
utdm               95 drivers/soc/fsl/qe/qe_tdm.c 		utdm->tdm_mode = TDM_INTERNAL_LOOPBACK;
utdm               97 drivers/soc/fsl/qe/qe_tdm.c 		utdm->tdm_mode = TDM_NORMAL;
utdm              108 drivers/soc/fsl/qe/qe_tdm.c 	utdm->tdm_framer_type = ret;
utdm              116 drivers/soc/fsl/qe/qe_tdm.c 	utdm->siram_entry_id = val;
utdm              118 drivers/soc/fsl/qe/qe_tdm.c 	set_si_param(utdm, ut_info);
utdm              123 drivers/soc/fsl/qe/qe_tdm.c void ucc_tdm_init(struct ucc_tdm *utdm, struct ucc_tdm_info *ut_info)
utdm              137 drivers/soc/fsl/qe/qe_tdm.c 	si_regs = utdm->si_regs;
utdm              138 drivers/soc/fsl/qe/qe_tdm.c 	siram = utdm->siram;
utdm              140 drivers/soc/fsl/qe/qe_tdm.c 	tdm_port = utdm->tdm_port;
utdm              141 drivers/soc/fsl/qe/qe_tdm.c 	siram_entry_id = utdm->siram_entry_id;
utdm              143 drivers/soc/fsl/qe/qe_tdm.c 	if (utdm->tdm_framer_type == TDM_FRAMER_T1)
utdm              144 drivers/soc/fsl/qe/qe_tdm.c 		utdm->num_of_ts = 24;
utdm              145 drivers/soc/fsl/qe/qe_tdm.c 	if (utdm->tdm_framer_type == TDM_FRAMER_E1)
utdm              146 drivers/soc/fsl/qe/qe_tdm.c 		utdm->num_of_ts = 32;
utdm              154 drivers/soc/fsl/qe/qe_tdm.c 	for (i = 0; i < utdm->num_of_ts; i++) {
utdm              157 drivers/soc/fsl/qe/qe_tdm.c 		if (utdm->tx_ts_mask & mask)
utdm              164 drivers/soc/fsl/qe/qe_tdm.c 		if (utdm->rx_ts_mask & mask)
utdm              172 drivers/soc/fsl/qe/qe_tdm.c 	setbits16(&siram[(siram_entry_id * 32) + (utdm->num_of_ts - 1)],
utdm              174 drivers/soc/fsl/qe/qe_tdm.c 	setbits16(&siram[(siram_entry_id * 32) + 0x200 + (utdm->num_of_ts - 1)],
utdm              182 drivers/soc/fsl/qe/qe_tdm.c 	if (utdm->tdm_mode == TDM_INTERNAL_LOOPBACK)
utdm               87 include/soc/fsl/qe/qe_tdm.h int ucc_of_parse_tdm(struct device_node *np, struct ucc_tdm *utdm,
utdm               89 include/soc/fsl/qe/qe_tdm.h void ucc_tdm_init(struct ucc_tdm *utdm, struct ucc_tdm_info *ut_info);