Home
last modified time | relevance | path

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

/linux-3.4.99/arch/mips/cavium-octeon/executive/
Dcvmx-helper-rgmii.c274 union cvmx_asxx_prt_loop asxx_prt_loop; in __cvmx_helper_rgmii_link_get() local
276 asxx_prt_loop.u64 = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); in __cvmx_helper_rgmii_link_get()
277 if (asxx_prt_loop.s.int_loop & (1 << index)) { in __cvmx_helper_rgmii_link_get()
480 union cvmx_asxx_prt_loop asxx_prt_loop; in __cvmx_helper_rgmii_configure_loopback() local
499 asxx_prt_loop.u64 = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); in __cvmx_helper_rgmii_configure_loopback()
501 asxx_prt_loop.s.int_loop |= 1 << index; in __cvmx_helper_rgmii_configure_loopback()
503 asxx_prt_loop.s.int_loop &= ~(1 << index); in __cvmx_helper_rgmii_configure_loopback()
505 asxx_prt_loop.s.ext_loop |= 1 << index; in __cvmx_helper_rgmii_configure_loopback()
507 asxx_prt_loop.s.ext_loop &= ~(1 << index); in __cvmx_helper_rgmii_configure_loopback()
508 cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), asxx_prt_loop.u64); in __cvmx_helper_rgmii_configure_loopback()