Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/contrib/octeon-sdk/
Dcvmx-helper-npi.c133 cvmx_pip_prt_cfgx_t port_cfg; in __cvmx_helper_npi_enable() local
137 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_npi_enable()
138 port_cfg.s.lenerr_en = 0; in __cvmx_helper_npi_enable()
139 port_cfg.s.maxerr_en = 0; in __cvmx_helper_npi_enable()
140 port_cfg.s.minerr_en = 0; in __cvmx_helper_npi_enable()
141 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_cfg.u64); in __cvmx_helper_npi_enable()
Dcvmx-helper-loop.c111 cvmx_pip_prt_cfgx_t port_cfg; in __cvmx_helper_loop_enable() local
126 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(offset)); in __cvmx_helper_loop_enable()
127 port_cfg.s.maxerr_en = 0; in __cvmx_helper_loop_enable()
128 port_cfg.s.minerr_en = 0; in __cvmx_helper_loop_enable()
129 cvmx_write_csr(CVMX_PIP_PRT_CFGX(offset), port_cfg.u64); in __cvmx_helper_loop_enable()
Dcvmx-helper.c529 cvmx_pip_prt_cfgx_t port_cfg; in cvmx_helper_fcs_op() local
549 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(pknd)); in cvmx_helper_fcs_op()
550 port_cfg.s.crc_en = (has_fcs) ? 1 : 0; in cvmx_helper_fcs_op()
551 cvmx_write_csr(CVMX_PIP_PRT_CFGX(pknd), port_cfg.u64); in cvmx_helper_fcs_op()
Dcvmx-pip.h295 cvmx_pip_prt_cfgx_t port_cfg, in cvmx_pip_config_port() argument
310 cvmx_write_csr(CVMX_PIP_PRT_CFGX(port_num), port_cfg.u64); in cvmx_pip_config_port()
/freebsd-10-stable/sys/dev/qlnx/qlnxe/
Decore_mcp.c2085 u32 port_cfg, val; in ecore_mcp_read_ufp_config() local
2091 port_cfg = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in ecore_mcp_read_ufp_config()
2093 val = GET_MFW_FIELD(port_cfg, OEM_CFG_CHANNEL_TYPE); in ecore_mcp_read_ufp_config()
2098 val = GET_MFW_FIELD(port_cfg, OEM_CFG_SCHED_TYPE); in ecore_mcp_read_ufp_config()
/freebsd-10-stable/sys/dev/ixl/
Di40e_common.c3513 u64 port_cfg = 0; in i40e_parse_discover_capabilities() local
3518 i40e_aq_debug_read_register(hw, port_cfg_reg, &port_cfg, NULL); in i40e_parse_discover_capabilities()
3519 if (!(port_cfg & I40E_PRTGEN_CNF_PORT_DIS_MASK)) in i40e_parse_discover_capabilities()