Home
last modified time | relevance | path

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

/linux-3.4.99/arch/mips/cavium-octeon/executive/
Dcvmx-helper-sgmii.c61 union cvmx_gmxx_prtx_cfg gmxx_prtx_cfg; in __cvmx_helper_sgmii_hardware_init_one_time() local
64 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
65 gmxx_prtx_cfg.s.en = 0; in __cvmx_helper_sgmii_hardware_init_one_time()
66 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time()
211 union cvmx_gmxx_prtx_cfg gmxx_prtx_cfg; in __cvmx_helper_sgmii_hardware_init_link_speed() local
215 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_link_speed()
216 is_enabled = gmxx_prtx_cfg.s.en; in __cvmx_helper_sgmii_hardware_init_link_speed()
217 gmxx_prtx_cfg.s.en = 0; in __cvmx_helper_sgmii_hardware_init_link_speed()
218 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_link_speed()
234 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_link_speed()
[all …]