Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c800 union cvmx_agl_gmx_prtx_cfg prtx_cfg; in octeon_mgmt_disable_link() local
803 prtx_cfg.u64 = cvmx_read_csr(p->agl + AGL_GMX_PRT_CFG); in octeon_mgmt_disable_link()
804 prtx_cfg.s.en = 0; in octeon_mgmt_disable_link()
805 prtx_cfg.s.tx_en = 0; in octeon_mgmt_disable_link()
806 prtx_cfg.s.rx_en = 0; in octeon_mgmt_disable_link()
807 cvmx_write_csr(p->agl + AGL_GMX_PRT_CFG, prtx_cfg.u64); in octeon_mgmt_disable_link()
812 prtx_cfg.u64 = cvmx_read_csr(p->agl + AGL_GMX_PRT_CFG); in octeon_mgmt_disable_link()
813 if (prtx_cfg.s.tx_idle == 1 || prtx_cfg.s.rx_idle == 1) in octeon_mgmt_disable_link()
823 union cvmx_agl_gmx_prtx_cfg prtx_cfg; in octeon_mgmt_enable_link() local
826 prtx_cfg.u64 = cvmx_read_csr(p->agl + AGL_GMX_PRT_CFG); in octeon_mgmt_enable_link()
[all …]
/linux-5.19.10/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c801 uint64_t prtx_cfg = in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
947 prtx_cfg); in __cvmx_helper_errata_fix_ipd_ptr_alignment()