Home
last modified time | relevance | path

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

/linux/arch/mips/cavium-octeon/executive/
A 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()
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()
[all …]
A 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()
240 union cvmx_gmxx_prtx_cfg gmx_cfg; in __cvmx_helper_rgmii_enable() local
242 gmx_cfg.u64 = in __cvmx_helper_rgmii_enable()
244 gmx_cfg.s.en = 1; in __cvmx_helper_rgmii_enable()
[all …]
A 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()
/linux/drivers/staging/octeon/
A Dethernet.c293 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_common_set_multicast_list() local
324 gmx_cfg.u64 = in cvm_oct_common_set_multicast_list()
327 gmx_cfg.u64 & ~1ull); in cvm_oct_common_set_multicast_list()
339 gmx_cfg.u64); in cvm_oct_common_set_multicast_list()
346 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_set_mac_filter() local
360 gmx_cfg.u64 = in cvm_oct_set_mac_filter()
363 gmx_cfg.u64 & ~1ull); in cvm_oct_set_mac_filter()
380 gmx_cfg.u64); in cvm_oct_set_mac_filter()
456 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_common_open() local
468 gmx_cfg.s.en = 1; in cvm_oct_common_open()
[all …]
A Dethernet-mdio.c110 union cvmx_gmxx_prtx_cfg gmx_cfg; in cvm_oct_common_stop() local
113 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_common_stop()
114 gmx_cfg.s.en = 0; in cvm_oct_common_stop()
115 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_common_stop()

Completed in 10 milliseconds