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

1234567891011>>

/freebsd-10.1-release/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-10.1-release/usr.sbin/bhyve/
H A Ddbgport.h32 void init_dbgport(int port);
/freebsd-10.1-release/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...]
/freebsd-10.1-release/sys/arm/include/
H A Dkatelib.h93 #define inb(port) ReadByte((port))
94 #define outb(port, byte) WriteByte((port), (byte))
95 #define inw(port) ReadShort((port))
96 #define outw(port, word) WriteShort((port), (word))
97 #define inl(port) ReadWord((port))
[all...]
/freebsd-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/sys/ia64/ia64/
H A Dbus_machdep.c37 #define __PIO_ADDR(port) \
38 (void *)(ia64_port_base | (((port) & 0xfffc) << 10) | ((port) & 0xFFF))
60 bus_space_read_io_1(u_long port) argument
65 v = ia64_ld1(__PIO_ADDR(port));
72 bus_space_read_io_2(u_long port) argument
77 v = ia64_ld2(__PIO_ADDR(port));
84 bus_space_read_io_4(u_long port) argument
89 v = ia64_ld4(__PIO_ADDR(port));
97 bus_space_read_io_8(u_long port)
103 bus_space_write_io_1(u_long port, uint8_t val) argument
113 bus_space_write_io_2(u_long port, uint16_t val) argument
123 bus_space_write_io_4(u_long port, uint32_t val) argument
140 bus_space_read_multi_io_1(u_long port, uint8_t *ptr, size_t count) argument
148 bus_space_read_multi_io_2(u_long port, uint16_t *ptr, size_t count) argument
156 bus_space_read_multi_io_4(u_long port, uint32_t *ptr, size_t count) argument
171 bus_space_write_multi_io_1(u_long port, const uint8_t *ptr, size_t count) argument
179 bus_space_write_multi_io_2(u_long port, const uint16_t *ptr, size_t count) argument
187 bus_space_write_multi_io_4(u_long port, const uint32_t *ptr, size_t count) argument
202 bus_space_read_region_io_1(u_long port, uint8_t *ptr, size_t count) argument
212 bus_space_read_region_io_2(u_long port, uint16_t *ptr, size_t count) argument
222 bus_space_read_region_io_4(u_long port, uint32_t *ptr, size_t count) argument
236 bus_space_write_region_io_1(u_long port, const uint8_t *ptr, size_t count) argument
246 bus_space_write_region_io_2(u_long port, const uint16_t *ptr, size_t count) argument
256 bus_space_write_region_io_4(u_long port, const uint32_t *ptr, size_t count) argument
273 bus_space_set_region_io_1(u_long port, uint8_t val, size_t count) argument
283 bus_space_set_region_io_2(u_long port, uint16_t val, size_t count) argument
293 bus_space_set_region_io_4(u_long port, uint32_t val, size_t count) argument
[all...]
/freebsd-10.1-release/contrib/bsnmp/snmpd/
H A Dtrans_udp.h37 uint16_t port; /* host byteorder */ member in struct:udp_port
47 uint16_t port; /* host byteorder */ member in struct:udp_open
/freebsd-10.1-release/contrib/ipfilter/rules/
H A Dexample.22 # block all outgoing TCP packets on le0 from any host to port 23 of
5 block out on le0 proto tcp from any to 10.1.1.3/32 port = 23
H A Dexample.113 # 10.1.1.2 if they are destined for port 6667.
5 pass in proto tcp from 10.2.2.2/24 to 10.1.1.2/32 port = 6667
7 # allow in UDP packets which are NOT from port 53 and are destined for
10 pass in proto udp from 10.2.2.2 port != 53 to localhost
14 block in proto tcp from any to any port 5999 >< 6010
20 pass in proto tcp/udp from any to any port 512 <> 515
26 block in proto tcp/udp from any to any port 511 >< 516
/freebsd-10.1-release/share/mk/
H A Dbsd.port.post.mk5 .include <bsd.port.mk>
H A Dbsd.port.pre.mk5 .include <bsd.port.mk>
/freebsd-10.1-release/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-10.1-release/sys/cam/ctl/
H A Dctl_frontend.c139 ctl_port_register(struct ctl_port *port, int master_shelf) argument
153 port->targ_port = -1;
163 port->max_initiators = CTL_MAX_INIT_PER_PORT;
164 port->wwpn_iid = malloc(sizeof(*port->wwpn_iid) * port->max_initiators,
166 if (port->wwpn_iid == NULL) {
180 port->num_requested_ctl_io + 20, &pool);
182 free(port->wwpn_iid, M_CTL);
184 port
206 ctl_port_deregister(struct ctl_port *port) argument
248 ctl_port_set_wwns(struct ctl_port *port, int wwnn_valid, uint64_t wwnn, int wwpn_valid, uint64_t wwpn) argument
297 ctl_port_online(struct ctl_port *port) argument
305 ctl_port_offline(struct ctl_port *port) argument
[all...]
/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/src/
H A Dibnetdiscover.c133 decode_port_info(void *pi, Port *port) argument
135 mad_decode_field(pi, IB_PORT_LID_F, &port->lid);
136 mad_decode_field(pi, IB_PORT_LMC_F, &port->lmc);
137 mad_decode_field(pi, IB_PORT_STATE_F, &port->state);
138 mad_decode_field(pi, IB_PORT_PHYS_STATE_F, &port->physstate);
139 mad_decode_field(pi, IB_PORT_LINK_WIDTH_ACTIVE_F, &port->linkwidth);
140 mad_decode_field(pi, IB_PORT_LINK_SPEED_ACTIVE_F, &port->linkspeed);
145 get_port(Port *port, int portnum, ib_portid_t *portid) argument
150 port->portnum = portnum;
154 decode_port_info(pi, port);
164 get_node(Node *node, Port *port, ib_portid_t *portid) argument
226 dump_endnode(ib_portid_t *path, char *prompt, Node *node, Port *port) argument
284 find_port(Node *node, Port *port) argument
298 Port *port; local
313 link_ports(Node *node, Port *port, Node *remotenode, Port *remoteport) argument
327 handle_port(Node *node, Port *port, ib_portid_t *path, int portnum, int dist) argument
383 Port *port; local
603 out_ext_port(Port *port, int group) argument
616 out_switch_port(Port *port, int group) argument
655 out_ca_port(Port *port, int group) argument
689 Port *port; local
874 Port *port; local
[all...]
/freebsd-10.1-release/sys/dev/sfxge/
H A Dsfxge_port.c45 struct sfxge_port *port = &sc->port; local
46 efsys_mem_t *esmp = &(port->mac_stats.dma_buf);
51 mtx_lock(&port->lock);
53 if (port->init_state != SFXGE_PORT_STARTED) {
59 if (now - port->mac_stats.update_time < hz) {
64 port->mac_stats.update_time = now;
77 port->mac_stats.decode_buf, NULL)) != EAGAIN)
85 mtx_unlock(&port->lock);
100 (uint64_t *)sc->port
166 struct sfxge_port *port; local
203 struct sfxge_port *port; local
236 struct sfxge_port *port; local
258 struct sfxge_port *port; local
320 struct sfxge_port *port = &sc->port; local
345 struct sfxge_port *port; local
378 struct sfxge_port *port; local
450 struct sfxge_port *port = &sc->port; local
537 struct sfxge_port *port; local
565 struct sfxge_port *port; local
[all...]
/freebsd-10.1-release/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-10.1-release/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-10.1-release/contrib/ofed/management/libibmad/src/
H A Dgs.c52 pma_query_via(void *rcvbuf, ib_portid_t *dest, int port, argument
58 DEBUG("lid %d port %d", lid, port);
70 mad_set_field(rcvbuf, 0, IB_PC_PORT_SELECT_F, port);
88 pma_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, unsigned id) argument
90 return pma_query_via(rcvbuf, dest, port, timeout, id, NULL);
94 perf_classportinfo_query_via(void *rcvbuf, ib_portid_t *dest, int port, argument
97 return pma_query_via(rcvbuf, dest, port, timeout, CLASS_PORT_INFO,
102 perf_classportinfo_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
104 return pma_query(rcvbuf, dest, port, timeou
108 port_performance_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, const void *srcport) argument
116 port_performance_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
122 performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, unsigned id, const void *srcport) argument
163 performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, unsigned id) argument
171 port_performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, const void *srcport) argument
179 port_performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout) argument
186 port_performance_ext_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, const void *srcport) argument
194 port_performance_ext_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
200 port_performance_ext_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, const void *srcport) argument
209 port_performance_ext_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout) argument
216 port_samples_control_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, const void *srcport) argument
224 port_samples_control_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
230 port_samples_result_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, const void *srcport) argument
238 port_samples_result_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
[all...]
/freebsd-10.1-release/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);

Completed in 199 milliseconds

1234567891011>>