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

/freebsd-10.0-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.0-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.0-release/sys/dev/firewire/
H A Dfirewire.h312 port1:2, member in struct:fw_self_id::__anon8323
356 port1:2, member in struct:fw_self_id::__anon8326
H A Dfirewire.c1318 s->p0.power_class, s->p0.port0, s->p0.port1,
1377 if(self_id->p0.port1 >= 0x2){
/freebsd-10.0-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.0-release/tools/tools/netmap/
H A Dpkt-gen.c62 uint16_t port0, port1, cur_p; member in struct:ip_range
154 r->port1 = strtol(p_hi, NULL, 0);
155 if (r->port1 < r->port0) {
157 r->port0 = r->port1;
158 r->port1 = r->cur_p;
161 D("ports are %d to %d", r->port0, r->port1);
178 buf1, r->port1);
432 if (++targ->g->src_ip.cur_p > targ->g->src_ip.port1)
435 if (++targ->g->dst_ip.cur_p > targ->g->dst_ip.port1)
/freebsd-10.0-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.0-release/sys/boot/fdt/dts/
H A Dp2041rdb.dts374 port1 {
H A Dp3041ds.dts413 port1 {
H A Dp5020ds.dts409 port1 {
H A Dp2041si.dtsi1193 port1 {
H A Dp3041si.dtsi1204 port1 {
H A Dp5020si.dtsi1250 port1 {
/freebsd-10.0-release/sys/arm/econa/
H A Dif_ece.c164 static void set_pvid(struct ece_softc *sc, int port0, int port1, int cpu);
1129 set_pvid(struct ece_softc *sc, int port0, int port1, int cpu) argument
1138 val = read_4(sc, VLAN_PORT_PVID) | (((port1) & 0x07) << 4);
/freebsd-10.0-release/sys/netgraph/netflow/
H A Dnetflow.c68 #define FULL_HASH(addr1, addr2, port1, port2) \
71 port1 ^ htons(port2)) & \
/freebsd-10.0-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.0-release/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c635 VPD_ENTRY(port1, 2); /* PHY1 complex */

Completed in 310 milliseconds