Symbol: device_get_parent
sys/bus/firewire/firewire.c
386
device_t pa = device_get_parent(dev);
sys/bus/gpio/gpio_acpi/gpio_acpi.c
317
handle = acpi_get_handle(device_get_parent(info->dev));
sys/bus/gpio/gpio_acpi/gpio_acpi.c
463
if (acpi_get_handle(device_get_parent(dev)) == NULL)
sys/bus/gpio/gpio_acpi/gpio_acpi.c
477
sc->parent = device_get_parent(dev);
sys/bus/gpio/gpio_intel/gpio_intel.c
102
if (ACPI_ID_PROBE(device_get_parent(dev), dev, cherryview_ids)
sys/bus/gpio/gpio_intel/gpio_intel.c
84
ACPI_ID_PROBE(device_get_parent(dev), dev, cherryview_ids) == NULL)
sys/bus/iicbus/iic.c
212
error = iicbus_request_bus(device_get_parent(iicdev), iicdev,
sys/bus/iicbus/iic.c
222
error = iicbus_block_write(device_get_parent(iicdev), sc->sc_addr,
sys/bus/iicbus/iic.c
225
iicbus_release_bus(device_get_parent(iicdev), iicdev);
sys/bus/iicbus/iic.c
253
error = iicbus_request_bus(device_get_parent(iicdev), iicdev,
sys/bus/iicbus/iic.c
263
error = iicbus_block_read(device_get_parent(iicdev), sc->sc_addr,
sys/bus/iicbus/iic.c
273
iicbus_release_bus(device_get_parent(iicdev), iicdev);
sys/bus/iicbus/iic.c
289
device_t parent = device_get_parent(iicdev);
sys/bus/iicbus/iic.c
297
if ((error = iicbus_request_bus(device_get_parent(iicdev), iicdev,
sys/bus/iicbus/iic.c
383
iicbus_release_bus(device_get_parent(iicdev), iicdev);
sys/bus/iicbus/iicbb.c
173
error = IICBB_RESET(device_get_parent(bus), IIC_FASTEST, 0, &oldaddr);
sys/bus/iicbus/iicbb.c
179
IICBB_RESET(device_get_parent(bus), IIC_FASTEST, oldaddr, NULL);
sys/bus/iicbus/iicbb.c
189
IICBB_SETSDA(device_get_parent(dev), val); \
sys/bus/iicbus/iicbb.c
202
#define I2C_GETSDA(dev) (IICBB_GETSDA(device_get_parent(dev)))
sys/bus/iicbus/iicbb.c
204
#define I2C_GETSCL(dev) (IICBB_GETSCL(device_get_parent(dev)))
sys/bus/iicbus/iicbb.c
221
IICBB_SETSCL(device_get_parent(dev), val);
sys/bus/iicbus/iicbb.c
225
IICBB_SETSCL(device_get_parent(dev), val);
sys/bus/iicbus/iicbb.c
334
return (IICBB_CALLBACK(device_get_parent(dev), index, data));
sys/bus/iicbus/iicbb.c
340
return (IICBB_RESET(device_get_parent(dev), speed, addr, oldaddr));
sys/bus/iicbus/iicbb.c
431
error = IICBB_PRE_XFER(device_get_parent(dev));
sys/bus/iicbus/iicbb.c
437
IICBB_POST_XFER(device_get_parent(dev));
sys/bus/iicbus/iiconf.c
112
IICBUS_CALLBACK(device_get_parent(bus), IIC_RELEASE_BUS,
sys/bus/iicbus/iiconf.c
131
error = IICBUS_CALLBACK(device_get_parent(bus), IIC_RELEASE_BUS, NULL);
sys/bus/iicbus/iiconf.c
177
if (!(error = IICBUS_START(device_get_parent(bus), slave, timeout)))
sys/bus/iicbus/iiconf.c
199
if (!(error = IICBUS_REPEATED_START(device_get_parent(bus), slave, timeout)))
sys/bus/iicbus/iiconf.c
221
error = IICBUS_STOP(device_get_parent(bus));
sys/bus/iicbus/iiconf.c
244
return (IICBUS_WRITE(device_get_parent(bus), buf, len, sent, timeout));
sys/bus/iicbus/iiconf.c
262
return (IICBUS_READ(device_get_parent(bus), buf, len, read, last, delay));
sys/bus/iicbus/iiconf.c
349
return (IICBUS_TRANSFER(device_get_parent(bus), msgs, nmsgs));
sys/bus/iicbus/iiconf.c
93
error = IICBUS_CALLBACK(device_get_parent(bus),
sys/bus/iicbus/iiconf.h
105
(IICBUS_RESET(device_get_parent(bus), speed, addr, oldaddr))
sys/bus/iicbus/iicsmb.c
252
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
278
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
304
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
321
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
338
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
356
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
378
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
404
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
431
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
465
device_t parent = device_get_parent(dev);
sys/bus/iicbus/iicsmb.c
487
device_t parent = device_get_parent(dev);
sys/bus/iicbus/pcf/pcf.c
138
device_t parent = device_get_parent(pcfdev);
sys/bus/iicbus/pcf/pcf.c
188
device_t parent = device_get_parent(pcfdev);
sys/bus/isa/isa_common.c
416
bus_print_child_header(device_get_parent(child), child);
sys/bus/isa/isa_common.c
419
isa_print_child(device_get_parent(child), child);
sys/bus/isa/isavar.h
146
BUS_READ_IVAR(device_get_parent(dev), dev, ISA_IVAR_ ## B, &v); \
sys/bus/isa/isavar.h
153
BUS_WRITE_IVAR(device_get_parent(dev), dev, ISA_IVAR_ ## B, v); \
sys/bus/isa/pnpeat.c
69
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, sysresource_ids)) >= 0) {
sys/bus/isa/pnpparse.c
364
parent = device_get_parent(dev);
sys/bus/isa/pnpparse.c
422
parent = device_get_parent(dev);
sys/bus/isa/x86_64/isa.c
147
return (BUS_SETUP_INTR(device_get_parent(bus), child, r, flags,
sys/bus/isa/x86_64/isa.c
155
return (BUS_TEARDOWN_INTR(device_get_parent(bus), child, r, cookie));
sys/bus/isa/x86_64/isa.c
85
int passthrough = (device_get_parent(child) != bus);
sys/bus/mmc/mmc.c
279
err = MMCBR_ACQUIRE_HOST(device_get_parent(busdev), busdev);
sys/bus/mmc/mmc.c
367
err = MMCBR_RELEASE_HOST(device_get_parent(busdev), busdev);
sys/bus/mmc/mmc.c
421
MMCBR_REQUEST(device_get_parent(sc->dev), sc->dev, req);
sys/bus/mmc/mmcbrvar.h
108
return (MMCBR_UPDATE_IOS(device_get_parent(dev), dev));
sys/bus/mmc/mmcbrvar.h
115
return (MMCBR_SWITCH_VCCQ(device_get_parent(dev), dev));
sys/bus/mmc/mmcbrvar.h
122
return (MMCBR_GET_RO(device_get_parent(dev), dev));
sys/bus/pccard/pccard.c
1111
int passthrough = (device_get_parent(child) != dev);
sys/bus/pccard/pccard.c
1117
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
sys/bus/pccard/pccard.c
1160
int passthrough = (device_get_parent(child) != dev);
sys/bus/pccard/pccard.c
1164
return BUS_RELEASE_RESOURCE(device_get_parent(dev), child,
sys/bus/pccard/pccard.c
192
POWER_ENABLE_SOCKET(device_get_parent(dev), dev);
sys/bus/pccard/pccard.c
270
POWER_ENABLE_SOCKET(device_get_parent(dev), dev);
sys/bus/pccard/pccard.c
315
POWER_DISABLE_SOCKET(device_get_parent(dev), dev);
sys/bus/pccard/pccard.c
423
bus = device_get_parent(pf->dev);
sys/bus/pccard/pccard.c
532
BUS_RELEASE_RESOURCE(device_get_parent(pf->sc->dev),
sys/bus/pccard/pccard.c
636
CARD_SET_RES_FLAGS(device_get_parent(dev), dev, SYS_RES_MEMORY,
sys/bus/pccard/pccard.c
638
CARD_SET_MEMORY_OFFSET(device_get_parent(dev), dev,
sys/bus/pccard/pccard.c
909
if (NULL != resource_list_alloc(rl, device_get_parent(dev), dev,
sys/bus/pccard/pccard.c
948
return (CARD_SET_RES_FLAGS(device_get_parent(dev), child, type,
sys/bus/pccard/pccard.c
957
return (CARD_SET_MEMORY_OFFSET(device_get_parent(dev), child, rid,
sys/bus/pccard/pccard_cis.c
136
CARD_SET_RES_FLAGS(device_get_parent(dev), dev, SYS_RES_MEMORY,
sys/bus/pccard/pccard_cis.c
388
CARD_SET_RES_FLAGS(device_get_parent(dev), dev,
sys/bus/pccard/pccard_cis.c
399
CARD_SET_RES_FLAGS(device_get_parent(dev), dev,
sys/bus/pccard/pccardvar.h
246
return CARD_DO_PRODUCT_LOOKUP(device_get_parent(dev), dev,
sys/bus/pccard/pccardvar.h
314
return (CARD_COMPAT_DO_PROBE(device_get_parent(dev), dev));
sys/bus/pccard/pccardvar.h
320
return (CARD_COMPAT_DO_ATTACH(device_get_parent(dev), dev));
sys/bus/pccard/pccardvar.h
342
BUS_READ_IVAR(device_get_parent(dev), dev, PCCARD_IVAR_ ## B, &v); \
sys/bus/pci/hostb_pci.c
197
return (PCI_ASSIGN_INTERRUPT(device_get_parent(dev), dev));
sys/bus/pci/hostb_pci.c
94
return (BUS_READ_IVAR(device_get_parent(dev), dev, which, result));
sys/bus/pci/pci.c
1333
pci_read_vpd(device_get_parent(dev), cfg);
sys/bus/pci/pci.c
1352
pci_read_vpd(device_get_parent(dev), cfg);
sys/bus/pci/pci.c
1556
error = PCIB_ALLOC_MSIX(device_get_parent(dev), child, &irq, cpuid);
sys/bus/pci/pci.c
1610
PCIB_RELEASE_MSIX(device_get_parent(dev), child, irq, cpuid);
sys/bus/pci/pci.c
1993
error = PCIB_ALLOC_MSI(device_get_parent(dev), child, count,
sys/bus/pci/pci.c
2107
PCIB_RELEASE_MSI(device_get_parent(dev), child, msi->msi_alloc, irqs,
sys/bus/pci/pci.c
3074
device_t pcib = device_get_parent(dev);
sys/bus/pci/pci.c
3108
pcib = device_get_parent(bus);
sys/bus/pci/pci.c
3298
if (device_get_parent(child) != dev) {
sys/bus/pci/pci.c
3325
error = PCIB_MAP_MSI(device_get_parent(dev),
sys/bus/pci/pci.c
3348
error = PCIB_MAP_MSI(device_get_parent(dev),
sys/bus/pci/pci.c
3393
if (device_get_parent(child) != dev)
sys/bus/pci/pci.c
3985
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), child, type, rid,
sys/bus/pci/pci.c
4026
if (device_get_parent(child) == dev) {
sys/bus/pci/pci.c
4098
if (device_get_parent(child) != dev)
sys/bus/pci/pci.c
4124
BUS_DELETE_RESOURCE(device_get_parent(dev), child, type, rid);
sys/bus/pci/pci.c
4144
return (PCIB_READ_CONFIG(device_get_parent(dev),
sys/bus/pci/pci.c
4155
PCIB_WRITE_CONFIG(device_get_parent(dev),
sys/bus/pci/pci.c
4191
return (PCIB_ROUTE_INTERRUPT(device_get_parent(dev), child,
sys/bus/pci/pci_pci.c
557
return(PCIB_READ_CONFIG(device_get_parent(device_get_parent(dev)), b, s, f, reg, width));
sys/bus/pci/pci_pci.c
563
PCIB_WRITE_CONFIG(device_get_parent(device_get_parent(dev)), b, s, f, reg, val, width);
sys/bus/pci/pci_pci.c
593
bus = device_get_parent(pcib);
sys/bus/pci/pci_pci.c
594
intnum = PCIB_ROUTE_INTERRUPT(device_get_parent(bus), pcib, parent_intpin + 1);
sys/bus/pci/pci_pci.c
612
bus = device_get_parent(pcib);
sys/bus/pci/pci_pci.c
613
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/bus/pci/pci_pci.c
623
bus = device_get_parent(pcib);
sys/bus/pci/pci_pci.c
624
return (PCIB_RELEASE_MSI(device_get_parent(bus), dev, count, irqs,
sys/bus/pci/pci_pci.c
637
bus = device_get_parent(pcib);
sys/bus/pci/pci_pci.c
638
return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq, cpuid));
sys/bus/pci/pci_pci.c
647
bus = device_get_parent(pcib);
sys/bus/pci/pci_pci.c
648
return (PCIB_RELEASE_MSIX(device_get_parent(bus), dev, irq, cpuid));
sys/bus/pci/pci_pci.c
659
bus = device_get_parent(pcib);
sys/bus/pci/pci_pci.c
660
error = PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data,
sys/bus/pci/pci_user.c
625
brdev = device_get_parent(
sys/bus/pci/pci_user.c
626
device_get_parent(pcidev));
sys/bus/pci/pcivar.h
302
return PCI_READ_CONFIG(device_get_parent(dev), dev, reg, width);
sys/bus/pci/pcivar.h
308
PCI_WRITE_CONFIG(device_get_parent(dev), dev, reg, val, width);
sys/bus/pci/pcivar.h
346
return(PCI_ENABLE_BUSMASTER(device_get_parent(dev), dev));
sys/bus/pci/pcivar.h
352
return(PCI_DISABLE_BUSMASTER(device_get_parent(dev), dev));
sys/bus/pci/pcivar.h
358
return(PCI_ENABLE_IO(device_get_parent(dev), dev, space));
sys/bus/pci/pcivar.h
364
return(PCI_DISABLE_IO(device_get_parent(dev), dev, space));
sys/bus/pci/pcivar.h
370
return(PCI_GET_VPD_IDENT(device_get_parent(dev), dev, identptr));
sys/bus/pci/pcivar.h
376
return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, identptr));
sys/bus/pci/pcivar.h
438
return PCI_SET_POWERSTATE(device_get_parent(dev), dev, state);
sys/bus/pci/pcivar.h
444
return PCI_GET_POWERSTATE(device_get_parent(dev), dev);
sys/bus/pci/pcivar.h
450
return PCI_FIND_EXTCAP(device_get_parent(dev), dev, capability, capreg);
sys/bus/pci/pcivar.h
468
return (PCI_ALLOC_MSI(device_get_parent(dev), dev, rid, count, cpuid));
sys/bus/pci/pcivar.h
474
return (PCI_RELEASE_MSI(device_get_parent(dev), dev));
sys/bus/pci/pcivar.h
480
return (PCI_ALLOC_MSIX_VECTOR(device_get_parent(dev), dev, vector, rid,
sys/bus/pci/pcivar.h
487
return PCI_RELEASE_MSIX_VECTOR(device_get_parent(dev), dev, rid);
sys/bus/pci/pcivar.h
493
return (PCI_MSI_COUNT(device_get_parent(dev), dev));
sys/bus/pci/pcivar.h
499
return (PCI_MSIX_COUNT(device_get_parent(dev), dev));
sys/bus/pci/vga_pci.c
113
pcib = device_get_parent(device_get_parent(dev));
sys/bus/pci/vga_pci.c
114
if (device_get_devclass(device_get_parent(pcib)) ==
sys/bus/pci/vga_pci.c
190
pcib = device_get_parent(device_get_parent(dev));
sys/bus/pci/vga_pci.c
191
if (device_get_devclass(device_get_parent(pcib)) ==
sys/bus/pci/vga_pci.c
390
return (BUS_READ_IVAR(device_get_parent(dev), dev, which, result));
sys/bus/pci/vga_pci.c
406
return (BUS_SETUP_INTR(device_get_parent(dev), dev, irq, flags,
sys/bus/pci/vga_pci.c
415
return (BUS_TEARDOWN_INTR(device_get_parent(dev), dev, irq, cookie));
sys/bus/pci/vga_pci.c
582
return (PCI_ASSIGN_INTERRUPT(device_get_parent(dev), dev));
sys/bus/pci/x86_64/mptable_pci.c
128
bus = device_get_parent(pcib);
sys/bus/pci/x86_64/mptable_pci.c
129
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/bus/pci/x86_64/mptable_pci.c
138
bus = device_get_parent(pcib);
sys/bus/pci/x86_64/mptable_pci.c
139
return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq, cpuid));
sys/bus/pci/x86_64/mptable_pci.c
148
bus = device_get_parent(pcib);
sys/bus/pci/x86_64/mptable_pci.c
149
return (PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data,
sys/bus/pci/x86_64/pci_bus.c
105
bus = device_get_parent(pcib);
sys/bus/pci/x86_64/pci_bus.c
106
return (PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data,
sys/bus/pci/x86_64/pci_bus.c
469
pir = BUS_ADD_CHILD(device_get_parent(dev), device_get_parent(dev), 0, "pir", 0);
sys/bus/pci/x86_64/pci_bus.c
605
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, pcibus_pnp_ids)) <= 0)
sys/bus/pci/x86_64/pci_bus.c
85
bus = device_get_parent(pcib);
sys/bus/pci/x86_64/pci_bus.c
86
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/bus/pci/x86_64/pci_bus.c
95
bus = device_get_parent(pcib);
sys/bus/pci/x86_64/pci_bus.c
96
return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq, cpuid));
sys/bus/ppbus/ppb_base.c
105
BUS_READ_IVAR(device_get_parent(bus), bus, PPC_IVAR_EPP_PROTO, &protocol);
sys/bus/ppbus/ppb_base.c
134
if (PPBUS_SETMODE(device_get_parent(bus), mode))
sys/bus/ppbus/ppb_base.c
151
return (PPBUS_WRITE(device_get_parent(bus), buf, len, how));
sys/bus/ppbus/ppb_base.c
162
return(PPBUS_RESET_EPP(device_get_parent(bus)));
sys/bus/ppbus/ppb_base.c
173
return (PPBUS_ECP_SYNC(device_get_parent(bus)));
sys/bus/ppbus/ppb_msq.c
284
device_get_parent(bus),
sys/bus/ppbus/ppb_msq.c
329
device_get_parent(bus), &mi)))
sys/bus/ppbus/ppbconf.c
118
BUS_READ_IVAR(device_get_parent(bus), bus, PPC_IVAR_IRQ, val);
sys/bus/ppbus/ppbconf.c
419
if ((error = BUS_SETUP_INTR(device_get_parent(bus), child, r, flags,
sys/bus/ppbus/ppbconf.c
447
return (BUS_TEARDOWN_INTR(device_get_parent(bus), child, r, ih));
sys/bus/ppbus/ppbio.h
39
(PPBUS_IO(device_get_parent(dev), PPB_OUTSB_EPP, buf, cnt, 0))
sys/bus/ppbus/ppbio.h
41
(PPBUS_IO(device_get_parent(dev), PPB_OUTSW_EPP, buf, cnt, 0))
sys/bus/ppbus/ppbio.h
43
(PPBUS_IO(device_get_parent(dev), PPB_OUTSL_EPP, buf, cnt, 0))
sys/bus/ppbus/ppbio.h
46
(PPBUS_IO(device_get_parent(dev), PPB_INSB_EPP, buf, cnt, 0))
sys/bus/ppbus/ppbio.h
48
(PPBUS_IO(device_get_parent(dev), PPB_INSW_EPP, buf, cnt, 0))
sys/bus/ppbus/ppbio.h
50
(PPBUS_IO(device_get_parent(dev), PPB_INSL_EPP, buf, cnt, 0))
sys/bus/ppbus/ppbio.h
53
(PPBUS_IO(device_get_parent(dev), PPB_REPP_A, 0, 0, 0))
sys/bus/ppbus/ppbio.h
55
(PPBUS_IO(device_get_parent(dev), PPB_REPP_D, 0, 0, 0))
sys/bus/ppbus/ppbio.h
57
(PPBUS_IO(device_get_parent(dev), PPB_RECR, 0, 0, 0))
sys/bus/ppbus/ppbio.h
59
(PPBUS_IO(device_get_parent(dev), PPB_RFIFO, 0, 0, 0))
sys/bus/ppbus/ppbio.h
62
(PPBUS_IO(device_get_parent(dev), PPB_WEPP_A, 0, 0, byte))
sys/bus/ppbus/ppbio.h
64
(PPBUS_IO(device_get_parent(dev), PPB_WEPP_D, 0, 0, byte))
sys/bus/ppbus/ppbio.h
66
(PPBUS_IO(device_get_parent(dev), PPB_WECR, 0, 0, byte))
sys/bus/ppbus/ppbio.h
68
(PPBUS_IO(device_get_parent(dev), PPB_WFIFO, 0, 0, byte))
sys/bus/ppbus/ppbio.h
71
(PPBUS_IO(device_get_parent(dev), PPB_RDTR, 0, 0, 0))
sys/bus/ppbus/ppbio.h
73
(PPBUS_IO(device_get_parent(dev), PPB_RSTR, 0, 0, 0))
sys/bus/ppbus/ppbio.h
75
(PPBUS_IO(device_get_parent(dev), PPB_RCTR, 0, 0, 0))
sys/bus/ppbus/ppbio.h
78
(PPBUS_IO(device_get_parent(dev), PPB_WDTR, 0, 0, byte))
sys/bus/ppbus/ppbio.h
80
(PPBUS_IO(device_get_parent(dev), PPB_WSTR, 0, 0, byte))
sys/bus/ppbus/ppbio.h
82
(PPBUS_IO(device_get_parent(dev), PPB_WCTR, 0, 0, byte))
sys/bus/smbus/ichiic/ig4_acpi.c
89
ACPI_ID_PROBE(device_get_parent(dev), dev, ig4iic_ids) == NULL)
sys/bus/smbus/ichiic/ig4_iic.c
598
if (strcmp("acpi", device_get_name(device_get_parent(sc->dev))) != 0) {
sys/bus/smbus/smbacpi/smbacpi.c
247
if (acpi_get_handle(device_get_parent(dev)) == NULL)
sys/bus/smbus/smbacpi/smbacpi.c
261
sc->parent = device_get_parent(dev);
sys/bus/smbus/smbconf.c
119
parent = device_get_parent(bus);
sys/bus/smbus/smbconf.c
158
parent = device_get_parent(bus);
sys/bus/smbus/smbconf.h
110
(SMBUS_QUICK(device_get_parent(bus), slave, how))
sys/bus/smbus/smbconf.h
112
(SMBUS_SENDB(device_get_parent(bus), slave, byte))
sys/bus/smbus/smbconf.h
114
(SMBUS_RECVB(device_get_parent(bus), slave, byte))
sys/bus/smbus/smbconf.h
116
(SMBUS_WRITEB(device_get_parent(bus), slave, cmd, byte))
sys/bus/smbus/smbconf.h
118
(SMBUS_WRITEW(device_get_parent(bus), slave, cmd, word))
sys/bus/smbus/smbconf.h
120
(SMBUS_READB(device_get_parent(bus), slave, cmd, byte))
sys/bus/smbus/smbconf.h
122
(SMBUS_READW(device_get_parent(bus), slave, cmd, word))
sys/bus/smbus/smbconf.h
124
(SMBUS_PCALL(device_get_parent(bus), slave, cmd, sdata, rdata))
sys/bus/smbus/smbconf.h
126
(SMBUS_BWRITE(device_get_parent(bus), slave, cmd, count, buf))
sys/bus/smbus/smbconf.h
128
(SMBUS_BREAD(device_get_parent(bus), slave, cmd, count, buf))
sys/bus/smbus/smbconf.h
130
(SMBUS_TRANS(device_get_parent(bus), slave, cmd, op, \
sys/bus/u4b/audio/uaudio.c
1104
struct uaudio_softc *sc = device_get_softc(device_get_parent(dev));
sys/bus/u4b/audio/uaudio.c
1169
struct uaudio_softc *sc = device_get_softc(device_get_parent(dev));
sys/bus/u4b/controller/usb_controller.c
537
USB_TAKE_CONTROLLER(device_get_parent(bus->bdev));
sys/bus/u4b/net/ruephy.c
100
if (strcmp(device_get_name(device_get_parent(device_get_parent(dev))),
sys/bus/u4b/usb_device.c
2255
info = device_get_ivars(device_get_parent(udev->bus->bdev));
sys/bus/u4b/usb_device.c
2687
device_get_nameunit(device_get_parent(udev->bus->bdev))
sys/dev/acpica/acpi.c
1073
rl = BUS_GET_RESOURCE_LIST(device_get_parent(dev), dev);
sys/dev/acpica/acpi.c
1095
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), dev, rle->type,
sys/dev/acpica/acpi.c
1140
if (bus == device_get_parent(child) && start == 0UL && end == ~0UL) {
sys/dev/acpica/acpi.c
1159
res = BUS_ALLOC_RESOURCE(device_get_parent(bus), child, type, rid,
sys/dev/acpica/acpi.c
1173
if (res != NULL && device_get_parent(child) == bus)
sys/dev/acpica/acpi.c
1233
ret = BUS_RELEASE_RESOURCE(device_get_parent(bus), child, type, rid, r);
sys/dev/acpica/acpi.c
1549
device_delete_child(device_get_parent(old_dev), old_dev);
sys/dev/acpica/acpi.c
790
error = acpi_device_pwr_for_sleep(device_get_parent(child),
sys/dev/acpica/acpi_acad.c
154
ACPI_ID_PROBE(device_get_parent(dev), dev, acad_ids) == NULL)
sys/dev/acpica/acpi_asus/acpi_asus.c
561
rstr = ACPI_ID_PROBE(device_get_parent(dev), dev, asus_ids);
sys/dev/acpica/acpi_button.c
104
(str = ACPI_ID_PROBE(device_get_parent(dev), dev, btn_ids)) == NULL)
sys/dev/acpica/acpi_cmbat.c
115
ACPI_ID_PROBE(device_get_parent(dev), dev, cmbat_ids) == NULL)
sys/dev/acpica/acpi_cpu.c
264
return BUS_GET_RESOURCE_LIST(device_get_parent(dev), dev);
sys/dev/acpica/acpi_cpu.c
272
return BUS_ALLOC_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/dev/acpica/acpi_cpu.c
280
return BUS_RELEASE_RESOURCE(device_get_parent(dev), dev, type, rid, r);
sys/dev/acpica/acpi_cpu_cstate.c
249
sc->cst_parent = device_get_softc(device_get_parent(dev));
sys/dev/acpica/acpi_cpu_pstate.c
1070
cpu = device_get_softc(device_get_parent(devices[i]));
sys/dev/acpica/acpi_cpu_pstate.c
344
sc->pst_parent = device_get_softc(device_get_parent(dev));
sys/dev/acpica/acpi_ec.c
413
} else if (ACPI_ID_PROBE(device_get_parent(dev), dev, ec_ids)) {
sys/dev/acpica/acpi_fujitsu/acpi_fujitsu.c
229
name = ACPI_ID_PROBE(device_get_parent(dev), dev, fujitsu_ids);
sys/dev/acpica/acpi_hp/acpi_hp.c
494
sc->wmi_dev = device_get_parent(dev);
sys/dev/acpica/acpi_hpet.c
404
(ACPI_ID_PROBE(device_get_parent(dev), dev, hpet_ids) == NULL ||
sys/dev/acpica/acpi_isab.c
98
ACPI_ID_PROBE(device_get_parent(dev), dev, isa_ids) == NULL ||
sys/dev/acpica/acpi_lid.c
95
ACPI_ID_PROBE(device_get_parent(dev), dev, lid_ids) == NULL)
sys/dev/acpica/acpi_panasonic/acpi_panasonic.c
139
ACPI_ID_PROBE(device_get_parent(dev), dev, mat_ids) == NULL ||
sys/dev/acpica/acpi_pci.c
225
KASSERT(device_get_parent(child) ==
sys/dev/acpica/acpi_pci.c
229
device_delete_child(device_get_parent(child), child);
sys/dev/acpica/acpi_pci_link.c
154
ACPI_ID_PROBE(device_get_parent(dev), dev, pci_link_ids) == NULL)
sys/dev/acpica/acpi_pcib.c
162
device_printf(device_get_parent(dev), "couldn't attach pci bus\n");
sys/dev/acpica/acpi_pcib.c
269
BUS_CONFIG_INTR(device_get_parent(dev), dev, interrupt,
sys/dev/acpica/acpi_pcib_acpi.c
136
ACPI_ID_PROBE(device_get_parent(dev), dev, pcib_ids) == NULL)
sys/dev/acpica/acpi_pcib_acpi.c
338
bus = device_get_parent(pcib);
sys/dev/acpica/acpi_pcib_acpi.c
339
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/dev/acpica/acpi_pcib_acpi.c
348
bus = device_get_parent(pcib);
sys/dev/acpica/acpi_pcib_acpi.c
349
return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq, cpuid));
sys/dev/acpica/acpi_pcib_acpi.c
358
bus = device_get_parent(pcib);
sys/dev/acpica/acpi_pcib_acpi.c
359
return (PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data,
sys/dev/acpica/acpi_pvpanic/acpi_pvpanic.c
92
ACPI_ID_PROBE(device_get_parent(dev), dev, pvpanic_ids) == NULL ||
sys/dev/acpica/acpi_resource.c
677
ACPI_ID_PROBE(device_get_parent(dev), dev, sysres_ids) == NULL)
sys/dev/acpica/acpi_resource.c
702
bus = device_get_parent(dev);
sys/dev/acpica/acpi_resource.c
704
bus_rl = BUS_GET_RESOURCE_LIST(device_get_parent(bus), bus);
sys/dev/acpica/acpi_smbat.c
112
ACPI_ID_PROBE(device_get_parent(dev), dev, smbat_ids) == NULL)
sys/dev/acpica/acpi_sony/acpi_sony.c
120
if (ACPI_ID_PROBE(device_get_parent(dev), dev, sny_id)) {
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c
450
if (acpi_disabled("thinkpad") || device_get_unit(dev) != 0 || ACPI_ID_PROBE(device_get_parent(dev), dev, thinkpad_ids) == NULL)
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
223
ACPI_ID_PROBE(device_get_parent(dev), dev, tosh_ids) == NULL ||
sys/dev/acpica/acpi_toshiba/acpi_toshiba.c
548
ACPI_ID_PROBE(device_get_parent(dev), dev, vid_ids) == NULL ||
sys/dev/acpica/acpi_wmi/acpi_wmi.c
211
ACPI_ID_PROBE(device_get_parent(dev), dev, wmi_ids) == NULL)
sys/dev/acpica/acpivar.h
275
BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/dev/acpica/acpivar.h
283
BUS_WRITE_IVAR(device_get_parent(dev), dev, \
sys/dev/acpica/acpivar.h
440
parent = device_get_parent(child);
sys/dev/acpica/aibs/atk0110.c
103
ACPI_ID_PROBE(device_get_parent(dev), dev, aibs_hids) == NULL)
sys/dev/agp/intel-gtt.c
1460
vga = device_get_parent(dev);
sys/dev/agp/intel-gtt.c
1462
sc->sc_flush_page_res = BUS_ALLOC_RESOURCE(device_get_parent(vga), dev,
sys/dev/agp/intel-gtt.c
1486
vga = device_get_parent(dev);
sys/dev/agp/intel-gtt.c
1489
BUS_DEACTIVATE_RESOURCE(device_get_parent(vga), dev, SYS_RES_MEMORY,
sys/dev/agp/intel-gtt.c
1491
BUS_RELEASE_RESOURCE(device_get_parent(vga), dev, SYS_RES_MEMORY,
sys/dev/apple/smc/smc.c
213
if (ACPI_ID_PROBE(device_get_parent(dev), dev, apple_smc_ids) == NULL)
sys/dev/crypto/tpm/tpm_acpi.c
51
if (ACPI_ID_PROBE(device_get_parent(dev), dev, tpm_ids) != NULL) {
sys/dev/crypto/tpm/tpm_crb.c
109
if (ACPI_ID_PROBE(device_get_parent(dev), dev, tpmcrb_ids) == NULL) {
sys/dev/crypto/tpm/tpm_tis.c
107
if (ACPI_ID_PROBE(device_get_parent(dev), dev, tpmtis_ids) == NULL) {
sys/dev/disk/fd/fd.c
698
error = ISA_PNP_PROBE(device_get_parent(dev), dev, fdc_ids);
sys/dev/disk/fd/fd.c
785
error = BUS_SETUP_INTR(device_get_parent(dev), dev, fdc->res_irq,
sys/dev/disk/fd/fd.c
884
fdc = device_get_softc(device_get_parent(dev));
sys/dev/disk/fd/fd.c
926
device_printf(device_get_parent(dev),
sys/dev/disk/fd/fd_pccard.c
147
BUS_TEARDOWN_INTR(device_get_parent(dev), dev, fdc->res_irq,
sys/dev/disk/fd/fdc.h
108
BUS_READ_IVAR(device_get_parent(dev), dev, FDC_IVAR_ ## B, &v); \
sys/dev/disk/mmcsd/mmcsd.c
190
device_get_nameunit(device_get_parent(dev)),
sys/dev/disk/mmcsd/mmcsd.c
380
MMCBUS_WAIT_FOR_REQUEST(device_get_parent(dev), dev, &req);
sys/dev/disk/mmcsd/mmcsd.c
431
MMCBUS_WAIT_FOR_REQUEST(device_get_parent(dev), dev, &req);
sys/dev/disk/mmcsd/mmcsd.c
449
MMCBUS_WAIT_FOR_REQUEST(device_get_parent(dev), dev, &req);
sys/dev/disk/mmcsd/mmcsd.c
461
MMCBUS_WAIT_FOR_REQUEST(device_get_parent(dev), dev, &req);
sys/dev/disk/mmcsd/mmcsd.c
499
MMCBUS_ACQUIRE_BUS(device_get_parent(dev), dev);
sys/dev/disk/mmcsd/mmcsd.c
501
MMCBUS_RELEASE_BUS(device_get_parent(dev), dev);
sys/dev/disk/mmcsd/mmcsd.c
531
MMCBUS_ACQUIRE_BUS(device_get_parent(dev), dev);
sys/dev/disk/mmcsd/mmcsd.c
544
MMCBUS_RELEASE_BUS(device_get_parent(dev), dev);
sys/dev/disk/nata/ata-all.c
525
ATA_SETMODE(device_get_parent(dev), dev);
sys/dev/disk/nata/ata-all.c
592
struct ata_channel *ch = device_get_softc(device_get_parent(atadev->dev));
sys/dev/disk/nata/ata-all.c
741
struct ata_channel *ch = device_get_softc(device_get_parent(request->dev));
sys/dev/disk/nata/ata-all.c
883
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-all.h
624
#define GRANDPARENT(dev) device_get_parent(device_get_parent(dev))
sys/dev/disk/nata/ata-disk.c
107
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-disk.c
217
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-disk.c
436
ATA_SETMODE(device_get_parent(dev), dev);
sys/dev/disk/nata/ata-disk.c
505
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-isa.c
62
if (ISA_PNP_PROBE(device_get_parent(dev), dev, ata_ids) == ENXIO)
sys/dev/disk/nata/ata-pci.c
297
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/dev/disk/nata/ata-pci.c
309
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/dev/disk/nata/ata-pci.c
320
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
sys/dev/disk/nata/ata-pci.c
340
return BUS_RELEASE_RESOURCE(device_get_parent(dev), dev,
sys/dev/disk/nata/ata-pci.c
346
return BUS_RELEASE_RESOURCE(device_get_parent(dev), dev,
sys/dev/disk/nata/ata-pci.c
359
return BUS_RELEASE_RESOURCE(device_get_parent(dev), child,
sys/dev/disk/nata/ata-pci.c
376
return BUS_SETUP_INTR(device_get_parent(dev), child, irq,
sys/dev/disk/nata/ata-pci.c
397
return BUS_TEARDOWN_INTR(device_get_parent(dev), child, irq, cookie);
sys/dev/disk/nata/ata-pci.c
412
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-pci.c
450
device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-pci.c
498
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-pci.c
524
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-pci.c
657
if (device_get_children(device_get_parent(dev), &children, &nchildren))
sys/dev/disk/nata/ata-pci.c
773
device_get_children(device_get_parent(dev), &children, &count);
sys/dev/disk/nata/ata-pci.c
789
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-pci.c
827
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-pci.c
839
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-queue.c
518
ata_start(device_get_parent(composite->request[bit]->dev));
sys/dev/disk/nata/ata-queue.c
567
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-queue.c
65
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/ata-queue.c
85
if (!(request->parent = device_get_parent(request->dev))) {
sys/dev/disk/nata/ata-raid.c
1062
rdp->disks[disk].dev = device_get_parent(subdisk);
sys/dev/disk/nata/ata-raid.c
1349
rdp->disks[disk].dev = device_get_parent(subdisk);
sys/dev/disk/nata/ata-raid.c
1415
switch (pci_get_vendor(GRANDPARENT(device_get_parent(subdisk)))) {
sys/dev/disk/nata/ata-raid.c
1640
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
1751
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
1990
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
2124
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
219
device_get_unit(device_get_parent(rdp->disks[disk].dev)),
sys/dev/disk/nata/ata-raid.c
2341
device_get_softc(device_get_parent(rdp->disks[disk].dev));
sys/dev/disk/nata/ata-raid.c
2440
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
2556
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
2773
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
2891
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
3022
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
3142
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
3341
device_get_softc(device_get_parent(rdp->disks[disk].dev));
sys/dev/disk/nata/ata-raid.c
3427
device_get_softc(device_get_parent(rdp->disks[drive].dev));
sys/dev/disk/nata/ata-raid.c
3471
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
3615
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-raid.c
3743
device_get_softc(device_get_parent(rdp->disks[disk].dev));
sys/dev/disk/nata/ata-raid.c
3774
device_get_softc(device_get_parent(rdp->disks[disk].dev));
sys/dev/disk/nata/ata-raid.c
3806
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/ata-sata.c
186
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-cam.c
204
scp->parent = device_get_parent(dev);
sys/dev/disk/nata/atapi-cam.c
925
device_delete_child(device_get_parent(child),child);
sys/dev/disk/nata/atapi-cd.c
147
ATA_SETMODE(device_get_parent(dev), dev);
sys/dev/disk/nata/atapi-cd.c
1757
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-cd.c
219
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-cd.c
226
ATA_SETMODE(device_get_parent(dev), dev);
sys/dev/disk/nata/atapi-cd.c
941
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-fd.c
100
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-fd.c
107
ATA_SETMODE(device_get_parent(dev), dev);
sys/dev/disk/nata/atapi-fd.c
170
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-fd.c
180
ATA_SETMODE(device_get_parent(dev), dev);
sys/dev/disk/nata/atapi-fd.c
443
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-tape.c
113
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-tape.c
121
ATA_SETMODE(device_get_parent(dev), dev);
sys/dev/disk/nata/atapi-tape.c
204
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/atapi-tape.c
214
ATA_SETMODE(device_get_parent(dev), dev);
sys/dev/disk/nata/atapi-tape.c
693
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-acard.c
130
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-acard.c
166
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-acard.c
209
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-acard.c
99
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-acerlabs.c
125
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-acerlabs.c
145
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/chipsets/ata-acerlabs.c
188
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-acerlabs.c
223
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-ahci.c
161
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-ahci.c
187
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-ahci.c
370
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-ahci.c
424
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-ahci.c
449
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-ahci.c
551
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-amd.c
84
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-ati.c
127
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-cypress.c
72
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-cyrix.c
63
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-highpoint.c
132
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-highpoint.c
183
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-intel.c
201
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-intel.c
223
device_t parent = device_get_parent(dev);
sys/dev/disk/nata/chipsets/ata-intel.c
267
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-intel.c
358
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-intel.c
385
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-intel.c
443
struct ata_channel *ch = device_get_softc(device_get_parent(request->dev));
sys/dev/disk/nata/chipsets/ata-ite.c
88
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-jmicron.c
117
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-jmicron.c
134
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-jmicron.c
146
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-jmicron.c
159
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-marvell.c
204
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-marvell.c
299
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-marvell.c
500
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-marvell.c
550
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-national.c
64
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-nvidia.c
222
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-nvidia.c
245
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-nvidia.c
283
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
152
!BUS_READ_IVAR(device_get_parent(GRANDPARENT(dev)),
sys/dev/disk/nata/chipsets/ata-promise.c
162
!BUS_READ_IVAR(device_get_parent(GRANDPARENT(dev)),
sys/dev/disk/nata/chipsets/ata-promise.c
342
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
355
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
379
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
425
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
523
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
603
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
704
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
832
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-promise.c
916
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-serverworks.c
123
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-serverworks.c
253
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-serverworks.c
99
if (!device_get_children(device_get_parent(dev), &children,&nchildren)){
sys/dev/disk/nata/chipsets/ata-siliconimage.c
196
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
215
if (((reg71 = pci_read_config(device_get_parent(ch->dev), 0x71, 1)) &
sys/dev/disk/nata/chipsets/ata-siliconimage.c
217
pci_write_config(device_get_parent(ch->dev), 0x71,
sys/dev/disk/nata/chipsets/ata-siliconimage.c
229
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
280
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
328
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
356
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
445
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
470
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
626
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
655
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-siliconimage.c
686
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-sis.c
182
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-sis.c
215
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-via.c
163
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-via.c
172
if (!(r_io = bus_alloc_resource_any(device_get_parent(dev),
sys/dev/disk/nata/chipsets/ata-via.c
215
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-via.c
230
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-via.c
263
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
sys/dev/disk/nata/chipsets/ata-via.c
303
if (device_get_children(device_get_parent(dev), &children, &nchildren))
sys/dev/disk/sbp/sbp.c
306
pa = device_get_parent(dev);
sys/dev/disk/sdhci/sdhci_acpi.c
190
if (ACPI_ID_PROBE(device_get_parent(dev), dev, sdhci_ids) == NULL)
sys/dev/disk/sdhci/sdhci_acpi.c
204
id = ACPI_ID_PROBE(device_get_parent(dev), dev, sdhci_ids);
sys/dev/disk/vpo/immio.c
282
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
318
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
368
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
439
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
460
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
476
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
499
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
526
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
584
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
642
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/immio.c
671
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
279
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
292
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
320
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
346
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
362
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
446
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
466
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
480
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
530
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
597
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/disk/vpo/vpoio.c
684
device_t ppbus = device_get_parent(vpo->vpo_dev);
sys/dev/drm/amd/amdgpu/amdgpu_device.c
2874
pci_save_state(device_get_parent(adev->dev->bsddev));
sys/dev/drm/amd/amdgpu/amdgpu_drv.c
1056
bsddev = device_get_parent(kdev);
sys/dev/drm/amd/amdgpu/amdgpu_fb.c
217
device_t vga_dev = device_get_parent(adev->dev->bsddev);
sys/dev/drm/amd/amdgpu/soc15.c
400
pci_save_state(device_get_parent(adev->dev->bsddev));
sys/dev/drm/amd/amdgpu/soc15.c
404
pci_restore_state(device_get_parent(adev->dev->bsddev));
sys/dev/drm/drm_dragonfly.c
146
drm_fill_pdev(device_get_parent(dev), (*pdev)->bus->self);
sys/dev/drm/i915/i915_drv.c
511
vga = device_get_parent(bsddev);
sys/dev/drm/i915/i915_drv.c
513
dev_priv->mch_res = BUS_ALLOC_RESOURCE(device_get_parent(vga),
sys/dev/drm/i915/i915_drv.c
598
vga = device_get_parent(bsddev);
sys/dev/drm/i915/i915_drv.c
599
BUS_DEACTIVATE_RESOURCE(device_get_parent(vga), bsddev,
sys/dev/drm/i915/i915_drv.c
601
BUS_RELEASE_RESOURCE(device_get_parent(vga), bsddev,
sys/dev/drm/i915/i915_pci.c
856
bsddev = device_get_parent(kdev);
sys/dev/drm/i915/intel_fbdev.c
248
vga_dev = device_get_parent(dev->dev->bsddev);
sys/dev/drm/include/linux/pci.h
251
dev = device_get_parent(dev);
sys/dev/drm/include/linux/pci.h
511
return vga_pci_map_bios(device_get_parent(pdev->dev.bsddev), size);
sys/dev/drm/include/linux/pci.h
517
vga_pci_unmap_bios(device_get_parent(pdev->dev.bsddev), rom);
sys/dev/drm/include/linux/pci.h
565
root = device_get_parent(dev->dev.bsddev);
sys/dev/drm/include/linux/pci.h
568
root = device_get_parent(root);
sys/dev/drm/include/linux/pci.h
571
root = device_get_parent(root);
sys/dev/drm/radeon/r100.c
2587
pci_save_state(device_get_parent(rdev->dev->bsddev));
sys/dev/drm/radeon/r100.c
2609
pci_restore_state(device_get_parent(rdev->dev->bsddev));
sys/dev/drm/radeon/r300.c
427
pci_save_state(device_get_parent(rdev->dev->bsddev));
sys/dev/drm/radeon/r300.c
451
pci_restore_state(device_get_parent(rdev->dev->bsddev));
sys/dev/drm/radeon/radeon_bios.c
82
device_t vga_dev = device_get_parent(rdev->dev->bsddev);
sys/dev/drm/radeon/radeon_device.c
1681
pci_save_state(device_get_parent(rdev->dev->bsddev));
sys/dev/drm/radeon/radeon_drv.c
825
bsddev = device_get_parent(kdev);
sys/dev/drm/radeon/radeon_fb.c
228
device_t vga_dev = device_get_parent(rdev->dev->bsddev);
sys/dev/drm/radeon/rs600.c
471
pci_save_state(device_get_parent(rdev->dev->bsddev));
sys/dev/drm/radeon/rs600.c
501
pci_restore_state(device_get_parent(rdev->dev->bsddev));
sys/dev/misc/aperf/aperf.c
115
parent = device_get_parent(dev);
sys/dev/misc/atkbd/atkbd_isa.c
109
BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_IRQ, &irq);
sys/dev/misc/atkbd/atkbd_isa.c
110
BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_FLAGS, &flags);
sys/dev/misc/atkbd/atkbd_isa.c
113
device_get_unit(device_get_parent(dev)),
sys/dev/misc/atkbd/atkbd_isa.c
121
BUS_SETUP_INTR(device_get_parent(dev), dev, sc->intr, INTR_MPSAFE,
sys/dev/misc/atkbd/atkbd_isa.c
140
args[0] = device_get_unit(device_get_parent(dev));
sys/dev/misc/atkbd/atkbd_isa.c
88
BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_IRQ, &irq);
sys/dev/misc/atkbd/atkbd_isa.c
89
BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_FLAGS, &flags);
sys/dev/misc/atkbd/atkbd_isa.c
93
device_get_unit(device_get_parent(dev)),
sys/dev/misc/atkbdc_layer/atkbdc_isa.c
126
device_t parent = device_get_parent(dev);
sys/dev/misc/coremctl/coremctl.c
389
return BUS_READ_IVAR(device_get_parent(dev), dev, which, result);
sys/dev/misc/dcons/dcons_crom.c
92
pa = device_get_parent(dev);
sys/dev/misc/ecc/ecc_e3.c
205
error = COREMCTL_MCH_READ(device_get_parent(dev), MCH_CORE_DIMM_CH0,
sys/dev/misc/ecc/ecc_e3.c
208
sc->ecc_parent = device_get_parent(dev);
sys/dev/misc/ipmi/ipmi.c
937
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/dev/misc/ipmi/ipmi_acpi.c
153
device_get_name(device_get_parent(dev)));
sys/dev/misc/ipmi/ipmi_acpi.c
66
ACPI_ID_PROBE(device_get_parent(dev), dev, ipmi_ids) == NULL)
sys/dev/misc/ipmi/ipmi_isa.c
206
device_get_name(device_get_parent(dev)));
sys/dev/misc/ipmi/ipmi_pci.c
121
device_get_name(device_get_parent(dev)));
sys/dev/misc/ipmi/ipmi_smbus.c
100
error = ipmi_ssif_attach(sc, device_get_parent(dev), info.address);
sys/dev/misc/ipmi/ipmi_smbus.c
99
(long long)info.address, device_get_name(device_get_parent(dev)));
sys/dev/misc/joy/joy.c
106
if (ISA_PNP_PROBE(device_get_parent(dev), dev, joy_ids) == ENXIO)
sys/dev/misc/lpbb/lpbb.c
125
return ((ppb_rstr(device_get_parent(dev)) & SCL_in) == SCL_in);
sys/dev/misc/lpbb/lpbb.c
131
return ((ppb_rstr(device_get_parent(dev)) & SDA_in) == SDA_in);
sys/dev/misc/lpbb/lpbb.c
137
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpbb/lpbb.c
148
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpbb/lpbb.c
158
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpbb/lpbb.c
184
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpbb/lpbb.c
92
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpt/lpt.c
203
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpt/lpt.c
220
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpt/lpt.c
300
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpt/lpt.c
361
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpt/lpt.c
412
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpt/lpt.c
453
device_t ppbus = device_get_parent(lptdev);
sys/dev/misc/lpt/lpt.c
573
device_t ppbus = device_get_parent(lptdev);
sys/dev/misc/lpt/lpt.c
625
device_t ppbus = device_get_parent(dev);
sys/dev/misc/lpt/lpt.c
687
device_t ppbus = device_get_parent(lptdev);
sys/dev/misc/lpt/lpt.c
736
device_t ppbus = device_get_parent(lptdev);
sys/dev/misc/lpt/lpt.c
831
device_t ppbus = device_get_parent(lptdev);
sys/dev/misc/orm/orm.c
67
return (ISA_PNP_PROBE(device_get_parent(dev), dev, orm_ids));
sys/dev/misc/pcfclock/pcfclock.c
146
device_t ppbus = device_get_parent(pcfclockdev);
sys/dev/misc/pcfclock/pcfclock.c
168
device_t ppbus = device_get_parent(pcfclockdev);
sys/dev/misc/pcfclock/pcfclock.c
183
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/pcfclock/pcfclock.c
226
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/pcfclock/pcfclock.c
265
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/ppc/ppc.c
1828
parent = device_get_parent(dev);
sys/dev/misc/ppc/ppc.c
1935
device_t parent = device_get_parent(dev);
sys/dev/misc/ppc/ppc.c
2082
if ((error = BUS_TEARDOWN_INTR(device_get_parent(bus),
sys/dev/misc/ppc/ppc.c
2094
return (BUS_SETUP_INTR(device_get_parent(bus), child,
sys/dev/misc/ppc/ppc.c
2108
device_t parent = device_get_parent(bus);
sys/dev/misc/ppi/ppi.c
106
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/ppi/ppi.c
118
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/ppi/ppi.c
157
BUS_READ_IVAR(device_get_parent(dev), dev, PPBUS_IVAR_IRQ, &irq);
sys/dev/misc/ppi/ppi.c
188
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/ppi/ppi.c
249
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/ppi/ppi.c
266
BUS_SETUP_INTR(device_get_parent(ppidev), ppidev,
sys/dev/misc/ppi/ppi.c
285
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/ppi/ppi.c
330
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/ppi/ppi.c
416
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/ppi/ppi.c
502
device_t ppbus = device_get_parent(ppidev);
sys/dev/misc/pps/pps.c
115
device_t ppbus = device_get_parent(ppsdev);
sys/dev/misc/pps/pps.c
145
device_t ppbus = device_get_parent(ppsdev);
sys/dev/misc/pps/pps.c
162
device_t ppbus = device_get_parent(ppsdev);
sys/dev/misc/pps/pps.c
85
device_t ppbus = device_get_parent(ppsdev);
sys/dev/misc/psm/psm.c
1378
psmc = device_find_child(device_get_parent(parent),
sys/dev/misc/psm/psm.c
1417
BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_IRQ, &irq);
sys/dev/misc/psm/psm.c
1418
BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_FLAGS, &flags);
sys/dev/misc/psm/psm.c
1421
sc->kbdc = atkbdc_open(device_get_unit(device_get_parent(dev)));
sys/dev/misc/psm/psm.c
2013
BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_IRQ, &irq);
sys/dev/misc/psm/psm.c
2019
error = BUS_SETUP_INTR(device_get_parent(dev), dev, sc->intr,
sys/dev/misc/psm/psm.c
7590
if (ISA_PNP_PROBE(device_get_parent(dev), dev, forcepad_ids) == 0)
sys/dev/misc/psm/psm.c
7592
else if (ISA_PNP_PROBE(device_get_parent(dev), dev, psmcpnp_ids) == 0)
sys/dev/misc/puc/puc.c
236
irq_setup = BUS_SETUP_INTR(device_get_parent(dev), dev, res,
sys/dev/netif/bwn/siba/siba_bwn.c
264
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/dev/netif/bwn/siba/siba_bwn.c
273
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/dev/netif/bwn/siba/siba_bwn.c
284
return (BUS_RELEASE_RESOURCE(device_get_parent(dev), dev, type,
sys/dev/netif/bwn/siba/siba_bwn.c
296
return (BUS_SETUP_INTR(device_get_parent(dev), dev, irq, flags,
sys/dev/netif/bwn/siba/siba_bwn.c
306
return (BUS_SETUP_INTR(device_get_parent(dev), dev, irq, flags,
sys/dev/netif/bwn/siba/siba_bwn.c
317
return (BUS_TEARDOWN_INTR(device_get_parent(dev), dev, irq, cookie));
sys/dev/netif/bwn/siba/sibavar.h
323
siba_read_sprom(device_get_parent(dev), dev, \
sys/dev/netif/bwn/siba/sibavar.h
331
siba_write_sprom(device_get_parent(dev), dev, \
sys/dev/netif/fwe/if_fwe.c
166
pa = device_get_parent(dev);
sys/dev/netif/ic/if_ic.c
160
device_t parent = device_get_parent(icdev);
sys/dev/netif/ic/if_ic.c
340
device_t parent = device_get_parent(icdev);
sys/dev/netif/ix/if_ix.c
3289
dev = device_get_parent(device_get_parent(dev));
sys/dev/netif/ix/if_ix.c
3294
dev = device_get_parent(device_get_parent(dev));
sys/dev/netif/mii_layer/acphy.c
153
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/amphy.c
118
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/atphy.c
124
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/brgphy.c
178
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/ciphy.c
123
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/ciphy.c
348
parent = device_get_parent(sc->mii_dev);
sys/dev/netif/mii_layer/dcphy.c
141
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/dcphy.c
159
switch(pci_read_config(device_get_parent(sc->mii_dev),
sys/dev/netif/mii_layer/e1000phy.c
136
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/exphy.c
124
parent = device_get_parent(device_get_parent(dev));
sys/dev/netif/mii_layer/exphy.c
159
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/inphy.c
111
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/ip1000phy.c
113
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/ip1000phy.c
435
parent = device_get_parent(sc->mii_dev);
sys/dev/netif/mii_layer/jmphy.c
106
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/lxtphy.c
158
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/mii.c
134
parent = device_get_parent(dev);
sys/dev/netif/mii_layer/mii.c
177
mii->mii_ifp = device_get_softc(device_get_parent(dev));
sys/dev/netif/mii_layer/mii.c
205
parent = device_get_parent(dev);
sys/dev/netif/mii_layer/mii.c
214
parent = device_get_parent(dev);
sys/dev/netif/mii_layer/mii.c
223
parent = device_get_parent(dev);
sys/dev/netif/mii_layer/mii.c
235
MIIBUS_MEDIAINIT(device_get_parent(dev));
sys/dev/netif/mii_layer/mlphy.c
112
parent = device_get_parent(device_get_parent(dev));
sys/dev/netif/mii_layer/mlphy.c
146
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/nsgphy.c
124
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/nsphy.c
151
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/nsphy.c
164
if (strcmp(device_get_name(device_get_parent(sc->mii_dev)),
sys/dev/netif/mii_layer/nsphy.c
261
if (strcmp(device_get_name(device_get_parent(sc->mii_dev)),
sys/dev/netif/mii_layer/pnaphy.c
118
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/pnphy.c
128
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/qsphy.c
152
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/rgephy.c
123
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/rlphy.c
115
parent = device_get_parent(device_get_parent(dev));
sys/dev/netif/mii_layer/rlphy.c
138
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/rlphy.c
332
parent = device_get_parent(sc->mii_dev);
sys/dev/netif/mii_layer/ruephy.c
114
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/ruephy.c
83
parent = device_get_parent(device_get_parent(dev));
sys/dev/netif/mii_layer/tlphy.c
161
sc->sc_mii.mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/truephy.c
148
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/ukphy.c
138
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/mii_layer/xmphy.c
119
sc->mii_dev = device_get_parent(dev);
sys/dev/netif/msk/if_msk.c
1342
struct msk_softc *sc = device_get_softc(device_get_parent(dev));
sys/dev/netif/msk/if_msk.c
1363
struct msk_softc *sc = device_get_softc(device_get_parent(dev));
sys/dev/netif/mxge/if_mxge.c
312
pdev = device_get_parent(device_get_parent(sc->dev));
sys/dev/netif/mxge/if_mxge.c
370
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/netif/mxge/if_mxge.c
372
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/netif/mxge/if_mxge.c
374
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/netif/mxge/if_mxge.c
376
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/netif/mxge/if_mxge.c
378
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/netif/plip/if_plip.c
190
device_t ppbus = device_get_parent(dev);
sys/dev/netif/plip/if_plip.c
287
device_t ppbus = device_get_parent(dev);
sys/dev/netif/plip/if_plip.c
447
device_t ppbus = device_get_parent(dev);
sys/dev/netif/plip/if_plip.c
592
device_t ppbus = device_get_parent(dev);
sys/dev/netif/sk/if_sk.c
1099
struct sk_softc *sc = device_get_softc(device_get_parent(dev));
sys/dev/netif/sk/if_sk.c
1144
struct sk_softc *sc = device_get_softc(device_get_parent(dev));
sys/dev/netif/xe/if_xe_pccard.c
190
CARD_SET_RES_FLAGS(device_get_parent(dev), dev, SYS_RES_MEMORY, rid,
sys/dev/pccard/cardbus/cardbus.c
152
pci_get_irq(device_get_parent(device_get_parent(dev)));
sys/dev/pccard/cardbus/cardbus.c
163
device_t brdev = device_get_parent(cbdev);
sys/dev/pccard/cardbus/cardbus.c
248
POWER_DISABLE_SOCKET(device_get_parent(cbdev), cbdev);
sys/dev/pccard/cardbus/cardbus.c
276
POWER_ENABLE_SOCKET(device_get_parent(cbdev), cbdev);
sys/dev/pccard/cardbus/cardbus.c
302
BUS_RELEASE_RESOURCE(device_get_parent(cbdev),
sys/dev/pccard/exca/exca.c
800
return (BUS_ACTIVATE_RESOURCE(device_get_parent(exca->dev), child,
sys/dev/pccard/exca/exca.c
820
return (BUS_DEACTIVATE_RESOURCE(device_get_parent(exca->dev), child,
sys/dev/pccard/exca/exca.c
886
return (BUS_RELEASE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccard/pccbb/pccbb.c
1118
ret = BUS_ACTIVATE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccard/pccbb/pccbb.c
1132
ret = BUS_DEACTIVATE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccard/pccbb/pccbb.c
1183
res = BUS_ALLOC_RESOURCE(device_get_parent(brdev), child, type, rid,
sys/dev/pccard/pccbb/pccbb.c
1212
return (BUS_RELEASE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccard/pccbb/pccbb.c
1339
res = BUS_ALLOC_RESOURCE(device_get_parent(brdev), child, type, rid,
sys/dev/pccard/pccbb/pccbb.c
1367
return (BUS_RELEASE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccard/pccbb/pccbb.c
1518
rv = PCIB_READ_CONFIG(device_get_parent(device_get_parent(brdev)),
sys/dev/pccard/pccbb/pccbb.c
1530
PCIB_WRITE_CONFIG(device_get_parent(device_get_parent(brdev)),
sys/dev/pccard/pccbb/pccbb.c
355
err = BUS_SETUP_INTR(device_get_parent(dev), child, irq, flags,
sys/dev/pccard/pccbb/pccbb.c
375
err = BUS_TEARDOWN_INTR(device_get_parent(dev), child, irq,
sys/dev/pccard/pccbb/pccbb_isa.c
152
error = ISA_PNP_PROBE(device_get_parent(dev), dev, pcic_ids);
sys/dev/pccard/pccbb/pccbb_pci.c
305
parent = device_get_parent(brdev);
sys/dev/powermng/amdsmn/amdsmn.c
238
if (!amdsmn_match(device_get_parent(dev), NULL))
sys/dev/powermng/amdsmn/amdsmn.c
263
if (!amdsmn_match(device_get_parent(dev), &sc->smn_pciid))
sys/dev/powermng/amdsmn/amdsmn.c
285
parent = device_get_parent(dev);
sys/dev/powermng/amdsmn/amdsmn.c
301
parent = device_get_parent(dev);
sys/dev/powermng/amdtemp/amdtemp.c
331
if (!amdtemp_match(device_get_parent(dev), NULL))
sys/dev/powermng/amdtemp/amdtemp.c
378
if (!amdtemp_match(device_get_parent(dev), &product))
sys/dev/powermng/amdtemp/amdtemp.c
399
cpuid = pci_read_config(device_get_parent(dev), AMDTEMP_CPUID,
sys/dev/powermng/amdtemp/amdtemp.c
538
device_get_parent(dev), "amdsmn", -1);
sys/dev/powermng/corecstat/corecstat.c
248
int cpu = device_get_unit(device_get_parent(dev));
sys/dev/powermng/corepower/corepower.c
286
cpu = device_get_unit(device_get_parent(dev));
sys/dev/powermng/coretemp/coretemp.c
238
pdev = device_get_parent(dev);
sys/dev/powermng/coretemp/coretemp.c
336
sc->sc_cpu = device_get_unit(device_get_parent(dev));
sys/dev/powermng/lm/lm78_isa.c
95
parent_devclass = device_get_devclass(device_get_parent(dev));
sys/dev/powermng/lm/lm78_isa.c
98
wbsc = device_get_softc(device_get_parent(dev));
sys/dev/powermng/memtemp/memtemp_core.c
165
sc->temp_parent = device_get_parent(dev);
sys/dev/raid/aac/aac_disk.c
391
(struct aac_softc *)device_get_softc(device_get_parent(dev));
sys/dev/raid/amr/amr_disk.c
235
parent = device_get_parent(dev);
sys/dev/raid/ida/ida_disk.c
247
parent = device_get_parent(dev);
sys/dev/raid/ips/ips_disk.c
165
adapter = device_get_parent(dev);
sys/dev/raid/mfi/mfi_cam.c
113
mfisc = device_get_softc(device_get_parent(dev));
sys/dev/raid/mfi/mfi_disk.c
112
sc->ld_controller = device_get_softc(device_get_parent(dev));
sys/dev/raid/mfi/mfi_syspd.c
117
sc->pd_controller = device_get_softc(device_get_parent(dev));
sys/dev/raid/mlx/mlx_disk.c
230
parent = device_get_parent(dev);
sys/dev/raid/twe/twe_freebsd.c
838
parent = device_get_parent(dev);
sys/dev/serial/sio/sio.c
1235
ret = BUS_SETUP_INTR(device_get_parent(dev), dev,
sys/dev/serial/sio/sio.c
436
if (BUS_READ_IVAR(device_get_parent(dev), dev, PUC_IVAR_FREQ,
sys/dev/serial/sio/sio.c
447
if (BUS_READ_IVAR(device_get_parent(dev), dev, PUC_IVAR_FREQ,
sys/dev/serial/sio/sio.c
544
if (ISA_PNP_PROBE(device_get_parent(dev), dev, sio_ids) == ENXIO)
sys/dev/smbus/atmel_mxt/atmel_mxt.c
1116
bus = device_get_parent(sc->dev);
sys/dev/smbus/atmel_mxt/atmel_mxt.c
1149
bus = device_get_parent(sc->dev);
sys/dev/smbus/atmel_mxt/atmel_mxt.c
877
bus = device_get_parent(sc->dev); /* smbus */
sys/dev/smbus/cyapa/cyapa.c
1134
bus = device_get_parent(sc->dev); /* smbus */
sys/dev/smbus/cyapa/cyapa.c
1173
bus = device_get_parent(sc->dev);
sys/dev/smbus/cyapa/cyapa.c
1623
bus = device_get_parent(sc->dev);
sys/dev/smbus/cyapa/cyapa.c
298
bus = device_get_parent(dev); /* smbus */
sys/dev/smbus/smb/smb.c
237
bus = device_get_parent(smbdev); /* smbus */
sys/dev/sound/pci/emu10kx-midi.c
143
r = BUS_READ_IVAR(device_get_parent(dev), dev, 0, &func);
sys/dev/sound/pci/emu10kx-midi.c
149
r = BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ISEMU10K1, &is_emu10k1);
sys/dev/sound/pci/emu10kx-pcm.c
1305
r = BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_FUNC, &func);
sys/dev/sound/pci/emu10kx-pcm.c
1311
r = BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ROUTE, &route);
sys/dev/sound/pci/emu10kx-pcm.c
1348
sc->card = (struct emu_sc_info *)(device_get_softc(device_get_parent(dev)));
sys/dev/sound/pci/emu10kx-pcm.c
1358
r = BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ISEMU10K1, &ivar);
sys/dev/sound/pci/emu10kx-pcm.c
1361
r = BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_MCH_DISABLED, &ivar);
sys/dev/sound/pci/emu10kx-pcm.c
1384
r = BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ROUTE, &route);
sys/dev/sound/pci/emu10kx-pcm.c
1483
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/hda/hdaa.c
2142
HDAC_STREAM_STOP(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2156
HDAC_STREAM_FREE(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2168
ch->sid = HDAC_STREAM_ALLOC(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2173
HDAC_STREAM_RESET(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2175
HDAC_STREAM_START(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2220
device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
6605
pdesc = device_get_desc(device_get_parent(dev));
sys/dev/sound/pci/hda/hdaa.c
6620
devinfo->lock = HDAC_GET_MTX(device_get_parent(dev), dev);
sys/dev/sound/pci/hda/hdaa.c
7014
pdesc = device_get_desc(device_get_parent(dev));
sys/dev/sound/pci/hda/hdaa.c
7146
device_get_nameunit(device_get_parent(dev)),
sys/dev/sound/pci/hda/hdaa.c
792
device_get_parent(devinfo->dev),
sys/dev/sound/pci/hda/hdaa.c
847
device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
986
device_get_parent(device_get_parent(dev))),
sys/dev/sound/pci/hda/hdaa.c
987
device_get_unit(device_get_parent(device_get_parent(dev))),
sys/dev/sound/pci/hda/hdac.h
974
HDAC_CODEC_COMMAND(device_get_parent(dev), (dev), (verb))
sys/dev/sound/pci/hda/hdacc.c
496
codec->lock = HDAC_GET_MTX(device_get_parent(dev), dev);
sys/dev/sound/pci/hda/hdacc.c
628
return(BUS_READ_IVAR(device_get_parent(dev), dev,
sys/dev/sound/pci/hda/hdacc.c
646
return (HDAC_CODEC_COMMAND(device_get_parent(dev), dev, verb));
sys/dev/sound/pci/hda/hdacc.c
656
stream = HDAC_STREAM_ALLOC(device_get_parent(dev), dev,
sys/dev/sound/pci/hda/hdacc.c
669
HDAC_STREAM_FREE(device_get_parent(dev), dev, dir, stream);
sys/dev/sound/pci/hda/hdacc.c
677
return (HDAC_STREAM_START(device_get_parent(dev), dev,
sys/dev/sound/pci/hda/hdacc.c
685
HDAC_STREAM_STOP(device_get_parent(dev), dev, dir, stream);
sys/dev/sound/pci/hda/hdacc.c
692
HDAC_STREAM_RESET(device_get_parent(dev), dev, dir, stream);
sys/dev/sound/pci/hda/hdacc.c
699
return (HDAC_STREAM_GETPTR(device_get_parent(dev), dev, dir, stream));
sys/dev/sound/pci/hda/hdacc.c
723
HDAC_UNSOL_ALLOC(device_get_parent(dev), dev, tag);
sys/dev/sound/pci/hda/hdacc.c
739
HDAC_UNSOL_FREE(device_get_parent(dev), dev, tag);
sys/dev/video/cxm/cxm_i2c.c
145
if (BUS_READ_IVAR(device_get_parent(dev), dev,
sys/dev/video/cxm/cxm_i2c.c
147
|| BUS_READ_IVAR(device_get_parent(dev), dev,
sys/dev/video/cxm/cxm_i2c.c
189
if (BUS_WRITE_IVAR(device_get_parent(dev), dev,
sys/dev/video/cxm/cxm_i2c.c
229
BUS_WRITE_IVAR(device_get_parent(dev), dev, CXM_IVAR_IICBUS, 0);
sys/dev/virtual/hyperv/vmbus/vmbus.c
196
if (ACPI_ID_PROBE(device_get_parent(dev), dev, id) == NULL ||
sys/dev/virtual/hyperv/vmbus/vmbus.c
717
device_t bus = device_get_parent(device_get_parent(dev));
sys/dev/virtual/hyperv/vmbus/vmbus.c
775
device_t bus = device_get_parent(device_get_parent(dev));
sys/dev/virtual/virtio/mmio/virtio_mmio_kenv.c
190
device_get_parent(vtmmio_kenv_children[i]),
sys/dev/virtual/virtio/net/if_vtnet.c
1496
cpu = device_get_unit(device_get_parent(sc->vtnet_dev));
sys/dev/virtual/virtio/virtio/virtio.c
107
BUS_WRITE_IVAR(device_get_parent(dev), dev,
sys/dev/virtual/virtio/virtio/virtio.c
187
return (VIRTIO_BUS_NEGOTIATE_FEATURES(device_get_parent(dev),
sys/dev/virtual/virtio/virtio/virtio.c
194
return (VIRTIO_BUS_ALLOC_VIRTQUEUES(device_get_parent(dev),
sys/dev/virtual/virtio/virtio/virtio.c
201
return (VIRTIO_BUS_SETUP_INTR(device_get_parent(dev), irq, slz));
sys/dev/virtual/virtio/virtio/virtio.c
207
return (VIRTIO_BUS_TEARDOWN_INTR(device_get_parent(dev), irq));
sys/dev/virtual/virtio/virtio/virtio.c
213
return (VIRTIO_BUS_INTR_COUNT(device_get_parent(dev)));
sys/dev/virtual/virtio/virtio/virtio.c
219
return (VIRTIO_BUS_INTR_ALLOC(device_get_parent(dev), cnt, use_config,
sys/dev/virtual/virtio/virtio/virtio.c
226
return (VIRTIO_BUS_INTR_RELEASE(device_get_parent(dev)));
sys/dev/virtual/virtio/virtio/virtio.c
233
return (VIRTIO_BUS_BIND_INTR(device_get_parent(dev), irq, what,
sys/dev/virtual/virtio/virtio/virtio.c
240
return (VIRTIO_BUS_UNBIND_INTR(device_get_parent(dev), what));
sys/dev/virtual/virtio/virtio/virtio.c
246
return (VIRTIO_BUS_WITH_FEATURE(device_get_parent(dev), feature));
sys/dev/virtual/virtio/virtio/virtio.c
252
VIRTIO_BUS_STOP(device_get_parent(dev));
sys/dev/virtual/virtio/virtio/virtio.c
258
return (VIRTIO_BUS_REINIT(device_get_parent(dev), features));
sys/dev/virtual/virtio/virtio/virtio.c
264
VIRTIO_BUS_REINIT_COMPLETE(device_get_parent(dev));
sys/dev/virtual/virtio/virtio/virtio.c
270
VIRTIO_BUS_READ_DEVICE_CONFIG(device_get_parent(dev),
sys/dev/virtual/virtio/virtio/virtio.c
277
VIRTIO_BUS_WRITE_DEVICE_CONFIG(device_get_parent(dev),
sys/dev/virtual/virtio/virtio/virtio.c
96
BUS_READ_IVAR(device_get_parent(dev), dev,
sys/kern/subr_bus.c
2680
int passthrough = (device_get_parent(child) != bus);
sys/kern/subr_bus.c
2684
return(BUS_ALLOC_RESOURCE(device_get_parent(bus), child,
sys/kern/subr_bus.c
2704
rle->res = BUS_ALLOC_RESOURCE(device_get_parent(bus), child,
sys/kern/subr_bus.c
2726
int passthrough = (device_get_parent(child) != bus);
sys/kern/subr_bus.c
2730
return(BUS_RELEASE_RESOURCE(device_get_parent(bus), child,
sys/kern/subr_bus.c
2741
error = BUS_RELEASE_RESOURCE(device_get_parent(bus), child,
sys/kern/subr_bus.c
3248
return(BUS_CHILD_PRESENT(device_get_parent(bus), bus));
sys/kern/subr_bus.c
3383
return(BUS_SET_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/kern/subr_bus.c
3391
return(BUS_GET_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/kern/subr_bus.c
3401
error = BUS_GET_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/kern/subr_bus.c
3414
error = BUS_GET_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/kern/subr_bus.c
3424
BUS_DELETE_RESOURCE(device_get_parent(dev), dev, type, rid);
sys/kern/subr_bus.c
3430
return (BUS_CHILD_PRESENT(device_get_parent(child), child));
sys/kern/subr_bus.c
3438
parent = device_get_parent(child);
sys/kern/subr_bus.c
3451
parent = device_get_parent(child);
sys/kern/subr_bus.c
3470
parent = device_get_parent(dev);
sys/kern/subr_bus.c
604
if (device_get_parent(dev) == NULL)
sys/kern/subr_bus.c
607
parstr = device_get_nameunit(device_get_parent(dev));
sys/platform/pc64/include/nexusvar.h
52
BUS_READ_IVAR(device_get_parent(dev), dev, NEXUS_IVAR_ ## B, &v); \
sys/platform/pc64/include/nexusvar.h
59
BUS_WRITE_IVAR(device_get_parent(dev), dev, NEXUS_IVAR_ ## B, v); \
sys/platform/pc64/isa/pmtimer.c
54
if (ISA_PNP_PROBE(device_get_parent(dev), dev, pmtimer_ids) == ENXIO) {
sys/sys/bus.h
369
device_t device_get_parent(device_t dev);
sys/sys/bus.h
547
BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/sys/bus.h
555
BUS_WRITE_IVAR(device_get_parent(dev), dev, \