/freebsd-head/sys/dev/isci/scil/ |
H A D | scic_sds_port_registers.h | 71 * Macro to read the port task scheduler register associated with this port 74 #define scu_port_task_scheduler_read(port, reg) \ 76 scic_sds_port_get_controller(port), \ 77 (port)->port_task_scheduler_registers->reg \ 81 * Macro to write the port task scheduler register associated with this 82 * port object 84 #define scu_port_task_scheduler_write(port, reg, value) \ 86 scic_sds_port_get_controller(port), \ 87 (port) [all...] |
/freebsd-head/usr.sbin/bhyve/ |
H A D | dbgport.h | 34 void init_dbgport(int port);
|
H A D | rfb.h | 36 int rfb_init(char *hostname, int port, int wait, char *password);
|
/freebsd-head/sys/contrib/octeon-sdk/ |
H A D | cvmx-mgmt-port.h | 49 * Support functions for managing the MII management port 64 #define CVMX_MGMT_PORT_NUM_PORTS 2 /* Right now we only have one mgmt port */ 87 * Called to initialize a management port for use. Multiple calls 90 * @param port Port to initialize 94 extern cvmx_mgmt_port_result_t cvmx_mgmt_port_initialize(int port); 97 * Shutdown a management port. This currently disables packet IO 101 * @param port Management port 105 extern cvmx_mgmt_port_result_t cvmx_mgmt_port_shutdown(int port); 108 * Enable packet IO on a management port [all...] |
H A D | cvmx-spi4000.c | 182 * @param port SPI4000 RGMII port to write to. (0-9) 186 static void __cvmx_spi4000_mdio_write(int interface, int port, int location, int val) argument 194 mdio.s.phy_address = port; 214 * @param port SPI4000 RGMII port to read from. (0-9) 218 static int __cvmx_spi4000_mdio_read(int interface, int port, int location) argument 225 mdio.s.phy_address = port; 244 int port; local 263 // Step 3b: De-assert port enable 364 int port; local 394 cvmx_spi4000_check_speed(int interface, int port) argument [all...] |
H A D | cvmx-mgmt-port.c | 49 * Support functions for managing the MII management port 57 #include "cvmx-mgmt-port.h" 90 * Per port state required for each mgmt port 97 int port; /* Port to use. (This is the 'fake' IPD port number */ member in struct:__anon4 107 * Pointers to each mgmt port's state 144 * Called to initialize a management port for use. Multiple calls 147 * @param port Port to initialize 151 cvmx_mgmt_port_result_t cvmx_mgmt_port_initialize(int port) argument 425 cvmx_mgmt_port_shutdown(int port) argument 449 cvmx_mgmt_port_enable(int port) argument 498 cvmx_mgmt_port_disable(int port) argument 529 cvmx_mgmt_port_send(int port, int packet_len, void *buffer) argument 589 cvmx_mgmt_port_sendm(int port, const struct mbuf *m) argument 645 cvmx_mgmt_port_receive(int port, int buffer_len, uint8_t *buffer) argument 763 cvmx_mgmt_port_set_mac(int port, uint64_t mac) argument 803 cvmx_mgmt_port_get_mac(int port) argument 819 cvmx_mgmt_port_set_multicast_list(int port, int flags) argument 867 cvmx_mgmt_port_set_max_packet_size(int port, int size_without_fcs) argument 892 cvmx_mgmt_port_link_get(int port) argument 927 cvmx_mgmt_port_link_set(int port, cvmx_helper_link_info_t link_info) argument [all...] |
/freebsd-head/sys/dev/cx/ |
H A D | machdep.h | 27 # define inb(port) inportb(port) 28 # define inw(port) inport(port) 29 # define outb(port,b) outportb(port,b) 30 # define outw(port,w) outport(port,w) 39 # define inb(port) inp((unsigned short)(port)) 57 __ddk_outb(unsigned port, unsigned char byte) argument 59 __ddk_outw(unsigned port, unsigned short word) argument [all...] |
/freebsd-head/crypto/openssh/regress/ |
H A D | portnum.sh | 4 tid="port number parsing" 7 port=$1 8 verbose "$tid: invalid port $port" 9 if ${SSH} -F $OBJ/ssh_proxy -p $port somehost true 2>/dev/null ; then 10 fail "$tid accepted invalid port $port" 14 port=$1 15 verbose "$tid: valid port $port" [all...] |
/freebsd-head/contrib/ntp/sntp/libevent/ |
H A D | event_iocp.c | 66 struct event_iocp_port *port = port_; local 67 long ms = port->ms; 68 HANDLE p = port->port; 79 EnterCriticalSection(&port->lock); 80 if (port->shutdown) { 81 if (--port->n_live_threads == 0) 82 ReleaseSemaphore(port->shutdownSemaphore, 1, 84 LeaveCriticalSection(&port->lock); 87 LeaveCriticalSection(&port 102 event_iocp_port_associate_(struct event_iocp_port *port, evutil_socket_t fd, ev_uintptr_t key) argument 178 struct event_iocp_port *port; local 227 event_iocp_port_unlock_and_free_(struct event_iocp_port *port) argument 237 event_iocp_notify_all(struct event_iocp_port *port) argument 250 event_iocp_shutdown_(struct event_iocp_port *port, long waitMsec) argument 276 event_iocp_activate_overlapped_( struct event_iocp_port *port, struct event_overlapped *o, ev_uintptr_t key, ev_uint32_t n) argument [all...] |
/freebsd-head/contrib/libevent/ |
H A D | event_iocp.c | 66 struct event_iocp_port *port = port_; local 67 long ms = port->ms; 68 HANDLE p = port->port; 79 EnterCriticalSection(&port->lock); 80 if (port->shutdown) { 81 if (--port->n_live_threads == 0) 82 ReleaseSemaphore(port->shutdownSemaphore, 1, 84 LeaveCriticalSection(&port->lock); 87 LeaveCriticalSection(&port 102 event_iocp_port_associate_(struct event_iocp_port *port, evutil_socket_t fd, ev_uintptr_t key) argument 178 struct event_iocp_port *port; local 227 event_iocp_port_unlock_and_free_(struct event_iocp_port *port) argument 237 event_iocp_notify_all(struct event_iocp_port *port) argument 250 event_iocp_shutdown_(struct event_iocp_port *port, long waitMsec) argument 276 event_iocp_activate_overlapped_( struct event_iocp_port *port, struct event_overlapped *o, ev_uintptr_t key, ev_uint32_t n) argument [all...] |
/freebsd-head/usr.bin/tftp/ |
H A D | tftp.h | 35 void recvfile(int peer, char *port, int fd, char *name, char *mode); 36 void xmitfile(int peer, char *port, int fd, char *name, char *mode);
|
/freebsd-head/sys/xen/evtchn/ |
H A D | evtchnvar.h | 49 /** Submit a port notification for delivery to a userland evtchn consumer */ 50 void evtchn_device_upcall(evtchn_port_t port); 53 * Disable signal delivery for an event channel port, returning its 56 * \param port The event channel port to query and mask. 61 evtchn_test_and_set_mask(evtchn_port_t port) argument 64 return synch_test_and_set_bit(port, s->evtchn_mask); 68 * Clear any pending event for the given event channel port. 70 * \param port The event channel port t 73 evtchn_clear_port(evtchn_port_t port) argument 85 evtchn_mask_port(evtchn_port_t port) argument 98 evtchn_unmask_port(evtchn_port_t port) argument [all...] |
/freebsd-head/sys/xen/ |
H A D | evtchn.h | 36 * Bind a fresh port to VIRQ @virq. 42 unsigned int port; member in struct:ioctl_evtchn_bind_virq 46 * Bind a fresh port to remote <@remote_domain, @remote_port>. 52 unsigned int port; member in struct:ioctl_evtchn_bind_interdomain 56 * Allocate a fresh port for binding to @remote_domain. 62 unsigned int port; member in struct:ioctl_evtchn_bind_unbound_port 66 * Unbind previously allocated @port. 71 unsigned int port; member in struct:ioctl_evtchn_unbind 75 * Send event to previously allocated @port. 80 unsigned int port; member in struct:ioctl_evtchn_notify [all...] |
/freebsd-head/sys/cam/ctl/ |
H A D | ctl_frontend.c | 148 ctl_port_register(struct ctl_port *port) argument 157 port->ctl_softc = softc; 160 if (port->targ_port >= 0) 161 port_num = port->targ_port; 176 port->max_initiators = CTL_MAX_INIT_PER_PORT; 177 port->wwpn_iid = malloc(sizeof(*port->wwpn_iid) * port->max_initiators, 179 if (port->wwpn_iid == NULL) { 192 retval = ctl_pool_create(softc, port 227 ctl_port_deregister(struct ctl_port *port) argument 263 ctl_port_set_wwns(struct ctl_port *port, int wwnn_valid, uint64_t wwnn, int wwpn_valid, uint64_t wwpn) argument 314 ctl_port_online(struct ctl_port *port) argument 357 ctl_port_offline(struct ctl_port *port) argument [all...] |
/freebsd-head/share/mk/ |
H A D | bsd.port.post.mk | 5 .include <bsd.port.mk>
|
H A D | bsd.port.pre.mk | 5 .include <bsd.port.mk>
|
/freebsd-head/contrib/gdb/gdb/ |
H A D | ser-go32.c | 170 /* Main interrupt controller port addresses. */ 184 struct dos_ttystate *port; member in struct:intrupt 248 dos_getc (volatile struct dos_ttystate *port) argument 252 if (port->count == 0) 255 c = port->cbuf[port->first]; 257 port->first = (port->first + 1) & (CBSIZE - 1); 258 port->count--; 265 dos_putc (int c, struct dos_ttystate *port) argument 279 struct dos_ttystate *port; local 458 struct dos_ttystate *port; local 563 struct dos_ttystate *port; local 617 struct dos_ttystate *port = &ports[scb->fd]; local 635 struct dos_ttystate *port = &ports[scb->fd]; local 680 struct dos_ttystate *port = &ports[scb->fd]; local 723 struct dos_ttystate *port = &ports[scb->fd]; local 755 struct dos_ttystate *port = &ports[scb->fd]; local 782 volatile struct dos_ttystate *port = &ports[scb->fd]; local 823 volatile struct dos_ttystate *port = &ports[scb->fd]; local 866 struct dos_ttystate *port; local [all...] |
/freebsd-head/sys/dev/io/ |
H A D | iodev.c | 129 req->val = iodev_read_1(req->port); 132 if (req->port & 1) { 133 req->val = iodev_read_1(req->port); 134 req->val |= iodev_read_1(req->port + 1) << 8; 136 req->val = iodev_read_2(req->port); 139 if (req->port & 1) { 140 req->val = iodev_read_1(req->port); 141 req->val |= iodev_read_2(req->port + 1) << 8; 142 req->val |= iodev_read_1(req->port + 3) << 24; 143 } else if (req->port [all...] |
/freebsd-head/contrib/ntp/lib/isc/ |
H A D | portset.c | 33 * bit corresponding to a single port in the ascending order. For example, 34 * the second most significant bit of buf[0] corresponds to port 1. 42 portset_isset(isc_portset_t *portset, in_port_t port) { argument 43 return (ISC_TF((portset->buf[port >> 5] & (1 << (port & 31))) != 0)); 47 portset_add(isc_portset_t *portset, in_port_t port) { argument 48 if (!portset_isset(portset, port)) { 50 portset->buf[port >> 5] |= (1 << (port & 31)); 55 portset_remove(isc_portset_t *portset, in_port_t port) { argument 90 isc_portset_isset(isc_portset_t *portset, in_port_t port) argument 104 isc_portset_add(isc_portset_t *portset, in_port_t port) argument 111 isc_portset_remove(isc_portset_t *portset, in_port_t port) argument [all...] |
/freebsd-head/sys/dev/mlx4/mlx4_core/ |
H A D | fw_qos.h | 58 * classes of a given port and device. 61 * @port: Physical port number. 66 int mlx4_SET_PORT_PRIO2TC(struct mlx4_dev *dev, u8 port, u8 *prio2tc); 75 * @port: Physical port number. 84 int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw, 87 * mlx4_ALLOCATE_VPP_get - Query port VPP availible resources and allocation. 92 * @port: Physical port numbe [all...] |
/freebsd-head/stand/ficl/x86/ |
H A D | sysdep.c | 7 * outb ( port# c -- ) 8 * Store a byte to I/O port number port# 14 uint32_t port; local 16 port=stackPopUNS(pVM->pStack); 18 outb(port,c); 22 * inb ( port# -- c ) 23 * Fetch a byte from I/O port number port# 29 uint32_t port; local [all...] |
/freebsd-head/sys/contrib/ngatm/netnatm/api/ |
H A D | cc_port.c | 49 * Find a port with a given number 54 struct ccport *port; local 56 TAILQ_FOREACH(port, &cc->port_list, node_link) 57 if (port->param.port == portno) 58 return (port); 63 * Create a new port structure, initialize it and link it to the node. 69 struct ccport *port, *p1; local 74 TAILQ_FOREACH(port, &cc->port_list, node_link) 75 if (port 115 cc_port_destroy(struct ccport *port, int shutdown) argument 150 struct ccport *port; local 179 struct ccport *port = NULL; local 238 cc_port_no(struct ccport *port) argument 249 struct ccport *port; local 272 struct ccport *port, *p1; local 301 struct ccport *port; local 314 struct ccport *port; local 360 struct ccport *port; local 377 struct ccport *port; local 401 struct ccport *port; local 419 struct ccport *port; local 441 struct ccport *port; local 491 find_cookie(struct ccport *port, u_int cookie) argument 505 cc_uni_response(struct ccport *port, u_int cookie, u_int reason, u_int state) argument 534 find_cref(const struct ccport *port, const struct uni_cref *cref) argument 549 cc_uni_signal(struct ccport *port, u_int cookie, u_int sig, struct uni_msg *msg) argument [all...] |
/freebsd-head/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo_hostspec.c | 38 /* getaddrinfo via string specifying host and port */ 43 int port, 56 int port; member in struct:hst 73 if(port == 0) 74 port = hstp->port; 84 port = strtol (p + 1, &end, 0); 89 snprintf (portstr, sizeof(portstr), "%u", port); 97 int port, 100 return roken_getaddrinfo_hostspec2(hostspec, 0, port, a 41 roken_getaddrinfo_hostspec2(const char *hostspec, int socktype, int port, struct addrinfo **ai) argument 96 roken_getaddrinfo_hostspec(const char *hostspec, int port, struct addrinfo **ai) argument [all...] |
/freebsd-head/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_virt.c | 32 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u8 port, argument 39 u8 port, int state) 45 u8 port, struct ifla_vf_stats *stats) 50 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u8 port, argument 38 mlx5_ib_set_vf_link_state(struct ib_device *device, int vf, u8 port, int state) argument 44 mlx5_ib_get_vf_stats(struct ib_device *device, int vf, u8 port, struct ifla_vf_stats *stats) argument
|
/freebsd-head/sys/arm/ti/usb/ |
H A D | omap_usb.h | 48 int omap_usb_port_mode(device_t dev, int port);
|