/freebsd/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/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/sys/dev/ocs_fc/ |
H A D | ocs_fcp.h | 309 port_id:24; 377 port_id:24; 416 port_id:24; 470 uint32_t port_id; member 480 uint32_t port_id; member 493 uint32_t port_id; member 582 port_id:24; 588 port_id:24; 594 port_id:24; 632 port_id:24; member [all …]
|
H A D | ocs_fabric.c | 1854 uint32_t port_id; in ocs_process_gidpt_payload() local 1893 port_id = n->rnode.fc_id; in ocs_process_gidpt_payload() 1894 switch (port_id) { in ocs_process_gidpt_payload() 1900 if (!FC_ADDR_IS_DOMAIN_CTRL(port_id)) { in ocs_process_gidpt_payload() 1909 port_id = fc_be24toh(gidpt->port_list[i].port_id); in ocs_process_gidpt_payload() 1912 if ((active_nodes[j] != NULL) && (port_id == active_nodes[j]->rnode.fc_id)) { in ocs_process_gidpt_payload() 1940 uint32_t port_id = fc_be24toh(gidpt->port_list[i].port_id); in ocs_process_gidpt_payload() local 1945 if (port_id != node->rnode.sport->fc_id && !ocs_sport_find(sport->domain, port_id)) { in ocs_process_gidpt_payload() 1946 newnode = ocs_node_find(sport, port_id); in ocs_process_gidpt_payload() 1955 newnode = ocs_node_alloc(sport, port_id, 0, 0); in ocs_process_gidpt_payload()
|
/freebsd/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/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/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/sys/dev/cxgbe/ |
H A D | t4_sched.c | 503 MPASS(port_id >= 0 && port_id < sc->params.nports); in t4_reserve_cl_rl_kbps() 505 pi = sc->port[port_id]; in t4_reserve_cl_rl_kbps() 579 MPASS(port_id >= 0 && port_id < sc->params.nports); in t4_release_cl_rl() 619 int i, rc, port_id, mbps, gbps; in sysctl_tc_params() local 629 port_id = arg2 >> 16; in sysctl_tc_params() 630 MPASS(port_id < sc->params.nports); in sysctl_tc_params() 631 MPASS(sc->port[port_id] != NULL); in sysctl_tc_params() 649 gbps = port_top_speed(sc->port[port_id]); in sysctl_tc_params() 810 rc = t4_reserve_cl_rl_kbps(sc, pi->port_id, in cxgbe_rate_tag_alloc() 819 t4_release_cl_rl(sc, pi->port_id, schedcl); in cxgbe_rate_tag_alloc() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-ptp.c | 360 uint16_t msg_len, flags, port_id, seq_id; in ptp_print_2() local 399 len -= 8; bp += 8; port_id = GET_BE_U_2(bp); ND_PRINT(", port id : %u", port_id); in ptp_print_2() 500 uint16_t port_id; in ptp_print_timestamp_identity() local 523 port_id = GET_BE_U_2(bp); in ptp_print_timestamp_identity() 524 ND_PRINT(", port id : %u", port_id); in ptp_print_timestamp_identity() 609 uint16_t port_id; in ptp_print_port_id() local 619 port_id = GET_BE_U_2(bp); in ptp_print_port_id() 620 ND_PRINT(", port id : %u", port_id); in ptp_print_port_id()
|
H A D | print-stp.c | 37 nd_uint16_t port_id; member 113 GET_BE_U_2(stp_bpdu->port_id), length); in stp_print_config_bpdu() 268 ND_PRINT("CIST port-id %04x,", GET_BE_U_2(stp_bpdu->port_id)); in stp_print_mstp_bpdu()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_init_fw_funcs.c | 183 u8 port_id, in ecore_get_ext_voq() argument 279 u8 tc, ext_voq, port_id, num_tcs_in_port; in ecore_cmdq_lines_rt_init() local 286 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in ecore_cmdq_lines_rt_init() 289 if (!port_params[port_id].active) in ecore_cmdq_lines_rt_init() 296 phys_lines = port_params[port_id].num_pbf_cmd_lines; in ecore_cmdq_lines_rt_init() 346 u8 tc, ext_voq, port_id, num_tcs_in_port; in ecore_btb_blocks_rt_init() local 348 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in ecore_btb_blocks_rt_init() 349 if (!port_params[port_id].active) in ecore_btb_blocks_rt_init() 384 u8 port_id, in ecore_tx_pq_map_rt_init() argument 534 u8 port_id, in ecore_pf_wfq_rt_init() argument [all …]
|
H A D | ecore_iro.h | 36 #define TSTORM_PORT_STAT_OFFSET(port_id) (IRO[1].base + ((port_id) * IRO… argument 39 #define TSTORM_LL2_PORT_STAT_OFFSET(port_id) (IRO[2].base + ((port_id) * IRO… argument
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | ps.c | 244 static void __rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id) in __rtw_enter_lps() argument 252 conf->port_id = port_id; in __rtw_enter_lps() 275 void rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id) in rtw_enter_lps() argument 282 __rtw_enter_lps(rtwdev, port_id); in rtw_enter_lps()
|
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/ |
H A D | adf_c4xxx_reset.h | 35 #define ADF_C4XXX_GET_PORT_CMD(port_id) \ argument 36 ((((port_id)&0xFF) << 24) | (ADF_C4XXX_PORTD_CMD_BE << 16) | \
|
/freebsd/sys/netlink/ |
H A D | netlink_domain.c | 127 nl_port_lookup(uint32_t port_id) in nl_port_lookup() argument 132 if (nlp->nl_port == port_id) in nl_port_lookup() 404 nl_assign_port(struct nlpcb *nlp, uint32_t port_id) in nl_assign_port() argument 408 .nl_pid = port_id, in nl_assign_port() 419 NL_LOG(LOG_DEBUG3, "socket %p, port assign: %d, error: %d", nlp->nl_socket, port_id, error); in nl_assign_port() 432 uint32_t port_id = candidate_id; in nl_autobind_port() local 438 NL_LOG(LOG_DEBUG3, "socket %p, trying to assign port %d", nlp->nl_socket, port_id); in nl_autobind_port() 440 exist = nl_port_lookup(port_id) != 0; in nl_autobind_port() 443 error = nl_assign_port(nlp, port_id); in nl_autobind_port() 447 port_id++; in nl_autobind_port() [all …]
|
/freebsd/sys/arm/mv/ |
H A D | mv_pci.c | 452 int err, bus, devfn, port_id; in mv_pcib_attach() local 460 if (OF_getencprop(node, "marvell,pcie-port", &(port_id), in mv_pcib_attach() 461 sizeof(port_id)) <= 0) { in mv_pcib_attach() 464 port_id = 0; in mv_pcib_attach() 469 sc->ap_segment = port_id; in mv_pcib_attach() 473 sc->sc_win_target = MV_WIN_PCIE_TARGET(port_id); in mv_pcib_attach() 474 sc->sc_mem_win_attr = MV_WIN_PCIE_MEM_ATTR(port_id); in mv_pcib_attach() 475 sc->sc_io_win_attr = MV_WIN_PCIE_IO_ATTR(port_id); in mv_pcib_attach() 479 sc->sc_win_target = MV_WIN_PCIE_TARGET_ARMADA38X(port_id); in mv_pcib_attach() 481 sc->sc_io_win_attr = MV_WIN_PCIE_IO_ATTR_ARMADA38X(port_id); in mv_pcib_attach() [all …]
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_graph.c | 172 ofw_graph_get_device_by_port_ep(phandle_t node, uint32_t port_id, uint32_t ep_id) in ofw_graph_get_device_by_port_ep() argument 176 port = ofw_graph_get_port_by_idx(node, port_id); in ofw_graph_get_device_by_port_ep()
|
H A D | ofw_graph.h | 39 device_t ofw_graph_get_device_by_port_ep(phandle_t node, uint32_t port_id, uint32_t ep_id);
|
/freebsd/sys/cam/ctl/ |
H A D | ctl_frontend_ioctl.c | 261 int port_id = -1; in cfi_ioctl_port_remove() local 265 port_id = strtol(val, NULL, 10); in cfi_ioctl_port_remove() 267 if (port_id == -1) { in cfi_ioctl_port_remove() 275 if (cfi->port.targ_port == port_id) in cfi_ioctl_port_remove() 282 "cannot find port %d", port_id); in cfi_ioctl_port_remove()
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | filter.h | 31 u8 port_id; member
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_ctrl.c | 367 int port_id; in wpa_ctrl_open() local 386 port_id = atoi(&port[1]); in wpa_ctrl_open() 389 port_id = WPA_CTRL_IFACE_PORT; in wpa_ctrl_open() 412 ctrl->dest.sin6_port = htons(port_id); in wpa_ctrl_open() 415 ctrl->dest.sin_port = htons(port_id); in wpa_ctrl_open()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | iblinkinfo.c | 597 ib_portid_t port_id = { 0 }; in main() local 672 resolve_portid_str(ibd_ca, ibd_ca_port, &port_id, dr_path, in main() 678 resolve_portid_str(ibd_ca, ibd_ca_port, &port_id, in main() 685 if (!smp_query_via(ni, &port_id, IB_ATTR_NODE_INFO, 0, in main() 712 ibnd_discover_fabric(ibd_ca, ibd_ca_port, &port_id, &config))) in main()
|