/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vldc_impl.h | 126 uint_t num_ports; member in struct:vldc
|
H A D | vcc_impl.h | 291 uint_t num_ports; /* avail ports */ member in struct:vcc
|
H A D | vsw_ldc.h | 445 int num_ports; /* number of ports in the list */ member in struct:vsw_port_list
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_agents.c | 588 uint_t num_ports, num_agents, num_agents_per_port; local 601 num_ports = state->hs_cfg_profile->cp_num_ports; 607 num_agents += (num_ports * HERMON_NUM_QP0_AGENTS_PER_PORT); 609 num_sma_agents = num_ports; 612 num_agents += (num_ports * HERMON_NUM_QP1_AGENTS_PER_PORT); 614 num_pma_agents = num_ports; 622 * num_bma_agents = num_ports; 643 for (j = 0; j < num_ports; j++) {
|
H A D | hermon_cfg.c | 358 cp->cp_num_ports = devlim->num_ports;
|
H A D | hermon.c | 2165 uint_t num_ports; local 2184 num_ports = state->hs_cfg_profile->cp_num_ports; 2185 (void) hermon_hca_ports_shutdown(state, num_ports); 2704 maxval = state->hs_devlim.num_ports; 3456 uint_t num_ports; local 3465 num_ports = cfgprof->cp_num_ports; 3468 portinits = (hermon_hw_set_port_t *)kmem_zalloc(num_ports * 3485 for (i = 0; i < num_ports; i++) { 3605 for (i = 0; i < num_ports; i++) { 3616 kmem_free(portinits, num_ports * sizeo [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_agents.c | 412 uint_t num_ports, num_agents, num_agents_per_port; local 427 num_ports = state->ts_cfg_profile->cp_num_ports; 433 num_agents += (num_ports * TAVOR_NUM_QP0_AGENTS_PER_PORT); 435 num_sma_agents = num_ports; 438 num_agents += (num_ports * TAVOR_NUM_QP1_AGENTS_PER_PORT); 440 num_pma_agents = num_ports; 448 * num_bma_agents = num_ports; 472 for (j = 0; j < num_ports; j++) {
|
H A D | tavor_cfg.c | 694 uint_t num_ports, nelementsp; local 706 num_ports = ddi_prop_get_int(DDI_DEV_T_ANY, state->ts_dip, 708 if ((num_ports > TAVOR_NUM_PORTS) || (num_ports == 0)) { 711 cp->cp_num_ports = num_ports; 753 if (num_ports == TAVOR_NUM_PORTS) {
|
H A D | tavor.c | 1642 uint_t num_ports; local 1655 num_ports = state->ts_cfg_profile->cp_num_ports; 1656 (void) tavor_hca_ports_shutdown(state, num_ports); 2050 maxval = state->ts_devlim.num_ports; 2312 uint_t num_ports; local 2322 num_ports = cfgprof->cp_num_ports; 2325 portinits = (tavor_hw_initib_t *)kmem_zalloc(num_ports * 2329 for (i = 0; i < num_ports; i++) { 2446 kmem_free(portinits, num_ports * sizeof (tavor_hw_initib_t)); 2455 kmem_free(portinits, num_ports * sizeo [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 119 int num_ports = 0; local 134 num_ports = list->n_serial; 141 num_ports = list->n_parallel; 148 num_ports = list->n_network; 154 sizeof (port_info_t *) * num_ports); 172 (void) qsort((void *)port_info, num_ports, 174 for (i = 0; i < num_ports; i++) {
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_virtual.c | 402 int num_ports = nxgep->nports; local 420 for (port = 0; port < num_ports; port++) { 422 (num_ports == 4) ? 432 for (port = 0; port < num_ports; port++) { 434 (num_ports == 4) ? 445 for (port = 0; port < num_ports; port++) { 446 custom_num_grp[port] = (num_ports == 4) ? 457 for (port = 0; port < num_ports; port++) { 499 for (port = 0; port < num_ports - 1; port++) { 500 for (j = port + 1; j < num_ports; 576 int num_ports = nxgep->nports; local 791 int num_ports = nxgep->nports; local [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vcc.c | 91 static int i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, 1320 * ports could be deleted or added. parameter num_ports is number of structures 1322 * num_ports, set up to wakeup vntsd to add ports. 1323 * If there less ports than num_ports, fill (-1) for cons_no to tell vntsd. 1326 i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, caddr_t buf, int mode) argument 1351 if (num_ports == 0) { 1383 num_ports--; 1387 if (num_ports == 0) { 1405 while (num_ports > 0) { 1414 num_ports 1697 static uint_t num_ports; local [all...] |
H A D | vsw_ldc.c | 389 plist->num_ports++; 1224 plist->num_ports--; 4849 vswp->instance, plist->num_ports);
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | pca9556.c | 287 int i, num_ports; local 309 num_ports = PCA9555_NUM_PORTS; 312 num_ports = PCA9556_NUM_PORTS; 317 for (i = 0; i < num_ports; i++) {
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_ib.c | 203 int num_ports = 0; local 220 num_ports++; 255 "(%d) of (%d) ports", num_binds, num_ports);
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_ohci.c | 1537 int num_ports; local 1582 num_ports = reg & 0x1F; 1585 if (num_ports == 0) { 1597 if (num_ports > 0) { 1621 num_ports--;
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_devinfo.c | 2779 u8_t num_ports = 2; local 2788 pdev->params.cam_size = b_is_asic? MAX_MAC_CREDIT_E1 / num_ports : LM_CAM_SIZE_EMUL; 2807 pdev->params.cam_size = b_is_asic? MAX_MAC_CREDIT_E1H / num_ports: LM_CAM_SIZE_EMUL; 2824 num_ports = (CHIP_PORT_MODE(pdev) == LM_CHIP_PORT_MODE_4)? 2 : 1; 2858 pdev->params.base_offset_in_cam_table = ((num_ports == 2)? FUNC_ID(pdev) : VNIC_ID(pdev)) * LM_CAM_SIZE(pdev);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 2464 uint_t num_ports, p; local 2478 &num_ports, &port_size); 2485 for (p = 0, tmp = port_info; p < num_ports; p++, tmp++) {
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_type.h | 600 u16 num_ports; member in struct:i40e_hw
|
H A D | i40e_common.c | 3530 hw->num_ports = 0; 3540 hw->num_ports++; 3554 hw->partition_id = (hw->pf_id / hw->num_ports) + 1; 3555 hw->num_partitions = num_functions / hw->num_ports;
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcib.c | 3237 uint_t pki, i, num_ports, nbinds; local 3248 &num_ports, &port_size); 3259 int, num_ports); 3261 for (i = 0; i < num_ports; i++) { 3333 for (i = 0; i < num_ports; i++) {
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_hw.h | 161 uint32_t num_ports :4; member in struct:tavor_hw_querydevlim_s 277 uint32_t num_ports :4; member in struct:tavor_hw_querydevlim_s
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 493 ASSERT(hw->num_ports > 0); 507 idp->id_nfuncs = hw->num_ports * hw->num_partitions;
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_ti.c | 5670 uint8_t num_ports = 0; local 5700 num_ports = 1; 5728 num_ports = hcap->hca_num_ports; 5731 for (j = 0; j < num_ports; j++) {
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_hw.h | 196 uint32_t num_ports :4; member in struct:hermon_hw_querydevlim_s 412 uint32_t num_ports :4; member in struct:hermon_hw_querydevlim_s
|