/titanic_41/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; in tavor_agent_list_init() local 427 num_ports = state->ts_cfg_profile->cp_num_ports; in tavor_agent_list_init() 433 num_agents += (num_ports * TAVOR_NUM_QP0_AGENTS_PER_PORT); in tavor_agent_list_init() 435 num_sma_agents = num_ports; in tavor_agent_list_init() 438 num_agents += (num_ports * TAVOR_NUM_QP1_AGENTS_PER_PORT); in tavor_agent_list_init() 440 num_pma_agents = num_ports; in tavor_agent_list_init() 472 for (j = 0; j < num_ports; j++) { in tavor_agent_list_init()
|
H A D | tavor_cfg.c | 694 uint_t num_ports, nelementsp; in tavor_cfg_prop_lookup() local 706 num_ports = ddi_prop_get_int(DDI_DEV_T_ANY, state->ts_dip, in tavor_cfg_prop_lookup() 708 if ((num_ports > TAVOR_NUM_PORTS) || (num_ports == 0)) { in tavor_cfg_prop_lookup() 711 cp->cp_num_ports = num_ports; in tavor_cfg_prop_lookup() 753 if (num_ports == TAVOR_NUM_PORTS) { in tavor_cfg_prop_lookup()
|
H A D | tavor.c | 1642 uint_t num_ports; in tavor_hw_fini() local 1655 num_ports = state->ts_cfg_profile->cp_num_ports; in tavor_hw_fini() 1656 (void) tavor_hca_ports_shutdown(state, num_ports); in tavor_hw_fini() 2050 maxval = state->ts_devlim.num_ports; in tavor_soft_state_init() 2312 uint_t num_ports; in tavor_hca_port_init() local 2322 num_ports = cfgprof->cp_num_ports; in tavor_hca_port_init() 2325 portinits = (tavor_hw_initib_t *)kmem_zalloc(num_ports * in tavor_hca_port_init() 2329 for (i = 0; i < num_ports; i++) { in tavor_hca_port_init() 2446 kmem_free(portinits, num_ports * sizeof (tavor_hw_initib_t)); in tavor_hca_port_init() 2455 kmem_free(portinits, num_ports * sizeof (tavor_hw_initib_t)); in tavor_hca_port_init()
|
/titanic_41/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; in hermon_agent_list_init() local 601 num_ports = state->hs_cfg_profile->cp_num_ports; in hermon_agent_list_init() 607 num_agents += (num_ports * HERMON_NUM_QP0_AGENTS_PER_PORT); in hermon_agent_list_init() 609 num_sma_agents = num_ports; in hermon_agent_list_init() 612 num_agents += (num_ports * HERMON_NUM_QP1_AGENTS_PER_PORT); in hermon_agent_list_init() 614 num_pma_agents = num_ports; in hermon_agent_list_init() 643 for (j = 0; j < num_ports; j++) { in hermon_agent_list_init()
|
H A D | hermon.c | 2165 uint_t num_ports; in hermon_hw_fini() local 2184 num_ports = state->hs_cfg_profile->cp_num_ports; in hermon_hw_fini() 2185 (void) hermon_hca_ports_shutdown(state, num_ports); in hermon_hw_fini() 2704 maxval = state->hs_devlim.num_ports; in hermon_soft_state_init() 3456 uint_t num_ports; in hermon_hca_port_init() local 3465 num_ports = cfgprof->cp_num_ports; in hermon_hca_port_init() 3468 portinits = (hermon_hw_set_port_t *)kmem_zalloc(num_ports * in hermon_hca_port_init() 3485 for (i = 0; i < num_ports; i++) { in hermon_hca_port_init() 3605 for (i = 0; i < num_ports; i++) { in hermon_hca_port_init() 3616 kmem_free(portinits, num_ports * sizeof (hermon_hw_set_port_t)); in hermon_hca_port_init() [all …]
|
H A D | hermon_cfg.c | 358 cp->cp_num_ports = devlim->num_ports; in hermon_cfg_profile_init_phase2()
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_virtual.c | 402 int num_ports = nxgep->nports; in nxge_update_rxdma_grp_properties() local 420 for (port = 0; port < num_ports; port++) { in nxge_update_rxdma_grp_properties() 422 (num_ports == 4) ? in nxge_update_rxdma_grp_properties() 432 for (port = 0; port < num_ports; port++) { in nxge_update_rxdma_grp_properties() 434 (num_ports == 4) ? in nxge_update_rxdma_grp_properties() 445 for (port = 0; port < num_ports; port++) { in nxge_update_rxdma_grp_properties() 446 custom_num_grp[port] = (num_ports == 4) ? in nxge_update_rxdma_grp_properties() 457 for (port = 0; port < num_ports; port++) { in nxge_update_rxdma_grp_properties() 499 for (port = 0; port < num_ports - 1; port++) { in nxge_update_rxdma_grp_properties() 500 for (j = port + 1; j < num_ports; j++) { in nxge_update_rxdma_grp_properties() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 119 int num_ports = 0; in assign_geo_addr() local 134 num_ports = list->n_serial; in assign_geo_addr() 141 num_ports = list->n_parallel; in assign_geo_addr() 148 num_ports = list->n_network; in assign_geo_addr() 154 sizeof (port_info_t *) * num_ports); in assign_geo_addr() 172 (void) qsort((void *)port_info, num_ports, in assign_geo_addr() 174 for (i = 0; i < num_ports; i++) { in assign_geo_addr()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | vcc.c | 88 static int i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, 1323 i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, caddr_t buf, int mode) in i_vcc_cons_tbl() argument 1348 if (num_ports == 0) { in i_vcc_cons_tbl() 1380 num_ports--; in i_vcc_cons_tbl() 1384 if (num_ports == 0) { in i_vcc_cons_tbl() 1402 while (num_ports > 0) { in i_vcc_cons_tbl() 1411 num_ports--; in i_vcc_cons_tbl() 1694 static uint_t num_ports; in i_vcc_ctrl_ioctl() local 1702 num_ports = vccp->num_ports; in i_vcc_ctrl_ioctl() 1706 return (ddi_copyout((void *)&num_ports, arg, in i_vcc_ctrl_ioctl() [all …]
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | servconf.c | 74 options->num_ports = 0; in initialize_server_options() 252 if (options->num_ports == 0) in fill_default_server_options() 253 options->ports[options->num_ports++] = SSH_DEFAULT_PORT; in fill_default_server_options() 565 if (options->num_ports == 0) in add_listen_addr() 566 options->ports[options->num_ports++] = SSH_DEFAULT_PORT; in add_listen_addr() 568 for (i = 0; i < options->num_ports; i++) in add_listen_addr() 789 if (options->num_ports >= MAX_PORTS) in process_server_config_line() 796 options->ports[options->num_ports++] = a2port(arg); in process_server_config_line() 797 if (options->ports[options->num_ports-1] == 0) in process_server_config_line()
|
H A D | sshd.c | 901 if (options.num_ports >= MAX_PORTS) { in main() 905 options.ports[options.num_ports++] = a2port(optarg); in main() 906 if (options.ports[options.num_ports-1] == 0) { in main()
|
/titanic_41/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | pca9556.c | 287 int i, num_ports; in pca9556_attach() local 309 num_ports = PCA9555_NUM_PORTS; in pca9556_attach() 312 num_ports = PCA9556_NUM_PORTS; in pca9556_attach() 317 for (i = 0; i < num_ports; i++) { in pca9556_attach()
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | vldc_impl.h | 126 uint_t num_ports; member
|
H A D | vcc_impl.h | 291 uint_t num_ports; /* avail ports */ member
|
H A D | vsw_ldc.h | 445 int num_ports; /* number of ports in the list */ member
|
/titanic_41/usr/src/cmd/ssh/include/ |
H A D | servconf.h | 47 u_int num_ports; member
|
/titanic_41/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_ib.c | 203 int num_ports = 0; in iser_ib_bind_service() local 220 num_ports++; in iser_ib_bind_service() 255 "(%d) of (%d) ports", num_binds, num_ports); in iser_ib_bind_service()
|
/titanic_41/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_ohci.c | 1537 int num_ports; in hci1394_ohci_phy_info() local 1582 num_ports = reg & 0x1F; in hci1394_ohci_phy_info() 1585 if (num_ports == 0) { in hci1394_ohci_phy_info() 1597 if (num_ports > 0) { in hci1394_ohci_phy_info() 1621 num_ports--; in hci1394_ohci_phy_info()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_devinfo.c | 2779 u8_t num_ports = 2; in lm_init_cam_params() local 2788 pdev->params.cam_size = b_is_asic? MAX_MAC_CREDIT_E1 / num_ports : LM_CAM_SIZE_EMUL; in lm_init_cam_params() 2807 pdev->params.cam_size = b_is_asic? MAX_MAC_CREDIT_E1H / num_ports: LM_CAM_SIZE_EMUL; in lm_init_cam_params() 2824 num_ports = (CHIP_PORT_MODE(pdev) == LM_CHIP_PORT_MODE_4)? 2 : 1; in lm_init_cam_params() 2858 …pdev->params.base_offset_in_cam_table = ((num_ports == 2)? FUNC_ID(pdev) : VNIC_ID(pdev)) * LM_CAM… in lm_init_cam_params()
|
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 2464 uint_t num_ports, p; in ibcma_get_devlist() local 2478 &num_ports, &port_size); in ibcma_get_devlist() 2485 for (p = 0, tmp = port_info; p < num_ports; p++, tmp++) { in ibcma_get_devlist()
|
/titanic_41/usr/src/uts/common/rpc/ |
H A D | rpcib.c | 3237 uint_t pki, i, num_ports, nbinds; in rib_register_service() local 3248 &num_ports, &port_size); in rib_register_service() 3259 int, num_ports); in rib_register_service() 3261 for (i = 0; i < num_ports; i++) { in rib_register_service() 3333 for (i = 0; i < num_ports; i++) { in rib_register_service()
|
/titanic_41/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_type.h | 649 u16 num_ports; member
|
H A D | i40e_common.c | 3824 hw->num_ports = 0; in i40e_parse_discover_capabilities() 3836 hw->num_ports++; in i40e_parse_discover_capabilities() 3850 if (hw->num_ports != 0) { in i40e_parse_discover_capabilities() 3851 hw->partition_id = (hw->pf_id / hw->num_ports) + 1; in i40e_parse_discover_capabilities() 3852 hw->num_partitions = num_functions / hw->num_ports; in i40e_parse_discover_capabilities()
|
/titanic_41/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_hw.h | 161 uint32_t num_ports :4; member 277 uint32_t num_ports :4; member
|
/titanic_41/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 505 ASSERT(hw->num_ports > 0); in i40e_device_find() 519 idp->id_nfuncs = hw->num_ports * hw->num_partitions; in i40e_device_find()
|