Searched refs:port (Results 1 - 25 of 1261) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/isci/scil/
H A Dscic_sds_port_registers.h69 * Macro to read the port task scheduler register associated with this port
72 #define scu_port_task_scheduler_read(port, reg) \
74 scic_sds_port_get_controller(port), \
75 (port)->port_task_scheduler_registers->reg \
79 * Macro to write the port task scheduler register associated with this
80 * port object
82 #define scu_port_task_scheduler_write(port, reg, value) \
84 scic_sds_port_get_controller(port), \
85 (port)
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Ddbgport.h34 void init_dbgport(int port);
H A Drfb.h36 int rfb_init(char *hostname, int port, int wait, char *password);
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-mgmt-port.h49 * 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 Dcvmx-spi4000.c182 * @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 Dcvmx-mgmt-port.c49 * 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:__anon8631
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-11-stable/sys/dev/cx/
H A Dmachdep.h27 # 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-11-stable/crypto/openssh/regress/
H A Dportnum.sh4 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-11-stable/contrib/ntp/sntp/libevent/
H A Devent_iocp.c66 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-11-stable/usr.bin/tftp/
H A Dtftp.h33 void recvfile(int peer, char *port, int fd, char *name, char *mode);
34 void xmitfile(int peer, char *port, int fd, char *name, char *mode);
/freebsd-11-stable/sys/xen/evtchn/
H A Devtchnvar.h49 /** 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-11-stable/sys/xen/
H A Devtchn.h36 * 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-11-stable/sys/cam/ctl/
H A Dctl_frontend.c144 ctl_port_register(struct ctl_port *port) argument
153 port->ctl_softc = softc;
156 if (port->targ_port >= 0)
157 port_num = port->targ_port;
172 port->max_initiators = CTL_MAX_INIT_PER_PORT;
173 port->wwpn_iid = malloc(sizeof(*port->wwpn_iid) * port->max_initiators,
175 if (port->wwpn_iid == NULL) {
188 retval = ctl_pool_create(softc, port
223 ctl_port_deregister(struct ctl_port *port) argument
259 ctl_port_set_wwns(struct ctl_port *port, int wwnn_valid, uint64_t wwnn, int wwpn_valid, uint64_t wwpn) argument
310 ctl_port_online(struct ctl_port *port) argument
353 ctl_port_offline(struct ctl_port *port) argument
[all...]
/freebsd-11-stable/share/mk/
H A Dbsd.port.post.mk5 .include <bsd.port.mk>
H A Dbsd.port.pre.mk5 .include <bsd.port.mk>
/freebsd-11-stable/contrib/gdb/gdb/
H A Dser-go32.c170 /* 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-11-stable/sys/dev/io/
H A Diodev.c127 req->val = iodev_read_1(req->port);
130 if (req->port & 1) {
131 req->val = iodev_read_1(req->port);
132 req->val |= iodev_read_1(req->port + 1) << 8;
134 req->val = iodev_read_2(req->port);
137 if (req->port & 1) {
138 req->val = iodev_read_1(req->port);
139 req->val |= iodev_read_2(req->port + 1) << 8;
140 req->val |= iodev_read_1(req->port + 3) << 24;
141 } else if (req->port
[all...]
/freebsd-11-stable/sys/dev/mse/
H A Dmse_isa.c44 * the X386 port, courtesy of
124 /* The definition for the control port */
128 /* D6,D5 = Mode selection (port A) */
135 /* D2 = Mode selection (port B & C) */
143 /* Port A is an input port, B is an */
144 /* output port, C is split with upper */
145 /* 4 bits being an output port and lower*/
146 /* 4 bits an input port, and enable the */
158 static void mse_disablelogi(struct resource *port);
159 static void mse_getlogi(struct resource *port, in
288 mse_enablelogi(struct resource *port) argument
300 mse_disablelogi(struct resource *port) argument
310 mse_getlogi(struct resource *port, int *dx, int *dy, int *but) argument
351 mse_enableati(struct resource *port) argument
363 mse_disableati(struct resource *port) argument
374 mse_getati(struct resource *port, int *dx, int *dy, int *but) argument
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dportset.c33 * 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-11-stable/contrib/ipfilter/lib/
H A Dportname.c13 char *portname(pr, port)
14 int pr, port;
23 if ((sv = getservbyport(htons(port), "tcp"))) {
26 sv1 = getservbyport(htons(port), "udp");
33 if ((sv = getservbyport(htons(port), p->p_name))) {
41 (void) sprintf(buf, "%d", port);
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dfw_qos.h58 * 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-11-stable/sys/contrib/ngatm/netnatm/api/
H A Dcc_port.c49 * 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-11-stable/sys/arm/ti/usb/
H A Domap_usb.h46 int omap_usb_port_mode(device_t dev, int port);
/freebsd-11-stable/sys/pc98/cbus/
H A Dnmi.c55 int port = inb(0x33); local
57 log(LOG_CRIT, "NMI PC98 port = %x\n", port);
58 if (port & NMI_PARITY) {
61 } else if (port & NMI_EPARITY) {
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_virt.c32 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

Completed in 203 milliseconds

1234567891011>>