/freebsd-10.3-release/sys/dev/puc/ |
H A D | puc.c | 133 struct puc_port *port; local 157 * lead to false positives on 8-port boards. 177 port = &sc->sc_port[idx]; 178 port->p_ipend = SERDEV_IPEND(port->p_dev); 179 ipend |= port->p_ipend; 196 port = &sc->sc_port[idx]; 197 if (!(port->p_ipend & isrc)) 199 if (port->p_ihsrc[i] != NULL) 200 (*port 214 struct puc_port *port; local 405 struct puc_port *port; local 479 struct puc_port *port; local 533 struct puc_port *port; local 572 struct puc_port *port; local 607 struct puc_port *port; local 664 struct puc_port *port; local 705 struct puc_port *port; local 735 struct puc_port *port; local 752 struct puc_port *port; local 763 struct puc_port *port; local [all...] |
/freebsd-10.3-release/sys/mips/cavium/octe/ |
H A D | mv88e61xxphy.c | 149 unsigned port; local 155 * Initialize port softcs. 157 for (port = 0; port < MV88E61XX_PORTS; port++) { 160 psc = &sc->sc_ports[port]; 162 psc->sc_port = port; 164 psc->sc_vlan = port + 1; /* Tag VLANs by default. */ 170 * Add per-port sysctl tree/handlers. 172 port_node = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "port", 230 unsigned port; local 386 unsigned port; local 515 unsigned port; local 563 mv88e61xxphy_vtu_set_membership(struct mv88e61xxphy_softc *sc, unsigned port, enum mv88e61xxphy_vtu_membership_type type) argument [all...] |
/freebsd-10.3-release/sys/dev/aic/ |
H A D | aicvar.h | 131 #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-10.3-release/sys/dev/dcons/ |
H A D | dcons.c | 130 dcons_init_port(int port, int offset, int size, struct dcons_buf *buf, argument 136 dc = &sc[port]; 146 dc->o.ptr = &buf->optr[port]; 147 dc->i.ptr = &buf->iptr[port]; 149 buf->osize[port] = htonl(osize); 150 buf->isize[port] = htonl(size - osize); 151 buf->ooffset[port] = htonl(offset); 152 buf->ioffset[port] = htonl(offset + osize); 153 buf->optr[port] = DCONS_MAKE_PTR(&dc->o); 154 buf->iptr[port] 162 int port, s; local [all...] |
/freebsd-10.3-release/sys/dev/io/ |
H A D | iodev.h | 37 u_int port; member in struct:iodev_pio_req
|
/freebsd-10.3-release/sys/amd64/vmm/ |
H A D | vmm_ioport.h | 33 bool in, int port, int bytes, uint32_t *val);
|
/freebsd-10.3-release/usr.sbin/bhyve/ |
H A D | inout.h | 40 typedef int (*inout_func_t)(struct vmctx *ctx, int vcpu, int in, int port, 45 int port; member in struct:inout_port 61 #define INOUT_PORT(name, port, flags, handler) \ 64 (port), \
|
/freebsd-10.3-release/usr.sbin/pkg/ |
H A D | dns_utils.h | 37 unsigned int port; member in struct:dns_srvinfo
|
/freebsd-10.3-release/contrib/ntp/sntp/libevent/include/event2/ |
H A D | http_compat.h | 53 * 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-10.3-release/contrib/netbsd-tests/lib/libc/net/ |
H A D | t_servent.sh | 38 # (2) fold all names for the same port/proto together 68 portproto = "port=" portproto; 93 port=$1; shift 96 printf "name=%s, port=%s, proto=%s, aliases=%s\n" \ 97 $name $port $proto "$alias"
|
/freebsd-10.3-release/sys/cam/ctl/ |
H A D | ctl_tpc_local.c | 61 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; local 276 struct ctl_port *port; local [all...] |
/freebsd-10.3-release/share/doc/psd/20.ipctut/ |
H A D | dgramread.c | 71 /* Find assigned port value and print it out. */ 77 printf("Socket has port #%d\en", ntohs(name.sin_port));
|
/freebsd-10.3-release/sys/dev/drm2/i915/ |
H A D | intel_ddi.c | 67 /* On Haswell, DDI port buffers must be programmed with correct values 73 static void intel_prepare_ddi_buffers(struct drm_device *dev, enum port port, bool use_fdi_mode) argument 82 DRM_DEBUG_DRIVER("Initializing DDI buffers for port %c in %s mode\n", 83 port_name(port), 86 if (use_fdi_mode && (port != PORT_E)) 87 DRM_DEBUG_KMS("Programming port %c in FDI mode, this probably will not work.\n", 88 port_name(port)); 90 for (i=0, reg=DDI_BUF_TRANS(port); i < DRM_ARRAY_SIZE(hsw_ddi_translations_fdi); i++) { 97 * mode and port 101 int port; local 236 intel_ddi_init(struct drm_device *dev, enum port port) argument 656 int port = intel_hdmi->ddi_port; local 744 int port = intel_hdmi->ddi_port; local [all...] |
/freebsd-10.3-release/sys/dev/aic7xxx/ |
H A D | aic79xx_osm.h | 157 #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-10.3-release/crypto/heimdal/appl/test/ |
H A D | nt_gss_server.c | 57 { "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...] |
H A D | common.c | 49 { "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...] |
/freebsd-10.3-release/contrib/unbound/compat/ |
H A D | fake-rfc2553.c | 119 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-10.3-release/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 124 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-10.3-release/sys/dev/ie/ |
H A D | if_ie_isa.c | 82 static int ie_ee16_port_check (u_int32_t port); 83 static u_int16_t ie_ee16_hw_read_eeprom (u_int32_t port, int loc); 111 u_int32_t port, maddr, msize; local 121 for (port = IE_3C507_IOBASE_LOW; 122 port <= IE_3C507_IOBASE_HIGH; 123 port += IE_3C507_IOSIZE) { 125 if (ie_3C507_port_check(port)) { 129 "(if_ie) (3C507) not found at port %#x\n", 130 port); 136 outb(port 285 ie_3C507_port_check(u_int32_t port) argument 326 u_int32_t port, maddr, msize; local 582 ie_ee16_port_check(u_int32_t port) argument 601 ie_ee16_hw_eeprom_clock(u_int32_t port, int state) argument 616 ie_ee16_hw_eeprom_out(u_int32_t port, u_int16_t edata, int count) argument 642 ie_ee16_hw_eeprom_in(u_int32_t port) argument 664 ie_ee16_hw_read_eeprom(u_int32_t port, int loc) argument 783 ie_isa_sl_get_hard_type(u_int32_t port) argument [all...] |
/freebsd-10.3-release/contrib/ldns/compat/ |
H A D | fake-rfc2553.c | 121 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-10.3-release/sys/dev/buslogic/ |
H A D | bt_eisa.c | 116 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-10.3-release/tools/regression/netinet/tcpconnect/ |
H A D | tcpconnect.c | 50 fprintf(stderr, "tcpconnect server port\n"); 51 fprintf(stderr, "tcpconnect client ip port count [nonblock] [tcpmd5]\n"); 61 long port; local 71 port = strtoul(argv[0], &dummy, 10); 72 if (port < 1 || port > 65535 || *dummy != '\0') 74 sin.sin_port = htons(port); 96 long count, i, port; local 116 port = strtoul(argv[1], &dummy, 10); 117 if (port < [all...] |
/freebsd-10.3-release/sys/ofed/drivers/infiniband/core/ |
H A D | user_mad.c | 107 struct ib_umad_port port[0]; member in struct:ib_umad_device 112 struct ib_umad_port *port; member in struct:ib_umad_file 494 ah_attr.port_num = file->port->port_num; 618 mutex_lock(&file->port->file_mutex); 621 if (!file->port->ib_dev) { 661 agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num, 697 mutex_unlock(&file->port->file_mutex); 711 mutex_lock(&file->port->file_mutex); 728 mutex_unlock(&file->port 794 struct ib_umad_port *port; local 890 struct ib_umad_port *port; local 934 struct ib_umad_port *port = filp->private_data; local 967 struct ib_umad_port *port = dev_get_drvdata(dev); local 979 struct ib_umad_port *port = dev_get_drvdata(dev); local 994 ib_umad_init_port(struct ib_device *device, int port_num, struct ib_umad_port *port) argument 1074 ib_umad_kill_port(struct ib_umad_port *port) argument [all...] |
/freebsd-10.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-util.h | 163 * @param port 168 extern int __cvmx_helper_set_link_info(int interface, int port, 175 * @param port 180 int port); 213 * Returns the IPD port number for a port on the given 217 * @param port Port on the interface 219 * @return IPD port number 221 extern int cvmx_helper_get_ipd_port(int interface, int port); 224 * Returns the PKO port numbe [all...] |
/freebsd-10.3-release/sys/dev/isci/scil/ |
H A D | scic_sds_port.h | 79 * This enumeration depicts all of the states for the core port ready substate 85 * The substate where the port is started and ready but has no active phys. 90 * The substate where the port is started and ready and there is at least one 96 * The substate where the port is started and there was an add/remove phy 112 * The core port object provides the abstraction for an SCU port. 117 * This field is the oommon base port object. 122 * This field is the port index that is reported to the SCI USER. This allows 123 * the actual hardware physical port to change without the SCI USER getting a 124 * different answer for the get port inde [all...] |