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

1234567891011>>

/freebsd-11-stable/sys/dev/dcons/
H A Ddcons.c128 dcons_init_port(int port, int offset, int size, struct dcons_buf *buf, argument
134 dc = &sc[port];
144 dc->o.ptr = &buf->optr[port];
145 dc->i.ptr = &buf->iptr[port];
147 buf->osize[port] = htonl(osize);
148 buf->isize[port] = htonl(size - osize);
149 buf->ooffset[port] = htonl(offset);
150 buf->ioffset[port] = htonl(offset + osize);
151 buf->optr[port] = DCONS_MAKE_PTR(&dc->o);
152 buf->iptr[port]
160 int port, s; local
[all...]
/freebsd-11-stable/sys/dev/aic/
H A Daicvar.h131 #define aic_inb(aic, port) \
132 bus_read_1((aic)->res, (port))
134 #define aic_outb(aic, port, value) \
135 bus_write_1((aic)->res, (port), (value))
137 #define aic_insb(aic, port, addr, count) \
138 bus_read_multi_1((aic)->res, (port), (addr), (count))
140 #define aic_outsb(aic, port, addr, count) \
141 bus_write_multi_1((aic)->res, (port), (addr), (count))
143 #define aic_insw(aic, port, addr, count) \
144 bus_read_multi_2((aic)->res, (port), (u_int16_
[all...]
/freebsd-11-stable/sys/dev/mse/
H A Dmse_cbus.c44 * the X386 port, courtesy of
138 static void mse_disable98m(struct resource *port);
139 static void mse_get98m(struct resource *port,
141 static void mse_enable98m(struct resource *port);
249 mse_enable98m(struct resource *port) argument
251 bus_write_1(port, INT, INT_ENABLE); /* INT enable */
252 bus_write_1(port, HC, HC_NO_CLEAR); /* HC = 0 */
253 bus_write_1(port, HC, HC_CLEAR); /* HC = 1 */
260 mse_disable98m(struct resource *port) argument
262 bus_write_1(port, IN
271 mse_get98m(struct resource *port, int *dx, int *dy, int *but) argument
[all...]
H A Dmsevar.h58 void (*sc_enablemouse)(struct resource *port);
59 void (*sc_disablemouse)(struct resource *port);
60 void (*sc_getmouse)(struct resource *port, int *dx, int *dy,
115 void (*m_enable)(struct resource *port);
117 void (*m_disable)(struct resource *port);
119 void (*m_get)(struct resource *port, int *dx, int *dy, int *but);
/freebsd-11-stable/sys/dev/io/
H A Diodev.h37 u_int port; member in struct:iodev_pio_req
/freebsd-11-stable/sys/amd64/vmm/
H A Dvmm_ioport.h35 bool in, int port, int bytes, uint32_t *val);
/freebsd-11-stable/sys/arm/allwinner/
H A Dallwinner_pinctrl.h36 uint8_t port; member in struct:allwinner_pins
/freebsd-11-stable/usr.sbin/pkg/
H A Ddns_utils.h39 unsigned int port; member in struct:dns_srvinfo
/freebsd-11-stable/usr.sbin/bhyve/
H A Dinout.h42 typedef int (*inout_func_t)(struct vmctx *ctx, int vcpu, int in, int port,
47 int port; member in struct:inout_port
63 #define INOUT_PORT(name, port, flags, handler) \
66 (port), \
/freebsd-11-stable/contrib/libpcap/rpcapd/
H A Dconfig_params.h47 char port[MAX_LINE + 1]; // keeps the network port to bind to member in struct:active_pars
52 extern struct active_pars activelist[MAX_ACTIVE_LIST]; //!< Keeps the list of the hosts (host, port) on which I want to connect to (active mode)
/freebsd-11-stable/sys/xen/interface/
H A Devent_channel.h83 * EVTCHNOP_alloc_unbound: Allocate a port in domain <dom> and mark as
84 * accepting interdomain bindings from domain <remote_dom>. A fresh port
85 * is allocated in <dom> and returned as <port>.
94 evtchn_port_t port; member in struct:evtchn_alloc_unbound
101 * a port that is unbound and marked as accepting bindings from the calling
102 * domain. A fresh port is allocated in the calling domain and returned as
144 evtchn_port_t port; member in struct:evtchn_bind_virq
160 evtchn_port_t port; member in struct:evtchn_bind_pirq
173 evtchn_port_t port; member in struct:evtchn_bind_ipi
178 * EVTCHNOP_close: Close a local event channel <port>
184 evtchn_port_t port; member in struct:evtchn_close
194 evtchn_port_t port; member in struct:evtchn_send
209 evtchn_port_t port; member in struct:evtchn_status
225 evtchn_port_t port; member in struct:evtchn_status::__anon13541::__anon13543
247 evtchn_port_t port; member in struct:evtchn_bind_vcpu
258 evtchn_port_t port; member in struct:evtchn_unmask
310 uint32_t port; member in struct:evtchn_set_priority
[all...]
/freebsd-11-stable/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
61 struct evhttp *evhttp_start(const char *address, unsigned short port);
71 const char *address, unsigned short port);
/freebsd-11-stable/share/doc/psd/20.ipctut/
H A Ddgramread.c67 /* Find assigned port value and print it out. */
73 printf("Socket has port #%d\en", ntohs(name.sin_port));
/freebsd-11-stable/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-11-stable/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-11-stable/sys/dev/aic7xxx/
H A Daic79xx_osm.h157 #define ahd_inb(ahd, port) \
158 bus_space_read_1((ahd)->tags[(port) >> 8], \
159 (ahd)->bshs[(port) >> 8], (port) & 0xFF)
161 #define ahd_outb(ahd, port, value) \
162 bus_space_write_1((ahd)->tags[(port) >> 8], \
163 (ahd)->bshs[(port) >> 8], (port) & 0xFF, value)
165 #define ahd_inw_atomic(ahd, port) \
166 aic_le16toh(bus_space_read_2((ahd)->tags[(port) >>
[all...]
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_tpc_local.c61 struct ctl_port port; member in struct:tpcl_softc
85 struct ctl_port *port; local
91 port = &tsoftc->port;
92 port->frontend = &tpcl_frontend;
93 port->port_type = CTL_PORT_INTERNAL;
94 port->num_requested_ctl_io = 100;
95 port->port_name = "tpc";
96 port->fe_datamove = tpcl_datamove;
97 port
125 struct ctl_port *port = &tsoftc->port; local
273 struct ctl_port *port; local
[all...]
/freebsd-11-stable/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-11-stable/crypto/heimdal/appl/test/
H A Dcommon.c49 { "port", 'p', arg_string, &port_str, "port to listen to", "port" },
80 int port = 0; local
93 port = s->s_port;
97 port = strtol (port_str, &ptr, 10);
98 if (port == 0 && ptr == port_str)
99 errx (1, "Bad port `%s'", port_str);
100 port = htons(port);
113 int port = common_setup(context, &argc, argv, server_usage); local
131 int port = common_setup(context, &optind, argv, client_usage); local
139 client_doit(const char *hostname, int port, const char *service, int (*func)(int, const char *hostname, const char *service)) argument
[all...]
H A Dnt_gss_server.c57 { "port", 'p', arg_string, &port_str, "port to listen to", "port" },
156 doit (int port, const char *service) argument
168 my_addr.sin_port = port;
199 int port = 0; local
212 port = s->s_port;
216 port = strtol (port_str, &ptr, 10);
217 if (port == 0 && ptr == port_str)
218 errx (1, "Bad port `
232 int port = common_setup(context, &argc, argv, usage); local
242 int port = setup(&context, argc, argv); local
[all...]
/freebsd-11-stable/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...]
/freebsd-11-stable/sys/dev/ie/
H A Dif_ie_isa.c84 static int ie_ee16_port_check (u_int32_t port);
85 static u_int16_t ie_ee16_hw_read_eeprom (u_int32_t port, int loc);
113 u_int32_t port, maddr, msize; local
123 for (port = IE_3C507_IOBASE_LOW;
124 port <= IE_3C507_IOBASE_HIGH;
125 port += IE_3C507_IOSIZE) {
127 if (ie_3C507_port_check(port)) {
131 "(if_ie) (3C507) not found at port %#x\n",
132 port);
138 outb(port
287 ie_3C507_port_check(u_int32_t port) argument
328 u_int32_t port, maddr, msize; local
584 ie_ee16_port_check(u_int32_t port) argument
603 ie_ee16_hw_eeprom_clock(u_int32_t port, int state) argument
618 ie_ee16_hw_eeprom_out(u_int32_t port, u_int16_t edata, int count) argument
644 ie_ee16_hw_eeprom_in(u_int32_t port) argument
666 ie_ee16_hw_read_eeprom(u_int32_t port, int loc) argument
785 ie_isa_sl_get_hard_type(u_int32_t port) argument
[all...]
/freebsd-11-stable/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-11-stable/sys/dev/buslogic/
H A Dbt_eisa.c116 struct resource *port; local
125 port = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
126 if (!port)
129 bt_init_softc(dev, port, 0, 0);
137 if (port)
139 0, port);
154 if (bt->port)
155 bus_release_resource(dev, SYS_RES_IOPORT, 0, bt->port);
191 u_long port; local
209 /* Determine "ISA" I/O port */
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_user_mad.c107 struct ib_umad_port port[0]; member in struct:ib_umad_device
112 struct ib_umad_port *port; member in struct:ib_umad_file
502 ah_attr.port_num = file->port->port_num;
638 mutex_lock(&file->port->file_mutex);
641 if (!file->port->ib_dev) {
642 dev_notice(file->port->dev,
654 dev_notice(file->port->dev,
665 dev_notice(file->port->dev,
690 agent = ib_register_mad_agent(file->port->ib_dev, file->port
938 struct ib_umad_port *port; local
1032 struct ib_umad_port *port; local
1079 struct ib_umad_port *port = filp->private_data; local
1113 struct ib_umad_port *port = dev_get_drvdata(dev); local
1125 struct ib_umad_port *port = dev_get_drvdata(dev); local
1160 ib_umad_init_port(struct ib_device *device, int port_num, struct ib_umad_device *umad_dev, struct ib_umad_port *port) argument
1250 ib_umad_kill_port(struct ib_umad_port *port) argument
[all...]

Completed in 162 milliseconds

1234567891011>>