Searched refs:num_ports (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvldc_impl.h126 uint_t num_ports; member in struct:vldc
H A Dvcc_impl.h291 uint_t num_ports; /* avail ports */ member in struct:vcc
H A Dvsw_ldc.h445 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 Dhermon_agents.c588 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 Dhermon_cfg.c358 cp->cp_num_ports = devlim->num_ports;
H A Dhermon.c2165 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 Dtavor_agents.c412 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 Dtavor_cfg.c694 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 Dtavor.c1642 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 Dpicllibdevinfo.c119 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 Dnxge_virtual.c402 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 Dvcc.c91 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 Dvsw_ldc.c389 plist->num_ports++;
1224 plist->num_ports--;
4849 vswp->instance, plist->num_ports);
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dpca9556.c287 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 Diser_ib.c203 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 Dhci1394_ohci.c1537 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 Dlm_devinfo.c2779 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 Dsol_ib_cma.c2464 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 Di40e_type.h600 u16 num_ports; member in struct:i40e_hw
H A Di40e_common.c3530 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 Drpcib.c3237 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 Dtavor_hw.h161 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 Di40e_main.c493 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 Dibcm_ti.c5670 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 Dhermon_hw.h196 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

Completed in 233 milliseconds