/freebsd-10.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-util.c | 286 int port; local 299 for (port = 0; port < num_ports; port++) { 300 bpid = cvmx_helper_get_bpid(interface, port); 304 interface, port, cvmx_helper_get_bpid(interface, port)); 319 for (port = cvmx_helper_get_first_ipd_port(interface); 320 port < cvmx_helper_get_last_ipd_port(interface); port 539 cvmx_helper_get_pko_port(int interface, int port) argument 547 cvmx_helper_get_ipd_port(int interface, int port) argument 678 __cvmx_helper_set_link_info(int interface, int port, cvmx_helper_link_info_t link_info) argument 697 __cvmx_helper_get_link_info(int interface, int port) argument 719 cvmx_helper_get_pknd(int interface, int port) argument 730 cvmx_helper_get_bpid(int interface, int port) argument 748 cvmx_helper_show_stats(int port) argument 836 int port = ((ipd_port & 0xff) >> 6); local [all...] |
H A D | cvmx-pko.h | 178 uint64_t port : 9; /**< The hardware must have the output port in addition to the output queue */ member in struct:__anon7515::__anon7516 255 * Configure a output port and the associated queues for use. 257 * @param port Port to configure. 258 * @param base_queue First queue number to associate with this port. 259 * @param num_queues Number of queues t oassociate with this port 265 extern cvmx_pko_status_t cvmx_pko_config_port(uint64_t port, uint64_t base_queue, uint64_t num_queues, const uint64_t priority[]); 274 * WARNING: This function may have to look up the proper PKO port in 275 * the IPD port to PKO port ma 338 cvmx_pko_send_packet_prepare(uint64_t port, uint64_t queue, cvmx_pko_lock_t use_locking) argument 477 cvmx_pko_get_base_queue_per_core(int port, int core) argument [all...] |
H A D | cvmx-helper-rgmii.h | 73 * out will be received back again on the same port. Externally 76 * @param port IPD port number to loop. 78 extern void cvmx_helper_rgmii_internal_loopback(int port); 93 * Return the link state of an IPD/PKO port as returned by 98 * @param ipd_port IPD/PKO port to query 106 * Configure an IPD/PKO port for the specified link state. This 112 * @param ipd_port IPD/PKO port to configure 121 * Configure a port for internal and/or external loopback. Internal loopback 122 * causes packets sent by the port t [all...] |
/freebsd-10.3-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | ibtracert.c | 120 get_node(Node *node, Port *port, ib_portid_t *portid) argument 122 void *pi = port->portinfo, *ni = node->nodeinfo, *nd = node->nodedesc; 145 mad_decode_field(ni, IB_NODE_PORT_GUID_F, &port->portguid); 146 mad_decode_field(ni, IB_NODE_LOCAL_PORT_F, &port->portnum); 147 mad_decode_field(pi, IB_PORT_LID_F, &port->lid); 148 mad_decode_field(pi, IB_PORT_LMC_F, &port->lmc); 149 mad_decode_field(pi, IB_PORT_STATE_F, &port->state); 172 DEBUG("portid %s: forward lid %d to port %d", 194 dump_endnode(int dump, char *prompt, Node *node, Port *port) argument 203 node->type == IB_NODE_SWITCH ? 0 : port 220 dump_route(int dump, Node *node, int outport, Port *port) argument 247 Port *port, fromport, toport, nextport; local 384 get_port(Port *port, int portnum, ib_portid_t *portid) argument 405 link_port(Port *port, Node *node) argument 412 new_node(Node *node, Port *port, ib_portid_t *path, int dist) argument 487 Port *port, *remoteport; local [all...] |
H A D | grouping.c | 160 /* Is there a peer port ? */ 164 /* If peer port is Leaf 1, use its chassis GUID */ 275 /* IPR FCR modules connectivity while using sFB4 port as reference */ 385 Port *port; local 398 /* (which is lid of chassis router port) */ 399 /* in such case node->ports is actually a requested port... */ 403 for (port = node->ports; port; port = port 482 Port *port; local 509 Port *port; local 556 Port *port = 0; local 649 portmapstring(Port *port) argument [all...] |
/freebsd-10.3-release/sys/dev/isci/scil/ |
H A D | scic_sds_port.c | 89 * to this port 91 * The following is a list of phys for each port that are allowed: 99 * that port. For example, one could assign phy 3 to port 0 and no other 101 * information regarding whether the phy_mask for a port can be supported. 103 * @param[in] this_port This is the port object to which the phy is being 106 * port. 109 * @retval TRUE if this is a valid phy assignment for the port 110 * @retval FALSE if this is not a valid phy assignment for the port 148 // Ensure that all of the phys in the port ar 308 scic_sds_port_set_phy( SCIC_SDS_PORT_T *port, SCIC_SDS_PHY_T *phy ) argument 345 scic_sds_port_clear_phy( SCIC_SDS_PORT_T *port, SCIC_SDS_PHY_T *phy ) argument 961 scic_port_get_properties( SCI_PORT_HANDLE_T port, SCIC_PORT_PROPERTIES_T * properties ) argument 1376 port, local 1661 scic_sds_port_default_reset_handler( SCI_BASE_PORT_T * port, U32 timeout ) argument 1688 scic_sds_port_default_add_phy_handler( SCI_BASE_PORT_T *port, SCI_BASE_PHY_T *phy ) argument 1715 scic_sds_port_default_remove_phy_handler( SCI_BASE_PORT_T *port, SCI_BASE_PHY_T *phy ) argument 1746 scic_sds_port_default_frame_handler( SCIC_SDS_PORT_T * port, U32 frame_index ) argument 1779 scic_sds_port_default_event_handler( SCIC_SDS_PORT_T * port, U32 event_code ) argument 1922 scic_sds_port_general_complete_io_handler( SCIC_SDS_PORT_T *port, SCIC_SDS_REMOTE_DEVICE_T *device, SCIC_SDS_REQUEST_T *io_request ) argument 2132 scic_sds_port_stopped_state_add_phy_handler( SCI_BASE_PORT_T *port, SCI_BASE_PHY_T *phy ) argument 2181 scic_sds_port_stopped_state_remove_phy_handler( SCI_BASE_PORT_T *port, SCI_BASE_PHY_T *phy ) argument 2222 scic_sds_port_stopping_state_complete_io_handler( SCIC_SDS_PORT_T *port, SCIC_SDS_REMOTE_DEVICE_T *device, SCIC_SDS_REQUEST_T *io_request ) argument 2888 scic_sds_port_ready_substate_complete_io_handler( SCIC_SDS_PORT_T *port, struct SCIC_SDS_REMOTE_DEVICE *device, struct SCIC_SDS_REQUEST *io_request ) argument 2902 scic_sds_port_ready_substate_add_phy_handler( SCI_BASE_PORT_T *port, SCI_BASE_PHY_T *phy ) argument 2929 scic_sds_port_ready_substate_remove_phy_handler( SCI_BASE_PORT_T *port, SCI_BASE_PHY_T *phy ) argument 3002 scic_sds_port_ready_waiting_substate_start_io_handler( SCIC_SDS_PORT_T *port, SCIC_SDS_REMOTE_DEVICE_T *device, SCIC_SDS_REQUEST_T *io_request ) argument 3026 scic_sds_port_ready_operational_substate_reset_handler( SCI_BASE_PORT_T * port, U32 timeout ) argument 3150 scic_sds_port_ready_operational_substate_start_io_handler( SCIC_SDS_PORT_T *port, SCIC_SDS_REMOTE_DEVICE_T *device, SCIC_SDS_REQUEST_T *io_request ) argument 3178 scic_sds_port_ready_configuring_substate_add_phy_handler( SCI_BASE_PORT_T *port, SCI_BASE_PHY_T *phy ) argument 3215 scic_sds_port_ready_configuring_substate_remove_phy_handler( SCI_BASE_PORT_T *port, SCI_BASE_PHY_T *phy ) argument 3252 scic_sds_port_ready_configuring_substate_complete_io_handler( SCIC_SDS_PORT_T *port, SCIC_SDS_REMOTE_DEVICE_T *device, SCIC_SDS_REQUEST_T *io_request ) argument [all...] |
H A D | scic_user_callback.h | 805 * @brief This method informs the user when a stop operation on the port 809 * contains the port. 810 * @param[in] port This parameter specifies the SCI port object for which 819 SCI_PORT_HANDLE_T port, 824 * @brief This method informs the user when a hard reset on the port 826 * user or by the remote port. 829 * contains the port. 830 * @param[in] port This parameter specifies the SCI port objec [all...] |
/freebsd-10.3-release/sys/dev/usb/ |
H A D | usb_request.h | 35 struct mtx *mtx, uint8_t port, uint16_t sel); 65 struct usb_port_status *ps, uint8_t port); 67 uint8_t port); 69 struct mtx *mtx, uint8_t port); 75 struct mtx *mtx, uint8_t port, uint16_t sel); 83 struct mtx *mtx, uint8_t port, uint8_t timeout); 85 struct mtx *mtx, uint8_t port, uint8_t timeout); 89 uint8_t port); 91 uint8_t port, uint8_t addr, uint8_t type, uint8_t endpoint); 93 struct mtx *mtx, uint8_t port, uint8_ [all...] |
/freebsd-10.3-release/contrib/bsnmp/snmpd/ |
H A D | trans_lsock.c | 77 struct lsock_port *port = (struct lsock_port *)tp; local 79 (void)remove(port->name); 104 * Open a local port. If this is a datagram socket create also the 111 struct lsock_port *port; local 146 if ((port = malloc(sizeof(*port))) == NULL) 149 memset(port, 0, sizeof(*port)); 152 free(port); 157 if ((port 218 struct lsock_port *port = (struct lsock_port *)tp; local 435 struct lsock_port *port; member in struct:lsock_dep [all...] |
H A D | trans_lsock.h | 44 struct lsock_port *port; /* parent port */ member in struct:lsock_peer 51 enum locp type; /* type of port */
|
/freebsd-10.3-release/sys/mips/nlm/dev/net/ |
H A D | xlpge.c | 322 int port, uint32_t cur_flow_base, uint32_t flow_mask, 331 mtu, sc->portcfg[port].vlan_pri_en); 333 port, sc->portcfg[port].free_desc_sizes); 335 port, sc->portcfg[port].ucore_mask); 337 nlm_program_flow_cfg(nae_base, port, cur_flow_base, flow_mask); 340 nlm_configure_sgmii_interface(nae_base, nblock, port, mtu, 0); 342 nlm_config_egress(sc, nblock, context, port, max_channels); 345 nlm_nae_open_if(nae_base, nblock, sc->cmplx_type[nblock], port, 321 nlm_setup_interface(struct nlm_xlpnae_softc *sc, int nblock, int port, uint32_t cur_flow_base, uint32_t flow_mask, int max_channels, int context) argument 358 uint32_t cur_flow_base, port, flow_mask; local 477 nlm_setup_portcfg(struct nlm_xlpnae_softc *sc, struct xlp_nae_ivars *naep, int block, int port) argument 548 int port, i, j, nchan, nblock, node, qstart, qnum; local 660 int block, port; local 1041 int port = sc->block * 4 + sc->port; local 1216 int port; local 1387 nlm_xlpge_rx(struct nlm_xlpge_softc *sc, int port, vm_paddr_t paddr, int len) argument 1492 uint32_t port = 0; local [all...] |
/freebsd-10.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_iocp.c | 157 struct event_iocp_port *port = NULL; local 173 port = event_iocp_port_launch_(0); 174 tt_assert(port); 176 tt_assert(!event_iocp_activate_overlapped_(port, &o1.eo, 10, 100)); 177 tt_assert(!event_iocp_activate_overlapped_(port, &o2.eo, 20, 200)); 179 tt_assert(!event_iocp_activate_overlapped_(port, &o1.eo, 11, 101)); 180 tt_assert(!event_iocp_activate_overlapped_(port, &o2.eo, 21, 201)); 182 tt_assert(!event_iocp_activate_overlapped_(port, &o1.eo, 12, 102)); 183 tt_assert(!event_iocp_activate_overlapped_(port, &o2.eo, 22, 202)); 185 tt_assert(!event_iocp_activate_overlapped_(port, 240 struct event_iocp_port *port = NULL; local 308 struct event_iocp_port *port = NULL; local [all...] |
/freebsd-10.3-release/contrib/ofed/libibverbs/examples/ |
H A D | pingpong.c | 51 uint16_t pp_get_local_lid(struct ibv_context *context, int port) argument 55 if (ibv_query_port(context, port, &attr)) 61 int pp_get_port_info(struct ibv_context *context, int port, argument 64 return ibv_query_port(context, port, attr);
|
/freebsd-10.3-release/contrib/ofed/management/infiniband-diags/scripts/ |
H A D | ibstatus | 3 # Usage ibstatus [devname[:port]] 14 echo " $prog mthca0:2 # shows status port number 2 of 'mthca0'" 27 echo "Infiniband device '$1' port $2 status:" 69 port=`echo $1 | sed 's/^.*://'` 71 if [ "$port" = "$dev" ]; then 72 port="+" 75 ib_status $dev $port
|
/freebsd-10.3-release/contrib/ofed/usr.lib/libsdp/ |
H A D | Makefile | 16 SRCS= log.c match.c port.c config_parser.c config_scanner.c
|
/freebsd-10.3-release/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 19 * decodenetnum convert text IP address and port to sockaddr_u 31 u_short port; local 47 * to distinguish IPv6 embedded colons from a port 82 if (NULL == port_str || 1 != sscanf(port_str, "%hu", &port)) 83 port = NTP_PORT; 84 SET_PORT(netnum, port);
|
/freebsd-10.3-release/lib/libipx/ |
H A D | ipx_ntoa.c | 50 u_short port = htons(addr.x_port); local 62 if (port) { 74 if (port) { 75 sprintf(cp, ".%x", port);
|
/freebsd-10.3-release/lib/libc/rpc/ |
H A D | pmap_getport.c | 64 * Find the mapped port for program,version. 75 u_short port = 0; local 92 &parms, (xdrproc_t)xdr_u_short, &port, tottimeout) != 96 } else if (port == 0) { 102 return (port);
|
/freebsd-10.3-release/sys/dev/hptrr/ |
H A D | hptrr_os_bsd.c | 38 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); } argument 39 HPT_U16 os_inw (void *port) { return inw((unsigned)(HPT_UPTR)port); } argument 40 HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); } argument 42 void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); } argument 43 void os_outw (void *port, HPT_U16 value) { outw((unsigned)(HPT_UPTR)port, (valu argument 44 os_outl(void *port, HPT_U32 value) argument 46 os_insw(void *port, HPT_U16 *buffer, HPT_U32 count) argument 49 os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count) argument [all...] |
/freebsd-10.3-release/sys/mips/nlm/ |
H A D | usb_init.c | 45 nlm_usb_intr_en(int node, int port) argument 50 port_addr = nlm_get_usb_regbase(node, port); 59 nlm_usb_hw_reset(int node, int port) argument 65 port_addr = nlm_get_usb_regbase(node, port);
|
/freebsd-10.3-release/sys/dev/joy/ |
H A D | joyvar.h | 33 bus_space_handle_t port; member in struct:joy_softc
|
/freebsd-10.3-release/sys/amd64/vmm/io/ |
H A D | vpmtmr.h | 39 int vpmtmr_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes,
|
/freebsd-10.3-release/usr.sbin/bhyve/ |
H A D | post.c | 40 post_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, argument
|
/freebsd-10.3-release/usr.sbin/bsdconfig/mouse/ |
H A D | Makefile | 11 SCRIPTS= disable enable flags mouse port type
|
/freebsd-10.3-release/contrib/ofed/management/libibumad/src/ |
H A D | umad.c | 108 release_port(umad_port_t *port) argument 110 free(port->pkeys); 111 port->pkeys = NULL; 112 port->pkeys_size = 0; 125 get_port(char *ca_name, char *dir, int portnum, umad_port_t *port) argument 132 strncpy(port->ca_name, ca_name, sizeof port->ca_name - 1); 133 port->portnum = portnum; 134 port->pkeys = NULL; 140 if (sys_read_uint(port_dir, SYS_PORT_LMC, &port 226 resolve_ca_port(char *ca_name, int *port) argument 292 int phys_found = -1, port_found = 0, port, port_type; local 443 umad_id_to_dev(int umad_id, char *dev, unsigned *port) argument 460 dev_to_umad_id(char *dev, unsigned port) argument 670 umad_get_port(char *ca_name, int portnum, umad_port_t *port) argument 686 umad_release_port(umad_port_t *port) argument [all...] |