Home
last modified time | relevance | path

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

/linux-3.4.99/arch/mips/cavium-octeon/executive/
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 …]
Dcvmx-helper-xaui.c119 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_xaui_enable() local
174 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
175 gmx_cfg.s.en = 0; in __cvmx_helper_xaui_enable()
176 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); in __cvmx_helper_xaui_enable()
190 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
191 gmx_cfg.s.speed = 1; in __cvmx_helper_xaui_enable()
192 gmx_cfg.s.speed_msb = 0; in __cvmx_helper_xaui_enable()
193 gmx_cfg.s.slottime = 1; in __cvmx_helper_xaui_enable()
197 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); in __cvmx_helper_xaui_enable()
231 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); in __cvmx_helper_xaui_enable()
[all …]
Dcvmx-helper.c611 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
714 gmx_cfg.u64 = in __cvmx_helper_errata_fix_ipd_ptr_alignment()
718 gmx_cfg.s.en = 1; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
721 INTERFACE(FIX_IPD_OUTPORT)), gmx_cfg.u64); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
/linux-3.4.99/drivers/staging/octeon/
Dethernet-xaui.c44 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_xaui_open() local
50 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_xaui_open()
51 gmx_cfg.s.en = 1; in cvm_oct_xaui_open()
52 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_xaui_open()
64 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_xaui_stop() local
69 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_xaui_stop()
70 gmx_cfg.s.en = 0; in cvm_oct_xaui_stop()
71 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_xaui_stop()
Dethernet-sgmii.c44 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_sgmii_open() local
50 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_sgmii_open()
51 gmx_cfg.s.en = 1; in cvm_oct_sgmii_open()
52 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_sgmii_open()
65 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_sgmii_stop() local
70 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_sgmii_stop()
71 gmx_cfg.s.en = 0; in cvm_oct_sgmii_stop()
72 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_sgmii_stop()
Dethernet-rgmii.c296 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_rgmii_open() local
302 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_rgmii_open()
303 gmx_cfg.s.en = 1; in cvm_oct_rgmii_open()
304 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_rgmii_open()
317 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_rgmii_stop() local
322 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_rgmii_stop()
323 gmx_cfg.s.en = 0; in cvm_oct_rgmii_stop()
324 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_rgmii_stop()
Dethernet.c343 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_common_set_multicast_list() local
373 gmx_cfg.u64 = in cvm_oct_common_set_multicast_list()
376 gmx_cfg.u64 & ~1ull); in cvm_oct_common_set_multicast_list()
388 gmx_cfg.u64); in cvm_oct_common_set_multicast_list()
402 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_common_set_mac_address() local
417 gmx_cfg.u64 = in cvm_oct_common_set_mac_address()
420 gmx_cfg.u64 & ~1ull); in cvm_oct_common_set_mac_address()
437 gmx_cfg.u64); in cvm_oct_common_set_mac_address()