Searched refs:port_config (Results 1 - 5 of 5) sorted by relevance

/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmx-helper-spi.c174 cvmx_pip_prt_cfgx_t port_config; local
175 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port));
176 port_config.s.crc_en = 1;
182 port_config.s.crc_en = 0;
184 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_config.u64);
H A Dcvmx-helper-srio.c161 cvmx_pip_prt_cfgx_t port_config; local
167 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port));
169 if (!port_config.s.skip)
171 port_config.s.skip = sizeof(cvmx_srio_rx_message_header_t);
172 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_config.u64);
H A Dcvmx-helper.c454 cvmx_pip_prt_cfgx_t port_config; local
466 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(pknd));
469 port_config.s.qos = pknd & 0x7;
478 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port));
482 port_config.s.qos = ipd_port & 0x7;
486 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE;
507 cvmx_pip_config_port(ipd_port, port_config, tag_config);
/freebsd-12-stable/sys/dev/mge/
H A Dif_mge.c478 uint32_t port_config; local
483 port_config = MGE_READ(sc, MGE_PORT_CONFIG);
484 port_config |= PORT_CONFIG_UPM;
485 MGE_WRITE(sc, MGE_PORT_CONFIG, port_config);
499 port_config = MGE_READ(sc, MGE_PORT_CONFIG);
500 port_config &= ~PORT_CONFIG_UPM;
501 MGE_WRITE(sc, MGE_PORT_CONFIG, port_config);
1018 uint32_t port_config; local
1020 port_config = PORT_SERIAL_RES_BIT9 | PORT_SERIAL_FORCE_LINK_FAIL |
1028 port_config |
[all...]
/freebsd-12-stable/contrib/ofed/infiniband-diags/src/
H A Dibqueryerrors.c69 int port_config = 0; variable
501 if (port_config)
598 if (portnum != 0xFF && port_config)
908 port_config++;

Completed in 52 milliseconds