Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-helper-sgmii.c57 union cvmx_gmxx_prtx_cfg gmxx_prtx_cfg; in __cvmx_helper_sgmii_hardware_init_one_time() local
60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
61 gmxx_prtx_cfg.s.en = 0; in __cvmx_helper_sgmii_hardware_init_one_time()
62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time()
207 union cvmx_gmxx_prtx_cfg gmxx_prtx_cfg; in __cvmx_helper_sgmii_hardware_init_link_speed() local
211 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_link_speed()
212 is_enabled = gmxx_prtx_cfg.s.en; in __cvmx_helper_sgmii_hardware_init_link_speed()
213 gmxx_prtx_cfg.s.en = 0; in __cvmx_helper_sgmii_hardware_init_link_speed()
214 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_link_speed()
230 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_link_speed()
[all …]