/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | if_fpa.c | 117 #define PDQ_PCI_UNIT_TO_SOFTC(unit) (pdqs_pci[unit]) 125 #define PDQ_PCI_UNIT_TO_SOFTC(unit) ((pdq_softc_t *)device_lookup_private(&fpa_cd, unit)) 129 #define PDQ_PCI_UNIT_TO_SOFTC(unit) ((pdq_softc_t *)device_lookup_private(&fpa_cd, unit)) 136 int unit) 138 pdq_ifwatchdog(&PDQ_PCI_UNIT_TO_SOFTC(unit)->sc_if); 184 int unit) 191 if (unit 135 pdq_pci_ifwatchdog( int unit) argument 182 pdq_pci_attach( pcici_t config_id, int unit) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | subr_userconf.c | 300 userconf_device(char *cmd, int *len, short *unit, short *state) argument 332 *unit = u; 580 userconf_common_dev(char *dev, int len, short unit, short state, char routine) argument 608 cfdata[i].cf_unit == unit && 696 short unit, state; local 749 else if (userconf_device(c, &a, &unit, &state) == 0) 750 userconf_common_dev(c, a, unit, state, UC_CHANGE); 759 else if (userconf_device(c, &a, &unit, &state) == 0) 760 userconf_common_dev(c, a, unit, state, UC_DISABLE); 769 else if (userconf_device(c, &a, &unit, [all...] |
/netbsd-6-1-5-RELEASE/dist/pppd/pppd/ |
H A D | ipxcp.c | 391 ipxcp_init(unit) 392 int unit; 394 fsm *f = &ipxcp_fsm[unit]; 396 f->unit = unit; 399 fsm_init(&ipxcp_fsm[unit]); 482 ipxcp_open(unit) 483 int unit; 485 fsm_open(&ipxcp_fsm[unit]); 492 ipxcp_close(unit, reaso 1307 int unit = f->unit; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/x68k/dev/ |
H A D | opmbell.c | 129 int unit; local 141 for (unit = 0; unit < num; unit++) { 142 sc = &bell_softc[unit]; 151 memcpy(&vtab[unit], &bell_voice, sizeof(bell_voice)); 152 opm_set_voice(sc->ch, &vtab[unit]); 154 printf("bell%d: YM2151 OPM bell emulation.\n", unit); 161 int unit = UNIT(dev); local 162 struct bell_softc *sc = &bell_softc[unit]; 179 int unit = UNIT(dev); local 189 int unit = UNIT(dev); local [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/midiplay/ |
H A D | midiplay.c | 151 fprintf(stderr, "usage: %s [-d unit] [-f file] [-l] [-m] [-p pgm] [-q] " 163 static int unit = 0; variable 283 send_event(&SEQ_MK_SYSEX0(unit, 0x7e, 0x7f, 0x09, 0x01, 0xf7, 0xff)); 315 send_event(&SEQ_MK_SYSEX0(unit, 323 event = SEQ_MK_SYSEX(unit); 344 send_event(&SEQ_MK_SYSEX0(unit, p[0], p[1], p[2], p[3], p[4], p[5])); 353 event = SEQ_MK_SYSEX(unit); 405 /* verify that the requested midi unit exists */ 406 info.device = unit; 412 printf("Playing %s (%d bytes) on %s (unit [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/common/ |
H A D | bcache.c | 129 write_strategy(void *devdata, int unit, int rw, daddr_t blk, size_t size, argument 162 read_strategy(void *devdata, int unit, int rw, daddr_t blk, size_t size, argument 228 bcache_strategy(void *devdata, int unit, int rw, daddr_t blk, size_t size, argument 236 if(bcache_unit != unit) { 238 bcache_unit = unit; 250 return read_strategy(devdata, unit, rw, blk, size, buf, rsize); 252 return write_strategy(devdata, unit, rw, blk, size, buf, rsize);
|
/netbsd-6-1-5-RELEASE/sys/arch/emips/stand/common/ |
H A D | enic.c | 207 int enic_present(int unit) argument 209 if ((unit != 0) || (the_enic->Tag != PMTTAG_ETHERNET)) 243 /* NB: We refuse anything but unit==0 248 int unit = nif->nif_unit; local 250 printf("enic%d: probe\n", unit); 252 return (enic_present(unit) ? 0 : 1); 260 int unit = nif->nif_driver->netif_ifs->dif_unit; local 261 printf("enic%d: init %s\n", unit, machdep_hint);
|
/netbsd-6-1-5-RELEASE/sys/arch/hp300/stand/common/ |
H A D | ite.c | 183 int unit, pri; local 193 unit = -1; 205 unit = ite; 206 } else if (unit < 0) { 208 unit = ite; 211 curcons_scode = ite_scode[unit]; 212 cp->cn_dev = unit;
|
/netbsd-6-1-5-RELEASE/distrib/utils/embedded/ |
H A D | mkpkgs | 34 local unit units 52 for unit in ${units} 54 if [ "${unit}" = "${dev}${N}" ]
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/util/ |
H A D | audio-pcm.c | 85 int unit = 0; /* device unit (0-3) */ local 99 (void)sprintf(ai_dev, AI_DEV, unit); 100 (void)sprintf(ac_dev, AC_DEV, unit);
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/stand/libsa/ |
H A D | fd.c | 74 sc->unit = id; 85 IOCS_B_DRVCHK((0x90 + sc->unit) << 8, 3); 114 error = IOCS_B_READ((sc->unit + 0x90) * 256 + 0x70,
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/x68k/ |
H A D | autoconf.c | 98 int majdev, unit, part; local 124 unit = B_UNIT(bootdev); 126 if ((booted_device = device_find_by_driver_unit(name, unit)) != NULL)
|
/netbsd-6-1-5-RELEASE/sys/arch/news68k/stand/boot/ |
H A D | boot.c | 80 int ctlr, unit, part, type; local 106 unit = BOOTDEV_UNIT(bootdev); 117 sprintf(devname, "%s(%d,%d,%d)", devs[type], ctlr, unit, part);
|
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/stand/bootxx/ |
H A D | bootxx.c | 66 int ctlr, unit, part, type; local 103 unit = BOOTDEV_UNIT(bootdev); 111 sprintf(devname, "%s(%d,%d,%d)", devs[type], ctlr, unit, part);
|
/netbsd-6-1-5-RELEASE/sys/dev/mscp/ |
H A D | mscp_tape.c | 74 int mt_hwunit; /* Hardware unit number */ 207 int unit; local 212 unit = mtunit(dev); 213 mt = device_lookup_private(&mt_cd, unit); 233 int unit = mtunit(dev); local 234 struct mt_softc *mt = device_lookup_private(&mt_cd, unit); 256 int unit; local 262 unit = mtunit(bp->b_dev); 263 if ((mt = device_lookup_private(&mt_cd, unit)) == NULL) { 301 int unit local 401 int unit = mtunit(dev); local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/dreamcast/dev/ |
H A D | gdrom.c | 427 int s, error, unit, cnt; local 432 unit = DISKUNIT(dev); 434 sc = device_lookup_private(&gdrom_cd, unit); 471 int unit; local 475 unit = DISKUNIT(dev); 476 sc = device_lookup_private(&gdrom_cd, unit); 487 int s, unit; local 491 unit = DISKUNIT(bp->b_dev); 492 sc = device_lookup_private(&gdrom_cd, unit); 561 int unit, erro local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/bfin/ |
H A D | devices.c | 161 const hw_unit *unit = hw_unit_address (me); local 162 return unit->cells[unit->nr_cells - 1];
|
/netbsd-6-1-5-RELEASE/usr.bin/audiocfg/ |
H A D | drvctl.c | 105 uint32_t unit; local 122 "device-unit", &unit); 125 laa.l_childname[i], unit);
|
/netbsd-6-1-5-RELEASE/dist/pppd/pppdump/ |
H A D | bsd-comp.c | 89 u_char unit; member in struct:bsd_db 133 int unit, int hdrlen, int mru, int debug)); 389 bsd_init(db, options, opt_len, unit, hdrlen, mru, debug, decomp) 392 int opt_len, unit, hdrlen, mru, debug, decomp; 414 db->unit = unit; 426 bsd_decomp_init(state, options, opt_len, unit, hdrlen, mru, debug) 429 int opt_len, unit, hdrlen, mru, debug; 432 unit, hdrlen, mru, debug, 1); 592 db->unit, se [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/vax/boot/boot/ |
H A D | mfm.c | 70 int unit; member in struct:mfm_softc 93 static int mfm_rxselect(int unit); 94 static int mfm_rdselect(int unit); 149 mfm_rxselect(int unit) argument 172 error = mfm_command(DKC_CMD_DRSEL_RX33 | unit); 178 error = mfm_command(DKC_CMD_DRSEL_RX33 | unit); 199 error = mfm_command(DKC_CMD_DRSEL_RX33 | unit); 213 mfm_rdselect(int unit) argument 233 error = mfm_command(DKC_CMD_DRSEL_HDD | unit); 362 mfmopen(struct open_file *f, int adapt, int ctlr, int unit, in argument [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/units/ |
H A D | units.c | 204 "Redefinition of unit '%s' on line %d ignored", 236 warnx("Memory overflow in unit reduction"); 297 Adds the specified string to the unit. 434 Looks up the definition for the specified unit. 436 if the specified unit does not appear in the units table. 443 lookupunit(const char *unit) argument 449 if (!strcmp(unittable[i].uname, unit)) 453 if (unit[strlen(unit) - 1] == '^') { 454 copy = dupstr(unit); 615 completereduce(struct unittype * unit) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ |
H A D | sequencer.c | 208 int unit; local 211 unit = SEQUENCERUNIT(dev); 212 if (unit >= NSEQUENCER) 214 sc = &seqdevs[unit]; 233 int unit = SEQUENCERUNIT(dev); local 243 KASSERT(sc == &seqdevs[unit]); 249 if (SEQ_IS_OLD(unit)) 275 for (unit = 0; unit < sc->ndevs; unit 371 int unit, error; local 445 int status, chan, unit; local 1319 midiseq_open(int unit, int flags) argument 1579 midi_writebytes(int unit, u_char *bf, int cc) argument [all...] |
/netbsd-6-1-5-RELEASE/etc/etc.alpha/ |
H A D | MAKEDEV.conf | 34 name=ttyB; unit=${i#ttyB}; major=15; minor=$(($unit * 2)) 35 mkdev $name$unit c $major $minor "" "" $u_uucp
|
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c++/detail/ |
H A D | text.cpp | 143 const char unit = str[str.length() - 1]; local 145 switch (unit) { 151 if (!std::isdigit(unit)) 152 throw std::runtime_error(std::string("Unknown size unit '") + unit
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_heath.c | 165 #define DEVICE "/dev/heath%d" /* device name and unit */ 215 int unit, 226 snprintf(device, sizeof(device), DEVICE, unit); 257 int unit, 400 int unit, 214 heath_start( int unit, struct peer *peer ) argument 256 heath_shutdown( int unit, struct peer *peer ) argument 399 heath_poll( int unit, struct peer *peer ) argument
|