Searched refs:port1 (Results 1 - 17 of 17) sorted by relevance

/freebsd-10.3-release/sys/dev/atkbdc/
H A Datkbdc_ebus.c93 struct resource *port0, *port1; local
153 port1 = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, start, 1,
155 if (port1 == NULL) {
161 error = atkbdc_probe_unit(device_get_unit(dev), port0, port1);
165 bus_release_resource(dev, SYS_RES_MEMORY, 1, port1);
221 sc->port1 = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, start,
223 if (sc->port1 == NULL) {
229 error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1);
300 bus_release_resource(dev, SYS_RES_MEMORY, 1, sc->port1);
H A Datkbdc_isa.c99 struct resource *port1; local
145 port1 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
146 if (port1 == NULL) {
161 ioh1 = rman_get_bushandle(port1);
170 bus_release_resource(dev, SYS_RES_IOPORT, 1, port1);
179 error = atkbdc_probe_unit(device_get_unit(dev), port0, port1);
182 bus_release_resource(dev, SYS_RES_IOPORT, 1, port1);
217 sc->port1 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
219 if (sc->port1 == NULL) {
232 error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1);
[all...]
H A Datkbdcreg.h194 struct resource *port1; /* status port */ member in struct:atkbdc_softc
222 int atkbdc_probe_unit(int unit, struct resource *port0, struct resource *port1);
224 struct resource *port1);
H A Datkbdc.c135 atkbdc_probe_unit(int unit, struct resource *port0, struct resource *port1) argument
139 if (rman_get_start(port1) <= 0)
146 struct resource *port1)
150 rman_get_bushandle(port1));
169 bus_addr_t port1; local
173 int port1; local
210 if (OF_decode_addr(node, 1, &space, &port1) != 0)
212 h1 = sparc64_fake_bustag(space, port1, tag);
217 port1 = IO_KBD + KBD_STATUS_PORT;
220 bus_space_map(tag, port1, IO_KBDSIZ
145 atkbdc_attach_unit(int unit, atkbdc_softc_t *sc, struct resource *port0, struct resource *port1) argument
[all...]
/freebsd-10.3-release/contrib/libpcap/
H A Dnametoaddr.c225 pcap_nametoportrange(const char *name, int *port1, int *port2, int *proto) argument
242 if (pcap_nametoport(cpy, port1, proto) == 0) {
257 *port1 = p1;
H A Dgencode.c5232 gen_portrangeop(port1, port2, proto, dir)
5233 int port1, port2;
5246 b1 = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5250 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5255 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5256 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5261 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
5262 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
5275 gen_portrange(port1, port2, ip_proto, dir)
5276 int port1, port
6037 int port1, port2; local
[all...]
/freebsd-10.3-release/tools/tools/netmap/
H A Dpkt-gen.c141 uint16_t port0, port1; member in struct:ip_range
244 r->port0 = r->port1 = 0;
256 r->port0 = r->port1 = strtol(pp, NULL, 0);
265 r->port1 = strtol(pp, NULL, 0);
272 if (r->port0 > r->port1) {
274 r->port0 = r->port1;
275 r->port1 = tmp;
291 inet_ntoa(a), r->port0, buf1, r->port1);
571 if (p < g->src_ip.port1) { /* just inc, no wrap */
586 if (p < g->dst_ip.port1) { /* jus
[all...]
/freebsd-10.3-release/sys/dev/firewire/
H A Dfirewire.h312 port1:2, member in struct:fw_self_id::__anon8827
356 port1:2, member in struct:fw_self_id::__anon8830
H A Dfirewire.c1318 s->p0.power_class, s->p0.port0, s->p0.port1,
1377 if(self_id->p0.port1 >= 0x2){
/freebsd-10.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-helper.c898 const int port1 = 16; local
922 cvmx_write_csr(CVMX_IPD_PORTX_BP_PAGE_CNT(port1), 1<<17);
924 cvmx_write_csr(CVMX_IPD_SUB_PORT_BP_PAGE_CNT, (port1<<25) | 1000);
974 bp_status1 = 1<<(port1-16);
988 cvmx_write_csr(CVMX_IPD_SUB_PORT_BP_PAGE_CNT, (port1<<25) | (0x1ffffff & -1000));
989 cvmx_write_csr(CVMX_IPD_PORTX_BP_PAGE_CNT(port1), 0);
996 return ((bp_status0 != 1ull<<port0) || (bp_status1 != 1ull<<(port1-16)));
/freebsd-10.3-release/sys/dev/sfxge/common/
H A Defx_filter.c480 uint16_t rport, port1, port2; local
535 port1 = rport;
538 port1 = gen_spec->efs_loc_port;
543 port1 = gen_spec->efs_loc_port;
546 port1 = rport;
550 fs_spec->fsfs_dword[0] = (host1 << 16) | port1;
/freebsd-10.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dsaquery.c814 char *str, int *lid, int *port1, int *port2)
818 if (port1)
819 *port1 = -1;
835 if (port1) {
836 *port1 = strtoul(str, &e, 0);
838 *port1 = -1;
813 parse_lid_and_ports(osm_bind_handle_t h, char *str, int *lid, int *port1, int *port2) argument
/freebsd-10.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c793 struct evdns_server_port *port1 = NULL, *port2 = NULL; local
799 port1 = regress_get_dnsserver(base, &portnum1, NULL,
801 tt_assert(port1);
836 if (port1)
837 evdns_close_server_port(port1);
/freebsd-10.3-release/sys/arm/cavium/cns11xx/
H A Dif_ece.c165 static void set_pvid(struct ece_softc *sc, int port0, int port1, int cpu);
1130 set_pvid(struct ece_softc *sc, int port0, int port1, int cpu) argument
1139 val = read_4(sc, VLAN_PORT_PVID) | (((port1) & 0x07) << 4);
/freebsd-10.3-release/sys/netgraph/netflow/
H A Dnetflow.c68 #define FULL_HASH(addr1, addr2, port1, port2) \
71 port1 ^ htons(port2)) & \
/freebsd-10.3-release/usr.sbin/fwcontrol/
H A Dfwcontrol.c532 printf("id link gap_cnt speed delay cIRM power port0 port1 port2"
549 port_status[sid.p0.port1],
/freebsd-10.3-release/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c635 VPD_ENTRY(port1, 2); /* PHY1 complex */

Completed in 306 milliseconds