Home
last modified time | relevance | path

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

/arch/mips/cavium-octeon/executive/
Dcvmx-helper-xaui.c116 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()
[all …]
Dcvmx-helper-rgmii.c104 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvmx_helper_rgmii_internal_loopback() local
105 gmx_cfg.u64 = 0; in cvmx_helper_rgmii_internal_loopback()
106 gmx_cfg.s.duplex = 1; in cvmx_helper_rgmii_internal_loopback()
107 gmx_cfg.s.slottime = 1; in cvmx_helper_rgmii_internal_loopback()
108 gmx_cfg.s.speed = 1; in cvmx_helper_rgmii_internal_loopback()
112 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback()
119 gmx_cfg.s.en = 1; in cvmx_helper_rgmii_internal_loopback()
120 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback()
240 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_rgmii_enable() local
242 gmx_cfg.u64 = in __cvmx_helper_rgmii_enable()
[all …]
Dcvmx-helper.c789 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
891 gmx_cfg.u64 = in __cvmx_helper_errata_fix_ipd_ptr_alignment()
895 gmx_cfg.s.en = 1; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
898 INTERFACE(FIX_IPD_OUTPORT)), gmx_cfg.u64); in __cvmx_helper_errata_fix_ipd_ptr_alignment()