Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c801 union cvmx_agl_gmx_prtx_cfg prtx_cfg; in octeon_mgmt_disable_link() local
804 prtx_cfg.u64 = cvmx_read_csr(p->agl + AGL_GMX_PRT_CFG); in octeon_mgmt_disable_link()
805 prtx_cfg.s.en = 0; in octeon_mgmt_disable_link()
806 prtx_cfg.s.tx_en = 0; in octeon_mgmt_disable_link()
807 prtx_cfg.s.rx_en = 0; in octeon_mgmt_disable_link()
808 cvmx_write_csr(p->agl + AGL_GMX_PRT_CFG, prtx_cfg.u64); in octeon_mgmt_disable_link()
813 prtx_cfg.u64 = cvmx_read_csr(p->agl + AGL_GMX_PRT_CFG); in octeon_mgmt_disable_link()
814 if (prtx_cfg.s.tx_idle == 1 || prtx_cfg.s.rx_idle == 1) in octeon_mgmt_disable_link()
824 union cvmx_agl_gmx_prtx_cfg prtx_cfg; in octeon_mgmt_enable_link() local
827 prtx_cfg.u64 = cvmx_read_csr(p->agl + AGL_GMX_PRT_CFG); in octeon_mgmt_enable_link()
[all …]
/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c842 uint64_t prtx_cfg = in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
988 prtx_cfg); in __cvmx_helper_errata_fix_ipd_ptr_alignment()