Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-helper-rgmii.c268 union cvmx_asxx_prt_loop asxx_prt_loop; in __cvmx_helper_rgmii_link_get() local
270 asxx_prt_loop.u64 = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); in __cvmx_helper_rgmii_link_get()
271 if (asxx_prt_loop.s.int_loop & (1 << index)) { in __cvmx_helper_rgmii_link_get()
473 union cvmx_asxx_prt_loop asxx_prt_loop; in __cvmx_helper_rgmii_configure_loopback() local
492 asxx_prt_loop.u64 = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); in __cvmx_helper_rgmii_configure_loopback()
494 asxx_prt_loop.s.int_loop |= 1 << index; in __cvmx_helper_rgmii_configure_loopback()
496 asxx_prt_loop.s.int_loop &= ~(1 << index); in __cvmx_helper_rgmii_configure_loopback()
498 asxx_prt_loop.s.ext_loop |= 1 << index; in __cvmx_helper_rgmii_configure_loopback()
500 asxx_prt_loop.s.ext_loop &= ~(1 << index); in __cvmx_helper_rgmii_configure_loopback()
501 cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), asxx_prt_loop.u64); in __cvmx_helper_rgmii_configure_loopback()