/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-spi.c | 136 int num_ports = __cvmx_helper_spi_enumerate(interface); local 138 if (num_ports == 16) { 150 __cvmx_helper_setup_gmx(interface, num_ports); 151 return num_ports; 170 int num_ports = cvmx_helper_ports_on_interface(interface); local 172 for (ipd_port=interface*16; ipd_port<interface*16+num_ports; ipd_port++) 189 cvmx_spi_start_interface(interface, CVMX_SPI_MODE_DUPLEX, CVMX_HELPER_SPI_TIMEOUT, num_ports);
|
H A D | cvmx-helper-loop.c | 112 int num_ports, index; local 115 num_ports = __cvmx_helper_get_num_ipd_ports(interface); 121 for (index = 0; index < num_ports; index++) {
|
H A D | cvmx-spi.h | 83 int (*calendar_setup_cb)(int interface, cvmx_spi_mode_t mode, int num_ports); 122 * @param num_ports Number of SPI ports to configure 126 extern int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, int num_ports); 206 * @param num_ports Number of ports to configure on SPI 210 extern int cvmx_spi_calendar_setup_cb(int interface, cvmx_spi_mode_t mode, int num_ports);
|
H A D | cvmx-helper-npi.c | 124 int num_ports = cvmx_helper_ports_on_interface(interface); local 131 for (port=0; port<num_ports; port++) 168 config.s.nump = num_ports;
|
H A D | cvmx-helper-util.c | 296 int num_ports; local 298 num_ports = cvmx_helper_ports_on_interface(interface); 299 for (port = 0; port < num_ports; port++) { 358 int num_ports = cvmx_helper_ports_on_interface(interface); local 359 for (port = 0; port < num_ports; port++) 401 * @param num_ports Number of ports on the interface 405 int __cvmx_helper_setup_gmx(int interface, int num_ports) argument 417 gmx_tx_prts.s.prts = num_ports; 429 if (num_ports > 4) 431 cvmx_dprintf("__cvmx_helper_setup_gmx: Illegal num_ports\ [all...] |
H A D | cvmx-helper-rgmii.c | 103 int num_ports = 0; local 117 num_ports = 2; 128 num_ports = 4; 132 num_ports = 3; 139 return num_ports; 187 int num_ports = cvmx_helper_ports_on_interface(interface); local 202 asx_tx.s.prt_en = cvmx_build_mask(num_ports); 206 asx_rx.s.prt_en = cvmx_build_mask(num_ports); 210 for (port=0; port<num_ports; port++) 269 __cvmx_helper_setup_gmx(interface, num_ports); [all...] |
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_mesh.h | 53 int num_ports; member in struct:_link
|
H A D | osm_mcast_tbl.h | 72 uint8_t num_ports; member in struct:osm_mcast_fwdbl 83 * num_ports 124 void osm_mcast_tbl_init(IN osm_mcast_tbl_t * p_tbl, IN uint8_t num_ports, 128 * num_ports
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_switch.c | 69 if (port_num >= p_sw->num_ports) 72 p_sw->hops[lid_ho] = malloc(p_sw->num_ports); 75 memset(p_sw->hops[lid_ho], OSM_NO_PATH, p_sw->num_ports); 115 uint8_t num_ports; local 123 num_ports = osm_node_get_num_physp(p_node); 138 p_sw->num_ports = num_ports; 141 p_sw->p_prof = malloc(sizeof(*p_sw->p_prof) * num_ports); 145 memset(p_sw->p_prof, 0, sizeof(*p_sw->p_prof) * num_ports); 150 for (port_num = 0; port_num < num_ports; port_nu 259 uint8_t num_ports; local 697 uint8_t num_ports; local [all...] |
H A D | osm_mtree.c | 58 sizeof(void *) * (p_sw->num_ports - 1)); 64 p_mtn->max_children = p_sw->num_ports;
|
H A D | osm_dump.c | 69 uint8_t num_ports; local 75 num_ports = p_sw->num_ports; 81 for (i = 0; i < num_ports; i++) { 309 unsigned max_port = p_sw->num_ports; 337 unsigned max_port = p_sw->num_ports; 377 if (!p_node->node_info.num_ports) 408 p_node->node_info.num_ports, 437 p_nbnode->node_info.num_ports, 505 num_ports local 559 uint32_t num_ports; local [all...] |
H A D | osm_sa_link_record.c | 211 uint8_t num_ports; local 225 num_ports = osm_node_get_num_physp(p_src_port->p_node); 228 for (port_num = 1; port_num < num_ports; port_num++) { 268 num_ports = 270 for (port_num = 1; port_num < num_ports; 306 num_ports = 308 for (port_num = 1; port_num < num_ports; 329 num_ports = osm_node_get_num_physp(p_node); 330 for (port_num = 1; port_num < num_ports;
|
H A D | osm_mcast_tbl.c | 56 void osm_mcast_tbl_init(IN osm_mcast_tbl_t * p_tbl, IN uint8_t num_ports, argument 60 CL_ASSERT(num_ports); 75 p_tbl->num_ports = num_ports; 77 (uint8_t) ((ROUNDUP(num_ports, IB_MCAST_MASK_SIZE) /
|
H A D | osm_slvl_map_rcv.c | 120 unsigned num_ports = osm_node_get_num_physp(p_node) - 1; local 135 if (startinport > num_ports || startoutport > num_ports) {
|
H A D | osm_sa_node_record.c | 123 uint8_t num_ports; local 142 num_ports = 1; 144 num_ports = osm_node_get_num_physp(p_node); 146 for (port_num = 0; port_num < num_ports; port_num++) { 247 p_node->node_info.num_ports != p_rcvd_rec->node_info.num_ports)
|
/freebsd-11-stable/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_hca_sim.c | 163 uint8_t num_ports; member in struct:_sim_ca_info 183 int num_ports; local 257 if (sscanf(p_ch, "ports: %d", &num_ports) != 1) { 263 sim_ca_info->num_ports = num_ports; 268 sim_ca_info->name, sim_ca_info->guid, sim_ca_info->num_ports); 548 p_ca_info->p_attr->num_ports = sim_ca_info.num_ports; 552 (ib_port_attr_t *) malloc(sim_ca_info.num_ports * 556 for (port_num = 1; port_num <= sim_ca_info.num_ports; port_nu 691 uint32_t num_ports; local [all...] |
H A D | osm_vendor_mlx_hca_pfs.c | 117 uint8_t num_ports; member in struct:_pfs_ca_info 137 int num_ports; local 211 if (sscanf(p_ch, "ports: %d", &num_ports) != 1) { 217 pfs_ca_info->num_ports = num_ports; 222 pfs_ca_info->name, pfs_ca_info->guid, pfs_ca_info->num_ports); 502 p_ca_info->p_attr->num_ports = pfs_ca_info.num_ports; 506 (ib_port_attr_t *) malloc(pfs_ca_info.num_ports * 510 for (port_num = 1; port_num <= pfs_ca_info.num_ports; port_nu 645 uint32_t num_ports; local [all...] |
H A D | osm_vendor_mtl_hca_guid.c | 233 p_ca_info->p_attr->num_ports = hca_cap.phys_port_num; 238 for (port_num = 0; port_num < p_ca_info->p_attr->num_ports; port_num++) { 292 if (p_ca_info->p_attr->num_ports) { 383 uint32_t num_ports; local 387 num_ports = osm_ca_info_get_num_ports(p_ca_info); 389 for (port_num = 0; port_num < num_ports; port_num++) { 551 uint32_t num_ports = GUID_ARRAY_SIZE; local 574 status = osm_vendor_get_all_port_attr(p_vend, attr_array, &num_ports); 580 if (num_ports == 0) { 587 for (i = 0; i < num_ports; [all...] |
H A D | osm_vendor_mlx_hca.c | 213 p_ca_info->p_attr->num_ports = hca_cap.phys_port_num; 218 for (port_num = 0; port_num < p_ca_info->p_attr->num_ports; port_num++) { 278 if (0 != p_ca->p_attr->num_ports) { 350 total_ports += p_ca_infos[ca].p_attr->num_ports; 363 uint32_t num_ports; local 365 num_ports = p_ca_infos[ca].p_attr->num_ports; 367 for (port_num = 0; port_num < num_ports; port_num++) {
|
/freebsd-11-stable/sys/dev/mpr/ |
H A D | mpr_mapping.h | 104 * @num_ports: number of ports in the PCIe switch device 113 uint8_t num_ports; member in struct:_map_pcie_topology_change
|
/freebsd-11-stable/sys/dev/firewire/ |
H A D | fwphyreg.h | 50 num_ports:5; member in struct:phyreg_base 80 uint8_t num_ports:5,
|
/freebsd-11-stable/sys/mips/rmi/ |
H A D | board.c | 95 blk0->num_ports--; 115 blk0->num_ports--; 140 blk0->num_ports--; 172 blk1->num_ports = 1; 176 blk2->num_ports = 1; 225 blk0->num_ports--; 286 blk1->num_ports = 2; 319 blk0->num_ports = 1; 328 blk0->num_ports = 1; /* only 1 RGMII port */ 345 blk1->num_ports [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_sense.c | 72 for (i = 1; i <= dev->caps.num_ports; i++) { 86 for (i = 0; i < dev->caps.num_ports; i++) 153 for (port = 1; port <= dev->caps.num_ports; port++)
|
/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | daemon.c | 318 for(i=0; i<daemon->num_ports; i++) 339 daemon->num_ports = (size_t)daemon->cfg->num_threads; 343 daemon->num_ports = 1; 346 daemon->num_ports, sizeof(*daemon->ports)))) { 354 for(i=1; i<daemon->num_ports; i++) { 360 for(i=0; i<daemon->num_ports; i++) 461 if(daemon->reuseport && (int)daemon->num < (int)daemon->num_ports) { 464 (int)daemon->num_ports); 465 daemon->num = (int)daemon->num_ports; 532 port_num = worker->thread_num % worker->daemon->num_ports; [all...] |
/freebsd-11-stable/sys/dev/bhnd/bhndb/ |
H A D | bhndb.h | 168 u_int num_ports; /**< number of port priority records. */ member in struct:bhndb_hw_priority
|