Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/octeon/
Dcvmx-helper-rgmii.c109 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvmx_helper_rgmii_internal_loopback() local
110 gmx_cfg.u64 = 0; in cvmx_helper_rgmii_internal_loopback()
111 gmx_cfg.s.duplex = 1; in cvmx_helper_rgmii_internal_loopback()
112 gmx_cfg.s.slottime = 1; in cvmx_helper_rgmii_internal_loopback()
113 gmx_cfg.s.speed = 1; in cvmx_helper_rgmii_internal_loopback()
117 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback()
124 gmx_cfg.s.en = 1; in cvmx_helper_rgmii_internal_loopback()
125 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback()
245 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_rgmii_enable() local
248 gmx_cfg.u64 = in __cvmx_helper_rgmii_enable()
[all …]
Dethernet-sgmii.c43 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_sgmii_open() local
49 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_sgmii_open()
50 gmx_cfg.s.en = 1; in cvm_oct_sgmii_open()
51 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_sgmii_open()
64 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_sgmii_stop() local
69 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_sgmii_stop()
70 gmx_cfg.s.en = 0; in cvm_oct_sgmii_stop()
71 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_sgmii_stop()
Dethernet-xaui.c43 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_xaui_open() local
49 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_xaui_open()
50 gmx_cfg.s.en = 1; in cvm_oct_xaui_open()
51 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_xaui_open()
63 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_xaui_stop() local
68 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_xaui_stop()
69 gmx_cfg.s.en = 0; in cvm_oct_xaui_stop()
70 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_xaui_stop()
Dcvmx-helper-xaui.c113 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_xaui_enable() local
168 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
169 gmx_cfg.s.en = 0; in __cvmx_helper_xaui_enable()
170 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); in __cvmx_helper_xaui_enable()
184 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
185 gmx_cfg.s.speed = 1; in __cvmx_helper_xaui_enable()
186 gmx_cfg.s.speed_msb = 0; in __cvmx_helper_xaui_enable()
187 gmx_cfg.s.slottime = 1; in __cvmx_helper_xaui_enable()
191 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); in __cvmx_helper_xaui_enable()
225 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
[all …]
Dethernet-rgmii.c294 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_rgmii_open() local
300 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_rgmii_open()
301 gmx_cfg.s.en = 1; in cvm_oct_rgmii_open()
302 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_rgmii_open()
315 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_rgmii_stop() local
320 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_rgmii_stop()
321 gmx_cfg.s.en = 0; in cvm_oct_rgmii_stop()
322 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_rgmii_stop()
Dethernet.c342 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_common_set_multicast_list() local
372 gmx_cfg.u64 = in cvm_oct_common_set_multicast_list()
375 gmx_cfg.u64 & ~1ull); in cvm_oct_common_set_multicast_list()
387 gmx_cfg.u64); in cvm_oct_common_set_multicast_list()
401 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_common_set_mac_address() local
416 gmx_cfg.u64 = in cvm_oct_common_set_mac_address()
419 gmx_cfg.u64 & ~1ull); in cvm_oct_common_set_mac_address()
436 gmx_cfg.u64); in cvm_oct_common_set_mac_address()
Dcvmx-helper.c548 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
652 gmx_cfg.u64 = in __cvmx_helper_errata_fix_ipd_ptr_alignment()
656 gmx_cfg.s.en = 1; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
659 INTERFACE(FIX_IPD_OUTPORT)), gmx_cfg.u64); in __cvmx_helper_errata_fix_ipd_ptr_alignment()