Searched refs:unit (Results 101 - 125 of 1264) sorted by relevance

1234567891011>>

/netbsd-current/sys/arch/sandpoint/stand/altboot/
H A Ddevopen.c62 int unit, part; local
92 parseunit(&name[2], &unit, &part, file);
96 if ((error = dsk_open(of, unit, part, *file)) != 0)
108 int unit, part; local
110 unit = part = -1;
112 if (unit == -1 && *p >= '0' && *p <= '9')
113 unit = *p - '0';
118 *unitp = (unit == -1) ? 0 : unit;
/netbsd-current/sys/arch/ews4800mips/ews4800mips/
H A Dautoconf.c63 int unit, partition; local
75 unit = 0;
94 unit = p[2] - '0';
96 if (unit >= 0 && unit <= 9 && partition >= 0 &&
/netbsd-current/sys/arch/hpcmips/hpcmips/
H A Dautoconf.c104 int unit, part; local
116 unit = part = 0;
120 unit = (unit * 10) + (*cp++ - '0');
128 if ((dv = device_find_by_driver_unit(devname, unit)) != NULL) {
/netbsd-current/sys/arch/acorn32/dev/
H A Dmd_hooks.c65 md_attach_hook(int unit, struct md_conf *md) argument
67 if (unit == 0) {
86 printf("md%d: allocated %ldK (%ld blocks)\n", unit, (long)md->md_size / 1024, (long)md->md_size / DEV_BSIZE);
96 md_open_hook(int unit, struct md_conf *md) argument
98 if (unit == 0) {
/netbsd-current/sys/dev/
H A Dmd_root.c98 md_attach_hook(int unit, struct md_conf *md) argument
102 if (unit == 0 && md_is_root) {
108 aprint_verbose("md%d: internal %s image area\n", unit, pbuf);
116 md_open_hook(int unit, struct md_conf *md) argument
119 if (unit == 0 && md_is_root) {
/netbsd-current/sys/arch/hp300/dev/
H A Dhpib.c238 hpibreset(int unit) argument
240 struct hpibbus_softc *sc = device_lookup_private(&hpibbus_cd,unit);
276 hpibid(int unit, int slave) argument
287 if (hpibrecv(unit, 31, slave, &id, 2) != 2)
294 hpibsend(int unit, int slave, int sec, void *addr, int cnt) argument
296 struct hpibbus_softc *sc = device_lookup_private(&hpibbus_cd,unit);
302 hpibrecv(int unit, int slave, int sec, void *addr, int cnt) argument
304 struct hpibbus_softc *sc = device_lookup_private(&hpibbus_cd,unit);
310 hpibpptest(int unit, int slave) argument
312 struct hpibbus_softc *sc = device_lookup_private(&hpibbus_cd,unit);
318 hpibppclear(int unit) argument
326 hpibawait(int unit) argument
335 hpibswait(int unit, int slave) argument
353 hpibustart(int unit) argument
377 hpibgo(int unit, int slave, int sec, void *vbuf, int count, int rw, int timo) argument
[all...]
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Drefclock_leitch.c53 fprintf(stderr, "leitch_send: unit %d send failed\n", A->unit); \
55 msyslog(LOG_ERR, "leitch_send: unit %d send failed %m",A->unit);}
59 msyslog(LOG_ERR, "leitch_send: unit %d send failed %m",A->unit);}
69 * LEITCH unit control structure
74 u_char unit; member in struct:leitchunit
145 int unit,
151 if (unit >
144 leitch_shutdown( int unit, struct peer *peer ) argument
167 leitch_poll( int unit, struct peer *peer ) argument
198 leitch_control( int unit, const struct refclockstat *in, struct refclockstat *out, struct peer *passed_peer ) argument
240 leitch_start( int unit, struct peer *peer ) argument
[all...]
/netbsd-current/sys/arch/amigappc/amigappc/
H A Dautoconf.c194 * in preference of boot. However, it does walk unit backwards
245 int i, maj, unit; local
258 for (unit = 0; unit < sd_cd.cd_ndevs; ++unit) {
260 printf("probing for sd%d\n", unit);
262 if (sd_cd.cd_devs[unit] == NULL)
270 if ((dkp = disk_find(device_xname(devs[unit]))) == NULL)
278 if ((*bdp->d_open)(MAKEDISKDEV(maj, unit, RAW_PART),
281 (*bdp->d_close)(MAKEDISKDEV(maj, unit, RAW_PAR
[all...]
/netbsd-current/sys/arch/hp300/stand/common/
H A Dsd.c84 sdinit(int ctlr, int unit) argument
86 struct sd_softc *ss = &sd_softc[ctlr][unit];
93 stat = scsi_test_unit_rdy(ctlr, unit);
98 stat = scsi_test_unit_rdy(ctlr, unit);
102 ctlr, unit, stat);
111 stat = scsi_inquiry(ctlr, unit, (u_char *)&inqbuf, sizeof(inqbuf));
125 stat = scsi_read_capacity(ctlr, unit,
193 int ctlr, unit, part; local
198 unit = va_arg(ap, int);
204 printf("sdopen: ctlr=%d unit
251 int unit = ss->sc_unit; local
[all...]
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dremove_hashnode.c19 remove_hashnode(unit, name, node, iocfunc)
20 int unit;
32 op.iplo_unit = unit;
H A Dremove_poolnode.c19 remove_poolnode(unit, name, node, iocfunc)
20 int unit;
31 op.iplo_unit = unit;
/netbsd-current/sys/arch/hppa/stand/common/
H A Ddev_hppa.c141 int type, unit; local
146 unit = PAGE0->mem_boot.pz_layers[0];
150 unit = PAGE0->mem_boot.pz_layers[0];
154 unit = 0;
158 unit = 0;
161 dev = bootdev = MAKEBOOTDEV(type, 0, 0, unit, 0);
262 int i, unit = -1;
266 unit = (unit < 0 ? 0 : (unit * 1
[all...]
/netbsd-current/sys/arch/luna68k/stand/boot/
H A Dbmc.c119 int unit = 1; local
121 if (RBUF_EMPTY(unit))
124 POP_RBUF(unit, c);
/netbsd-current/sys/dev/wscons/
H A Dwsbellmux.c57 wsbell_add_mux(int unit, struct wsmux_softc *muxsc) argument
63 wsbelldev = device_find_by_driver_unit("wsbell", unit);
70 sc = device_lookup_private(wsbellcd, unit);
/netbsd-current/sys/arch/i386/stand/dosboot/
H A Ddevopen.c77 dev2bios(char *devname, unsigned int unit, int *biosdev) argument
83 *biosdev = biosdevtab[i].biosdev + unit;
84 if (unit >= 4) /* ??? */
98 int unit, partition; local
103 if ((error = parsebootfile(fname, &fsmode, &devname, &unit,
112 if ((error = dev2bios(devname, unit, &biosdev)))
/netbsd-current/sys/arch/rs6000/stand/boot/
H A Ddevopen.c59 * dev(ctlr, unit, part)file
62 devparse(const char *fname, int *dev, int *adapt, int *ctlr, int *unit, argument
102 *unit = atoi(args[1]);
123 int dev = 0, ctlr = 0, unit = 0, part = 0; local
128 devparse(fname, &dev, &adapt, &ctlr, &unit, &part, file)) != 0)
136 if ((error = (*dp->dv_open)(f, ctlr, unit, part)) == 0)
140 ctlr, unit, part, strerror(error));
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/tic6x/
H A Dinsns16-d-unit.s1 ; Test C64x+ D-unit compact instruction formats
7 dstk: ; op = 0 | STW (.unit) src, *B15[ucst5]
8 ; op = 1 | LDW (.unit)*B15[ucst5], dst
24 dx2op: ; op = 0 | ADD (.unit) src1, src2, dst (src1 = dst)
25 ; op = 1 | SUB (.unit) src1, src2, dst (src1 = dst, dst = src1 - src2
41 dx5: ; ADDAW (.unit)B15, ucst5, dst
/netbsd-current/sys/arch/mac68k/mac68k/
H A Dautoconf.c118 int major, unit, controller; local
129 unit = B_UNIT(bootdev);
135 unit = target_to_unit(-1, unit, 0);
136 bootdev |= (unit << B_UNITSHIFT); /* XXX */
148 unit = unit + (controller<<1);
152 if ((dv = device_find_by_driver_unit(name, unit)) != NULL)
170 printf("scsi target to unit, target (%ld) or lun (%ld)"
189 printf("scsi target to unit, bu
[all...]
/netbsd-current/usr.bin/make/unit-tests/
H A Ddoterror.exp7 make: stopped in unit-tests
H A Ddep-percent.exp5 make: stopped in unit-tests
H A Dsuff-clear-single.exp5 make: stopped in unit-tests
H A Dsuff-self.exp5 make: stopped in unit-tests
H A Dopt-keep-going-multiple.exp8 make: stopped in unit-tests
/netbsd-current/sys/arch/mac68k/dev/
H A Dgrf_compat.c95 grf_scinit(struct grf_softc *sc, const char *name, int unit) argument
98 snprintf(sc->sc_xname, sizeof(sc->sc_xname), "%s%d", name, unit);
163 grf_attach(struct macfb_softc *sc, int unit) argument
166 grf_init(unit);
167 if (unit < numgrf)
168 grf_softc[unit].mfb_sc = sc;
178 int unit = GRFUNIT(dev); local
181 if (grf_softc == NULL || unit >= numgrf)
184 sc = &grf_softc[unit];
195 int unit local
219 int unit = GRFUNIT(dev); local
294 int unit = GRFUNIT(dev); local
[all...]
/netbsd-current/etc/etc.cobalt/
H A DMAKEDEV.conf38 unit=${i#tty}
39 ounit=00$unit
41 mkdev tty$ounit c 26 $(($unit + $dialin )) "" "" $u_uucp
42 mkdev dty$ounit c 26 $(($unit + $dialout)) "" "" $u_uucp

Completed in 367 milliseconds

1234567891011>>