Home
last modified time | relevance | path

Searched refs:qe_mux_reg (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/soc/fsl/qe/
Ducc.c521 struct qe_mux __iomem *qe_mux_reg; in ucc_set_tdm_rxtx_clk() local
524 qe_mux_reg = &qe_immr->qmx; in ucc_set_tdm_rxtx_clk()
539 cmxs1cr = (tdm_num < 4) ? &qe_mux_reg->cmxsi1cr_l : in ucc_set_tdm_rxtx_clk()
540 &qe_mux_reg->cmxsi1cr_h; in ucc_set_tdm_rxtx_clk()
635 struct qe_mux __iomem *qe_mux_reg; in ucc_set_tdm_rxtx_sync() local
637 qe_mux_reg = &qe_immr->qmx; in ucc_set_tdm_rxtx_sync()
652 qe_clrsetbits_be32(&qe_mux_reg->cmxsi1syr, in ucc_set_tdm_rxtx_sync()
/linux-6.1.9/drivers/net/wan/
Dfsl_ucc_hdlc.c854 struct qe_mux __iomem *qe_mux_reg = &qe_immr->qmx; in store_clk_config() local
857 priv->cmxsi1cr_h = ioread32be(&qe_mux_reg->cmxsi1cr_h); in store_clk_config()
858 priv->cmxsi1cr_l = ioread32be(&qe_mux_reg->cmxsi1cr_l); in store_clk_config()
861 priv->cmxsi1syr = ioread32be(&qe_mux_reg->cmxsi1syr); in store_clk_config()
864 memcpy_fromio(priv->cmxucr, qe_mux_reg->cmxucr, 4 * sizeof(u32)); in store_clk_config()
869 struct qe_mux __iomem *qe_mux_reg = &qe_immr->qmx; in resume_clk_config() local
871 memcpy_toio(qe_mux_reg->cmxucr, priv->cmxucr, 4 * sizeof(u32)); in resume_clk_config()
873 iowrite32be(priv->cmxsi1cr_h, &qe_mux_reg->cmxsi1cr_h); in resume_clk_config()
874 iowrite32be(priv->cmxsi1cr_l, &qe_mux_reg->cmxsi1cr_l); in resume_clk_config()
876 iowrite32be(priv->cmxsi1syr, &qe_mux_reg->cmxsi1syr); in resume_clk_config()