Searched refs:port_cfg (Results 1 - 7 of 7) sorted by relevance
/freebsd-11.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-loop.c | 111 cvmx_pip_prt_cfgx_t port_cfg; local 126 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(offset)); 127 port_cfg.s.maxerr_en = 0; 128 port_cfg.s.minerr_en = 0; 129 cvmx_write_csr(CVMX_PIP_PRT_CFGX(offset), port_cfg.u64);
|
H A D | cvmx-helper-npi.c | 133 cvmx_pip_prt_cfgx_t port_cfg; local 137 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); 138 port_cfg.s.lenerr_en = 0; 139 port_cfg.s.maxerr_en = 0; 140 port_cfg.s.minerr_en = 0; 141 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_cfg.u64);
|
H A D | cvmx-pip.h | 290 * @param port_cfg Port hardware configuration 295 cvmx_pip_prt_cfgx_t port_cfg, 310 cvmx_write_csr(CVMX_PIP_PRT_CFGX(port_num), port_cfg.u64); 294 cvmx_pip_config_port(uint64_t port_num, cvmx_pip_prt_cfgx_t port_cfg, cvmx_pip_prt_tagx_t port_tag_cfg) argument
|
H A D | cvmx-helper.c | 529 cvmx_pip_prt_cfgx_t port_cfg; local 549 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(pknd)); 550 port_cfg.s.crc_en = (has_fcs) ? 1 : 0; 551 cvmx_write_csr(CVMX_PIP_PRT_CFGX(pknd), port_cfg.u64);
|
/freebsd-11.0-release/sys/dev/vnic/ |
H A D | thunder_bgx.c | 343 uint64_t port_cfg = 0; local 350 port_cfg = bgx_reg_read(bgx, lmac->lmacid, BGX_GMP_GMI_PRTX_CFG); 355 port_cfg &= ~GMI_PORT_CFG_DUPLEX; 356 port_cfg |= (lmac->last_duplex << 2); 363 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */ 364 port_cfg |= GMI_PORT_CFG_SPEED_MSB; /* speed_msb 1 */ 365 port_cfg &= ~GMI_PORT_CFG_SLOT_TIME; /* slottime 0 */ 372 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */ 373 port_cfg &= ~GMI_PORT_CFG_SPEED_MSB; /* speed_msb 0 */ 374 port_cfg [all...] |
/freebsd-11.0-release/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_8327.c | 552 struct ar8327_port_cfg port_cfg; local 558 bzero(&port_cfg, sizeof(port_cfg)); 560 if (ar8327_fetch_pdata_port(sc, &port_cfg, 0)) 561 sc->ar8327.port0_status = ar8327_get_port_init_status(&port_cfg); 564 bzero(&port_cfg, sizeof(port_cfg)); 566 if (ar8327_fetch_pdata_port(sc, &port_cfg, 6)) 567 sc->ar8327.port6_status = ar8327_get_port_init_status(&port_cfg);
|
/freebsd-11.0-release/sys/dev/ixl/ |
H A D | i40e_common.c | 3788 u64 port_cfg = 0; local 3793 i40e_aq_debug_read_register(hw, port_cfg_reg, &port_cfg, NULL); 3794 if (!(port_cfg & I40E_PRTGEN_CNF_PORT_DIS_MASK))
|
Completed in 183 milliseconds