Lines Matching refs:qlm_cfg
114 union cvmx_mio_qlmx_cfg qlm_cfg; in __cvmx_get_mode_cn68xx() local
117 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(0)); in __cvmx_get_mode_cn68xx()
119 if (qlm_cfg.s.qlm_spd == 15) in __cvmx_get_mode_cn68xx()
122 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_cn68xx()
124 else if (qlm_cfg.s.qlm_cfg == 3) in __cvmx_get_mode_cn68xx()
131 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(interface)); in __cvmx_get_mode_cn68xx()
133 if (qlm_cfg.s.qlm_spd == 15) in __cvmx_get_mode_cn68xx()
136 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_cn68xx()
138 else if (qlm_cfg.s.qlm_cfg == 3) in __cvmx_get_mode_cn68xx()
143 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(3)); in __cvmx_get_mode_cn68xx()
145 if (qlm_cfg.s.qlm_spd == 15) { in __cvmx_get_mode_cn68xx()
147 } else if (qlm_cfg.s.qlm_cfg != 0) { in __cvmx_get_mode_cn68xx()
148 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(1)); in __cvmx_get_mode_cn68xx()
149 if (qlm_cfg.s.qlm_cfg != 0) in __cvmx_get_mode_cn68xx()
199 if (mio_qlm_cfg.s.qlm_cfg == 9) in __cvmx_get_mode_octeon2()
201 else if (mio_qlm_cfg.s.qlm_cfg == 11) in __cvmx_get_mode_octeon2()
206 union cvmx_mio_qlmx_cfg qlm_cfg; in __cvmx_get_mode_octeon2() local
209 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(2)); in __cvmx_get_mode_octeon2()
210 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_octeon2()
212 else if (qlm_cfg.s.qlm_cfg == 3) in __cvmx_get_mode_octeon2()
217 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(0)); in __cvmx_get_mode_octeon2()
218 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_octeon2()
220 else if (qlm_cfg.s.qlm_cfg == 3) in __cvmx_get_mode_octeon2()
227 union cvmx_mio_qlmx_cfg qlm_cfg; in __cvmx_get_mode_octeon2() local
228 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(0)); in __cvmx_get_mode_octeon2()
229 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_octeon2()