| /freebsd-12.1/sys/contrib/ncsw/Peripherals/FM/ |
| H A D | fman_ncsw.c | 320 if ((port_id > 63) || (port_id < 1)) in fman_set_liodn_per_port() 411 if ((port_id > 63) || (port_id < 1)) in fman_get_size_of_fifo() 432 if ((port_id > 63) || (port_id < 1)) in fman_get_size_of_extra_fifo() 447 if ((port_id > 63) || (port_id < 1)) in fman_set_size_of_fifo() 461 if ((port_id > 63) || (port_id < 1)) in fman_get_num_of_tasks() 473 if ((port_id > 63) || (port_id < 1)) in fman_get_num_extra_tasks() 488 if ((port_id > 63) || (port_id < 1)) in fman_set_num_of_tasks() 503 if ((port_id > 63) || (port_id < 1)) in fman_get_num_of_dmas() 515 if ((port_id > 63) || (port_id < 1)) in fman_get_num_extra_dmas() 531 if ((port_id > 63) || (port_id < 1)) in fman_set_num_of_open_dmas() [all …]
|
| /freebsd-12.1/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_event_plugin.h | 116 osm_epi_port_id_t port_id; member 138 osm_epi_port_id_t port_id; member 155 osm_epi_port_id_t port_id; member 197 osm_epi_create_port_id(osm_epi_port_id_t * port_id, uint64_t node_guid, in osm_epi_create_port_id() argument 200 port_id->node_guid = node_guid; in osm_epi_create_port_id() 201 port_id->port_num = port_num; in osm_epi_create_port_id() 202 strncpy(port_id->node_name, node_name, OSM_EPI_NODE_NAME_LEN); in osm_epi_create_port_id() 203 port_id->node_name[OSM_EPI_NODE_NAME_LEN - 1] = '\0'; in osm_epi_create_port_id()
|
| /freebsd-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_fcp.h | 314 port_id:24; 383 port_id:24; 422 port_id:24; 476 uint32_t port_id; member 486 uint32_t port_id; member 499 uint32_t port_id; member 588 port_id:24; 594 port_id:24; 600 port_id:24; 638 port_id:24; member [all …]
|
| H A D | ocs_fabric.c | 1852 uint32_t port_id; in ocs_process_gidpt_payload() local 1891 port_id = n->rnode.fc_id; in ocs_process_gidpt_payload() 1892 switch (port_id) { in ocs_process_gidpt_payload() 1898 if (!FC_ADDR_IS_DOMAIN_CTRL(port_id)) { in ocs_process_gidpt_payload() 1907 port_id = fc_be24toh(gidpt->port_list[i].port_id); in ocs_process_gidpt_payload() 1910 if ((active_nodes[j] != NULL) && (port_id == active_nodes[j]->rnode.fc_id)) { in ocs_process_gidpt_payload() 1938 uint32_t port_id = fc_be24toh(gidpt->port_list[i].port_id); in ocs_process_gidpt_payload() local 1943 if (port_id != node->rnode.sport->fc_id && !ocs_sport_find(sport->domain, port_id)) { in ocs_process_gidpt_payload() 1944 newnode = ocs_node_find(sport, port_id); in ocs_process_gidpt_payload() 1953 newnode = ocs_node_alloc(sport, port_id, 0, 0); in ocs_process_gidpt_payload()
|
| H A D | ocs_node.h | 199 extern ocs_node_t *ocs_node_find(ocs_sport_t *sport, uint32_t port_id); 202 extern ocs_node_t *ocs_node_alloc(ocs_sport_t *sport, uint32_t port_id, uint8_t init, uint8_t targ);
|
| H A D | ocs_node.c | 185 ocs_node_find(ocs_sport_t *sport, uint32_t port_id) in ocs_node_find() argument 191 node = spv_get(sport->lookup, port_id); in ocs_node_find() 373 ocs_node_alloc(ocs_sport_t *sport, uint32_t port_id, uint8_t init, uint8_t targ) in ocs_node_alloc() argument 386 ocs_log_debug(ocs, "node allocation when shutting down %06x", port_id); in ocs_node_alloc() 394 ocs_log_err(ocs, "node allocation failed %06x", port_id); in ocs_node_alloc() 416 rc = ocs_hw_node_alloc(&ocs->hw, &node->rnode, port_id, sport); in ocs_node_alloc() 448 spv_set(sport->lookup, port_id, node); in ocs_node_alloc() 712 uint32_t port_id = node->rnode.fc_id; in ocs_node_update_display_name() local 718 ocs_node_fcid_display(port_id, portid_display, sizeof(portid_display)); in ocs_node_update_display_name()
|
| /freebsd-12.1/contrib/ofed/libibmad/ |
| H A D | rpc.c | 113 return ibmp->port_id; in madrpc_portid() 118 return srcport->port_id; in mad_rpc_portid() 171 if (umad_recv(port_id, rcvbuf, &length, timeout) < 0) { in _do_madrpc() 238 if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf, in mad_rpc() 303 if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf, in mad_rpc_rmpp() 379 ibmp->port_id = fd; in madrpc_init() 397 int port_id; in mad_rpc_open_port() local 418 if ((port_id = umad_open_port(dev_name, dev_port)) < 0) { in mad_rpc_open_port() 426 p->port_id = port_id; in mad_rpc_open_port() 443 umad_close_port(port_id); in mad_rpc_open_port() [all …]
|
| H A D | register.c | 85 int mad_register_port_client(int port_id, int mgmt, uint8_t rmpp_version) in mad_register_port_client() argument 94 agent = umad_register(port_id, mgmt, vers, rmpp_version, 0); in mad_register_port_client() 162 umad_register_oui(srcport->port_id, mgmt, rmpp_version, in mad_register_server_via() 169 umad_register(srcport->port_id, mgmt, vers, rmpp_version, in mad_register_server_via()
|
| H A D | serv.c | 76 if (umad_send(srcport->port_id, srcport->class_agents[rpc->mgtclass & 0xff], in mad_send_via() 166 (srcport->port_id, srcport->class_agents[rpc.mgtclass], umad, in mad_respond_via() 186 if ((agent = umad_recv(srcport->port_id, mad, &length, in mad_receive_via()
|
| H A D | mad_internal.h | 40 int port_id; /* file descriptor returned by umad_open() */ member
|
| /freebsd-12.1/sys/contrib/alpine-hal/ |
| H A D | al_hal_pcie.c | 454 pcie_port->port_id); in al_pcie_ib_hcrd_os_ob_reads_config_default() 853 pcie_port->port_id, in al_pcie_port_sris_config() 980 unsigned int port_id) in al_pcie_port_handle_init() argument 988 pcie_port->port_id = port_id; in al_pcie_port_handle_init() 1327 pcie_port->port_id); in al_pcie_port_operating_mode_config() 1386 pcie_port->port_id); in al_pcie_port_max_lanes_set() 1457 pcie_port->port_id); in al_pcie_port_ib_hcrd_os_ob_reads_config() 1578 unsigned int port_id = pcie_port->port_id; in al_pcie_port_enable() local 1619 unsigned int port_id = pcie_port->port_id; in al_pcie_port_disable() local 1623 pcie_port->port_id); in al_pcie_port_disable() [all …]
|
| /freebsd-12.1/sys/contrib/ncsw/inc/flib/ |
| H A D | fsl_fman.h | 699 uint8_t port_id); 702 uint8_t port_id); 705 uint8_t port_id); 721 uint8_t port_id, 725 uint8_t port_id, 731 uint8_t port_id, 735 uint8_t port_id, 739 uint8_t port_id, 743 uint8_t port_id, 780 bool fman_is_port_stalled(struct fman_fpm_regs *fpm_rg, uint8_t port_id); [all …]
|
| /freebsd-12.1/sys/dev/cxgbe/ |
| H A D | t4_sched.c | 490 MPASS(port_id >= 0 && port_id < sc->params.nports); in t4_reserve_cl_rl_kbps() 492 pi = sc->port[port_id]; in t4_reserve_cl_rl_kbps() 554 MPASS(port_id >= 0 && port_id < sc->params.nports); in t4_release_cl_rl() 597 int i, rc, port_id, mbps, gbps; in sysctl_tc_params() local 607 port_id = arg2 >> 16; in sysctl_tc_params() 608 MPASS(port_id < sc->params.nports); in sysctl_tc_params() 609 MPASS(sc->port[port_id] != NULL); in sysctl_tc_params() 622 gbps = port_top_speed(sc->port[port_id]); in sysctl_tc_params() 770 rc = t4_reserve_cl_rl_kbps(sc, pi->port_id, in cxgbe_snd_tag_alloc() 779 t4_release_cl_rl(sc, pi->port_id, schedcl); in cxgbe_snd_tag_alloc() [all …]
|
| /freebsd-12.1/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_init_fw_funcs.c | 185 u8 port_id, in ecore_get_ext_voq() argument 282 u8 tc, ext_voq, port_id, num_tcs_in_port; in ecore_cmdq_lines_rt_init() local 289 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in ecore_cmdq_lines_rt_init() 292 if (!port_params[port_id].active) in ecore_cmdq_lines_rt_init() 299 phys_lines = port_params[port_id].num_pbf_cmd_lines; in ecore_cmdq_lines_rt_init() 349 u8 tc, ext_voq, port_id, num_tcs_in_port; in ecore_btb_blocks_rt_init() local 351 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in ecore_btb_blocks_rt_init() 352 if (!port_params[port_id].active) in ecore_btb_blocks_rt_init() 387 u8 port_id, in ecore_tx_pq_map_rt_init() argument 537 u8 port_id, in ecore_pf_wfq_rt_init() argument [all …]
|
| H A D | ecore_iro.h | 38 #define TSTORM_PORT_STAT_OFFSET(port_id) (IRO[1].base + ((port_id) * IRO… argument 41 #define TSTORM_LL2_PORT_STAT_OFFSET(port_id) (IRO[2].base + ((port_id) * IRO… argument
|
| H A D | ecore_hw.c | 415 struct ecore_ptt *p_ptt, u8 port_id) in ecore_port_pretend() argument 419 SET_FIELD(control, PXP_PRETEND_CMD_PORT, port_id); in ecore_port_pretend() 564 u8 src_pfid, dst_pfid, port_id; in ecore_dmae_opcode() local 608 port_id = (ECORE_DMAE_FLAGS_IS_SET(p_params, PORT)) ? in ecore_dmae_opcode() 609 p_params->port_id : p_hwfn->port_id; in ecore_dmae_opcode() 610 opcode |= port_id << DMAE_CMD_PORT_ID_SHIFT; in ecore_dmae_opcode()
|
| /freebsd-12.1/contrib/tcpdump/ |
| H A D | print-stp.c | 37 uint8_t port_id[2]; member 109 ND_TCHECK(stp_bpdu->port_id); in stp_print_config_bpdu() 112 EXTRACT_16BITS(&stp_bpdu->port_id), length)); in stp_print_config_bpdu() 273 ND_TCHECK(stp_bpdu->port_id); in stp_print_mstp_bpdu() 274 ND_PRINT((ndo, "CIST port-id %04x,", EXTRACT_16BITS(&stp_bpdu->port_id))); in stp_print_mstp_bpdu()
|
| /freebsd-12.1/sys/arm/mv/ |
| H A D | mv_pci.c | 445 int err, bus, devfn, port_id; in mv_pcib_attach() local 453 if (OF_getencprop(node, "marvell,pcie-port", &(port_id), in mv_pcib_attach() 454 sizeof(port_id)) <= 0) { in mv_pcib_attach() 457 port_id = 0; in mv_pcib_attach() 462 sc->ap_segment = port_id; in mv_pcib_attach() 466 sc->sc_win_target = MV_WIN_PCIE_TARGET(port_id); in mv_pcib_attach() 467 sc->sc_mem_win_attr = MV_WIN_PCIE_MEM_ATTR(port_id); in mv_pcib_attach() 468 sc->sc_io_win_attr = MV_WIN_PCIE_IO_ATTR(port_id); in mv_pcib_attach() 474 sc->sc_win_target = MV_WIN_PCIE_TARGET_ARMADA38X(port_id); in mv_pcib_attach() 476 sc->sc_io_win_attr = MV_WIN_PCIE_IO_ATTR_ARMADA38X(port_id); in mv_pcib_attach() [all …]
|
| /freebsd-12.1/sys/cam/ctl/ |
| H A D | ctl_frontend_ioctl.c | 264 int port_id = -1; in cfi_ioctl_port_remove() local 268 port_id = strtol(val, NULL, 10); in cfi_ioctl_port_remove() 270 if (port_id == -1) { in cfi_ioctl_port_remove() 278 if (cfi->port.targ_port == port_id) in cfi_ioctl_port_remove() 285 "cannot find port %d", port_id); in cfi_ioctl_port_remove()
|
| /freebsd-12.1/contrib/wpa/src/common/ |
| H A D | wpa_ctrl.c | 368 int port_id; in wpa_ctrl_open() local 387 port_id = atoi(&port[1]); in wpa_ctrl_open() 390 port_id = WPA_CTRL_IFACE_PORT; in wpa_ctrl_open() 413 ctrl->dest.sin6_port = htons(port_id); in wpa_ctrl_open() 416 ctrl->dest.sin_port = htons(port_id); in wpa_ctrl_open()
|
| /freebsd-12.1/contrib/ofed/infiniband-diags/src/ |
| H A D | iblinkinfo.c | 596 ib_portid_t port_id = { 0 }; in main() local 671 resolve_portid_str(ibd_ca, ibd_ca_port, &port_id, dr_path, in main() 677 resolve_portid_str(ibd_ca, ibd_ca_port, &port_id, in main() 684 if (!smp_query_via(ni, &port_id, IB_ATTR_NODE_INFO, 0, in main() 711 ibnd_discover_fabric(ibd_ca, ibd_ca_port, &port_id, &config))) in main()
|
| /freebsd-12.1/sys/dev/cxgb/ |
| H A D | cxgb_main.c | 641 pi->port_id = i; in cxgb_controller_attach() 1263 struct port_info *pi = &adap->port[port_id]; in t3_os_phymod_changed() 1725 t3_port_intr_enable(sc, p->port_id); in cxgb_init_locked() 1744 setbit(&sc->open_device_map, p->port_id); in cxgb_init_locked() 1819 clrbit(&sc->open_device_map, pi->port_id); in cxgb_uninit_synchronized() 1820 t3_port_intr_disable(sc, pi->port_id); in cxgb_uninit_synchronized() 2299 t3_link_changed(sc, pi->port_id); in check_link_status() 2350 t3_port_intr_enable(sc, p->port_id); in check_t3b2_mac() 3394 if (isset(&sc->offload_map, pi->port_id)) in toe_capability() 3412 setbit(&sc->offload_map, pi->port_id); in toe_capability() [all …]
|
| /freebsd-12.1/usr.sbin/ctld/ |
| H A D | kernel.c | 136 uint32_t port_id; member 313 cur_port->port_id = strtoul(attr[i+1], NULL, 0); in cctl_start_pelement() 549 port->port_id, name); in conf_new_from_kernel() 554 port->port_id, name); in conf_new_from_kernel() 556 pp = pport_new(conf, name, port->port_id); in conf_new_from_kernel() 566 (uintmax_t)port->port_id, port->cfiscsi_state); in conf_new_from_kernel() 574 port->cfiscsi_target, port->port_id); in conf_new_from_kernel() 589 port->ctld_portal_group_name, port->port_id); in conf_new_from_kernel() 603 cp->p_ctl_port = port->port_id; in conf_new_from_kernel()
|
| /freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_bridge/ |
| H A D | bridge_snmp.h | 38 typedef uint8_t port_id[2]; typedef 121 port_id design_port;
|
| /freebsd-12.1/sys/dev/bnxt/ |
| H A D | bnxt_hwrm.c | 452 pf->port_id = le16toh(resp->port_id); in bnxt_hwrm_func_qcaps() 846 req.port_id = htole16(softc->pf.port_id); in bnxt_hwrm_port_qstats() 1635 req.port_id = htole16(softc->pf.port_id); in bnxt_hwrm_get_wol_fltrs() 1660 req.port_id = htole16(softc->pf.port_id); in bnxt_hwrm_alloc_wol_fltr() 1678 req.port_id = htole16(softc->pf.port_id); in bnxt_hwrm_free_wol_fltr()
|