Searched refs:dv_unit (Results 1 – 25 of 79) sorted by relevance
1234
| /mirbsd/src/sys/kern/ |
| D | subr_autoconf.c | 367 cd->cd_devs[dev->dv_unit] = dev; 374 if (dev->dv_unit == cf->cf_unit) 398 cf->cf_unit == dev->dv_unit) { 438 for (dev->dv_unit = cf->cf_starunit1; 439 dev->dv_unit < cf->cf_unit; dev->dv_unit++) 441 cd->cd_devs[dev->dv_unit] == NULL) 444 dev->dv_unit = cf->cf_unit; 448 cd->cd_name, dev->dv_unit) >= sizeof(dev->dv_xname)) 453 if (dev->dv_unit >= cd->cd_ndevs) { 464 while (new <= dev->dv_unit) [all …]
|
| /mirbsd/src/usr.bin/file/ |
| D | fsmagic.c | 140 # ifdef dv_unit in file_fsmagic() 142 major(sb->st_rdev), dv_unit(sb->st_rdev), in file_fsmagic() 166 # ifdef dv_unit in file_fsmagic() 168 major(sb->st_rdev), dv_unit(sb->st_rdev), in file_fsmagic()
|
| /mirbsd/src/sys/dev/isa/ |
| D | if_ep_isa.c | 152 int bus = parent->dv_unit; 164 if (er->er_bus == parent->dv_unit) 187 elink_reset(iot, ioh, parent->dv_unit);
|
| D | cy_isa.c | 64 int card = ((struct device *)match)->dv_unit;
|
| D | fdc.c | 177 if (fdc->sc_dev.dv_unit == 0)
|
| D | if_trtcm_isa.c | 213 int bus = parent->dv_unit;
|
| /mirbsd/src/sys/arch/sparc/dev/ |
| D | obio.c | 206 if (self->dv_unit > 0) { 224 if (self->dv_unit > 0) { 292 if (self->dv_unit > 0 || 315 if (self->dv_unit > 0 || 344 if (!CPU_ISSUN4M || self->dv_unit > 0) {
|
| D | espvar.h | 51 (bp->val[0] == -1 && bp->val[1] == sc->sc_dev.dv_unit))
|
| D | esp.c | 269 getdevunit("dma", sc->sc_dev.dv_unit); 391 bp->val[0] == -1 && bp->val[1] == sc->sc_dev.dv_unit)
|
| D | if_le.c | 509 (bp->val[0] == -1 && bp->val[1] == sc->sc_dev.dv_unit)) 528 sc->sc_dev.dv_unit == bp->val[1])
|
| D | sbus.c | 154 if (sc->sc_dev.dv_unit > 0 && ca->ca_bustype != BUS_XBOX) {
|
| D | presto.c | 405 readdisklabel(DISKLABELDEV(sc->sc_dev.dv_unit), prestostrategy, in presto_getdisklabel()
|
| /mirbsd/src/sys/dev/ |
| D | ramdisk.c | 160 sc->sc_dev.dv_unit = i; in rdattach() 177 rd_attach_hook(sc->sc_dev.dv_unit, &sc->sc_rd); in rd_attach() 491 readdisklabel(DISKLABELDEV(sc->sc_dev.dv_unit), rdstrategy, in rdgetdisklabel()
|
| D | radio.c | 186 mn = self->dv_unit; in radiodetach()
|
| /mirbsd/src/sys/dev/pci/ |
| D | trm_pci.c | 112 unit = sc->sc_device.dv_unit; in trm_pci_attach()
|
| D | if_lmcvar.h | 487 #define lmc_unit lmc_dev.dv_unit 501 #define lmc_unit lmc_dev.dv_unit
|
| D | mpt_pci.c | 300 if (unit == mpt->mpt_dev.dv_unit) in mpt_pci_link_peer()
|
| D | wdt.c | 158 unit = wdt->wdt_dev.dv_unit;
|
| /mirbsd/src/sys/sys/ |
| D | device.h | 111 int dv_unit; /* device unit number */ member
|
| /mirbsd/src/sys/dev/wscons/ |
| D | wsmux.c | 444 me->me_dv.dv_unit == d->idx) { in wsmux_do_ioctl() 461 l->devices[n].idx = me->me_dv.dv_unit; in wsmux_do_ioctl() 600 sc->sc_base.me_dv.dv_unit = unit; in wsmux_create()
|
| /mirbsd/src/sys/dev/cardbus/ |
| D | cardbus.c | 398 DPRINTF(("cardbus_attach_card: cb%d start\n", sc->sc_dev.dv_unit)); 402 DPRINTF(("cardbusattach: no CardBus card on cb%d\n", sc->sc_dev.dv_unit)); 508 ca.ca_unit = sc->sc_dev.dv_unit;
|
| D | cardslot.c | 116 sc->sc_slot = sc->sc_dev.dv_unit;
|
| /mirbsd/src/sys/dev/usb/ |
| D | usb_port.h | 118 #define USBDEVUNIT(bdev) ((bdev).dv_unit) 292 #define USBDEVUNIT(bdev) ((bdev).dv_unit)
|
| /mirbsd/src/sys/scsi/ |
| D | scsiconf.c | 156 sc_link_proto->scsibus = sb->sc_dev.dv_unit; 191 scsi_probe_bus(sb->sc_dev.dv_unit, -1, -1);
|
| /mirbsd/src/sys/arch/sparc/sparc/ |
| D | iommu.c | 142 if (sc->sc_dev.dv_unit > 0) {
|
1234