| /NextBSD/sys/dev/atkbdc/ |
| HD | atkbdc_isa.c | 99 struct resource *port1; in atkbdc_isa_probe() local 145 port1 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); in atkbdc_isa_probe() 146 if (port1 == NULL) { in atkbdc_isa_probe() 161 ioh1 = rman_get_bushandle(port1); in atkbdc_isa_probe() 170 bus_release_resource(dev, SYS_RES_IOPORT, 1, port1); in atkbdc_isa_probe() 179 error = atkbdc_probe_unit(device_get_unit(dev), port0, port1); in atkbdc_isa_probe() 182 bus_release_resource(dev, SYS_RES_IOPORT, 1, port1); in atkbdc_isa_probe() 217 sc->port1 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, in atkbdc_isa_attach() 219 if (sc->port1 == NULL) { in atkbdc_isa_attach() 232 error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1); in atkbdc_isa_attach() [all …]
|
| HD | atkbdc_ebus.c | 93 struct resource *port0, *port1; in atkbdc_ebus_probe() local 153 port1 = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, start, 1, in atkbdc_ebus_probe() 155 if (port1 == NULL) { in atkbdc_ebus_probe() 161 error = atkbdc_probe_unit(device_get_unit(dev), port0, port1); in atkbdc_ebus_probe() 165 bus_release_resource(dev, SYS_RES_MEMORY, 1, port1); in atkbdc_ebus_probe() 221 sc->port1 = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, start, in atkbdc_ebus_attach() 223 if (sc->port1 == NULL) { in atkbdc_ebus_attach() 229 error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1); in atkbdc_ebus_attach() 300 bus_release_resource(dev, SYS_RES_MEMORY, 1, sc->port1); in atkbdc_ebus_attach()
|
| HD | atkbdc.c | 170 atkbdc_probe_unit(int unit, struct resource *port0, struct resource *port1) in atkbdc_probe_unit() argument 174 if (rman_get_start(port1) <= 0) in atkbdc_probe_unit() 181 struct resource *port1) in atkbdc_attach_unit() argument 185 rman_get_bushandle(port1)); in atkbdc_attach_unit() 204 bus_addr_t port1; in atkbdc_configure() local 208 int port1; in atkbdc_configure() local 243 if (OF_decode_addr(node, 1, &space, &port1) != 0) in atkbdc_configure() 245 h1 = sparc64_fake_bustag(space, port1, tag); in atkbdc_configure() 250 port1 = IO_KBD + KBD_STATUS_PORT; in atkbdc_configure() 253 bus_space_map(tag, port1, IO_KBDSIZE, 0, &h1); in atkbdc_configure() [all …]
|
| HD | atkbdcreg.h | 194 struct resource *port1; /* status port */ member 227 int atkbdc_probe_unit(int unit, struct resource *port0, struct resource *port1); 229 struct resource *port1);
|
| /NextBSD/contrib/libpcap/ |
| HD | nametoaddr.c | 220 pcap_nametoportrange(const char *name, int *port1, int *port2, int *proto) in pcap_nametoportrange() argument 237 if (pcap_nametoport(cpy, port1, proto) == 0) { in pcap_nametoportrange() 252 *port1 = p1; in pcap_nametoportrange()
|
| HD | gencode.c | 5424 gen_portrangeop(port1, port2, proto, dir) in gen_portrangeop() argument 5425 int port1, port2; in gen_portrangeop() 5438 b1 = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2); 5442 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2); 5447 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2); 5448 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2); 5453 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2); 5454 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2); 5467 gen_portrange(port1, port2, ip_proto, dir) in gen_portrange() argument 5468 int port1, port2; in gen_portrange() [all …]
|
| /NextBSD/tools/tools/netmap/ |
| HD | pkt-gen.c | 141 uint16_t port0, port1; member 246 r->port0 = r->port1 = 0; in extract_ip_range() 258 r->port0 = r->port1 = strtol(pp, NULL, 0); in extract_ip_range() 267 r->port1 = strtol(pp, NULL, 0); in extract_ip_range() 274 if (r->port0 > r->port1) { in extract_ip_range() 276 r->port0 = r->port1; in extract_ip_range() 277 r->port1 = tmp; in extract_ip_range() 293 inet_ntoa(a), r->port0, buf1, r->port1); in extract_ip_range() 578 if (p < g->src_ip.port1) { /* just inc, no wrap */ in update_addresses() 599 if (p < g->dst_ip.port1) { /* just inc, no wrap */ in update_addresses() [all …]
|
| /NextBSD/sys/contrib/octeon-sdk/ |
| HD | cvmx-helper.c | 898 const int port1 = 16; in __cvmx_helper_backpressure_is_misaligned() local 922 cvmx_write_csr(CVMX_IPD_PORTX_BP_PAGE_CNT(port1), 1<<17); in __cvmx_helper_backpressure_is_misaligned() 924 cvmx_write_csr(CVMX_IPD_SUB_PORT_BP_PAGE_CNT, (port1<<25) | 1000); in __cvmx_helper_backpressure_is_misaligned() 974 bp_status1 = 1<<(port1-16); in __cvmx_helper_backpressure_is_misaligned() 988 cvmx_write_csr(CVMX_IPD_SUB_PORT_BP_PAGE_CNT, (port1<<25) | (0x1ffffff & -1000)); in __cvmx_helper_backpressure_is_misaligned() 989 cvmx_write_csr(CVMX_IPD_PORTX_BP_PAGE_CNT(port1), 0); in __cvmx_helper_backpressure_is_misaligned() 996 return ((bp_status0 != 1ull<<port0) || (bp_status1 != 1ull<<(port1-16))); in __cvmx_helper_backpressure_is_misaligned()
|
| /NextBSD/sys/dev/sfxge/common/ |
| HD | efx_filter.c | 477 uint16_t rport, port1, port2; in falconsiena_filter_spec_from_gen_spec() local 532 port1 = rport; in falconsiena_filter_spec_from_gen_spec() 535 port1 = gen_spec->efs_loc_port; in falconsiena_filter_spec_from_gen_spec() 540 port1 = gen_spec->efs_loc_port; in falconsiena_filter_spec_from_gen_spec() 543 port1 = rport; in falconsiena_filter_spec_from_gen_spec() 547 fs_spec->fsfs_dword[0] = (host1 << 16) | port1; in falconsiena_filter_spec_from_gen_spec()
|
| /NextBSD/sys/dev/firewire/ |
| HD | firewire.h | 312 port1:2, member 356 port1:2, member
|
| /NextBSD/sys/gnu/dts/arm/ |
| HD | kirkwood-6281.dtsi | 70 phy-names = "port0", "port1";
|
| HD | kirkwood-6192.dtsi | 70 phy-names = "port0", "port1";
|
| HD | kirkwood-6282.dtsi | 120 phy-names = "port0", "port1";
|
| HD | omap3-igep0020-common.dtsi | 225 port1-mode = "ehci-phy";
|
| HD | omap4-duovero.dtsi | 256 port1-mode = "ehci-phy";
|
| HD | omap4-var-som-om44.dtsi | 338 port1-mode = "ehci-phy";
|
| HD | omap3-cm-t3x.dtsi | 202 port1-mode = "ehci-phy";
|
| HD | vexpress-v2m-rs1.dtsi | 65 port1-otg;
|
| HD | vexpress-v2m.dtsi | 64 port1-otg;
|
| HD | omap4-panda-common.dtsi | 503 port1-mode = "ehci-phy";
|
| /NextBSD/contrib/ofed/management/infiniband-diags/src/ |
| HD | saquery.c | 814 char *str, int *lid, int *port1, int *port2) in parse_lid_and_ports() argument 818 if (port1) in parse_lid_and_ports() 819 *port1 = -1; in parse_lid_and_ports() 835 if (port1) { in parse_lid_and_ports() 836 *port1 = strtoul(str, &e, 0); in parse_lid_and_ports() 838 *port1 = -1; in parse_lid_and_ports()
|
| /NextBSD/contrib/ntp/sntp/libevent/test/ |
| HD | regress_dns.c | 793 struct evdns_server_port *port1 = NULL, *port2 = NULL; in dns_reissue_test_impl() local 799 port1 = regress_get_dnsserver(base, &portnum1, NULL, in dns_reissue_test_impl() 801 tt_assert(port1); in dns_reissue_test_impl() 836 if (port1) in dns_reissue_test_impl() 837 evdns_close_server_port(port1); in dns_reissue_test_impl()
|
| /NextBSD/share/examples/ipfilter/ |
| HD | examples.txt | 203 port1# <> port2# true if port is less than port1 or greater than port2 204 port1# >< port2# true if port is greater than port1 and less than port2
|
| /NextBSD/sys/arm/cavium/cns11xx/ |
| HD | if_ece.c | 165 static void set_pvid(struct ece_softc *sc, int port0, int port1, int cpu); 1138 set_pvid(struct ece_softc *sc, int port0, int port1, int cpu) in set_pvid() argument 1147 val = read_4(sc, VLAN_PORT_PVID) | (((port1) & 0x07) << 4); in set_pvid()
|
| /NextBSD/sys/netgraph/netflow/ |
| HD | netflow.c | 67 #define FULL_HASH(addr1, addr2, port1, port2) \ argument 70 port1 ^ htons(port2)) & \
|