Home
last modified time | relevance | path

Searched refs:dv_unit (Results 1 – 25 of 79) sorted by relevance

1234

/mirbsd/src/sys/kern/
Dsubr_autoconf.c367 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/
Dfsmagic.c140 # 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/
Dif_ep_isa.c152 int bus = parent->dv_unit;
164 if (er->er_bus == parent->dv_unit)
187 elink_reset(iot, ioh, parent->dv_unit);
Dcy_isa.c64 int card = ((struct device *)match)->dv_unit;
Dfdc.c177 if (fdc->sc_dev.dv_unit == 0)
Dif_trtcm_isa.c213 int bus = parent->dv_unit;
/mirbsd/src/sys/arch/sparc/dev/
Dobio.c206 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) {
Despvar.h51 (bp->val[0] == -1 && bp->val[1] == sc->sc_dev.dv_unit))
Desp.c269 getdevunit("dma", sc->sc_dev.dv_unit);
391 bp->val[0] == -1 && bp->val[1] == sc->sc_dev.dv_unit)
Dif_le.c509 (bp->val[0] == -1 && bp->val[1] == sc->sc_dev.dv_unit))
528 sc->sc_dev.dv_unit == bp->val[1])
Dsbus.c154 if (sc->sc_dev.dv_unit > 0 && ca->ca_bustype != BUS_XBOX) {
Dpresto.c405 readdisklabel(DISKLABELDEV(sc->sc_dev.dv_unit), prestostrategy, in presto_getdisklabel()
/mirbsd/src/sys/dev/
Dramdisk.c160 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()
Dradio.c186 mn = self->dv_unit; in radiodetach()
/mirbsd/src/sys/dev/pci/
Dtrm_pci.c112 unit = sc->sc_device.dv_unit; in trm_pci_attach()
Dif_lmcvar.h487 #define lmc_unit lmc_dev.dv_unit
501 #define lmc_unit lmc_dev.dv_unit
Dmpt_pci.c300 if (unit == mpt->mpt_dev.dv_unit) in mpt_pci_link_peer()
Dwdt.c158 unit = wdt->wdt_dev.dv_unit;
/mirbsd/src/sys/sys/
Ddevice.h111 int dv_unit; /* device unit number */ member
/mirbsd/src/sys/dev/wscons/
Dwsmux.c444 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/
Dcardbus.c398 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;
Dcardslot.c116 sc->sc_slot = sc->sc_dev.dv_unit;
/mirbsd/src/sys/dev/usb/
Dusb_port.h118 #define USBDEVUNIT(bdev) ((bdev).dv_unit)
292 #define USBDEVUNIT(bdev) ((bdev).dv_unit)
/mirbsd/src/sys/scsi/
Dscsiconf.c156 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/
Diommu.c142 if (sc->sc_dev.dv_unit > 0) {

1234