Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/octeon/
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()
479 union cvmx_asxx_prt_loop asxx_prt_loop; in __cvmx_helper_rgmii_configure_loopback() local
498 asxx_prt_loop.u64 = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); in __cvmx_helper_rgmii_configure_loopback()
500 asxx_prt_loop.s.int_loop |= 1 << index; in __cvmx_helper_rgmii_configure_loopback()
502 asxx_prt_loop.s.int_loop &= ~(1 << index); in __cvmx_helper_rgmii_configure_loopback()
504 asxx_prt_loop.s.ext_loop |= 1 << index; in __cvmx_helper_rgmii_configure_loopback()
506 asxx_prt_loop.s.ext_loop &= ~(1 << index); in __cvmx_helper_rgmii_configure_loopback()
507 cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), asxx_prt_loop.u64); in __cvmx_helper_rgmii_configure_loopback()