Lines Matching refs:gmx_cfg
116 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_xaui_enable() local
126 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
127 gmx_cfg.s.pknd = cvmx_helper_get_ipd_port(interface, 0); in __cvmx_helper_xaui_enable()
128 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); in __cvmx_helper_xaui_enable()
183 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
184 gmx_cfg.s.en = 0; in __cvmx_helper_xaui_enable()
185 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); in __cvmx_helper_xaui_enable()
199 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
200 gmx_cfg.s.speed = 1; in __cvmx_helper_xaui_enable()
201 gmx_cfg.s.speed_msb = 0; in __cvmx_helper_xaui_enable()
202 gmx_cfg.s.slottime = 1; in __cvmx_helper_xaui_enable()
206 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); in __cvmx_helper_xaui_enable()
238 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
239 gmx_cfg.s.en = 1; in __cvmx_helper_xaui_enable()
240 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); in __cvmx_helper_xaui_enable()