Lines Matching refs:qlm_cfg
94 union cvmx_mio_qlmx_cfg qlm_cfg; in __cvmx_get_mode_cn68xx() local
97 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(0)); in __cvmx_get_mode_cn68xx()
99 if (qlm_cfg.s.qlm_spd == 15) in __cvmx_get_mode_cn68xx()
102 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_cn68xx()
104 else if (qlm_cfg.s.qlm_cfg == 3) in __cvmx_get_mode_cn68xx()
111 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(interface)); in __cvmx_get_mode_cn68xx()
113 if (qlm_cfg.s.qlm_spd == 15) in __cvmx_get_mode_cn68xx()
116 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_cn68xx()
118 else if (qlm_cfg.s.qlm_cfg == 3) in __cvmx_get_mode_cn68xx()
123 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(3)); in __cvmx_get_mode_cn68xx()
125 if (qlm_cfg.s.qlm_spd == 15) { in __cvmx_get_mode_cn68xx()
127 } else if (qlm_cfg.s.qlm_cfg != 0) { in __cvmx_get_mode_cn68xx()
128 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(1)); in __cvmx_get_mode_cn68xx()
129 if (qlm_cfg.s.qlm_cfg != 0) in __cvmx_get_mode_cn68xx()
179 if (mio_qlm_cfg.s.qlm_cfg == 9) in __cvmx_get_mode_octeon2()
181 else if (mio_qlm_cfg.s.qlm_cfg == 11) in __cvmx_get_mode_octeon2()
186 union cvmx_mio_qlmx_cfg qlm_cfg; in __cvmx_get_mode_octeon2() local
189 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(2)); in __cvmx_get_mode_octeon2()
190 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_octeon2()
192 else if (qlm_cfg.s.qlm_cfg == 3) in __cvmx_get_mode_octeon2()
197 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(0)); in __cvmx_get_mode_octeon2()
198 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_octeon2()
200 else if (qlm_cfg.s.qlm_cfg == 3) in __cvmx_get_mode_octeon2()
207 union cvmx_mio_qlmx_cfg qlm_cfg; in __cvmx_get_mode_octeon2() local
208 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(0)); in __cvmx_get_mode_octeon2()
209 if (qlm_cfg.s.qlm_cfg == 2) in __cvmx_get_mode_octeon2()