Searched refs:port (Results 51 - 75 of 1305) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/etherswitch/ar40xx/
H A Dar40xx_hw_atu.h32 extern int ar40xx_hw_atu_flush_port(struct ar40xx_softc *sc, int port);
H A Dar40xx_hw_mib.h34 extern int ar40xx_hw_mib_fetch(struct ar40xx_softc *sc, int port);
H A Dar40xx_hw_port.c74 ar40xx_hw_port_init(struct ar40xx_softc *sc, int port) argument
79 "%s: called; port %d\n", __func__, port);
81 AR40XX_REG_WRITE(sc, AR40XX_REG_PORT_STATUS(port), 0);
82 AR40XX_REG_WRITE(sc, AR40XX_REG_PORT_HEADER(port), 0);
83 AR40XX_REG_WRITE(sc, AR40XX_REG_PORT_VLAN0(port), 0);
100 * SO - for now the port is left off until the PHY state changes.
104 AR40XX_REG_WRITE(sc, AR40XX_REG_PORT_STATUS(port),
115 AR40XX_REG_WRITE(sc, AR40XX_REG_PORT_VLAN1(port), reg);
119 AR40XX_REG_WRITE(sc, AR40XX_REG_PORT_LOOKUP(port), re
131 ar40xx_hw_port_link_down(struct ar40xx_softc *sc, int port) argument
149 ar40xx_hw_port_link_up(struct ar40xx_softc *sc, int port) argument
201 ar40xx_hw_get_port_pvid(struct ar40xx_softc *sc, int port, int *pvid) argument
224 ar40xx_hw_set_port_pvid(struct ar40xx_softc *sc, int port, int pvid) argument
255 ar40xx_hw_port_setup(struct ar40xx_softc *sc, int port, uint32_t members) argument
[all...]
/freebsd-current/sys/amd64/vmm/
H A Dvmm_ioport.h33 bool in, int port, int bytes, uint32_t *val);
/freebsd-current/sys/dev/io/
H A Diodev.h37 u_int port; member in struct:iodev_pio_req
/freebsd-current/sys/dev/dcons/
H A Ddcons.c129 dcons_init_port(int port, int offset, int size, struct dcons_buf *buf, argument
135 dc = &sc[port];
145 dc->o.ptr = &buf->optr[port];
146 dc->i.ptr = &buf->iptr[port];
148 buf->osize[port] = htonl(osize);
149 buf->isize[port] = htonl(size - osize);
150 buf->ooffset[port] = htonl(offset);
151 buf->ioffset[port] = htonl(offset + osize);
152 buf->optr[port] = DCONS_MAKE_PTR(&dc->o);
153 buf->iptr[port]
161 int port, s; local
[all...]
/freebsd-current/usr.sbin/pkg/
H A Ddns_utils.h37 unsigned int port; member in struct:dns_srvinfo
/freebsd-current/usr.sbin/bhyve/amd64/
H A Dinout.h41 typedef int (*inout_func_t)(struct vmctx *ctx, int in, int port,
46 int port; member in struct:inout_port
62 #define INOUT_PORT(name, port, flags, handler) \
65 (port), \
/freebsd-current/sys/contrib/device-tree/include/dt-bindings/pinctrl/
H A Dstm32-pinfunc.h31 #define PIN_NO(port, line) (((port) - 'A') * 0x10 + (line))
33 #define STM32_PINMUX(port, line, mode) (((PIN_NO(port, line)) << 8) | (mode))
H A Dr7s9210-pinctrl.h43 * Convert a port and pin label to its global pin index
45 #define RZA2_PIN(port, pin) ((port) * RZA2_PINS_PER_PORT + (pin))
/freebsd-current/sys/contrib/xen/
H A Devent_channel.h86 * EVTCHNOP_alloc_unbound: Allocate a port in domain <dom> and mark as
87 * accepting interdomain bindings from domain <remote_dom>. A fresh port
88 * is allocated in <dom> and returned as <port>.
97 evtchn_port_t port; member in struct:evtchn_alloc_unbound
104 * a port that is unbound and marked as accepting bindings from the calling
105 * domain. A fresh port is allocated in the calling domain and returned as
147 evtchn_port_t port; member in struct:evtchn_bind_virq
163 evtchn_port_t port; member in struct:evtchn_bind_pirq
176 evtchn_port_t port; member in struct:evtchn_bind_ipi
181 * EVTCHNOP_close: Close a local event channel <port>
187 evtchn_port_t port; member in struct:evtchn_close
197 evtchn_port_t port; member in struct:evtchn_send
212 evtchn_port_t port; member in struct:evtchn_status
228 evtchn_port_t port; member in struct:evtchn_status::__anon44::__anon46
250 evtchn_port_t port; member in struct:evtchn_bind_vcpu
261 evtchn_port_t port; member in struct:evtchn_unmask
313 evtchn_port_t port; member in struct:evtchn_set_priority
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/net/
H A Dt_servent.sh40 # (2) fold all names for the same port/proto together
70 portproto = "port=" portproto;
95 port=$1; shift
98 printf "name=%s, port=%s, proto=%s, aliases=%s\n" \
99 $name $port $proto "$alias"
/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dibsendtrap.c57 static uint16_t get_node_type(ib_portid_t * port) argument
62 if (smp_query_via(data, port, IB_ATTR_NODE_INFO, 0, 0, srcport))
67 static uint32_t get_cap_mask(ib_portid_t * port) argument
72 if (smp_query_via(data, port, IB_ATTR_PORT_INFO, 0, 0, srcport))
77 static void build_trap145(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
80 n->g_or_v.generic.prod_type_lsb = cl_hton16(get_node_type(port));
82 n->issuer_lid = cl_hton16((uint16_t) port->lid);
86 static void build_trap144_local(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
89 n->g_or_v.generic.prod_type_lsb = cl_hton16(get_node_type(port));
91 n->issuer_lid = cl_hton16((uint16_t) port
98 build_trap144_nodedesc(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
105 build_trap144_linkspeed(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
113 build_trap129(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
124 build_trap256_local(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
138 build_trap256_lid(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
144 build_trap256_dr(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
154 build_trap257_258(ib_mad_notice_attr_t * n, ib_portid_t * port, uint16_t trap_num) argument
172 build_trap257(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
177 build_trap258(ib_mad_notice_attr_t * n, ib_portid_t * port) argument
[all...]
/freebsd-current/contrib/ntp/sntp/libevent/include/event2/
H A Dhttp_compat.h53 * Start an HTTP server on the specified address and port
58 * @param port the port number on which the HTTP server should listen
63 struct evhttp *evhttp_start(const char *address, ev_uint16_t port);
74 const char *address, ev_uint16_t port);
/freebsd-current/sys/amd64/vmm/io/
H A Dvatpit.h42 int vatpit_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *eax);
43 int vatpit_nmisc_handler(struct vm *vm, bool in, int port, int bytes,
/freebsd-current/sys/dev/ofw/
H A Dofw_graph.h35 size_t ofw_graph_port_get_num_endpoints(phandle_t port);
36 phandle_t ofw_graph_get_endpoint_by_idx(phandle_t port, uint32_t idx);
/freebsd-current/contrib/libevent/include/event2/
H A Dhttp_compat.h53 * Start an HTTP server on the specified address and port
58 * @param port the port number on which the HTTP server should listen
63 struct evhttp *evhttp_start(const char *address, ev_uint16_t port);
74 const char *address, ev_uint16_t port);
/freebsd-current/share/doc/psd/20.ipctut/
H A Ddgramread.c65 /* Find assigned port value and print it out. */
71 printf("Socket has port #%d\en", ntohs(name.sin_port));
/freebsd-current/usr.sbin/bhyve/
H A Dpci_virtio_console.c231 pci_vtcon_port_to_vq(struct pci_vtcon_port *port, bool tx_queue) argument
235 qnum = tx_queue ? port->vsp_txq : port->vsp_rxq;
236 return (&port->vsp_sc->vsc_queues[qnum]);
243 struct pci_vtcon_port *port; local
245 port = &sc->vsc_ports[port_id];
246 if (port->vsp_enabled) {
250 port->vsp_id = port_id;
251 port->vsp_sc = sc;
252 port
277 long port; local
410 struct pci_vtcon_port *port; local
490 pci_vtcon_control_tx(struct pci_vtcon_port *port, void *arg __unused, struct iovec *iov, int niov) argument
536 pci_vtcon_announce_port(struct pci_vtcon_port *port) argument
551 pci_vtcon_open_port(struct pci_vtcon_port *port, bool open) argument
597 struct pci_vtcon_port *port; local
623 struct pci_vtcon_port *port; local
639 pci_vtcon_legacy_config_port(nvlist_t *nvl, int port, char *opt) argument
667 int error, port; local
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dget.ipv4remote.pl30 # get.ipv4remote.pl [port] [proto]
33 # If a port is specified, return a host that is also listening on this
34 # port. If the port is specified, the protocol can also be specified and
43 my $MAXHOSTS = 32; # max hosts to port scan
45 my $port = @ARGV >= 1 ? $ARGV[0] : 0;
84 if ($port != 0) {
92 PeerPort => $port,
/freebsd-current/sys/contrib/device-tree/include/dt-bindings/memory/
H A Dmt2701-larb-port.h11 * Mediatek m4u generation 1 such as mt2701 has flat m4u port numbers,
12 * the first port's id for larb[N] would be the last port's id of larb[N - 1]
13 * plus one while larb[0]'s first port number is 0. The definition of
15 * But m4u generation 2 like mt8173 have different port number, it use fixed
16 * offset for each larb, the first port's id for larb[N] would be (N * 32).
23 #define MT2701_M4U_ID_LARB0(port) ((port) + LARB0_PORT_OFFSET)
24 #define MT2701_M4U_ID_LARB1(port) ((port)
[all...]
/freebsd-current/sys/dev/aic7xxx/
H A Daic79xx_osm.h148 #define ahd_inb(ahd, port) \
149 bus_space_read_1((ahd)->tags[(port) >> 8], \
150 (ahd)->bshs[(port) >> 8], (port) & 0xFF)
152 #define ahd_outb(ahd, port, value) \
153 bus_space_write_1((ahd)->tags[(port) >> 8], \
154 (ahd)->bshs[(port) >> 8], (port) & 0xFF, value)
156 #define ahd_inw_atomic(ahd, port) \
157 aic_le16toh(bus_space_read_2((ahd)->tags[(port) >>
[all...]
/freebsd-current/contrib/ldns/compat/
H A Dfake-rfc2553.c121 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) argument
136 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port;
159 long int port; local
162 port = 0;
166 port = strtol(servname, &cp, 10);
167 if (port > 0 && port <= 65535 && *cp == '\0')
168 port = htons(port);
170 port
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c124 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) argument
139 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port;
162 long int port; local
165 port = 0;
172 port = strtol(servname, &cp, 10);
173 if (port > 0 && port <= 65535 && *cp == '\0')
174 port = htons(port);
176 port
[all...]
/freebsd-current/contrib/unbound/compat/
H A Dfake-rfc2553.c119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) argument
132 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port;
155 long int port; local
158 port = 0;
162 port = strtol(servname, &cp, 10);
163 if (port > 0 && port <= 65535 && *cp == '\0')
164 port = htons(port);
166 port
[all...]

Completed in 166 milliseconds

1234567891011>>