stand/kshim/bsd_kernel.c
938
bus_name_parent = device_get_name(device_get_parent(dev));
stand/kshim/bsd_kernel.h
455
device_t device_get_parent(device_t dev);
sys/amd64/amd64/fpu.c
1053
result = ISA_PNP_PROBE(device_get_parent(dev), dev, fpupnp_ids);
sys/arm/allwinner/aw_gmacclk.c
231
sc->clkdev = device_get_parent(dev);
sys/arm/arm/gic.c
1358
GIC_RESERVE_MSI_RANGE(device_get_parent(dev), sc->sc_spi_start,
sys/arm/arm/gic.c
1378
error = GIC_ALLOC_MSI(device_get_parent(dev), sc->sc_spi_start,
sys/arm/arm/gic.c
1391
return (GIC_RELEASE_MSI(device_get_parent(dev), count, isrc));
sys/arm/arm/gic.c
1402
error = GIC_ALLOC_MSIX(device_get_parent(dev), sc->sc_spi_start,
sys/arm/arm/gic.c
1414
return (GIC_RELEASE_MSIX(device_get_parent(dev), isrc));
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
1177
cpu = device_get_parent(sc->dev);
sys/arm/broadcom/bcm2835/bcm2838_pci.c
456
*pic = device_get_parent(dev);
sys/arm/broadcom/bcm2835/raspberrypi_gpio.c
365
sc->sc_firmware = device_get_parent(dev);
sys/arm/broadcom/bcm2835/raspberrypi_virtgpio.c
220
firmware = device_get_parent(dev);
sys/arm/broadcom/bcm2835/raspberrypi_virtgpio.c
239
sc->firmware = device_get_parent(dev);
sys/arm/mv/a37x0_gpio.c
245
device_get_parent(dev), compat_data)->ocd_data;
sys/arm/mv/mv_pci.c
921
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/arm/nvidia/drm2/tegra_dc.c
1365
rv = TEGRA_DRM_REGISTER_CLIENT(device_get_parent(sc->dev), sc->dev);
sys/arm/nvidia/drm2/tegra_dc.c
1375
TEGRA_DRM_DEREGISTER_CLIENT(device_get_parent(sc->dev), sc->dev);
sys/arm/nvidia/drm2/tegra_dc.c
1405
TEGRA_DRM_DEREGISTER_CLIENT(device_get_parent(sc->dev), sc->dev);
sys/arm/nvidia/drm2/tegra_hdmi.c
1240
rv = TEGRA_DRM_REGISTER_CLIENT(device_get_parent(sc->dev), sc->dev);
sys/arm/nvidia/drm2/tegra_hdmi.c
1249
TEGRA_DRM_DEREGISTER_CLIENT(device_get_parent(sc->dev), sc->dev);
sys/arm/nvidia/drm2/tegra_hdmi.c
1284
TEGRA_DRM_DEREGISTER_CLIENT(device_get_parent(sc->dev), sc->dev);
sys/arm/nvidia/tegra124/tegra124_coretemp.c
206
pdev = device_get_parent(dev);
sys/arm/nvidia/tegra124/tegra124_cpufreq.c
426
parent_dev = device_get_parent(sc->dev);
sys/arm/nvidia/tegra124/tegra124_cpufreq.c
502
sc->node = ofw_bus_get_node(device_get_parent(dev));
sys/arm/nvidia/tegra_pcie.c
790
*pic = device_get_parent(dev);
sys/arm/ti/am335x/am3359_cppi41.c
145
parent = device_get_parent(dev);
sys/arm/ti/am335x/am335x_dmtimer.c
265
rev_address = ti_sysc_get_rev_address(device_get_parent(dev));
sys/arm/ti/am335x/am335x_dmtimer.c
315
err = ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/am335x/am335x_dmtimer.c
335
rev_address = ti_sysc_get_rev_address(device_get_parent(dev));
sys/arm/ti/am335x/am335x_dmtpps.c
407
rev_address = ti_sysc_get_rev_address(device_get_parent(dev));
sys/arm/ti/am335x/am335x_dmtpps.c
455
rev_address = ti_sysc_get_rev_address(device_get_parent(dev));
sys/arm/ti/am335x/am335x_dmtpps.c
502
err = ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/am335x/am335x_lcd.c
1006
err = ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/am335x/am335x_pwmss.c
124
ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/am335x/am335x_pwmss.c
126
rev_address = ti_sysc_get_rev_address(device_get_parent(dev));
sys/arm/ti/am335x/am335x_rtc.c
111
ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/clk/ti_clkctrl.c
166
parent_offset = ti_omap4_cm_get_simplebus_base_host(device_get_parent(dev));
sys/arm/ti/cpsw/if_cpsw.c
1000
sc->pdev = device_get_parent(dev);
sys/arm/ti/ti_adc.c
823
err = ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/ti_adc.c
845
rev = ADC_READ4(sc, ti_sysc_get_rev_address_offset_host(device_get_parent(dev)));
sys/arm/ti/ti_edma3.c
184
ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/ti_gpio.c
538
rev_address = ti_sysc_get_rev_address(device_get_parent(dev));
sys/arm/ti/ti_gpio.c
560
err = ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/ti_gpio.c
572
ti_sysc_get_rev_address_offset_host(device_get_parent(dev)));
sys/arm/ti/ti_i2c.c
666
err = ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/ti_i2c.c
714
ti_sysc_clock_disable(device_get_parent(dev));
sys/arm/ti/ti_mbox.c
137
if (ti_sysc_clock_enable(device_get_parent(dev)) != 0) {
sys/arm/ti/ti_mbox.c
191
ti_sysc_get_rev_address_offset_host(device_get_parent(dev)));
sys/arm/ti/ti_prm.c
146
parent = device_get_parent(dev);
sys/arm/ti/ti_prm.c
159
parent = device_get_parent(dev);
sys/arm/ti/ti_prm.c
173
parent = device_get_parent(dev);
sys/arm/ti/ti_pruss.c
523
node = ofw_bus_get_node(device_get_parent(dev));
sys/arm/ti/ti_pruss.c
536
if (ti_sysc_clock_enable(device_get_parent(dev)) != 0) {
sys/arm/ti/ti_sdhci.c
423
if (ti_sysc_clock_enable(device_get_parent(dev)) != 0) {
sys/arm/ti/ti_sdma.c
1173
ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/ti_sdma.c
1177
ti_sysc_get_rev_address_offset_host(device_get_parent(dev)));
sys/arm/ti/ti_spi.c
174
err = ti_sysc_clock_enable(device_get_parent(dev));
sys/arm/ti/ti_spi.c
233
ti_sysc_get_rev_address_offset_host(device_get_parent(dev)));
sys/arm64/arm64/cmn600.c
651
err = ACPI_ID_PROBE(device_get_parent(dev), dev, cmn600_ids, NULL);
sys/arm64/arm64/gicv3_its.c
2356
err = intr_pic_add_handler(device_get_parent(dev), sc->sc_pic,
sys/arm64/arm64/gicv3_its.c
2427
err = intr_pic_add_handler(device_get_parent(dev), sc->sc_pic,
sys/arm64/arm64/gicv3_its.c
749
gicv3 = device_get_parent(sc->dev);
sys/arm64/arm64/gicv3_its.c
828
gicv3 = device_get_parent(dev);
sys/arm64/arm64/gicv3_its.c
937
gicv3 = device_get_parent(dev);
sys/arm64/arm64/gicv5_its.c
814
error = intr_pic_add_handler(device_get_parent(dev),
sys/arm64/arm64/gicv5_its.c
844
return (PIC_DISABLE_INTR(device_get_parent(dev), isrc));
sys/arm64/arm64/gicv5_its.c
850
return (PIC_ENABLE_INTR(device_get_parent(dev), isrc));
sys/arm64/arm64/gicv5_its.c
856
PIC_PRE_ITHREAD(device_get_parent(dev), isrc);
sys/arm64/arm64/gicv5_its.c
862
PIC_POST_ITHREAD(device_get_parent(dev), isrc);
sys/arm64/arm64/gicv5_its.c
868
PIC_POST_FILTER(device_get_parent(dev), isrc);
sys/arm64/arm64/gicv5_its.c
876
return (PIC_BIND_INTR(device_get_parent(dev), isrc));
sys/arm64/arm64/gicv5_its.c
928
gicv5_irs_extend_ist(device_get_parent(dev), dev, lpi);
sys/arm64/arm64/gicv5_iwb.c
207
error = PCI_ALLOC_MSI(device_get_parent(dev), dev, &count);
sys/arm64/arm64/nexus.c
262
if (device_get_parent(child) != bus || ndev == NULL)
sys/arm64/broadcom/brcmmdio/mdio_nexus_iproc.c
113
return (MDIO_READREG_MUX(device_get_parent(dev),
sys/arm64/broadcom/brcmmdio/mdio_nexus_iproc.c
124
return (MDIO_WRITEREG_MUX(device_get_parent(dev),
sys/arm64/broadcom/brcmmdio/mdio_ns2_pcie_phy.c
87
err = MDIO_WRITEREG(device_get_parent(dev), sc->phy_id,
sys/arm64/broadcom/brcmmdio/mdio_ns2_pcie_phy.c
93
err = MDIO_WRITEREG(device_get_parent(dev), sc->phy_id,
sys/arm64/cavium/thunder_pcie_pem.c
376
bus = device_get_parent(pci);
sys/arm64/cavium/thunder_pcie_pem.c
377
return (PCIB_ALLOC_MSI(device_get_parent(bus), child, count, maxcount,
sys/arm64/cavium/thunder_pcie_pem.c
386
bus = device_get_parent(pci);
sys/arm64/cavium/thunder_pcie_pem.c
387
return (PCIB_RELEASE_MSI(device_get_parent(bus), child, count, irqs));
sys/arm64/cavium/thunder_pcie_pem.c
395
bus = device_get_parent(pci);
sys/arm64/cavium/thunder_pcie_pem.c
396
return (PCIB_ALLOC_MSIX(device_get_parent(bus), child, irq));
sys/arm64/cavium/thunder_pcie_pem.c
404
bus = device_get_parent(pci);
sys/arm64/cavium/thunder_pcie_pem.c
405
return (PCIB_RELEASE_MSIX(device_get_parent(bus), child, irq));
sys/arm64/cavium/thunder_pcie_pem.c
414
bus = device_get_parent(pci);
sys/arm64/cavium/thunder_pcie_pem.c
415
return (PCIB_MAP_MSI(device_get_parent(bus), child, irq, addr, data));
sys/arm64/cavium/thunder_pcie_pem.c
670
parent_dev = device_get_parent(device_get_parent(dev));
sys/arm64/cavium/thunder_pcie_pem.c
717
parent_dev = device_get_parent(device_get_parent(dev));
sys/arm64/coresight/coresight_acpi.c
183
bus = device_get_parent(dev);
sys/arm64/coresight/coresight_etm4x_acpi.c
56
error = ACPI_ID_PROBE(device_get_parent(dev), dev, etm_ids, NULL);
sys/arm64/coresight/coresight_funnel_acpi.c
60
error = ACPI_ID_PROBE(device_get_parent(dev), dev,
sys/arm64/coresight/coresight_funnel_acpi.c
68
error = ACPI_ID_PROBE(device_get_parent(dev), dev,
sys/arm64/coresight/coresight_replicator_acpi.c
56
error = ACPI_ID_PROBE(device_get_parent(dev), dev,
sys/arm64/coresight/coresight_tmc_acpi.c
56
error = ACPI_ID_PROBE(device_get_parent(dev), dev, tmc_ids, NULL);
sys/arm64/nvidia/tegra210/max77620_rtc.c
392
parent = device_get_parent(sc->dev);
sys/arm64/nvidia/tegra210/tegra210_coretemp.c
211
pdev = device_get_parent(dev);
sys/arm64/nvidia/tegra210/tegra210_cpufreq.c
355
parent_dev = device_get_parent(sc->dev);
sys/arm64/nvidia/tegra210/tegra210_cpufreq.c
420
sc->node = ofw_bus_get_node(device_get_parent(dev));
sys/arm64/rockchip/rk_gpio.c
287
sc->pinctrl = device_get_parent(dev);
sys/arm64/rockchip/rk_grf_gpio.c
177
pdev = device_get_parent(dev);
sys/arm64/rockchip/rk_usb2phy.c
307
sc->clkdev = device_get_parent(devsc->dev);
sys/compat/linsysfs/linsysfs.c
275
parent = device_get_parent(dev);
sys/compat/linuxkpi/common/include/linux/device.h
547
device_delete_child(device_get_parent(bsddev), bsddev);
sys/compat/linuxkpi/common/include/linux/device.h
563
device_delete_child(device_get_parent(bsddev), bsddev);
sys/compat/linuxkpi/common/include/linux/pci.h
1301
parent = device_get_parent(pbus->self->dev.bsddev);
sys/compat/linuxkpi/common/include/linux/pci.h
548
bridge = device_get_parent(bridge);
sys/compat/linuxkpi/common/include/linux/pci.h
552
bridge = device_get_parent(bridge);
sys/compat/linuxkpi/common/include/linux/pci.h
555
bridge = device_get_parent(bridge);
sys/compat/linuxkpi/common/src/linux_pci.c
1308
device_get_parent(pdev->dev.bsddev) : pdev->dev.bsddev;
sys/compat/linuxkpi/common/src/linux_pci.c
636
device_get_parent(pdev->dev.bsddev) : pdev->dev.bsddev;
sys/compat/linuxkpi/common/src/linux_pci.c
637
res = pci_reserve_map(device_get_parent(dev), dev, type, rid, 0, ~0,
sys/compat/linuxkpi/common/src/linux_pci.c
673
parent = device_get_parent(dev);
sys/compat/linuxkpi/common/src/linux_pci.c
688
PCI_GET_ID(device_get_parent(parent), parent, PCI_ID_RID, &rid);
sys/compat/linuxkpi/common/src/linuxkpi_80211_pm.c
154
device_get_nameunit(device_get_parent(dev)));
sys/compat/linuxkpi/common/src/linuxkpi_80211_pm.c
165
pdev = device_get_softc(device_get_parent(dev));
sys/compat/linuxkpi/common/src/linuxkpi_80211_pm.c
183
pdev = device_get_softc(device_get_parent(dev));
sys/dev/aac/aac_disk.c
371
(struct aac_softc *)device_get_softc(device_get_parent(dev));
sys/dev/acpi_support/acpi_asus.c
548
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, asus_ids, &rstr);
sys/dev/acpi_support/acpi_asus_wmi.c
473
if (!ACPI_WMI_PROVIDES_GUID_STRING(device_get_parent(dev),
sys/dev/acpi_support/acpi_asus_wmi.c
492
sc->wmi_dev = device_get_parent(dev);
sys/dev/acpi_support/acpi_fujitsu.c
227
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, fujitsu_ids, &name);
sys/dev/acpi_support/acpi_hp.c
514
sc->wmi_dev = device_get_parent(dev);
sys/dev/acpi_support/acpi_ibm.c
458
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, ibm_ids, NULL);
sys/dev/acpi_support/acpi_panasonic.c
144
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, mat_ids, NULL);
sys/dev/acpi_support/acpi_rapidstart.c
67
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, rapidstart_ids, NULL);
sys/dev/acpi_support/acpi_sbl_wmi.c
162
sc->wmi_dev = device_get_parent(dev);
sys/dev/acpi_support/acpi_sbl_wmi.c
77
if (!ACPI_WMI_PROVIDES_GUID_STRING(device_get_parent(dev),
sys/dev/acpi_support/acpi_sony.c
114
ret = ACPI_ID_PROBE(device_get_parent(dev), dev, sny_id, NULL);
sys/dev/acpi_support/acpi_system76.c
581
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, system76_ids, NULL);
sys/dev/acpi_support/acpi_toshiba.c
222
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, tosh_ids, NULL);
sys/dev/acpi_support/acpi_toshiba.c
548
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, vid_ids, NULL);
sys/dev/acpi_support/acpi_wmi.c
213
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, wmi_ids, NULL);
sys/dev/acpi_support/atk0110.c
125
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, aibs_hids, NULL);
sys/dev/acpica/acpi.c
1622
if (bus == device_get_parent(child)) {
sys/dev/acpica/acpi.c
2236
device_delete_child(device_get_parent(old_dev), old_dev);
sys/dev/acpica/acpi.c
2880
device_t bus = device_get_parent(dev);
sys/dev/acpica/acpi_acad.c
148
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, acad_ids, NULL);
sys/dev/acpica/acpi_apei.c
618
acpi_sc = acpi_device_get_parent_softc(device_get_parent(dev));
sys/dev/acpica/acpi_apei_bus.c
127
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, apei_ids, NULL);
sys/dev/acpica/acpi_apei_bus.c
391
return (APEI_MAP_REGISTER(device_get_parent(dev), dev, type,
sys/dev/acpica/acpi_apei_bus.c
398
return (APEI_MAP_REGISTER(device_get_parent(dev), dev, SYS_RES_MEMORY,
sys/dev/acpica/acpi_apei_bus.c
405
return (APEI_UNMAP_REGISTER(device_get_parent(dev), dev, map));
sys/dev/acpica/acpi_button.c
108
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, btn_ids, &str);
sys/dev/acpica/acpi_cmbat.c
121
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, cmbat_ids, NULL);
sys/dev/acpica/acpi_container.c
115
device_t parent = device_get_parent(bus);
sys/dev/acpica/acpi_container.c
117
return (PCIB_ALLOC_MSI(device_get_parent(parent), dev, count, maxcount,
sys/dev/acpica/acpi_container.c
124
device_t parent = device_get_parent(bus);
sys/dev/acpica/acpi_container.c
126
return (PCIB_RELEASE_MSI(device_get_parent(parent), dev, count, irqs));
sys/dev/acpica/acpi_container.c
132
device_t parent = device_get_parent(bus);
sys/dev/acpica/acpi_container.c
134
return (PCIB_ALLOC_MSIX(device_get_parent(parent), dev, irq));
sys/dev/acpica/acpi_container.c
140
device_t parent = device_get_parent(bus);
sys/dev/acpica/acpi_container.c
142
return (PCIB_RELEASE_MSIX(device_get_parent(parent), dev, irq));
sys/dev/acpica/acpi_container.c
149
device_t parent = device_get_parent(bus);
sys/dev/acpica/acpi_container.c
151
return (PCIB_MAP_MSI(device_get_parent(parent), dev, irq, addr, data));
sys/dev/acpica/acpi_container.c
96
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, syscont_ids, NULL);
sys/dev/acpica/acpi_cpu.c
245
ACPI_ID_PROBE(device_get_parent(dev), dev, cpudev_ids, NULL) >= 0)
sys/dev/acpica/acpi_ec.c
367
rc = ACPI_ID_PROBE(device_get_parent(dev), dev, ec_ids, NULL);
sys/dev/acpica/acpi_ged.c
114
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, ged_ids, NULL);
sys/dev/acpica/acpi_ged.c
167
rl = BUS_GET_RESOURCE_LIST(device_get_parent(dev), dev);
sys/dev/acpica/acpi_hpet.c
458
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, hpet_ids, NULL);
sys/dev/acpica/acpi_hpet.c
668
device_get_parent(device_get_parent(dev)), dev,
sys/dev/acpica/acpi_hpet.c
766
device_get_parent(device_get_parent(dev)), dev,
sys/dev/acpica/acpi_hpet.c
892
device_get_parent(device_get_parent(dev)), dev,
sys/dev/acpica/acpi_hpet.c
970
device_get_parent(device_get_parent(dev)), dev,
sys/dev/acpica/acpi_isab.c
96
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, isa_ids, NULL);
sys/dev/acpica/acpi_lid.c
136
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, lid_ids, NULL);
sys/dev/acpica/acpi_pci.c
296
KASSERT(device_get_parent(child) ==
sys/dev/acpica/acpi_pci.c
504
if (device_get_parent(child) == bus) {
sys/dev/acpica/acpi_pci_link.c
155
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, pci_link_ids, NULL);
sys/dev/acpica/acpi_pcib_acpi.c
486
device_printf(device_get_parent(dev), "couldn't attach pci bus\n");
sys/dev/acpica/acpi_pcib_acpi.c
569
bus = device_get_parent(pcib);
sys/dev/acpica/acpi_pcib_acpi.c
570
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/dev/acpica/acpi_pcib_acpi.c
579
bus = device_get_parent(pcib);
sys/dev/acpica/acpi_pcib_acpi.c
580
return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq));
sys/dev/acpica/acpi_pcib_acpi.c
591
bus = device_get_parent(pcib);
sys/dev/acpica/acpi_pcib_acpi.c
592
error = PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data);
sys/dev/acpica/acpi_resource.c
214
return ACPI_BUS_MAP_INTR(device_get_parent(dev), dev, irq,
sys/dev/acpica/acpi_resource.c
620
ACPI_ID_PROBE(device_get_parent(dev), dev, pcilink_ids, NULL) <= 0)
sys/dev/acpica/acpi_resource.c
634
ACPI_ID_PROBE(device_get_parent(dev), dev, bad_memresource_ids,
sys/dev/acpica/acpi_resource.c
854
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, sysres_ids, NULL);
sys/dev/acpica/acpi_resource.c
880
bus = device_get_parent(dev);
sys/dev/acpica/acpi_smbat.c
112
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, smbat_ids, NULL);
sys/dev/acpica/acpi_spmc.c
416
if (ACPI_ID_PROBE(device_get_parent(dev), dev, spmc_ids, &name) > 0)
sys/dev/acpica/acpi_throttle.c
176
if (device_find_child(device_get_parent(dev), "p4tcc", DEVICE_UNIT_ANY)
sys/dev/acpica/acpivar.h
497
parent = device_get_parent(child);
sys/dev/adb/adb_bus.c
113
sc->parent = device_get_parent(dev);
sys/dev/adb/adb_bus.c
251
sc = device_get_softc(device_get_parent(dev));
sys/dev/adb/adb_bus.c
270
sc = device_get_softc(device_get_parent(dev));
sys/dev/adb/adb_bus.c
366
sc = device_get_softc(device_get_parent(dev));
sys/dev/adb/adb_bus.c
387
sc = device_get_softc(device_get_parent(dev));
sys/dev/adb/adb_bus.c
403
sc = device_get_softc(device_get_parent(dev));
sys/dev/agp/agp_i810.c
2025
vga = device_get_parent(dev);
sys/dev/agp/agp_i810.c
2027
sc->sc_flush_page_res = BUS_ALLOC_RESOURCE(device_get_parent(vga), dev,
sys/dev/agp/agp_i810.c
2051
vga = device_get_parent(dev);
sys/dev/agp/agp_i810.c
2054
BUS_DEACTIVATE_RESOURCE(device_get_parent(vga), dev,
sys/dev/agp/agp_i810.c
2056
BUS_RELEASE_RESOURCE(device_get_parent(vga), dev,
sys/dev/ahci/ahci.c
2457
struct ahci_controller *ctlr = device_get_softc(device_get_parent(ch->dev));
sys/dev/ahci/ahci.c
802
struct ahci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ahci/ahci.c
924
ahci_attached(device_get_parent(dev), ch);
sys/dev/ahci/ahci.c
950
ahci_detached(device_get_parent(dev), ch);
sys/dev/ahci/ahciem.c
468
ch = ahci_getch(device_get_parent(dev), i);
sys/dev/ahci/ahciem.c
554
ch = ahci_getch(device_get_parent(dev), i);
sys/dev/ahci/ahciem.c
629
parent = device_get_parent(dev);
sys/dev/ahci/ahciem.c
73
device_t parent = device_get_parent(dev);
sys/dev/amdgpio/amdgpio.c
365
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, gpio_ids, NULL);
sys/dev/amdsmn/amdsmn.c
227
if (!amdsmn_match(device_get_parent(dev), NULL))
sys/dev/amdsmn/amdsmn.c
252
if (!amdsmn_match(device_get_parent(dev), &sc->smn_pciid))
sys/dev/amdsmn/amdsmn.c
274
parent = device_get_parent(dev);
sys/dev/amdsmn/amdsmn.c
290
parent = device_get_parent(dev);
sys/dev/amdsmu/amdsmu.c
76
if (!amdsmu_match(device_get_parent(dev), &sc->product))
sys/dev/amdtemp/amdtemp.c
310
if (!amdtemp_match(device_get_parent(dev), NULL)) {
sys/dev/amdtemp/amdtemp.c
368
if (!amdtemp_match(device_get_parent(dev), &product))
sys/dev/amdtemp/amdtemp.c
389
cpuid = pci_read_config(device_get_parent(dev), AMDTEMP_CPUID,
sys/dev/amdtemp/amdtemp.c
512
device_get_parent(dev), "amdsmn", -1);
sys/dev/apple_bce/apple_bce.c
164
bus = device_get_parent(dev);
sys/dev/apple_bce/apple_bce_vhci.c
4609
bce = device_get_softc(device_get_parent(dev));
sys/dev/asmc/asmc.c
420
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, asmc_ids, NULL);
sys/dev/ata/ata-all.c
1150
parent = device_get_parent(dev);
sys/dev/ata/ata-all.h
499
#define GRANDPARENT(dev) device_get_parent(device_get_parent(dev))
sys/dev/ata/ata-isa.c
66
if (ISA_PNP_PROBE(device_get_parent(dev), dev, ata_ids) == ENXIO)
sys/dev/ata/ata-pci.c
193
return (BUS_READ_IVAR(device_get_parent(dev), dev, which, result));
sys/dev/ata/ata-pci.c
200
return (BUS_WRITE_IVAR(device_get_parent(dev), dev, which, value));
sys/dev/ata/ata-pci.c
239
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/dev/ata/ata-pci.c
251
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/dev/ata/ata-pci.c
261
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
sys/dev/ata/ata-pci.c
272
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/dev/ata/ata-pci.c
292
return BUS_RELEASE_RESOURCE(device_get_parent(dev), dev,
sys/dev/ata/ata-pci.c
302
return BUS_RELEASE_RESOURCE(device_get_parent(dev), child,
sys/dev/ata/ata-pci.c
313
return (BUS_RELEASE_RESOURCE(device_get_parent(dev), child,
sys/dev/ata/ata-pci.c
328
return BUS_SETUP_INTR(device_get_parent(dev), child, irq,
sys/dev/ata/ata-pci.c
356
return BUS_TEARDOWN_INTR(device_get_parent(dev), child, irq, cookie);
sys/dev/ata/ata-pci.c
392
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
447
device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
625
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
648
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
667
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
686
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
702
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
719
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
730
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/ata-pci.c
868
if (device_get_children(device_get_parent(dev), &children, &nchildren))
sys/dev/ata/chipsets/ata-acard.c
151
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-acard.c
175
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-acerlabs.c
194
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-acerlabs.c
218
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-acerlabs.c
260
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-acerlabs.c
293
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-amd.c
109
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-amd.c
148
ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-ati.c
190
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-ati.c
207
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-cypress.c
96
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-cyrix.c
98
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-highpoint.c
142
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-highpoint.c
158
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-highpoint.c
197
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
321
ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-intel.c
335
map = pci_read_config(device_get_parent(dev), 0x90, 1);
sys/dev/ata/chipsets/ata-intel.c
408
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
467
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
477
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
550
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
608
parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
639
parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
672
parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
705
parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
736
parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
769
parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-intel.c
822
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-ite.c
127
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-ite.c
173
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-jmicron.c
142
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-marvell.c
158
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-national.c
100
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-nvidia.c
249
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-nvidia.c
283
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-nvidia.c
323
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-promise.c
1015
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
1031
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
1078
device_t gparent = device_get_parent(request->parent);
sys/dev/ata/chipsets/ata-promise.c
180
!BUS_READ_IVAR(device_get_parent(GRANDPARENT(dev)),
sys/dev/ata/chipsets/ata-promise.c
188
!BUS_READ_IVAR(device_get_parent(GRANDPARENT(dev)),
sys/dev/ata/chipsets/ata-promise.c
358
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
379
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
391
struct ata_pci_controller *ctlr=device_get_softc(device_get_parent(request->parent));
sys/dev/ata/chipsets/ata-promise.c
414
struct ata_pci_controller *ctlr=device_get_softc(device_get_parent(request->parent));
sys/dev/ata/chipsets/ata-promise.c
445
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-promise.c
534
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
613
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
658
struct ata_pci_controller *ctlr=device_get_softc(device_get_parent(request->parent));
sys/dev/ata/chipsets/ata-promise.c
697
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
824
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
875
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-promise.c
927
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-serverworks.c
104
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-serverworks.c
150
if (!device_get_children(device_get_parent(dev), &children,&nchildren)){
sys/dev/ata/chipsets/ata-serverworks.c
173
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-serverworks.c
314
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-siliconimage.c
177
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-siliconimage.c
198
if (((reg71 = pci_read_config(device_get_parent(dev), 0x71, 1)) &
sys/dev/ata/chipsets/ata-siliconimage.c
200
pci_write_config(device_get_parent(dev), 0x71,
sys/dev/ata/chipsets/ata-siliconimage.c
210
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-siliconimage.c
244
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-siliconimage.c
307
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-siliconimage.c
326
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-siliconimage.c
345
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-sis.c
203
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-sis.c
239
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-via.c
209
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-via.c
220
if (!(r_io = bus_alloc_resource_any(device_get_parent(dev),
sys/dev/ata/chipsets/ata-via.c
266
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-via.c
274
bus_release_resource(device_get_parent(dev),
sys/dev/ata/chipsets/ata-via.c
291
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/ata/chipsets/ata-via.c
315
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-via.c
344
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-via.c
379
if (device_get_children(device_get_parent(dev), &children, &nchildren))
sys/dev/ata/chipsets/ata-via.c
423
device_t parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-via.c
486
parent = device_get_parent(dev);
sys/dev/ata/chipsets/ata-via.c
532
parent = device_get_parent(dev);
sys/dev/atkbdc/atkbd.c
107
args[0] = device_get_unit(device_get_parent(dev));
sys/dev/atkbdc/atkbd.c
130
args[0] = device_get_unit(device_get_parent(dev));
sys/dev/atkbdc/atkbd_atkbdc.c
152
args[0] = device_get_unit(device_get_parent(dev));
sys/dev/atkbdc/atkbdc_isa.c
111
if (ISA_PNP_PROBE(device_get_parent(dev), dev, atkbdc_ids) == ENXIO)
sys/dev/atkbdc/psm.c
1356
psmc = device_find_child(device_get_parent(parent),
sys/dev/atkbdc/psm.c
1400
sc->kbdc = atkbdc_open(device_get_unit(device_get_parent(dev)));
sys/dev/atkbdc/psm.c
7648
if (ISA_PNP_PROBE(device_get_parent(dev), dev, forcepad_ids) == 0)
sys/dev/atkbdc/psm.c
7650
else if (ISA_PNP_PROBE(device_get_parent(dev), dev, topbtpad_ids) == 0)
sys/dev/atkbdc/psm.c
7652
else if (ISA_PNP_PROBE(device_get_parent(dev), dev, psmcpnp_ids) == 0)
sys/dev/atopcase/atopcase.c
118
err = SPIBUS_TRANSFER(device_get_parent(sc->sc_dev), sc->sc_dev, &cmd);
sys/dev/atopcase/atopcase.c
224
err = SPIBUS_TRANSFER(device_get_parent(sc->sc_dev), sc->sc_dev, &cmd);
sys/dev/atopcase/atopcase.c
338
err = SPIBUS_TRANSFER(device_get_parent(sc->sc_dev), sc->sc_dev, &cmd);
sys/dev/atopcase/atopcase.c
561
device_t parent = device_get_parent(child);
sys/dev/bge/if_bge.c
3210
dev = device_get_parent(device_get_parent(dev));
sys/dev/bhnd/bcma/bcma.c
240
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma.c
302
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma.c
350
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma.c
387
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma.c
425
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma.c
461
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma.c
462
return (BHND_BUS_GET_PORT_COUNT(device_get_parent(dev), child,
sys/dev/bhnd/bcma/bcma.c
490
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma.c
491
return (BHND_BUS_GET_REGION_COUNT(device_get_parent(dev), child,
sys/dev/bhnd/bcma/bcma.c
612
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma.c
613
return (BHND_BUS_GET_INTR_COUNT(device_get_parent(dev), child));
sys/dev/bhnd/bcma/bcma.c
629
if (device_get_parent(child) != dev) {
sys/dev/bhnd/bcma/bcma.c
630
return (BHND_BUS_GET_INTR_IVEC(device_get_parent(dev), child,
sys/dev/bhnd/bcma/bcma_bhndb.c
111
BHNDB_SUSPEND_RESOURCE(device_get_parent(dev), dev,
sys/dev/bhnd/bcma/bcma_bhndb.c
123
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma_bhndb.c
124
BUS_SUSPEND_CHILD(device_get_parent(dev), child);
sys/dev/bhnd/bcma/bcma_bhndb.c
133
error = BHNDB_RESUME_RESOURCE(device_get_parent(dev), dev,
sys/dev/bhnd/bcma/bcma_bhndb.c
143
BHNDB_SUSPEND_RESOURCE(device_get_parent(dev), dev,
sys/dev/bhnd/bcma/bcma_bhndb.c
61
cid = BHNDB_GET_CHIPID(device_get_parent(dev), dev);
sys/dev/bhnd/bcma/bcma_bhndb.c
97
if (device_get_parent(child) != dev)
sys/dev/bhnd/bcma/bcma_bhndb.c
98
BUS_SUSPEND_CHILD(device_get_parent(dev), child);
sys/dev/bhnd/bhnd.c
1000
device_get_parent(dev), child, r, offset, \
sys/dev/bhnd/bhnd.c
1010
BHND_BUS_ ## _method(device_get_parent(dev), child, r, \
sys/dev/bhnd/bhnd.c
1052
BHND_BUS_BARRIER(device_get_parent(dev), child, r, offset, length,
sys/dev/bhnd/bhnd.c
243
if ((error = BUS_RESUME_CHILD(device_get_parent(child), child)))
sys/dev/bhnd/bhnd.c
280
error = BUS_SUSPEND_CHILD(device_get_parent(child), child);
sys/dev/bhnd/bhnd.c
285
BUS_RESUME_CHILD(device_get_parent(devs[j]),
sys/dev/bhnd/bhnd.c
377
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
492
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
542
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
560
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
580
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
635
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
696
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
732
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
798
if ((parent = device_get_parent(dev)) == NULL)
sys/dev/bhnd/bhnd.c
801
return (BHND_BUS_GET_NVRAM_VAR(device_get_parent(dev), child,
sys/dev/bhnd/bhnd.c
885
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
886
return (BUS_CHILD_PNPINFO(device_get_parent(dev), child, sb));
sys/dev/bhnd/bhnd.c
901
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
902
return (BUS_CHILD_LOCATION(device_get_parent(dev), child, sb));
sys/dev/bhnd/bhnd.c
942
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
943
BUS_SUSPEND_CHILD(device_get_parent(dev), child);
sys/dev/bhnd/bhnd.c
959
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhnd.c
960
BUS_RESUME_CHILD(device_get_parent(dev), child);
sys/dev/bhnd/bhnd.c
991
device_get_parent(dev), child, r, offset)); \
sys/dev/bhnd/bhnd.h
1004
return (BHND_BUS_UNMAP_INTR(device_get_parent(dev), dev, irq));
sys/dev/bhnd/bhnd.h
1024
return (BHND_BUS_ALLOC_PMU(device_get_parent(dev), dev));
sys/dev/bhnd/bhnd.h
1041
return (BHND_BUS_RELEASE_PMU(device_get_parent(dev), dev));
sys/dev/bhnd/bhnd.h
1065
return (BHND_BUS_GET_CLOCK_LATENCY(device_get_parent(dev), dev, clock,
sys/dev/bhnd/bhnd.h
1085
return (BHND_BUS_GET_CLOCK_FREQ(device_get_parent(dev), dev, clock,
sys/dev/bhnd/bhnd.h
1108
return (BHND_BUS_REQUEST_CLOCK(device_get_parent(dev), dev, clock));
sys/dev/bhnd/bhnd.h
1134
return (BHND_BUS_ENABLE_CLOCKS(device_get_parent(dev), dev, clocks));
sys/dev/bhnd/bhnd.h
1156
return (BHND_BUS_REQUEST_EXT_RSRC(device_get_parent(dev), dev, rsrc));
sys/dev/bhnd/bhnd.h
1175
return (BHND_BUS_RELEASE_EXT_RSRC(device_get_parent(dev), dev, rsrc));
sys/dev/bhnd/bhnd.h
1204
return (BHND_BUS_READ_CONFIG(device_get_parent(dev), dev, offset,
sys/dev/bhnd/bhnd.h
1234
return (BHND_BUS_WRITE_CONFIG(device_get_parent(dev), dev, offset,
sys/dev/bhnd/bhnd.h
1267
return (BHND_BUS_GET_NVRAM_VAR(device_get_parent(dev), dev, name, buf,
sys/dev/bhnd/bhnd.h
1295
return BHND_BUS_ALLOC_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/dev/bhnd/bhnd.h
1332
return BHND_BUS_ACTIVATE_RESOURCE(device_get_parent(dev), dev, r);
sys/dev/bhnd/bhnd.h
1348
return BHND_BUS_DEACTIVATE_RESOURCE(device_get_parent(dev), dev, r);
sys/dev/bhnd/bhnd.h
1364
return BHND_BUS_RELEASE_RESOURCE(device_get_parent(dev), dev, r);
sys/dev/bhnd/bhnd.h
1380
return (BHND_BUS_IS_REGION_VALID(device_get_parent(dev), dev, type,
sys/dev/bhnd/bhnd.h
1392
return (BHND_BUS_GET_PORT_COUNT(device_get_parent(dev), dev, type));
sys/dev/bhnd/bhnd.h
1405
return (BHND_BUS_GET_REGION_COUNT(device_get_parent(dev), dev, type,
sys/dev/bhnd/bhnd.h
1423
return BHND_BUS_GET_PORT_RID(device_get_parent(dev), dev, type, port,
sys/dev/bhnd/bhnd.h
1444
return BHND_BUS_DECODE_PORT_RID(device_get_parent(dev), dev, type, rid,
sys/dev/bhnd/bhnd.h
1465
return BHND_BUS_GET_REGION_ADDR(device_get_parent(dev), dev, port_type,
sys/dev/bhnd/bhnd.h
1479
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1485
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1491
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1497
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1503
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1509
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1515
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1521
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1527
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1533
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1539
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1545
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1551
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1557
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1563
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1569
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1575
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1581
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1587
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1593
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1599
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1605
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1611
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1617
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1623
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1629
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1635
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1641
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1647
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1653
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1659
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1665
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1671
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1677
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1683
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1689
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1695
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1701
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1707
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1713
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1719
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1725
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
1731
device_get_parent(rman_get_device((r)->res)), \
sys/dev/bhnd/bhnd.h
669
return (BHND_BUS_REGISTER_PROVIDER(device_get_parent(dev), dev, dev,
sys/dev/bhnd/bhnd.h
688
return (BHND_BUS_DEREGISTER_PROVIDER(device_get_parent(dev), dev, dev,
sys/dev/bhnd/bhnd.h
708
return (BHND_BUS_RETAIN_PROVIDER(device_get_parent(dev), dev,
sys/dev/bhnd/bhnd.h
724
return (BHND_BUS_RELEASE_PROVIDER(device_get_parent(dev), dev,
sys/dev/bhnd/bhnd.h
741
return (BHND_BUS_IS_HW_DISABLED(device_get_parent(dev), dev));
sys/dev/bhnd/bhnd.h
751
return (BHND_BUS_GET_CHIPID(device_get_parent(dev), dev));
sys/dev/bhnd/bhnd.h
769
return (BHND_BUS_READ_IOCTL(device_get_parent(dev), dev, ioctl));
sys/dev/bhnd/bhnd.h
790
return (BHND_BUS_WRITE_IOCTL(device_get_parent(dev), dev, value, mask));
sys/dev/bhnd/bhnd.h
808
return (BHND_BUS_READ_IOST(device_get_parent(dev), dev, iost));
sys/dev/bhnd/bhnd.h
824
return (BHND_BUS_IS_HW_SUSPENDED(device_get_parent(dev), dev));
sys/dev/bhnd/bhnd.h
847
return (BHND_BUS_RESET_HW(device_get_parent(dev), dev, ioctl,
sys/dev/bhnd/bhnd.h
867
return (BHND_BUS_SUSPEND_HW(device_get_parent(dev), dev, ioctl));
sys/dev/bhnd/bhnd.h
882
return (BHND_BUS_GET_ATTACH_TYPE(device_get_parent(dev), dev));
sys/dev/bhnd/bhnd.h
913
return (BHND_BUS_GET_DMA_TRANSLATION(device_get_parent(dev), dev, width,
sys/dev/bhnd/bhnd.h
935
return (BHND_BUS_READ_BOARD_INFO(device_get_parent(dev), dev, info));
sys/dev/bhnd/bhnd.h
946
return (BHND_BUS_GET_INTR_COUNT(device_get_parent(dev), dev));
sys/dev/bhnd/bhnd.h
970
return (BHND_BUS_GET_INTR_IVEC(device_get_parent(dev), dev, intr,
sys/dev/bhnd/bhnd.h
992
return (BHND_BUS_MAP_INTR(device_get_parent(dev), dev, intr, irq));
sys/dev/bhnd/bhnd_subr.c
1835
device_t parent = device_get_parent(dev);
sys/dev/bhnd/bhnd_subr.c
1856
device_t parent = device_get_parent(dev);
sys/dev/bhnd/bhnd_subr.c
1877
device_t parent = device_get_parent(dev);
sys/dev/bhnd/bhnd_subr.c
1898
device_t parent = device_get_parent(dev);
sys/dev/bhnd/bhnd_subr.c
1985
if ((parent = device_get_parent(dev)) == NULL)
sys/dev/bhnd/bhnd_subr.c
2036
BHND_BUS_RELEASE_PROVIDER(device_get_parent(dev), dev, provider,
sys/dev/bhnd/bhnd_subr.c
2052
if (device_get_parent(dev) != NULL)
sys/dev/bhnd/bhnd_subr.c
2053
return (BHND_BUS_IS_HW_DISABLED(device_get_parent(dev), child));
sys/dev/bhnd/bhnd_subr.c
2068
if (device_get_parent(dev) != NULL)
sys/dev/bhnd/bhnd_subr.c
2069
return (BHND_BUS_GET_CHIPID(device_get_parent(dev), child));
sys/dev/bhnd/bhnd_subr.c
2087
if (device_get_parent(dev) != NULL) {
sys/dev/bhnd/bhnd_subr.c
2088
return (BHND_BUS_GET_DMA_TRANSLATION(device_get_parent(dev),
sys/dev/bhnd/bhnd_subr.c
2177
if ((parent = device_get_parent(dev)) == NULL)
sys/dev/bhnd/bhnd_subr.c
2180
return (BHND_BUS_GET_NVRAM_VAR(device_get_parent(dev), child,
sys/dev/bhnd/bhnd_subr.c
2271
passthrough = (device_get_parent(child) != dev);
sys/dev/bhnd/bhnd_subr.c
2274
if (device_get_parent(dev) != NULL) {
sys/dev/bhnd/bhnd_subr.c
2275
error = BHND_BUS_ACTIVATE_RESOURCE(device_get_parent(dev),
sys/dev/bhnd/bhnd_subr.c
2303
if (device_get_parent(dev) != NULL)
sys/dev/bhnd/bhnd_subr.c
2304
return (BHND_BUS_DEACTIVATE_RESOURCE(device_get_parent(dev),
sys/dev/bhnd/bhnd_subr.c
529
lorder = BHND_BUS_GET_PROBE_ORDER(device_get_parent(ldev), ldev);
sys/dev/bhnd/bhnd_subr.c
530
rorder = BHND_BUS_GET_PROBE_ORDER(device_get_parent(rdev), rdev);
sys/dev/bhnd/bhnd_subr.c
602
KASSERT(device_get_devclass(device_get_parent(dev)) ==
sys/dev/bhnd/bhnd_subr.c
610
while ((parent = device_get_parent(parent)) != NULL) {
sys/dev/bhnd/bhnd_subr.c
620
while ((parent = device_get_parent(parent)) != NULL) {
sys/dev/bhnd/bhnd_subr.c
623
bus = device_get_parent(parent);
sys/dev/bhnd/bhnd_subr.c
864
parent = device_get_parent(dev);
sys/dev/bhnd/bhnd_subr.c
922
parent = device_get_parent(dev);
sys/dev/bhnd/bhndb/bhnd_bhndb.c
101
return (BHND_BUS_MAP_INTR(device_get_parent(dev), child, intr, irq));
sys/dev/bhnd/bhndb/bhnd_bhndb.c
108
return (BHND_BUS_UNMAP_INTR(device_get_parent(dev), child, irq));
sys/dev/bhnd/bhndb/bhnd_bhndb.c
116
return (BHND_PWRCTL_HOSTB_GET_CLKSRC(device_get_parent(dev), child,
sys/dev/bhnd/bhndb/bhnd_bhndb.c
125
return (BHND_PWRCTL_HOSTB_GATE_CLOCK(device_get_parent(dev), child,
sys/dev/bhnd/bhndb/bhnd_bhndb.c
134
return (BHND_PWRCTL_HOSTB_UNGATE_CLOCK(device_get_parent(dev), child,
sys/dev/bhnd/bhndb/bhnd_bhndb.c
148
while ((bus = device_get_parent(core)) != NULL) {
sys/dev/bhnd/bhndb/bhnd_bhndb.c
159
error = BHNDB_ROUTE_INTERRUPTS(device_get_parent(dev), core);
sys/dev/bhnd/bhndb/bhnd_bhndb.c
62
return (BHNDB_POPULATE_BOARD_INFO(device_get_parent(dev), dev, info));
sys/dev/bhnd/bhndb/bhnd_bhndb.c
78
return (BHNDB_IS_CORE_DISABLED(device_get_parent(dev), dev, &core));
sys/dev/bhnd/bhndb/bhnd_bhndb.c
89
if ((error = BHNDB_GET_HOSTB_CORE(device_get_parent(dev), dev, &core)))
sys/dev/bhnd/bhndb/bhndb.c
1041
passthrough = (device_get_parent(child) != dev);
sys/dev/bhnd/bhndb/bhndb.c
1046
return (BUS_RELEASE_RESOURCE(device_get_parent(sc->parent_dev),
sys/dev/bhnd/bhndb/bhndb.c
1091
return (BUS_ADJUST_RESOURCE(device_get_parent(sc->parent_dev),
sys/dev/bhnd/bhndb/bhndb.c
1425
return (BUS_ACTIVATE_RESOURCE(device_get_parent(sc->parent_dev),
sys/dev/bhnd/bhndb/bhndb.c
1451
device_get_parent(sc->parent_dev), child, r));
sys/dev/bhnd/bhndb/bhndb.c
2058
return (BUS_DESCRIBE_INTR(device_get_parent(isrc->is_owner),
sys/dev/bhnd/bhndb/bhndb.c
524
sc->parent_dev = device_get_parent(dev);
sys/dev/bhnd/bhndb/bhndb.c
786
while (imd_dev != NULL && device_get_parent(imd_dev) != sc->dev)
sys/dev/bhnd/bhndb/bhndb.c
787
imd_dev = device_get_parent(imd_dev);
sys/dev/bhnd/bhndb/bhndb.c
950
passthrough = (device_get_parent(child) != dev);
sys/dev/bhnd/bhndb/bhndb.c
959
return (BUS_ALLOC_RESOURCE(device_get_parent(sc->parent_dev),
sys/dev/bhnd/bhndb/bhndb_pci.c
1024
if (pci_find_cap(device_get_parent(dev), PCIY_EXPRESS, ®) == 0)
sys/dev/bhnd/bhndb/bhndb_pci.c
1052
pci_dev = device_get_parent(dev);
sys/dev/bhnd/bhndb/bhndb_pci.c
1103
pci_dev = device_get_parent(dev);
sys/dev/bhnd/bhndb/bhndb_pci.c
1294
parent_dev = device_get_parent(dev);
sys/dev/bhnd/bhndb/bhndb_pci.c
275
parent = device_get_parent(dev);
sys/dev/bhnd/bhndb/bhndb_pci.c
276
parent_bus = device_get_parent(parent);
sys/dev/bhnd/bhndb/bhndb_pci.c
366
sc->parent = device_get_parent(dev);
sys/dev/bhnd/bhndb/bhndb_pci_sprom.c
65
bridge = device_get_parent(dev);
sys/dev/bhnd/bhndb/bhndb_subr.c
114
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhndb/bhndb_subr.c
115
BUS_SUSPEND_CHILD(device_get_parent(dev), child);
sys/dev/bhnd/bhndb/bhndb_subr.c
125
rl = BUS_GET_RESOURCE_LIST(device_get_parent(child), child);
sys/dev/bhnd/bhndb/bhndb_subr.c
155
if (device_get_parent(child) != dev)
sys/dev/bhnd/bhndb/bhndb_subr.c
156
BUS_RESUME_CHILD(device_get_parent(dev), child);
sys/dev/bhnd/bhndb/bhndb_subr.c
162
rl = BUS_GET_RESOURCE_LIST(device_get_parent(child), child);
sys/dev/bhnd/bhndb/bhndb_subr.c
172
error = BHNDB_RESUME_RESOURCE(device_get_parent(dev), dev,
sys/dev/bhnd/bhndb/bhndb_subr.c
88
BHNDB_SUSPEND_RESOURCE(device_get_parent(dev), dev, rle->type,
sys/dev/bhnd/cores/chipc/bhnd_pmu_chipc.c
101
chipc_sc = device_get_softc(device_get_parent(dev));
sys/dev/bhnd/cores/chipc/bhnd_pmu_chipc.c
70
chipc = device_get_parent(dev);
sys/dev/bhnd/cores/chipc/bhnd_sprom_chipc.c
63
chipc = device_get_parent(dev);
sys/dev/bhnd/cores/chipc/bhnd_sprom_chipc.c
84
chipc = device_get_parent(dev);
sys/dev/bhnd/cores/chipc/chipc.c
1107
parent = device_get_parent(sc->dev);
sys/dev/bhnd/cores/chipc/chipc.c
779
passthrough = (device_get_parent(child) != dev);
sys/dev/bhnd/cores/chipc/chipc_gpio.c
108
chipc = device_get_parent(dev);
sys/dev/bhnd/cores/chipc/chipc_gpio.c
125
chipc = device_get_parent(dev);
sys/dev/bhnd/cores/chipc/chipc_slicer.c
115
spibus = device_get_parent(dev);
sys/dev/bhnd/cores/chipc/chipc_slicer.c
121
spi = device_get_parent(spibus);
sys/dev/bhnd/cores/chipc/chipc_slicer.c
127
chipc = device_get_parent(spi);
sys/dev/bhnd/cores/chipc/chipc_slicer.c
91
if ((parent = device_get_parent(dev)) == NULL) {
sys/dev/bhnd/cores/chipc/chipc_spi.c
122
ccaps = BHND_CHIPC_GET_CAPS(device_get_parent(dev));
sys/dev/bhnd/cores/chipc/chipc_subr.c
182
KASSERT(device_get_parent(child) == sc->dev, ("not a direct child"));
sys/dev/bhnd/cores/chipc/chipc_subr.c
242
KASSERT(device_get_parent(child) == sc->dev, ("not a direct child"));
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl.c
126
sc->chipc_dev = device_get_parent(dev);
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl.c
133
hostb_dev = bhnd_bus_find_hostb_device(device_get_parent(sc->chipc_dev));
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl.c
91
chipc = device_get_parent(dev);
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_private.h
107
return (BHND_PWRCTL_HOSTB_UNGATE_CLOCK(device_get_parent(dev), dev,
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_private.h
65
return (BHND_PWRCTL_HOSTB_GET_CLKSRC(device_get_parent(dev), dev,
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_private.h
86
return (BHND_PWRCTL_HOSTB_GATE_CLOCK(device_get_parent(dev), dev,
sys/dev/bhnd/cores/pci/bhnd_pci.c
171
if (device_get_parent(child) != dev)
sys/dev/bhnd/cores/pci/bhnd_pci.c
205
if (device_get_parent(child) != dev)
sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c
565
bhnd = device_get_parent(sc->dev);
sys/dev/bhnd/cores/pcie2/bhnd_pcie2.c
135
if (device_get_parent(child) != dev)
sys/dev/bhnd/cores/pcie2/bhnd_pcie2.c
169
if (device_get_parent(child) != dev)
sys/dev/bhnd/cores/pmu/bhnd_pmu.c
121
while ((bus = device_get_parent(core)) != NULL) {
sys/dev/bhnd/siba/siba.c
1006
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
1007
return (BHND_BUS_GET_REGION_COUNT(device_get_parent(dev), child,
sys/dev/bhnd/siba/siba.c
1023
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
1024
return (BHND_BUS_GET_PORT_RID(device_get_parent(dev), child,
sys/dev/bhnd/siba/siba.c
1050
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
1051
return (BHND_BUS_DECODE_PORT_RID(device_get_parent(dev), child,
sys/dev/bhnd/siba/siba.c
1095
if (device_get_parent(child) != dev) {
sys/dev/bhnd/siba/siba.c
1096
return (BHND_BUS_GET_REGION_ADDR(device_get_parent(dev), child,
sys/dev/bhnd/siba/siba.c
1131
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
1132
return (BHND_BUS_GET_INTR_COUNT(device_get_parent(dev), child));
sys/dev/bhnd/siba/siba.c
1153
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
1154
return (BHND_BUS_GET_INTR_IVEC(device_get_parent(dev), child,
sys/dev/bhnd/siba/siba.c
250
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
323
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
382
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
437
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
478
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
513
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
549
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
601
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
675
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
733
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
798
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
917
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
957
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
991
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba.c
992
return (BHND_BUS_GET_PORT_COUNT(device_get_parent(dev), child,
sys/dev/bhnd/siba/siba_bhndb.c
167
BHNDB_SUSPEND_RESOURCE(device_get_parent(dev), dev,
sys/dev/bhnd/siba/siba_bhndb.c
178
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba_bhndb.c
179
BUS_SUSPEND_CHILD(device_get_parent(dev), child);
sys/dev/bhnd/siba/siba_bhndb.c
199
if (device_get_parent(child) != dev)
sys/dev/bhnd/siba/siba_bhndb.c
200
BUS_SUSPEND_CHILD(device_get_parent(dev), child);
sys/dev/bhnd/siba/siba_bhndb.c
212
error = BHNDB_RESUME_RESOURCE(device_get_parent(dev), dev,
sys/dev/bhnd/siba/siba_bhndb.c
99
cid = BHNDB_GET_CHIPID(device_get_parent(dev), dev);
sys/dev/bwn/if_bwn.c
556
parent = device_get_parent(dev);
sys/dev/cardbus/cardbus.c
155
pci_get_irq(device_get_parent(device_get_parent(dev)));
sys/dev/cardbus/cardbus.c
175
device_t brdev = device_get_parent(cbdev);
sys/dev/cardbus/cardbus.c
253
POWER_DISABLE_SOCKET(device_get_parent(cbdev), cbdev);
sys/dev/cardbus/cardbus.c
280
POWER_ENABLE_SOCKET(device_get_parent(cbdev), cbdev);
sys/dev/cesa/cesa.c
1162
simplebus_add_device(device_get_parent(dev), ofw_bus_get_node(dev),
sys/dev/cfi/cfi_disk.c
88
sc->parent = device_get_softc(device_get_parent(dev));
sys/dev/chromebook_platform/chromebook_platform.c
68
controller = device_get_parent(bus);
sys/dev/clk/xilinx/zynqmp_clock.c
485
sc->parent = device_get_parent(dev);
sys/dev/clk/xilinx/zynqmp_reset.c
224
sc->parent = device_get_parent(dev);
sys/dev/coreboot/coreboot.c
1476
device_delete_child(device_get_parent(devs[i]),
sys/dev/coretemp/coretemp.c
164
pdev = device_get_parent(dev);
sys/dev/cpufreq/cpufreq_dt.c
331
node = ofw_bus_get_node(device_get_parent(dev));
sys/dev/cpufreq/cpufreq_dt.c
485
node = ofw_bus_get_node(device_get_parent(dev));
sys/dev/cpufreq/cpufreq_dt.c
486
sc->cpu = device_get_unit(device_get_parent(dev));
sys/dev/cpufreq/cpufreq_dt.c
528
ofw_bus_get_name(device_get_parent(dev)));
sys/dev/cpufreq/cpufreq_dt.c
535
ofw_bus_get_name(device_get_parent(dev)));
sys/dev/cpufreq/ichss.c
221
perf_dev = device_find_child(device_get_parent(dev), "acpi_perf",
sys/dev/cpufreq/ichss.c
228
est_dev = device_find_child(device_get_parent(dev), "est",
sys/dev/cxgb/cxgb_main.c
1004
device_get_unit(device_get_parent(dev)), p->port_id);
sys/dev/cxgbe/crypto/t4_crypto.c
1961
sc->adapter = device_get_softc(device_get_parent(dev));
sys/dev/cxgbe/t4_main.c
2673
device_t pdev = device_get_parent(sc->dev);
sys/dev/cxgbe/t4_main.c
2674
device_t gpdev = device_get_parent(pdev);
sys/dev/cxgbe/t4_main.c
2719
device_t pdev = device_get_parent(sc->dev);
sys/dev/cxgbe/t4_main.c
2720
device_t gpdev = device_get_parent(pdev);
sys/dev/cyapa/cyapa.c
1285
bus = device_get_parent(sc->dev);
sys/dev/cyapa/cyapa.c
1672
bus = device_get_parent(sc->dev);
sys/dev/dc/dcphy.c
158
brdev = device_get_parent(sc->mii_dev);
sys/dev/dc/if_dc.c
4100
if (device_get_parent(child) != device_get_parent(sc->dc_dev))
sys/dev/dcons/dcons_crom.c
96
pa = device_get_parent(dev);
sys/dev/dialog/da9063/da9063_rtc.c
233
sc->parent = device_get_parent(dev);
sys/dev/dpaa/fman.c
196
passthrough = (device_get_parent(child) != bus);
sys/dev/dpaa/fman.c
232
passthrough = (device_get_parent(child) != bus);
sys/dev/dpaa/fman.c
405
node = ofw_bus_get_node(device_get_parent(sc->sc_base.dev));
sys/dev/dpaa/fman_port.c
233
FMAN_GET_REVISION(device_get_parent(dev),
sys/dev/dpaa/fman_port.c
269
FMAN_GET_QMAN_CHANNEL_ID(device_get_parent(dev),
sys/dev/dpaa/fman_port.c
297
FMAN_GET_BMI_MAX_FIFO_SIZE(device_get_parent(dev));
sys/dev/dpaa/fman_port.c
584
err = FMAN_SET_PORT_PARAMS(device_get_parent(dev), ¶ms);
sys/dev/dpaa/if_dtsec.c
100
FMAN_GET_REVISION(device_get_parent(sc->sc_base.sc_dev), &sc->sc_base.sc_rev_major,
sys/dev/dpaa/if_dtsec.c
103
if (FMAN_RESET_MAC(device_get_parent(sc->sc_base.sc_dev), sc->sc_base.sc_eth_id) != 0)
sys/dev/dpaa/if_dtsec_fdt.c
195
sc->sc_base.sc_port_tx_qman_chan = fman_qman_channel_id(device_get_parent(dev),
sys/dev/dpaa/if_memac.c
108
FMAN_GET_REVISION(device_get_parent(sc->sc_base.sc_dev), &sc->sc_base.sc_rev_major,
sys/dev/dpaa/if_memac.c
111
if (FMAN_RESET_MAC(device_get_parent(sc->sc_base.sc_dev), sc->sc_base.sc_eth_id) != 0)
sys/dev/dpaa/if_memac_fdt.c
192
sc->sc_base.sc_port_tx_qman_chan = fman_qman_channel_id(device_get_parent(dev),
sys/dev/dpaa2/dpaa2_bp.c
129
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_bp.c
88
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_channel.c
111
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_con.c
109
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_io.c
135
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_io.c
202
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_mac.c
112
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_mac.c
206
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_mac.c
309
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_mc_acpi.c
190
rc = ACPI_ID_PROBE(device_get_parent(dev), dev, dpaa2_mc_ids, NULL);
sys/dev/dpaa2/dpaa2_mc_acpi.c
259
ACPI_SCAN_CHILDREN(device_get_parent(dev), dev, 2,
sys/dev/dpaa2/dpaa2_mc_acpi.c
349
return (BUS_READ_IVAR(device_get_parent(dev), child, index, result));
sys/dev/dpaa2/dpaa2_mc_fdt.c
349
return (OFW_BUS_GET_DEVINFO(device_get_parent(bus), child));
sys/dev/dpaa2/dpaa2_mcp.c
154
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
1058
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
1199
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
1276
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
1420
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
1492
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
1592
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_ni.c
1686
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_ni.c
1871
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
2045
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
2105
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
2194
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
2289
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
2457
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_ni.c
2584
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_ni.c
2713
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_ni.c
2765
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_ni.c
2831
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_ni.c
3466
device_t pdev = device_get_parent(sc->dev);
sys/dev/dpaa2/dpaa2_ni.c
3521
rcinfo = device_get_ivars(device_get_parent(sc->dev));
sys/dev/dpaa2/dpaa2_ni.c
3614
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
497
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_ni.c
723
device_t pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_rc.c
135
pdev = device_get_parent(dev);
sys/dev/dpaa2/dpaa2_rc.c
205
if (device_get_parent(child) != rcdev)
sys/dev/dpaa2/dpaa2_rc.c
257
if (device_get_parent(child) != rcdev)
sys/dev/dpaa2/dpaa2_rc.c
258
return (BUS_ALLOC_RESOURCE(device_get_parent(rcdev), child,
sys/dev/dpaa2/dpaa2_rc.c
271
if (device_get_parent(child) != rcdev)
sys/dev/dpaa2/dpaa2_rc.c
272
return (BUS_RELEASE_RESOURCE(device_get_parent(rcdev), child,
sys/dev/dpaa2/dpaa2_rc.c
3126
if (device_get_parent(child) == rcdev && rid >= 1) {
sys/dev/dpaa2/dpaa2_rc.c
352
if (device_get_parent(child) != rcdev) {
sys/dev/dpaa2/dpaa2_rc.c
374
error = PCIB_MAP_MSI(device_get_parent(rcdev), child,
sys/dev/dpaa2/dpaa2_rc.c
411
if (device_get_parent(child) != rcdev)
sys/dev/dpaa2/dpaa2_rc.c
505
error = PCIB_ALLOC_MSI(device_get_parent(rcdev), child, actual,
sys/dev/dpaa2/dpaa2_rc.c
601
PCIB_RELEASE_MSI(device_get_parent(rcdev), child, dinfo->msi.msi_alloc,
sys/dev/dpaa2/dpaa2_rc.c
631
return (PCIB_GET_ID(device_get_parent(rcdev), child, type, id));
sys/dev/dpaa2/memac_mdio_acpi.c
205
rc = ACPI_ID_PROBE(device_get_parent(dev), dev, memac_mdio_ids, NULL);
sys/dev/dpaa2/memac_mdio_acpi.c
262
ACPI_SCAN_CHILDREN(device_get_parent(dev), dev, 1,
sys/dev/dpaa2/memac_mdio_common.c
271
return (BUS_READ_IVAR(device_get_parent(dev), dev, index, result));
sys/dev/dpaa2/memac_mdio_common.c
56
return (MIIBUS_READREG(device_get_parent(dev), phy, reg));
sys/dev/dpaa2/memac_mdio_common.c
63
return (MIIBUS_WRITEREG(device_get_parent(dev), phy, reg, data));
sys/dev/dpaa2/memac_mdio_fdt.c
268
return (OFW_BUS_GET_DEVINFO(device_get_parent(bus), child));
sys/dev/dpms/dpms.c
125
if (x86bios_match_device(0xc0000, device_get_parent(parent)))
sys/dev/drm2/drm_fb_helper.c
927
info->fb_video_dev = device_get_parent(kdev);
sys/dev/drm2/drm_pci.c
449
device_get_parent( /* pcib */
sys/dev/drm2/drm_pci.c
450
device_get_parent( /* `-- pci */
sys/dev/drm2/drm_pci.c
451
device_get_parent( /* `-- vgapci */
sys/dev/etherswitch/arswitch/arswitch_phy.c
79
ret = (MDIO_READREG(device_get_parent(dev), phy, reg));
sys/dev/etherswitch/arswitch/arswitch_phy.c
96
(void) MDIO_WRITEREG(device_get_parent(dev), phy,
sys/dev/etherswitch/arswitch/arswitch_reg.c
105
return (MDIO_WRITEREG(device_get_parent(dev), 0x10 | phy, reg, data));
sys/dev/etherswitch/arswitch/arswitch_reg.c
112
(void) MDIO_WRITEREG(device_get_parent(dev), phy,
sys/dev/etherswitch/arswitch/arswitch_reg.c
114
(void) MDIO_WRITEREG(device_get_parent(dev), phy,
sys/dev/etherswitch/arswitch/arswitch_reg.c
122
(void) MDIO_WRITEREG(device_get_parent(dev), phy,
sys/dev/etherswitch/arswitch/arswitch_reg.c
124
(void) MDIO_WRITEREG(device_get_parent(dev), phy,
sys/dev/etherswitch/arswitch/arswitch_reg.c
132
lo = MDIO_READREG(device_get_parent(dev), phy, reg);
sys/dev/etherswitch/arswitch/arswitch_reg.c
133
hi = MDIO_READREG(device_get_parent(dev), phy, reg + 1);
sys/dev/etherswitch/arswitch/arswitch_reg.c
150
r = MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/arswitch/arswitch_reg.c
152
r |= MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/arswitch/arswitch_reg.c
155
r = MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/arswitch/arswitch_reg.c
157
r |= MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/arswitch/arswitch_reg.c
76
MDIO_WRITEREG(device_get_parent(dev), 0x18, 0, page);
sys/dev/etherswitch/arswitch/arswitch_reg.c
93
return (MDIO_READREG(device_get_parent(dev), 0x10 | phy, reg));
sys/dev/etherswitch/e6000sw/e6000sw.c
75
MDIO_READREG(device_get_parent(dev), (addr), (reg))
sys/dev/etherswitch/e6000sw/e6000sw.c
77
MDIO_WRITEREG(device_get_parent(dev), (addr), (reg), (val))
sys/dev/etherswitch/e6000sw/e6060sw.c
171
data = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
472
p->es_pvid = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
518
data = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
524
MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
556
data1 = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
607
data1 = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
612
MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
668
MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
684
data = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
687
MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
691
data = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
694
MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
711
data = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
715
MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
718
data = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
723
MDIO_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
751
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
754
busy = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
761
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
763
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
765
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
767
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
770
busy = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
785
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
787
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
789
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
791
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
794
busy = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
812
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
815
MDIO_WRITEREG(device_get_parent(dev), GLOBAL_REGISTER + sc->smi_offset,
sys/dev/etherswitch/e6000sw/e6060sw.c
818
busy = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
824
int vid = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
827
*data1 = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
829
*data2 = MDIO_READREG(device_get_parent(dev),
sys/dev/etherswitch/e6000sw/e6060sw.c
923
data = MDIO_READREG(device_get_parent(dev), phy, reg);
sys/dev/etherswitch/e6000sw/e6060sw.c
944
err = MDIO_WRITEREG(device_get_parent(dev), phy, reg, data);
sys/dev/etherswitch/e6000sw/e6060sw.c
960
return MDIO_READREG(device_get_parent(dev), devaddr, regaddr);
sys/dev/etherswitch/e6000sw/e6060sw.c
973
return (MDIO_WRITEREG(device_get_parent(dev), devaddr, regaddr, value));
sys/dev/etherswitch/etherswitch.c
138
device_t etherswitch = device_get_parent(dev);
sys/dev/etherswitch/infineon/adm6996fc.c
144
data1 = ADM6996FC_READREG(device_get_parent(dev), ADM6996FC_CI0);
sys/dev/etherswitch/infineon/adm6996fc.c
145
data2 = ADM6996FC_READREG(device_get_parent(dev), ADM6996FC_CI1);
sys/dev/etherswitch/infineon/adm6996fc.c
435
parent = device_get_parent(dev);
sys/dev/etherswitch/infineon/adm6996fc.c
493
parent = device_get_parent(dev);
sys/dev/etherswitch/infineon/adm6996fc.c
544
parent = device_get_parent(dev);
sys/dev/etherswitch/infineon/adm6996fc.c
590
parent = device_get_parent(dev);
sys/dev/etherswitch/infineon/adm6996fc.c
629
parent = device_get_parent(dev);
sys/dev/etherswitch/infineon/adm6996fc.c
749
data = ADM6996FC_READREG(device_get_parent(dev),
sys/dev/etherswitch/infineon/adm6996fc.c
771
err = ADM6996FC_WRITEREG(device_get_parent(dev),
sys/dev/etherswitch/infineon/adm6996fc.c
782
return ADM6996FC_READREG(device_get_parent(dev), addr);
sys/dev/etherswitch/infineon/adm6996fc.c
790
err = ADM6996FC_WRITEREG(device_get_parent(dev), addr, value);
sys/dev/etherswitch/ip17x/ip17x.c
109
phy_id1 = MDIO_READREG(device_get_parent(dev), 0, MII_PHYIDR1);
sys/dev/etherswitch/ip17x/ip17x.c
110
phy_id2 = MDIO_READREG(device_get_parent(dev), 0, MII_PHYIDR2);
sys/dev/etherswitch/ip17x/ip17x.c
135
model = MDIO_READREG(device_get_parent(dev), IP175D_ID_PHY,
sys/dev/etherswitch/ip17x/ip17x.c
141
model = MDIO_READREG(device_get_parent(dev), 5, MII_PHYIDR1);
sys/dev/etherswitch/ip17x/ip17x_phy.c
68
data = MDIO_READREG(device_get_parent(dev), phy, reg);
sys/dev/etherswitch/ip17x/ip17x_phy.c
89
err = MDIO_WRITEREG(device_get_parent(dev), phy, reg, data);
sys/dev/etherswitch/micrel/ksz8995ma.c
867
err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd);
sys/dev/etherswitch/micrel/ksz8995ma.c
893
err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd);
sys/dev/etherswitch/miiproxy.c
243
sc->mdio = device_get_parent(rendezvous->target.device);
sys/dev/etherswitch/miiproxy.c
305
MIIBUS_STATCHG(device_get_parent(dev));
sys/dev/etherswitch/miiproxy.c
312
MIIBUS_LINKCHG(device_get_parent(dev));
sys/dev/etherswitch/miiproxy.c
319
MIIBUS_MEDIAINIT(device_get_parent(dev));
sys/dev/etherswitch/rtl8366/rtl8366rb.c
375
iicbus = device_get_parent(dev);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
376
iicha = device_get_parent(iicbus);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
444
r = iicbus_request_bus(device_get_parent(sc->dev), sc->dev, \
sys/dev/etherswitch/rtl8366/rtl8366rb.c
462
iicbus_release_bus(device_get_parent(sc->dev), sc->dev);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
479
iicbus = device_get_parent(dev);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
488
IICBUS_STOP(device_get_parent(device_get_parent(dev)));
sys/dev/etherswitch/rtl8366/rtl8366rb.c
515
iicbus = device_get_parent(sc->dev);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
544
iicbus = device_get_parent(sc->dev);
sys/dev/etherswitch/ukswitch/ukswitch.c
480
data = MDIO_READREG(device_get_parent(dev), phy, reg);
sys/dev/etherswitch/ukswitch/ukswitch.c
501
err = MDIO_WRITEREG(device_get_parent(dev), phy, reg, data);
sys/dev/exca/exca.c
821
err = BUS_ACTIVATE_RESOURCE(device_get_parent(exca->dev), child,
sys/dev/exca/exca.c
834
BUS_DEACTIVATE_RESOURCE(device_get_parent(exca->dev), child,
sys/dev/exca/exca.c
855
return (BUS_DEACTIVATE_RESOURCE(device_get_parent(exca->dev), child,
sys/dev/exca/exca.c
921
return (BUS_RELEASE_RESOURCE(device_get_parent(brdev), child,
sys/dev/exca/excavar.h
161
return BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/dev/fb/fbd.c
322
sc->sc_info = FB_GETINFO(device_get_parent(dev));
sys/dev/fdc/fdc.c
1893
fdc = device_get_softc(device_get_parent(dev));
sys/dev/fdc/fdc_acpi.c
129
bus = device_get_parent(dev);
sys/dev/fdc/fdc_acpi.c
83
bus = device_get_parent(dev);
sys/dev/fdc/fdc_isa.c
165
error = ISA_PNP_PROBE(device_get_parent(dev), dev, fdc_ids);
sys/dev/fdt/fdt_common.c
387
parent = device_get_parent(dev);
sys/dev/fdt/simplebus.c
642
return (PCIB_ALLOC_MSI(device_get_parent(dev), child, count, maxcount,
sys/dev/fdt/simplebus.c
649
return (PCIB_RELEASE_MSI(device_get_parent(dev), child, count, irqs));
sys/dev/fdt/simplebus.c
655
return (PCIB_ALLOC_MSIX(device_get_parent(dev), child, irq));
sys/dev/fdt/simplebus.c
661
return (PCIB_RELEASE_MSIX(device_get_parent(dev), child, irq));
sys/dev/fdt/simplebus.c
668
return (PCIB_MAP_MSI(device_get_parent(dev), child, irq, addr,
sys/dev/firewire/firewire.c
419
device_t pa = device_get_parent(dev);
sys/dev/firewire/fwisound_pcm.c
193
sc = device_get_softc(device_get_parent(dev));
sys/dev/firewire/fwisound_pcm.c
206
device_get_nameunit(device_get_parent(dev)));
sys/dev/firewire/if_fwe.c
129
pa = device_get_parent(dev);
sys/dev/firewire/if_fwip.c
146
pa = device_get_parent(dev);
sys/dev/firewire/sbp_targ.c
256
pa = device_get_parent(dev);
sys/dev/firmware/arm/scmi_clk.c
373
sc->scmi = device_get_parent(dev);
sys/dev/firmware/arm/scmi_shmem.c
95
sc->parent = device_get_parent(dev);
sys/dev/flash/at45d.c
180
err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd);
sys/dev/flash/at45d.c
200
err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd);
sys/dev/flash/at45d.c
450
pdev = device_get_parent(dev);
sys/dev/flash/mx25l.c
483
sc->sc_parent = device_get_parent(sc->sc_dev);
sys/dev/flash/n25q.c
150
pdev = device_get_parent(dev);
sys/dev/flash/n25q.c
168
pdev = device_get_parent(sc->dev);
sys/dev/flash/n25q.c
193
pdev = device_get_parent(dev);
sys/dev/flash/n25q.c
214
pdev = device_get_parent(dev);
sys/dev/flash/n25q.c
241
pdev = device_get_parent(dev);
sys/dev/flash/w25n.c
375
sc->sc_parent = device_get_parent(sc->sc_dev);
sys/dev/gpio/acpi_gpiobus.c
324
controller = device_get_parent(dev);
sys/dev/gpio/bytgpio.c
547
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, bytgpio_gpio_ids, NULL);
sys/dev/gpio/chvgpio.c
348
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, chvgpio_hids, NULL);
sys/dev/gpio/dwgpio/dwgpio.c
141
sc->parent = device_get_parent(dev);
sys/dev/gpio/gpiobus.c
1114
return (GPIO_PIN_GETNAME(device_get_parent(dev), pin, name));
sys/dev/gpio/gpiobus.c
165
pin->dev = device_get_parent(busdev);
sys/dev/gpio/gpiobus.c
182
return (gpio_pin_get_by_bus_pinnum(device_get_parent(childdev),
sys/dev/gpio/gpiobus.c
344
sc->sc_dev = device_get_parent(dev);
sys/dev/gpio/gpioc.c
594
sc->sc_pdev = device_get_parent(dev);
sys/dev/gpio/gpioiic.c
126
busdev = device_get_parent(sc->dev);
sys/dev/gpio/gpioiic.c
318
device_get_nameunit(device_get_parent(dev)), sc->sclpin->pin,
sys/dev/gpio/gpioiic.c
319
device_get_nameunit(device_get_parent(dev)), sc->sdapin->pin);
sys/dev/gpio/gpioled.c
167
sc->sc_busdev = device_get_parent(dev);
sys/dev/gpio/gpioled_fdt.c
167
sc->sc_busdev = device_get_parent(dev);
sys/dev/gpio/gpiomdio.c
111
sc->sc_busdev = device_get_parent(dev);
sys/dev/gpio/gpiospi.c
98
sc->sc_busdev = device_get_parent(dev);
sys/dev/gpio/gpioths.c
328
strcmp("gpiobus", device_get_name(device_get_parent(dev))) == 0)
sys/dev/gpio/pl061_acpi.c
59
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, gpio_ids, NULL);
sys/dev/hid/hid.c
1038
return (HID_INTR_START(device_get_parent(dev), dev));
sys/dev/hid/hid.c
1044
return (HID_INTR_STOP(device_get_parent(dev), dev));
sys/dev/hid/hid.c
1050
HID_INTR_POLL(device_get_parent(dev), dev);
sys/dev/hid/hid.c
1056
return (HID_GET_RDESC(device_get_parent(dev), dev, data, len));
sys/dev/hid/hid.c
1062
return (HID_READ(device_get_parent(dev), dev, data, maxlen, actlen));
sys/dev/hid/hid.c
1068
return (HID_WRITE(device_get_parent(dev), dev, data, len));
sys/dev/hid/hid.c
1075
return (HID_GET_REPORT(device_get_parent(dev), dev, data, maxlen,
sys/dev/hid/hid.c
1083
return (HID_SET_REPORT(device_get_parent(dev), dev, data, len, type,
sys/dev/hid/hid.c
1090
return (HID_SET_IDLE(device_get_parent(dev), dev, duration, id));
sys/dev/hid/hid.c
1096
return (HID_SET_PROTOCOL(device_get_parent(dev), dev, protocol));
sys/dev/hid/hid.c
1102
return (HID_IOCTL(device_get_parent(dev), dev, cmd, data));
sys/dev/hid/hidbus.c
257
HID_INTR_SETUP(device_get_parent(dev), dev, hidbus_intr, sc,
sys/dev/hid/hidbus.c
293
bus = is_bus ? dev : device_get_parent(dev);
sys/dev/hid/hidbus.c
325
HID_INTR_UNSETUP(device_get_parent(bus), bus);
sys/dev/hid/hidbus.c
477
device_get_parent(bus), bus, NULL, NULL, NULL);
sys/dev/hid/hidbus.c
521
device_t bus = device_get_parent(child);
sys/dev/hid/hidbus.c
602
MPASS(bus == device_get_parent(child));
sys/dev/hid/hidbus.c
621
MPASS(bus == device_get_parent(child));
sys/dev/hid/hidbus.c
650
device_t bus = device_get_parent(child);
sys/dev/hid/hidbus.c
670
dev : device_get_parent(dev);
sys/dev/hid/hidbus.c
710
bus = is_bus ? dev : device_get_parent(dev);
sys/dev/hid/hidbus.c
913
dev : device_get_parent(dev);
sys/dev/hid/hmt.c
872
hconf = hidbus_find_child(device_get_parent(sc->dev),
sys/dev/hid/ietp.c
260
if (hidbus_find_child(device_get_parent(sc->dev),
sys/dev/hid/ietp.c
263
device_get_nameunit(device_get_parent(sc->dev)));
sys/dev/hid/ietp.c
451
device_t iichid = device_get_parent(parent);
sys/dev/hid/ietp.c
497
iichid = device_get_parent(device_get_parent(dev));
sys/dev/hid/ietp.c
658
device_t iichid = device_get_parent(device_get_parent(dev));
sys/dev/hid/ietp.c
682
device_t iichid = device_get_parent(device_get_parent(dev));
sys/dev/hwpmc/pmu_dmc620.c
103
err = ACPI_ID_PROBE(device_get_parent(dev), dev, pmu_dmc620_ids, NULL);
sys/dev/hyperv/input/hv_hid.c
391
bus = device_get_parent(dev);
sys/dev/hyperv/input/hv_kbdc.c
226
device_t bus = device_get_parent(dev);
sys/dev/hyperv/netvsc/if_hn.c
2064
if (VMBUS_PROBE_GUID(device_get_parent(dev), dev, &hn_guid) == 0) {
sys/dev/hyperv/netvsc/if_hn.c
5183
device_get_parent(dev), dev, HN_RING_IDX2CPU(sc, id));
sys/dev/hyperv/pcib/vmbus_pcib.c
1473
if (VMBUS_PROBE_GUID(device_get_parent(dev), dev,
sys/dev/hyperv/pcib/vmbus_pcib.c
1819
return (PCIB_ALLOC_MSI(device_get_parent(pcib), dev, count, maxcount,
sys/dev/hyperv/pcib/vmbus_pcib.c
1832
return (PCIB_RELEASE_MSI(device_get_parent(pcib), dev, count, irqs));
sys/dev/hyperv/pcib/vmbus_pcib.c
1851
return (PCIB_ALLOC_MSIX(device_get_parent(pcib), dev, irq));
sys/dev/hyperv/pcib/vmbus_pcib.c
1861
return (PCIB_RELEASE_MSIX(device_get_parent(pcib), dev, irq));
sys/dev/hyperv/pcib/vmbus_pcib.c
1908
ret = PCIB_MAP_MSI(device_get_parent(pcib), child, irq,
sys/dev/hyperv/pcib/vmbus_pcib.c
1924
vcpu_id = VMBUS_GET_VCPU_ID(device_get_parent(pcib), pcib, cpu);
sys/dev/hyperv/pcib/vmbus_pcib.c
1928
vcpu_id = VMBUS_GET_VCPU_ID(device_get_parent(pcib), pcib, cpu);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
2483
device_t parent = device_get_parent(dev);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
570
version = VMBUS_GET_VERSION(device_get_parent(sc->hs_dev), sc->hs_dev);
sys/dev/hyperv/utilities/vmbus_ic.c
192
device_t bus = device_get_parent(dev);
sys/dev/hyperv/vmbus/vmbus.c
1068
device_t parent = device_get_parent(dev);
sys/dev/hyperv/vmbus/vmbus.c
1088
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/dev/hyperv/vmbus/vmbus.c
1096
return (PCIB_RELEASE_MSI(device_get_parent(bus), dev, count, irqs));
sys/dev/hyperv/vmbus/vmbus.c
1103
return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq));
sys/dev/hyperv/vmbus/vmbus.c
1110
return (PCIB_RELEASE_MSIX(device_get_parent(bus), dev, irq));
sys/dev/hyperv/vmbus/vmbus.c
1118
return (PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data));
sys/dev/hyperv/vmbus/vmbus.c
1233
parent = device_get_parent(dev);
sys/dev/hyperv/vmbus/vmbus.c
1235
acpi0 = device_get_parent(parent);
sys/dev/hyperv/vmbus/vmbus.c
1675
bus_release_resource(device_get_parent(dev), SYS_RES_IRQ, sc->vector,
sys/dev/hyperv/vmbus/vmbus_res.c
75
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, id, NULL);
sys/dev/ichiic/ig4_acpi.c
75
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, ig4iic_ids, NULL);
sys/dev/ichiic/ig4_acpi.c
93
error = ACPI_ID_PROBE(device_get_parent(dev), dev, ig4iic_ids, &str);
sys/dev/ichwd/ichwd.c
568
isab = device_get_parent(isa);
sys/dev/ichwd/ichwd.c
597
isab = device_get_parent(isa);
sys/dev/ichwd/ichwd.c
738
if (ichwd_find_ich_lpc_bridge(device_get_parent(dev), &id_p) == NULL &&
sys/dev/ichwd/ichwd.c
739
ichwd_find_smb_dev(device_get_parent(dev), &id_p) == NULL)
sys/dev/ichwd/ichwd.c
756
smb = ichwd_find_smb_dev(device_get_parent(dev), &id_p);
sys/dev/ichwd/ichwd.c
785
isab = device_get_parent(device_get_parent(dev));
sys/dev/ichwd/ichwd.c
830
ich = ichwd_find_ich_lpc_bridge(device_get_parent(dev), &id_p);
sys/dev/ida/ida_disk.c
177
parent = device_get_parent(dev);
sys/dev/iicbus/acpi_iicbus.c
181
device_t parent = device_get_parent(dev);
sys/dev/iicbus/acpi_iicbus.c
330
handle = acpi_get_handle(device_get_parent(sc->super_sc.dev));
sys/dev/iicbus/acpi_iicbus.c
348
handle = acpi_get_handle(device_get_parent(sc->super_sc.dev));
sys/dev/iicbus/acpi_iicbus.c
492
acpi_get_handle(device_get_parent(iicbus)))
sys/dev/iicbus/acpi_iicbus.c
505
if (device_get_parent(acpi_child) != acpi0)
sys/dev/iicbus/acpi_iicbus.c
569
controller = device_get_parent(dev);
sys/dev/iicbus/controller/qcom/geni_iic_acpi.c
66
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, geniiic_ids, NULL);
sys/dev/iicbus/controller/qcom/geni_iic_acpi.c
84
error = ACPI_ID_PROBE(device_get_parent(dev), dev, geniiic_ids, &str);
sys/dev/iicbus/controller/vybrid/vf_i2c_acpi.c
69
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, vf_i2c_ids, NULL);
sys/dev/iicbus/if_ic.c
196
device_t parent = device_get_parent(icdev);
sys/dev/iicbus/if_ic.c
358
device_t parent = device_get_parent(icdev);
sys/dev/iicbus/iic.c
217
parent = device_get_parent(iicdev);
sys/dev/iicbus/iic.c
236
parent = device_get_parent(priv->sc->sc_dev);
sys/dev/iicbus/iic.c
292
parent = device_get_parent(priv->sc->sc_dev);
sys/dev/iicbus/iic.c
363
parent = device_get_parent(iicdev);
sys/dev/iicbus/iic.c
486
parent = device_get_parent(iicdev);
sys/dev/iicbus/iicbb.c
198
error = IICBB_RESET(device_get_parent(bus), IIC_FASTEST, 0, &oldaddr);
sys/dev/iicbus/iicbb.c
204
IICBB_RESET(device_get_parent(bus), IIC_FASTEST, oldaddr, NULL);
sys/dev/iicbus/iicbb.c
228
#define I2C_GETSDA(dev) (IICBB_GETSDA(device_get_parent(dev)))
sys/dev/iicbus/iicbb.c
229
#define I2C_SETSDA(dev, x) (IICBB_SETSDA(device_get_parent(dev), x))
sys/dev/iicbus/iicbb.c
230
#define I2C_GETSCL(dev) (IICBB_GETSCL(device_get_parent(dev)))
sys/dev/iicbus/iicbb.c
231
#define I2C_SETSCL(dev, x) (IICBB_SETSCL(device_get_parent(dev), x))
sys/dev/iicbus/iicbb.c
414
return (IICBB_CALLBACK(device_get_parent(dev), index, data));
sys/dev/iicbus/iicbb.c
421
return (IICBB_RESET(device_get_parent(dev), speed, addr, oldaddr));
sys/dev/iicbus/iicbb.c
561
error = IICBB_PRE_XFER(device_get_parent(dev));
sys/dev/iicbus/iicbb.c
567
IICBB_POST_XFER(device_get_parent(dev));
sys/dev/iicbus/iichid.c
1245
iicbus_request_bus(device_get_parent(dev), dev, IIC_WAIT);
sys/dev/iicbus/iichid.c
1250
iicbus_release_bus(device_get_parent(dev), dev);
sys/dev/iicbus/iichid.c
535
parent = device_get_parent(sc->dev);
sys/dev/iicbus/iichid.c
590
parent = device_get_parent(sc->dev);
sys/dev/iicbus/iichid.c
639
parent = device_get_parent(sc->dev);
sys/dev/iicbus/iichid.c
783
parent = device_get_parent(sc->dev);
sys/dev/iicbus/iichid.c
835
parent = device_get_parent(sc->dev);
sys/dev/iicbus/iichid.c
937
parent = device_get_parent(sc->dev);
sys/dev/iicbus/iiconf.c
179
error = IICBUS_CALLBACK(device_get_parent(bus),
sys/dev/iicbus/iiconf.c
221
IICBUS_CALLBACK(device_get_parent(bus), IIC_RELEASE_BUS,
sys/dev/iicbus/iiconf.c
259
if (!(error = IICBUS_START(device_get_parent(bus), slave, timeout)))
sys/dev/iicbus/iiconf.c
281
if (!(error = IICBUS_REPEATED_START(device_get_parent(bus), slave, timeout)))
sys/dev/iicbus/iiconf.c
303
error = IICBUS_STOP(device_get_parent(bus));
sys/dev/iicbus/iiconf.c
326
return (IICBUS_WRITE(device_get_parent(bus), buf, len, sent, timeout));
sys/dev/iicbus/iiconf.c
344
return (IICBUS_READ(device_get_parent(bus), buf, len, read, last, delay));
sys/dev/iicbus/iiconf.c
442
return (IICBUS_TRANSFER(device_get_parent(bus), msgs, nmsgs));
sys/dev/iicbus/iiconf.c
452
bus = device_get_parent(dev);
sys/dev/iicbus/iiconf.h
134
(IICBUS_RESET(device_get_parent(bus), speed, addr, oldaddr))
sys/dev/iicbus/iicsmb.c
251
device_t parent = device_get_parent(dev);
sys/dev/iicbus/iicsmb.c
449
device_t parent = device_get_parent(dev);
sys/dev/iicbus/mux/ltc430x.c
213
if ((err = iicmux_attach(dev, device_get_parent(dev), numchan)) == 0)
sys/dev/iicbus/mux/pca9547.c
120
rv = iicmux_attach(sc->dev, device_get_parent(dev), 8);
sys/dev/iicbus/mux/pca954x.c
215
error = iicmux_attach(dev, device_get_parent(dev), descr->numchannels);
sys/dev/iicbus/rtc/ds13rtc.c
530
sc->busdev = device_get_parent(dev);
sys/dev/iicbus/rtc/isl12xx.c
210
sc->busdev = device_get_parent(sc->dev);
sys/dev/iicbus/rtc/nxprtc.c
950
sc->busdev = device_get_parent(dev);
sys/dev/iicbus/rtc/rtc8583.c
167
sc->busdev = device_get_parent(sc->dev);
sys/dev/iicbus/rtc/rv3032.c
354
sc->busdev = device_get_parent(sc->dev);
sys/dev/imcsmb/imcsmb.c
88
sc->imcsmb_pci = device_get_parent(dev);
sys/dev/intel/spi_acpi.c
62
if (ACPI_ID_PROBE(device_get_parent(dev), dev, intelspi_ids, &hid) > 0)
sys/dev/iommu/busdma_iommu.c
152
pci = device_get_parent(l);
sys/dev/iommu/busdma_iommu.c
153
pcib = device_get_parent(pci);
sys/dev/iommu/busdma_iommu.c
199
pcip = device_get_parent(pcib);
sys/dev/iommu/busdma_iommu.c
200
pcibp = device_get_parent(pcip);
sys/dev/ipmi/ipmi.c
1074
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/dev/ipmi/ipmi_acpi.c
151
device_get_name(device_get_parent(dev)));
sys/dev/ipmi/ipmi_acpi.c
68
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, ipmi_ids, NULL);
sys/dev/ipmi/ipmi_isa.c
208
device_get_name(device_get_parent(dev)));
sys/dev/ipmi/ipmi_pci.c
122
device_get_name(device_get_parent(dev)));
sys/dev/ipmi/ipmi_smbus.c
100
(long long)info.address, device_get_name(device_get_parent(dev)));
sys/dev/ipmi/ipmi_smbus.c
101
error = ipmi_ssif_attach(sc, device_get_parent(dev), info.address);
sys/dev/ips/ips_disk.c
138
adapter = device_get_parent(dev);
sys/dev/isci/isci_controller.c
610
device_t parent = device_get_parent(isci->device);
sys/dev/ixgbe/if_ix.c
2479
dev = device_get_parent(device_get_parent(dev));
sys/dev/ixgbe/if_ix.c
2484
dev = device_get_parent(device_get_parent(dev));
sys/dev/jedec_dimm/jedec_dimm.c
283
sc->smbus = device_get_parent(dev);
sys/dev/jedec_dimm/jedec_dimm.c
996
smbus = device_get_parent(dev);
sys/dev/mdio/mdio.c
67
return (MDIO_READREG(device_get_parent(dev), phy, reg));
sys/dev/mdio/mdio.c
74
return (MDIO_WRITEREG(device_get_parent(dev), phy, reg, val));
sys/dev/mdio/mdio.c
81
return (MDIO_READEXTREG(device_get_parent(dev), phy, devad, reg));
sys/dev/mdio/mdio.c
89
return (MDIO_WRITEEXTREG(device_get_parent(dev), phy, devad, reg, val));
sys/dev/mfi/mfi_cam.c
133
mfisc = device_get_softc(device_get_parent(dev));
sys/dev/mfi/mfi_disk.c
108
sc->ld_controller = device_get_softc(device_get_parent(dev));
sys/dev/mfi/mfi_syspd.c
110
sc->pd_controller = device_get_softc(device_get_parent(dev));
sys/dev/mii/gentbi.c
125
parent = device_get_parent(dev);
sys/dev/mii/micphy.c
266
miibus = device_get_parent(dev);
sys/dev/mii/micphy.c
267
parent = device_get_parent(miibus);
sys/dev/mii/mii.c
295
parent = device_get_parent(dev);
sys/dev/mii/mii.c
304
parent = device_get_parent(dev);
sys/dev/mii/mii.c
314
parent = device_get_parent(dev);
sys/dev/mii/mii.c
328
parent = device_get_parent(dev);
sys/dev/mii/mii.c
351
MIIBUS_MEDIAINIT(device_get_parent(dev));
sys/dev/mii/mii.c
646
return (strcmp(device_get_name(device_get_parent(mii->mii_dev)),
sys/dev/mii/mii.c
654
return (strcmp(device_get_name(device_get_parent(
sys/dev/mii/mii.c
655
device_get_parent(parent))), name) == 0);
sys/dev/mii/mii.c
662
return (device_get_softc(device_get_parent(mii->mii_dev)));
sys/dev/mii/mii.c
669
return (device_get_softc(device_get_parent(device_get_parent(parent))));
sys/dev/mii/mii_fdt.c
192
miibus = device_get_parent(phydev);
sys/dev/mii/mii_fdt.c
193
macdev = device_get_parent(miibus);
sys/dev/mii/mii_fdt.c
248
parent = device_get_parent(dev);
sys/dev/mii/mii_fdt.c
264
parent = device_get_parent(dev);
sys/dev/mii/mii_physubr.c
592
sc->mii_dev = device_get_parent(dev);
sys/dev/mlx/mlx_disk.c
217
parent = device_get_parent(dev);
sys/dev/mlx5/mlx5_core/mlx5_fwdump.c
344
bus = device_get_parent(dev);
sys/dev/mlx5/mlx5_core/mlx5_fwdump.c
345
error = BUS_RESET_CHILD(device_get_parent(bus), bus,
sys/dev/mmc/mmc.c
2372
if (device_get_parent(dev) != busdev)
sys/dev/mmc/mmc.c
2421
KASSERT(device_get_parent(dev) == busdev,
sys/dev/mmc/mmc.c
2439
KASSERT(device_get_parent(dev) == busdev,
sys/dev/mmc/mmc.c
323
err = MMCBR_ACQUIRE_HOST(device_get_parent(busdev), busdev);
sys/dev/mmc/mmc.c
422
return (MMCBR_RELEASE_HOST(device_get_parent(busdev), busdev));
sys/dev/mmc/mmc.c
470
MMCBR_REQUEST(device_get_parent(sc->dev), sc->dev, req);
sys/dev/mmc/mmc.c
509
if (device_get_parent(dev) == busdev)
sys/dev/mmc/mmcbrvar.h
111
if (__predict_false(BUS_READ_IVAR(device_get_parent(dev), dev,
sys/dev/mmc/mmcbrvar.h
122
if (__predict_false(BUS_READ_IVAR(device_get_parent(dev), dev,
sys/dev/mmc/mmcbrvar.h
135
return (MMCBR_UPDATE_IOS(device_get_parent(dev), dev));
sys/dev/mmc/mmcbrvar.h
142
return (MMCBR_TUNE(device_get_parent(dev), dev, hs400));
sys/dev/mmc/mmcbrvar.h
149
return (MMCBR_RETUNE(device_get_parent(dev), dev, reset));
sys/dev/mmc/mmcbrvar.h
156
return (MMCBR_SWITCH_VCCQ(device_get_parent(dev), dev));
sys/dev/mmc/mmcbrvar.h
163
return (MMCBR_GET_RO(device_get_parent(dev), dev));
sys/dev/mmc/mmcsd.c
242
sc->mmcbus = mmcbus = device_get_parent(dev);
sys/dev/mmc/mmcspi.c
450
sc->busdev = device_get_parent(dev);
sys/dev/msk/if_msk.c
1570
sc = device_get_softc(device_get_parent(dev));
sys/dev/msk/if_msk.c
1600
sc = device_get_softc(device_get_parent(dev));
sys/dev/mvs/mvs.c
115
struct mvs_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/mvs/mvs.c
2390
parent = device_get_parent(dev);
sys/dev/mvs/mvs.c
514
MVS_EDMA(device_get_parent(dev), dev, mode);
sys/dev/mxge/if_mxge.c
347
pdev = device_get_parent(device_get_parent(sc->dev));
sys/dev/mxge/if_mxge.c
401
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/mxge/if_mxge.c
403
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/mxge/if_mxge.c
405
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/mxge/if_mxge.c
407
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/mxge/if_mxge.c
409
BUS_READ_IVAR(device_get_parent(pdev), pdev,
sys/dev/nctgpio/nctgpio.c
1157
dev_8 = superio_find_dev(device_get_parent(dev), SUPERIO_DEV_WDT, 8);
sys/dev/nfsmb/nfsmb.c
180
parent = device_get_parent(dev);
sys/dev/nfsmb/nfsmb.c
280
parent = device_get_parent(dev);
sys/dev/ntb/ntb.c
253
return (NTB_PORT_NUMBER(device_get_parent(ntb)));
sys/dev/ntb/ntb.c
259
return (NTB_PEER_PORT_COUNT(device_get_parent(ntb)));
sys/dev/ntb/ntb.c
265
return (NTB_PEER_PORT_NUMBER(device_get_parent(ntb), pidx));
sys/dev/ntb/ntb.c
271
return (NTB_PEER_PORT_IDX(device_get_parent(ntb), port));
sys/dev/ntb/ntb.c
278
return (NTB_LINK_IS_UP(device_get_parent(ntb), speed, width));
sys/dev/ntb/ntb.c
285
struct ntb_child **cpp = device_get_softc(device_get_parent(nc->dev));
sys/dev/ntb/ntb.c
295
return (NTB_LINK_ENABLE(device_get_parent(ntb), speed, width));
sys/dev/ntb/ntb.c
302
struct ntb_child **cpp = device_get_softc(device_get_parent(nc->dev));
sys/dev/ntb/ntb.c
312
return (NTB_LINK_DISABLE(device_get_parent(ntb)));
sys/dev/ntb/ntb.c
320
return (nc->enabled && NTB_LINK_ENABLED(device_get_parent(ntb)));
sys/dev/ntb/ntb.c
387
return (NTB_MW_GET_RANGE(device_get_parent(ntb), mw_idx + nc->mwoff,
sys/dev/ntb/ntb.c
396
return (NTB_MW_SET_TRANS(device_get_parent(ntb), mw_idx + nc->mwoff,
sys/dev/ntb/ntb.c
405
return (NTB_MW_CLEAR_TRANS(device_get_parent(ntb), mw_idx + nc->mwoff));
sys/dev/ntb/ntb.c
413
return (NTB_MW_GET_WC(device_get_parent(ntb), mw_idx + nc->mwoff, mode));
sys/dev/ntb/ntb.c
421
return (NTB_MW_SET_WC(device_get_parent(ntb), mw_idx + nc->mwoff, mode));
sys/dev/ntb/ntb.c
439
NTB_SPAD_WRITE(device_get_parent(ntb), i + nc->spadoff, 0);
sys/dev/ntb/ntb.c
447
return (NTB_SPAD_WRITE(device_get_parent(ntb), idx + nc->spadoff, val));
sys/dev/ntb/ntb.c
455
return (NTB_SPAD_READ(device_get_parent(ntb), idx + nc->spadoff, val));
sys/dev/ntb/ntb.c
463
return (NTB_PEER_SPAD_WRITE(device_get_parent(ntb), idx + nc->spadoff,
sys/dev/ntb/ntb.c
472
return (NTB_PEER_SPAD_READ(device_get_parent(ntb), idx + nc->spadoff,
sys/dev/ntb/ntb.c
488
return (NTB_DB_VECTOR_COUNT(device_get_parent(ntb)));
sys/dev/ntb/ntb.c
496
return ((NTB_DB_VECTOR_MASK(device_get_parent(ntb), vector)
sys/dev/ntb/ntb.c
504
return (NTB_PEER_DB_ADDR(device_get_parent(ntb), db_addr, db_size));
sys/dev/ntb/ntb.c
512
return (NTB_DB_CLEAR(device_get_parent(ntb), bits << nc->dboff));
sys/dev/ntb/ntb.c
520
return (NTB_DB_CLEAR_MASK(device_get_parent(ntb), bits << nc->dboff));
sys/dev/ntb/ntb.c
528
return ((NTB_DB_READ(device_get_parent(ntb)) >> nc->dboff)
sys/dev/ntb/ntb.c
537
return (NTB_DB_SET_MASK(device_get_parent(ntb), bits << nc->dboff));
sys/dev/ntb/ntb.c
545
return (NTB_PEER_DB_SET(device_get_parent(ntb), bits << nc->dboff));
sys/dev/ntb/ntb_transport.c
704
struct ntb_transport_ctx *nt = device_get_softc(device_get_parent(dev));
sys/dev/nvd/nvd.c
548
pdev = device_get_parent(pdev);
sys/dev/nvdimm/nvdimm_acpi.c
168
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, nvdimm_root_id, NULL);
sys/dev/nvdimm/nvdimm_e820.c
367
parent = device_get_parent(dev);
sys/dev/nvme/nvme_sim.c
195
dev = device_get_parent(dev);
sys/dev/nvme/nvme_sim.c
327
if (!NVME_IS_STORAGE_DEVICE(device_get_parent(dev)))
sys/dev/nvmf/host/nvmf_ctldev.c
84
if (device_get_parent(dev) != root_bus)
sys/dev/ofw/ofw_bus.h
42
return (OFW_BUS_GET_COMPAT(device_get_parent(dev), dev));
sys/dev/ofw/ofw_bus.h
49
return (OFW_BUS_GET_MODEL(device_get_parent(dev), dev));
sys/dev/ofw/ofw_bus.h
56
return (OFW_BUS_GET_NAME(device_get_parent(dev), dev));
sys/dev/ofw/ofw_bus.h
63
return (OFW_BUS_GET_NODE(device_get_parent(dev), dev));
sys/dev/ofw/ofw_bus.h
70
return (OFW_BUS_GET_TYPE(device_get_parent(dev), dev));
sys/dev/ofw/ofw_bus_subr.c
181
obd = OFW_BUS_GET_DEVINFO(device_get_parent(dev), dev);
sys/dev/ofw/ofw_cpu.c
260
psc = device_get_softc(device_get_parent(dev));
sys/dev/ofw/ofw_cpu.c
393
psc = device_get_softc(device_get_parent(dev));
sys/dev/ofw/ofw_pci.c
75
parent = device_get_parent(dev);
sys/dev/ofw/ofw_pci.c
88
return OFW_BUS_GET_DEVINFO(device_get_parent(bus), dev);
sys/dev/ofw/ofwbus.c
141
passthrough = (device_get_parent(child) != bus);
sys/dev/ofw/ofwbus.c
179
passthrough = (device_get_parent(child) != bus);
sys/dev/ow/ow.c
241
lldev = device_get_parent(ndev);
sys/dev/ow/ow.c
430
device_t lldev = device_get_parent(dev);
sys/dev/ow/owc_gpiobus.c
119
strcmp("gpiobus", device_get_name(device_get_parent(dev))) == 0)
sys/dev/ow/own.h
40
device_t ndev = device_get_parent(pdev);
sys/dev/ow/own.h
54
device_t ndev = device_get_parent(pdev);
sys/dev/ow/own.h
62
device_t ndev = device_get_parent(pdev);
sys/dev/ow/own.h
70
device_t ndev = device_get_parent(pdev);
sys/dev/p2sb/lewisburg_gpio.c
144
lbggpiocm_pin_setflags(device_get_parent(dev), dev, pin, flags);
sys/dev/p2sb/lewisburg_gpio.c
161
return (lbggpiocm_pin_get(device_get_parent(dev), dev, pin, value));
sys/dev/p2sb/lewisburg_gpio.c
172
return (lbggpiocm_pin_set(device_get_parent(dev), dev, pin, value));
sys/dev/p2sb/lewisburg_gpio.c
183
return (lbggpiocm_pin_toggle(device_get_parent(dev), dev, pin));
sys/dev/p2sb/lewisburg_gpio.c
193
sc->npins = lbggpiocm_get_group_npins(device_get_parent(dev), dev);
sys/dev/p2sb/lewisburg_gpio.c
194
sc->grpname = lbggpiocm_get_group_name(device_get_parent(dev), dev);
sys/dev/p2sb/lewisburg_gpiocm.c
280
sc->p2sb = device_get_parent(dev);
sys/dev/pccard/pccardvar.h
119
return CARD_DO_PRODUCT_LOOKUP(device_get_parent(dev), dev,
sys/dev/pccard/pccardvar.h
162
return (CARD_CIS_SCAN(device_get_parent(dev), dev, fct, arg));
sys/dev/pccard/pccardvar.h
168
return (CARD_ATTR_READ(device_get_parent(dev), dev, offset, val));
sys/dev/pccard/pccardvar.h
174
return (CARD_ATTR_WRITE(device_get_parent(dev), dev, offset, val));
sys/dev/pccard/pccardvar.h
180
return (CARD_CCR_READ(device_get_parent(dev), dev, offset, val));
sys/dev/pccard/pccardvar.h
186
return (CARD_CCR_WRITE(device_get_parent(dev), dev, offset, val));
sys/dev/pccard/pccardvar.h
211
return BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/dev/pccbb/pccbb.c
1015
PCI_ENABLE_IO(device_get_parent(brdev), brdev, type);
sys/dev/pccbb/pccbb.c
1153
ret = BUS_ACTIVATE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccbb/pccbb.c
1167
ret = BUS_DEACTIVATE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccbb/pccbb.c
1219
res = BUS_ALLOC_RESOURCE(device_get_parent(brdev), child, type, rid,
sys/dev/pccbb/pccbb.c
1248
return (BUS_RELEASE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccbb/pccbb.c
1381
res = BUS_ALLOC_RESOURCE(device_get_parent(brdev), child, type, rid,
sys/dev/pccbb/pccbb.c
1409
return (BUS_RELEASE_RESOURCE(device_get_parent(brdev), child,
sys/dev/pccbb/pccbb.c
344
err = BUS_SETUP_INTR(device_get_parent(dev), child, irq, flags,
sys/dev/pccbb/pccbb.c
365
err = BUS_TEARDOWN_INTR(device_get_parent(dev), child, irq,
sys/dev/pccbb/pccbb_pci.c
285
parent = device_get_parent(brdev);
sys/dev/pccbb/pccbb_pci.c
816
return (PCIB_READ_CONFIG(device_get_parent(device_get_parent(brdev)),
sys/dev/pccbb/pccbb_pci.c
827
PCIB_WRITE_CONFIG(device_get_parent(device_get_parent(brdev)),
sys/dev/pci/hostb_pci.c
192
return (PCI_ASSIGN_INTERRUPT(device_get_parent(dev), dev));
sys/dev/pci/hostb_pci.c
90
return (BUS_READ_IVAR(device_get_parent(dev), dev, which, result));
sys/dev/pci/isa_pci.c
174
if (device_get_parent(child) != dev)
sys/dev/pci/isa_pci.c
197
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child, type, rid,
sys/dev/pci/isa_pci.c
207
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
1412
pci_read_vpd(device_get_parent(dev), cfg);
sys/dev/pci/pci.c
1431
pci_read_vpd(device_get_parent(dev), cfg);
sys/dev/pci/pci.c
1451
pci_read_vpd(device_get_parent(device_get_parent(dev)), cfg);
sys/dev/pci/pci.c
1885
error = PCIB_ALLOC_MSIX(device_get_parent(dev), child, &irq);
sys/dev/pci/pci.c
2095
PCIB_RELEASE_MSIX(device_get_parent(dev), child,
sys/dev/pci/pci.c
2175
PCIB_RELEASE_MSIX(device_get_parent(dev), child,
sys/dev/pci/pci.c
2482
error = PCIB_MAP_MSI(device_get_parent(bus),
sys/dev/pci/pci.c
2507
error = PCIB_MAP_MSI(device_get_parent(bus),
sys/dev/pci/pci.c
2676
error = PCIB_ALLOC_MSI(device_get_parent(dev), child, actual,
sys/dev/pci/pci.c
2785
PCIB_RELEASE_MSI(device_get_parent(dev), child, msi->msi_alloc, irqs);
sys/dev/pci/pci.c
4244
device_t pcib = device_get_parent(dev);
sys/dev/pci/pci.c
4291
device_t pcib = device_get_parent(dev);
sys/dev/pci/pci.c
4391
pcib = device_get_parent(bus);
sys/dev/pci/pci.c
4671
pcib = device_get_parent(dev);
sys/dev/pci/pci.c
4853
if (device_get_parent(child) != dev) {
sys/dev/pci/pci.c
4875
error = PCIB_MAP_MSI(device_get_parent(dev),
sys/dev/pci/pci.c
4899
error = PCIB_MAP_MSI(device_get_parent(dev),
sys/dev/pci/pci.c
4956
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
5704
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
5705
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
sys/dev/pci/pci.c
5735
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
5780
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
5828
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
5868
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
5897
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
5926
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
5995
if (device_get_parent(child) != dev)
sys/dev/pci/pci.c
6033
if (device_get_parent(dev) == bus) {
sys/dev/pci/pci.c
6091
return (PCIB_READ_CONFIG(device_get_parent(dev),
sys/dev/pci/pci.c
6102
PCIB_WRITE_CONFIG(device_get_parent(dev),
sys/dev/pci/pci.c
6135
device_t parent = device_get_parent(bus);
sys/dev/pci/pci.c
6155
return (PCIB_ROUTE_INTERRUPT(device_get_parent(dev), child,
sys/dev/pci/pci.c
6530
return (PCIB_GET_ID(device_get_parent(dev), child, type, id));
sys/dev/pci/pci.c
6548
bus = device_get_parent(dev);
sys/dev/pci/pci.c
6552
pcib = device_get_parent(bus);
sys/dev/pci/pci.c
6839
if (dev == device_get_parent(child))
sys/dev/pci/pci.c
6848
if (dev == device_get_parent(child))
sys/dev/pci/pci.c
6858
if (dev == NULL || device_get_parent(child) != dev)
sys/dev/pci/pci.c
6995
if (device_get_parent(dev) == NULL)
sys/dev/pci/pci.c
6998
return (device_get_devclass(device_get_parent(dev)) == pci_class);
sys/dev/pci/pci_iov.c
110
return (PCI_IOV_ATTACH(device_get_parent(dev), dev, pf_schema,
sys/dev/pci/pci_iov.c
349
bus = device_get_parent(dev);
sys/dev/pci/pci_iov.c
446
if (!PCIB_ARI_ENABLED(device_get_parent(bus))) {
sys/dev/pci/pci_iov.c
586
pci_add_resources_ea(device_get_parent(dev), dev, 1);
sys/dev/pci/pci_iov.c
636
bus = device_get_parent(dev);
sys/dev/pci/pci_iov.c
695
bus = device_get_parent(dev);
sys/dev/pci/pci_iov.c
738
device_t pcib = device_get_parent(bus);
sys/dev/pci/pci_iov.c
890
bus = device_get_parent(dev);
sys/dev/pci/pci_iov.h
40
return (PCI_IOV_ATTACH(device_get_parent(dev), dev, pf_schema,
sys/dev/pci/pci_iov.h
47
return (PCI_IOV_DETACH(device_get_parent(dev), dev));
sys/dev/pci/pci_pci.c
203
PCI_ENABLE_IO(device_get_parent(sc->dev), sc->dev, type);
sys/dev/pci/pci_pci.c
2460
return(PCIB_READ_CONFIG(device_get_parent(device_get_parent(dev)), b, s,
sys/dev/pci/pci_pci.c
2475
PCIB_WRITE_CONFIG(device_get_parent(device_get_parent(dev)), b, s, f,
sys/dev/pci/pci_pci.c
2506
bus = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2507
intnum = PCIB_ROUTE_INTERRUPT(device_get_parent(bus), pcib, parent_intpin + 1);
sys/dev/pci/pci_pci.c
2524
bus = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2525
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/dev/pci/pci_pci.c
2535
bus = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2536
return (PCIB_RELEASE_MSI(device_get_parent(bus), dev, count, irqs));
sys/dev/pci/pci_pci.c
2548
bus = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2549
return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq));
sys/dev/pci/pci_pci.c
2558
bus = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2559
return (PCIB_RELEASE_MSIX(device_get_parent(bus), dev, irq));
sys/dev/pci/pci_pci.c
2570
bus = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2571
error = PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data);
sys/dev/pci/pci_pci.c
2585
bus = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2608
bus_dev = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2609
return (PCIB_GET_ID(device_get_parent(bus_dev), dev, type, id));
sys/dev/pci/pci_pci.c
2735
bus = device_get_parent(pcib);
sys/dev/pci/pci_pci.c
2736
return (PCIB_REQUEST_FEATURE(device_get_parent(bus), dev, feature));
sys/dev/pci/pci_pci.c
2746
if (dev == NULL || device_get_parent(child) != dev)
sys/dev/pci/pcib_support.c
61
return (PCI_GET_ID(device_get_parent(pcib), dev, type, id));
sys/dev/pci/pcivar.h
402
return PCI_READ_CONFIG(device_get_parent(dev), dev, reg, width);
sys/dev/pci/pcivar.h
408
PCI_WRITE_CONFIG(device_get_parent(dev), dev, reg, val, width);
sys/dev/pci/pcivar.h
446
return(PCI_ENABLE_BUSMASTER(device_get_parent(dev), dev));
sys/dev/pci/pcivar.h
452
return(PCI_DISABLE_BUSMASTER(device_get_parent(dev), dev));
sys/dev/pci/pcivar.h
458
return(PCI_ENABLE_IO(device_get_parent(dev), dev, space));
sys/dev/pci/pcivar.h
464
return(PCI_DISABLE_IO(device_get_parent(dev), dev, space));
sys/dev/pci/pcivar.h
470
return(PCI_GET_VPD_IDENT(device_get_parent(dev), dev, identptr));
sys/dev/pci/pcivar.h
476
return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, vptr));
sys/dev/pci/pcivar.h
536
return PCI_SET_POWERSTATE(device_get_parent(dev), dev, state);
sys/dev/pci/pcivar.h
542
return PCI_GET_POWERSTATE(device_get_parent(dev), dev);
sys/dev/pci/pcivar.h
548
return (PCI_FIND_CAP(device_get_parent(dev), dev, capability, capreg));
sys/dev/pci/pcivar.h
554
return (PCI_FIND_NEXT_CAP(device_get_parent(dev), dev, capability, start,
sys/dev/pci/pcivar.h
561
return (PCI_FIND_EXTCAP(device_get_parent(dev), dev, capability, capreg));
sys/dev/pci/pcivar.h
567
return (PCI_FIND_NEXT_EXTCAP(device_get_parent(dev), dev, capability,
sys/dev/pci/pcivar.h
574
return (PCI_FIND_HTCAP(device_get_parent(dev), dev, capability, capreg));
sys/dev/pci/pcivar.h
580
return (PCI_FIND_NEXT_HTCAP(device_get_parent(dev), dev, capability,
sys/dev/pci/pcivar.h
587
return (PCI_ALLOC_MSI(device_get_parent(dev), dev, count));
sys/dev/pci/pcivar.h
593
return (PCI_ALLOC_MSIX(device_get_parent(dev), dev, count));
sys/dev/pci/pcivar.h
599
PCI_ENABLE_MSI(device_get_parent(dev), dev, address, data);
sys/dev/pci/pcivar.h
605
PCI_ENABLE_MSIX(device_get_parent(dev), dev, index, address, data);
sys/dev/pci/pcivar.h
611
PCI_DISABLE_MSI(device_get_parent(dev), dev);
sys/dev/pci/pcivar.h
617
return (PCI_REMAP_MSIX(device_get_parent(dev), dev, count, vectors));
sys/dev/pci/pcivar.h
623
return (PCI_RELEASE_MSI(device_get_parent(dev), dev));
sys/dev/pci/pcivar.h
629
return (PCI_MSI_COUNT(device_get_parent(dev), dev));
sys/dev/pci/pcivar.h
635
return (PCI_MSIX_COUNT(device_get_parent(dev), dev));
sys/dev/pci/pcivar.h
641
return (PCI_MSIX_PBA_BAR(device_get_parent(dev), dev));
sys/dev/pci/pcivar.h
647
return (PCI_MSIX_TABLE_BAR(device_get_parent(dev), dev));
sys/dev/pci/pcivar.h
653
return (PCI_GET_ID(device_get_parent(dev), dev, type, id));
sys/dev/pci/pcivar.h
676
return (PCI_CHILD_ADDED(device_get_parent(dev), dev));
sys/dev/pci/vga_pci.c
113
pcib = device_get_parent(device_get_parent(dev));
sys/dev/pci/vga_pci.c
187
pcib = device_get_parent(device_get_parent(dev));
sys/dev/pci/vga_pci.c
385
return (BUS_READ_IVAR(device_get_parent(dev), dev, which, result));
sys/dev/pci/vga_pci.c
400
return (BUS_SETUP_INTR(device_get_parent(dev), dev, irq, flags,
sys/dev/pci/vga_pci.c
408
return (BUS_TEARDOWN_INTR(device_get_parent(dev), dev, irq, cookie));
sys/dev/pci/vga_pci.c
574
return (PCI_ASSIGN_INTERRUPT(device_get_parent(dev), dev));
sys/dev/ppbus/if_plip.c
284
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/if_plip.c
344
device_t ppbus = device_get_parent(sc->sc_dev);
sys/dev/ppbus/if_plip.c
361
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/if_plip.c
399
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/if_plip.c
524
device_t ppbus = device_get_parent(sc->sc_dev);
sys/dev/ppbus/if_plip.c
678
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpbb.c
135
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpbb.c
145
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpbb.c
157
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpbb.c
169
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpbb.c
182
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpbb.c
195
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpbb.c
222
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpbb.c
97
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpt.c
193
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpt.c
214
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpt.c
296
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpt.c
362
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpt.c
421
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpt.c
447
ppbus = device_get_parent(dev);
sys/dev/ppbus/lpt.c
490
ppbus = device_get_parent(lptdev);
sys/dev/ppbus/lpt.c
605
device_t ppbus = device_get_parent(lptdev);
sys/dev/ppbus/lpt.c
654
device_t ppbus = device_get_parent(dev);
sys/dev/ppbus/lpt.c
713
device_t ppbus = device_get_parent(lptdev);
sys/dev/ppbus/lpt.c
766
device_t ppbus = device_get_parent(lptdev);
sys/dev/ppbus/lpt.c
863
device_t ppbus = device_get_parent(lptdev);
sys/dev/ppbus/lpt.c
922
ppbus = device_get_parent(sc->sc_dev);
sys/dev/ppbus/pcfclock.c
158
ppbus = device_get_parent(pcfclockdev);
sys/dev/ppbus/pcfclock.c
172
device_t ppbus = device_get_parent(pcfclockdev);
sys/dev/ppbus/pcfclock.c
186
device_t ppbus = device_get_parent(pcfclockdev);
sys/dev/ppbus/pcfclock.c
228
device_t ppbus = device_get_parent(pcfclockdev);
sys/dev/ppbus/pcfclock.c
267
device_t ppbus = device_get_parent(pcfclockdev);
sys/dev/ppbus/pcfclock.c
303
ppbus = device_get_parent(sc->dev);
sys/dev/ppbus/ppb_base.c
101
BUS_READ_IVAR(device_get_parent(bus), bus, PPC_IVAR_EPP_PROTO, &protocol);
sys/dev/ppbus/ppb_base.c
132
if (PPBUS_SETMODE(device_get_parent(bus), mode))
sys/dev/ppbus/ppb_base.c
151
return (PPBUS_WRITE(device_get_parent(bus), buf, len, how));
sys/dev/ppbus/ppb_base.c
164
return(PPBUS_RESET_EPP(device_get_parent(bus)));
sys/dev/ppbus/ppb_base.c
177
return (PPBUS_ECP_SYNC(device_get_parent(bus)));
sys/dev/ppbus/ppb_msq.c
292
device_get_parent(bus),
sys/dev/ppbus/ppb_msq.c
335
device_get_parent(bus), &mi)))
sys/dev/ppbus/ppbconf.c
385
error = BUS_READ_IVAR(device_get_parent(dev), dev, PPC_IVAR_LOCK,
sys/dev/ppbus/ppbconf.c
397
error = BUS_WRITE_IVAR(device_get_parent(dev), dev,
sys/dev/ppbus/ppbio.h
38
(PPBUS_IO(device_get_parent(dev), PPB_OUTSB_EPP, buf, cnt, 0))
sys/dev/ppbus/ppbio.h
40
(PPBUS_IO(device_get_parent(dev), PPB_OUTSW_EPP, buf, cnt, 0))
sys/dev/ppbus/ppbio.h
42
(PPBUS_IO(device_get_parent(dev), PPB_OUTSL_EPP, buf, cnt, 0))
sys/dev/ppbus/ppbio.h
45
(PPBUS_IO(device_get_parent(dev), PPB_INSB_EPP, buf, cnt, 0))
sys/dev/ppbus/ppbio.h
47
(PPBUS_IO(device_get_parent(dev), PPB_INSW_EPP, buf, cnt, 0))
sys/dev/ppbus/ppbio.h
49
(PPBUS_IO(device_get_parent(dev), PPB_INSL_EPP, buf, cnt, 0))
sys/dev/ppbus/ppbio.h
52
(PPBUS_IO(device_get_parent(dev), PPB_REPP_A, 0, 0, 0))
sys/dev/ppbus/ppbio.h
54
(PPBUS_IO(device_get_parent(dev), PPB_REPP_D, 0, 0, 0))
sys/dev/ppbus/ppbio.h
56
(PPBUS_IO(device_get_parent(dev), PPB_RECR, 0, 0, 0))
sys/dev/ppbus/ppbio.h
58
(PPBUS_IO(device_get_parent(dev), PPB_RFIFO, 0, 0, 0))
sys/dev/ppbus/ppbio.h
61
(PPBUS_IO(device_get_parent(dev), PPB_WEPP_A, 0, 0, byte))
sys/dev/ppbus/ppbio.h
63
(PPBUS_IO(device_get_parent(dev), PPB_WEPP_D, 0, 0, byte))
sys/dev/ppbus/ppbio.h
65
(PPBUS_IO(device_get_parent(dev), PPB_WECR, 0, 0, byte))
sys/dev/ppbus/ppbio.h
67
(PPBUS_IO(device_get_parent(dev), PPB_WFIFO, 0, 0, byte))
sys/dev/ppbus/ppbio.h
70
(PPBUS_IO(device_get_parent(dev), PPB_RDTR, 0, 0, 0))
sys/dev/ppbus/ppbio.h
72
(PPBUS_IO(device_get_parent(dev), PPB_RSTR, 0, 0, 0))
sys/dev/ppbus/ppbio.h
74
(PPBUS_IO(device_get_parent(dev), PPB_RCTR, 0, 0, 0))
sys/dev/ppbus/ppbio.h
77
(PPBUS_IO(device_get_parent(dev), PPB_WDTR, 0, 0, byte))
sys/dev/ppbus/ppbio.h
79
(PPBUS_IO(device_get_parent(dev), PPB_WSTR, 0, 0, byte))
sys/dev/ppbus/ppbio.h
81
(PPBUS_IO(device_get_parent(dev), PPB_WCTR, 0, 0, byte))
sys/dev/ppbus/ppi.c
110
device_t ppbus = device_get_parent(ppidev);
sys/dev/ppbus/ppi.c
122
device_t ppbus = device_get_parent(ppidev);
sys/dev/ppbus/ppi.c
230
device_t ppbus = device_get_parent(ppidev);
sys/dev/ppbus/ppi.c
289
device_t ppbus = device_get_parent(ppidev);
sys/dev/ppbus/ppi.c
315
device_t ppbus = device_get_parent(ppidev);
sys/dev/ppbus/ppi.c
357
device_t ppbus = device_get_parent(ppidev);
sys/dev/ppbus/ppi.c
448
device_t ppbus = device_get_parent(ppidev);
sys/dev/ppbus/ppi.c
545
device_t ppbus = device_get_parent(ppidev);
sys/dev/ppbus/pps.c
107
device_t ppbus = device_get_parent(dev);
sys/dev/ppc/ppc_acpi.c
103
parent = device_get_parent(dev);
sys/dev/ppc/ppc_isa.c
119
parent = device_get_parent(dev);
sys/dev/ppc/ppc_puc.c
84
parent = device_get_parent(dev);
sys/dev/puc/puc.c
482
while (child != NULL && device_get_parent(child) != dev)
sys/dev/puc/puc.c
483
child = device_get_parent(child);
sys/dev/puc/puc.c
533
while (child != NULL && device_get_parent(child) != dev)
sys/dev/puc/puc.c
534
child = device_get_parent(child);
sys/dev/puc/puc.c
567
while (child != NULL && device_get_parent(child) != dev)
sys/dev/puc/puc.c
568
child = device_get_parent(child);
sys/dev/puc/puc.c
606
while (child != NULL && device_get_parent(child) != dev)
sys/dev/puc/puc.c
607
child = device_get_parent(child);
sys/dev/puc/puc.c
638
return (BUS_SETUP_INTR(device_get_parent(dev), originator,
sys/dev/puc/puc.c
663
while (child != NULL && device_get_parent(child) != dev)
sys/dev/puc/puc.c
664
child = device_get_parent(child);
sys/dev/puc/puc.c
677
return (BUS_TEARDOWN_INTR(device_get_parent(dev), originator,
sys/dev/puc/puc.c
698
while (child != NULL && device_get_parent(child) != dev)
sys/dev/puc/puc.c
699
child = device_get_parent(child);
sys/dev/pwm/ofw_pwmbus.c
127
parent = device_get_parent(dev);
sys/dev/pwm/pwmbus.c
164
parent = device_get_parent(dev);
sys/dev/pwm/pwmbus.c
198
return (PWMBUS_CHANNEL_CONFIG(device_get_parent(dev), chan, period, duty));
sys/dev/pwm/pwmbus.c
204
return (PWMBUS_CHANNEL_GET_CONFIG(device_get_parent(dev), chan, period, duty));
sys/dev/pwm/pwmbus.c
210
return (PWMBUS_CHANNEL_GET_FLAGS(device_get_parent(dev), chan, flags));
sys/dev/pwm/pwmbus.c
216
return (PWMBUS_CHANNEL_ENABLE(device_get_parent(dev), chan, enable));
sys/dev/pwm/pwmbus.c
222
return (PWMBUS_CHANNEL_SET_FLAGS(device_get_parent(dev), chan, flags));
sys/dev/pwm/pwmbus.c
228
return (PWMBUS_CHANNEL_IS_ENABLED(device_get_parent(dev), chan, enable));
sys/dev/pwm/pwmbus.c
234
return (PWMBUS_CHANNEL_COUNT(device_get_parent(dev), nchannel));
sys/dev/pwm/pwmbus.c
76
device_get_nameunit(device_get_parent(dev)), ivars->pi_channel);
sys/dev/pwm/pwmbus.h
48
return BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/dev/pwm/pwmbus.h
54
return BUS_WRITE_IVAR(device_get_parent(dev), dev, \
sys/dev/pwm/pwmc.c
181
device_get_unit(device_get_parent(dev)), sc->chan);
sys/dev/pwm/pwmc.c
74
bus = device_get_parent(sc->dev);
sys/dev/qat/qat_common/adf_aer.c
74
device_t parent = device_get_parent(device_get_parent(pdev));
sys/dev/qlxgbe/ql_os.c
2009
if (device_get_children(device_get_parent(ha->pci_dev), &peers, &count))
sys/dev/quicc/quicc_core.c
260
if (device_get_parent(child) != dev)
sys/dev/quicc/quicc_core.c
290
if (device_get_parent(child) != dev)
sys/dev/quicc/quicc_core.c
312
if (device_get_parent(child) != dev)
sys/dev/quicc/quicc_core.c
341
if (device_get_parent(child) != dev)
sys/dev/quicc/quicc_core.c
358
if (device_get_parent(child) != dev)
sys/dev/quicc/quicc_core.c
389
if (device_get_parent(child) != dev)
sys/dev/sbni/if_sbni_isa.c
75
error = ISA_PNP_PROBE(device_get_parent(dev), dev, sbni_ids);
sys/dev/scc/scc_bfe_quicc.c
52
parent = device_get_parent(dev);
sys/dev/scc/scc_core.c
416
if (device_get_parent(child) != dev)
sys/dev/scc/scc_core.c
439
if (device_get_parent(child) != dev)
sys/dev/scc/scc_core.c
463
if (device_get_parent(child) != dev)
sys/dev/scc/scc_core.c
503
if (device_get_parent(child) != dev)
sys/dev/scc/scc_core.c
522
if (device_get_parent(child) != dev)
sys/dev/scc/scc_core.c
569
if (device_get_parent(child) != dev)
sys/dev/sdhci/sdhci_acpi.c
247
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, sdhci_ids, &hid);
sys/dev/sdhci/sdhci_fdt.c
168
clksc->clkdev = device_get_parent(sc->dev);
sys/dev/sdhci/sdhci_xenon_acpi.c
67
bus = device_get_parent(dev);
sys/dev/sdio/sdio_subr.c
127
pdev = device_get_parent(f->dev);
sys/dev/sdio/sdio_subr.c
147
error = SDIO_READ_DIRECT(device_get_parent(f->dev), f->fn, addr, &v);
sys/dev/sdio/sdio_subr.c
164
error = SDIO_WRITE_DIRECT(device_get_parent(f->dev), f->fn, addr, val);
sys/dev/sdio/sdio_subr.c
175
error = SDIO_READ_EXTENDED(device_get_parent(f->dev), f->fn, addr,
sys/dev/sdio/sdio_subr.c
193
error = SDIO_WRITE_EXTENDED(device_get_parent(f->dev), f->fn, addr,
sys/dev/sdio/sdio_subr.c
205
error = SDIO_READ_EXTENDED(device_get_parent(f->dev), f->fn, addr,
sys/dev/sdio/sdio_subr.c
223
error = SDIO_WRITE_EXTENDED(device_get_parent(f->dev), f->fn, addr,
sys/dev/sdio/sdio_subr.c
235
error = SDIO_READ_DIRECT(device_get_parent(f->dev), 0, addr, &v);
sys/dev/sdio/sdio_subr.c
252
error = SDIO_WRITE_DIRECT(device_get_parent(f->dev), 0, addr, val);
sys/dev/sdio/sdio_subr.c
80
pdev = device_get_parent(dev);
sys/dev/siis/siis.c
1946
parent = device_get_parent(dev);
sys/dev/siis/siis.c
460
struct siis_controller *ctlr = device_get_softc(device_get_parent(dev));
sys/dev/sk/if_sk.c
1220
sc = device_get_softc(device_get_parent(dev));
sys/dev/sk/if_sk.c
1262
sc = device_get_softc(device_get_parent(dev));
sys/dev/smbios/smbios.c
296
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/dev/smbus/smb.c
213
parent = device_get_parent(smbdev);
sys/dev/smbus/smbconf.c
123
parent = device_get_parent(bus);
sys/dev/smbus/smbconf.c
166
error = SMBUS_CALLBACK(device_get_parent(bus), SMB_RELEASE_BUS, NULL);
sys/dev/smbus/smbconf.h
100
(SMBUS_SENDB(device_get_parent(bus), slave, byte))
sys/dev/smbus/smbconf.h
102
(SMBUS_RECVB(device_get_parent(bus), slave, byte))
sys/dev/smbus/smbconf.h
104
(SMBUS_WRITEB(device_get_parent(bus), slave, cmd, byte))
sys/dev/smbus/smbconf.h
106
(SMBUS_WRITEW(device_get_parent(bus), slave, cmd, word))
sys/dev/smbus/smbconf.h
108
(SMBUS_READB(device_get_parent(bus), slave, cmd, byte))
sys/dev/smbus/smbconf.h
110
(SMBUS_READW(device_get_parent(bus), slave, cmd, word))
sys/dev/smbus/smbconf.h
112
(SMBUS_PCALL(device_get_parent(bus), slave, cmd, sdata, rdata))
sys/dev/smbus/smbconf.h
114
(SMBUS_BWRITE(device_get_parent(bus), slave, cmd, count, buf))
sys/dev/smbus/smbconf.h
116
(SMBUS_BREAD(device_get_parent(bus), slave, cmd, count, buf))
sys/dev/smbus/smbconf.h
118
(SMBUS_TRANS(device_get_parent(bus), slave, cmd, op, \
sys/dev/smbus/smbconf.h
98
(SMBUS_QUICK(device_get_parent(bus), slave, how))
sys/dev/sound/dummy.c
385
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/als4000.c
847
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/atiixp.c
1099
device_get_nameunit(device_get_parent(sc->dev)));
sys/dev/sound/pci/cmi.c
995
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/cs4281.c
850
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/csapcm.c
823
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/emu10k1.c
2132
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/emu10kx-midi.c
143
BUS_READ_IVAR(device_get_parent(dev), dev, 0, &func);
sys/dev/sound/pci/emu10kx-midi.c
149
BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ISEMU10K1, &is_emu10k1);
sys/dev/sound/pci/emu10kx-pcm.c
1303
BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_FUNC, &func);
sys/dev/sound/pci/emu10kx-pcm.c
1309
BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ROUTE, &route);
sys/dev/sound/pci/emu10kx-pcm.c
1345
sc->card = (struct emu_sc_info *)(device_get_softc(device_get_parent(dev)));
sys/dev/sound/pci/emu10kx-pcm.c
1356
BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ISEMU10K1, &ivar);
sys/dev/sound/pci/emu10kx-pcm.c
1359
BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_MCH_DISABLED, &ivar);
sys/dev/sound/pci/emu10kx-pcm.c
1382
BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ROUTE, &route);
sys/dev/sound/pci/emu10kx-pcm.c
1478
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/envy24.c
2600
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/envy24ht.c
2500
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/es137x.c
1859
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/fm801.c
642
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/hda/hdaa.c
2136
HDAC_STREAM_STOP(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2150
HDAC_STREAM_FREE(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2163
ch->sid = HDAC_STREAM_ALLOC(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2168
HDAC_STREAM_RESET(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2170
HDAC_STREAM_START(device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
2215
device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
6650
pdesc = device_get_desc(device_get_parent(dev));
sys/dev/sound/pci/hda/hdaa.c
6664
devinfo->lock = HDAC_GET_MTX(device_get_parent(dev), dev);
sys/dev/sound/pci/hda/hdaa.c
7049
pdesc = device_get_desc(device_get_parent(dev));
sys/dev/sound/pci/hda/hdaa.c
7178
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/hda/hdaa.c
784
device_get_parent(devinfo->dev),
sys/dev/sound/pci/hda/hdaa.c
839
device_get_parent(devinfo->dev), devinfo->dev,
sys/dev/sound/pci/hda/hdaa.c
978
device_get_parent(device_get_parent(dev))),
sys/dev/sound/pci/hda/hdaa.c
979
device_get_unit(device_get_parent(device_get_parent(dev))),
sys/dev/sound/pci/hda/hdac.h
977
HDAC_CODEC_COMMAND(device_get_parent(dev), (dev), (verb))
sys/dev/sound/pci/hda/hdacc.c
495
codec->lock = HDAC_GET_MTX(device_get_parent(dev), dev);
sys/dev/sound/pci/hda/hdacc.c
626
return(BUS_READ_IVAR(device_get_parent(dev), dev,
sys/dev/sound/pci/hda/hdacc.c
644
return (HDAC_CODEC_COMMAND(device_get_parent(dev), dev, verb));
sys/dev/sound/pci/hda/hdacc.c
654
stream = HDAC_STREAM_ALLOC(device_get_parent(dev), dev,
sys/dev/sound/pci/hda/hdacc.c
667
HDAC_STREAM_FREE(device_get_parent(dev), dev, dir, stream);
sys/dev/sound/pci/hda/hdacc.c
675
return (HDAC_STREAM_START(device_get_parent(dev), dev,
sys/dev/sound/pci/hda/hdacc.c
683
HDAC_STREAM_STOP(device_get_parent(dev), dev, dir, stream);
sys/dev/sound/pci/hda/hdacc.c
690
HDAC_STREAM_RESET(device_get_parent(dev), dev, dir, stream);
sys/dev/sound/pci/hda/hdacc.c
697
return (HDAC_STREAM_GETPTR(device_get_parent(dev), dev, dir, stream));
sys/dev/sound/pci/hda/hdacc.c
721
HDAC_UNSOL_ALLOC(device_get_parent(dev), dev, tag);
sys/dev/sound/pci/hda/hdacc.c
737
HDAC_UNSOL_FREE(device_get_parent(dev), dev, tag);
sys/dev/sound/pci/hdsp-pcm.c
1091
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/hdspe-pcm.c
1082
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/ich.c
692
device_get_nameunit(device_get_parent(sc->dev)));
sys/dev/sound/pci/maestro3.c
1442
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/neomagic.c
708
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/solo.c
1026
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/t4dwave.c
923
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/via8233.c
1350
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/via82c686.c
585
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pci/vibes.c
875
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/pcm/ac97.c
633
pdev = device_get_parent(pdev);
sys/dev/sound/usb/uaudio.c
1175
struct uaudio_softc *sc = device_get_softc(device_get_parent(dev));
sys/dev/sound/usb/uaudio.c
1210
device_get_nameunit(device_get_parent(dev)));
sys/dev/sound/usb/uaudio.c
1248
struct uaudio_softc *sc = device_get_softc(device_get_parent(dev));
sys/dev/spibus/acpi_spibus.c
142
acpi_get_handle(device_get_parent(spibus)))
sys/dev/spibus/acpi_spibus.c
184
if (parent != acpi_get_handle(device_get_parent(spibus)))
sys/dev/spibus/acpi_spibus.c
247
if (device_get_parent(acpi_child) != acpi0)
sys/dev/spibus/acpi_spibus.c
361
controller = device_get_parent(dev);
sys/dev/spibus/acpi_spibus.c
426
if (device_get_parent(child) != dev)
sys/dev/spibus/acpi_spibus.c
427
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
sys/dev/spibus/spibus.c
130
if (devi == NULL || device_get_parent(child) != bus)
sys/dev/spibus/spibus.c
230
return (SPIBUS_TRANSFER(device_get_parent(dev), child, cmd));
sys/dev/spibus/spibusvar.h
61
return BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/dev/spibus/spibusvar.h
67
return BUS_WRITE_IVAR(device_get_parent(dev), dev, \
sys/dev/spibus/spigen.c
144
device_get_unit(device_get_parent(dev)), cs);
sys/dev/spibus/spigen.c
210
error = SPIBUS_TRANSFER(device_get_parent(dev), dev, &transfer);
sys/dev/spibus/spigen.c
243
error = SPIBUS_TRANSFER(device_get_parent(dev), dev, &transfer);
sys/dev/superio/superio.c
1001
device_t sio_dev = device_get_parent(dev);
sys/dev/superio/superio.c
1020
device_t sio_dev = device_get_parent(dev);
sys/dev/superio/superio.c
909
device_t sio_dev = device_get_parent(dev);
sys/dev/superio/superio.c
918
device_t sio_dev = device_get_parent(dev);
sys/dev/superio/superio.c
927
device_t sio_dev = device_get_parent(dev);
sys/dev/superio/superio.c
936
device_t sio_dev = device_get_parent(dev);
sys/dev/superio/superio.c
945
device_t sio_dev = device_get_parent(dev);
sys/dev/superio/superio.c
966
device_t sio_dev = device_get_parent(dev);
sys/dev/superio/superio.c
985
device_t sio_dev = device_get_parent(dev);
sys/dev/thunderbolt/nhi_wmi.c
111
if (ACPI_WMI_PROVIDES_GUID_STRING(device_get_parent(dev),
sys/dev/thunderbolt/nhi_wmi.c
125
sc->wmi_dev = device_get_parent(dev);
sys/dev/thunderbolt/tb_pcib.c
240
if (TB_FIND_UFP(device_get_parent(dev), NULL) ==
sys/dev/thunderbolt/tb_pcib.c
497
error = TB_FIND_UFP(device_get_parent(dev), ufp);
sys/dev/thunderbolt/tb_pcib.c
556
parent = device_get_parent(dev);
sys/dev/tpm/tpm_acpi.c
53
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, tpm_ids, NULL);
sys/dev/tpm/tpm_crb.c
169
err = ACPI_ID_PROBE(device_get_parent(dev), dev, tpmcrb_ids, NULL);
sys/dev/tpm/tpm_spibus.c
117
err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &spic);
sys/dev/tpm/tpm_spibus.c
43
device_t parent = device_get_parent(dev);
sys/dev/tpm/tpm_spibus.c
82
err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &spic);
sys/dev/tpm/tpm_spibus.c
90
err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &spic);
sys/dev/tpm/tpm_tis_acpi.c
44
err = ACPI_ID_PROBE(device_get_parent(dev), dev, tpmtis_ids, NULL);
sys/dev/tsec/if_tsec_fdt.c
179
rl = BUS_GET_RESOURCE_LIST(device_get_parent(dev), dev);
sys/dev/uart/uart_bus_isa.c
157
parent = device_get_parent(dev);
sys/dev/uart/uart_bus_puc.c
71
parent = device_get_parent(dev);
sys/dev/uart/uart_bus_scc.c
72
parent = device_get_parent(dev);
sys/dev/uart/uart_bus_scc.c
88
parent = device_get_parent(dev);
sys/dev/uart/uart_dev_ti8250.c
74
if ((status = ti_sysc_clock_enable(device_get_parent(sc->sc_dev))) != 0)
sys/dev/ufshci/ufshci_acpi.c
70
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, ufshci_acpi_ids, &hid);
sys/dev/usb/controller/dwc3/dwc3.c
579
error = ACPI_ID_PROBE(device_get_parent(dev), dev, dwc3_acpi_ids, &match);
sys/dev/usb/controller/dwc_otg_acpi.c
76
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, dwc_otg_ids, NULL);
sys/dev/usb/controller/generic_xhci_acpi.c
62
if (ACPI_ID_PROBE(device_get_parent(dev), dev, xhci_ids, NULL) >= 0)
sys/dev/usb/controller/usb_controller.c
539
USB_TAKE_CONTROLLER(device_get_parent(bus->bdev));
sys/dev/usb/misc/cp2112.c
1070
struct cp2112_softc *psc = device_get_softc(device_get_parent(dev));
sys/dev/usb/misc/cp2112.c
1233
cp2112 = device_get_parent(dev);
sys/dev/usb/misc/cp2112.c
1306
cp2112 = device_get_parent(dev);
sys/dev/usb/misc/cp2112.c
367
err = cp2112_get_report(device_get_parent(dev),
sys/dev/usb/misc/cp2112.c
389
err = cp2112_set_report(device_get_parent(dev),
sys/dev/usb/misc/cp2112.c
413
err = cp2112_get_report(device_get_parent(dev),
sys/dev/usb/misc/cp2112.c
435
err = cp2112_set_report(device_get_parent(dev),
sys/dev/usb/misc/cp2112.c
441
err = cp2112_get_report(device_get_parent(dev),
sys/dev/usb/misc/cp2112.c
674
cp2112 = device_get_parent(dev);
sys/dev/usb/net/ruephy.c
97
if (strcmp(device_get_name(device_get_parent(device_get_parent(dev))),
sys/dev/usb/net/uhso.c
614
device_get_nameunit(device_get_parent(self)));
sys/dev/usb/usb_device.c
2739
device_get_nameunit(device_get_parent(udev->bus->bdev))
sys/dev/usb/usb_hub.c
1698
rv = bus_generic_get_device_path(device_get_parent(bus), bus, locator, sb);
sys/dev/usb/usb_hub_acpi.c
354
grand = device_get_parent(device_get_parent(dev));
sys/dev/viawd/viawd.c
137
id = viawd_find(device_get_parent(dev));
sys/dev/viawd/viawd.c
153
sb_dev = device_get_parent(dev);
sys/dev/virtio/virtio.c
255
BUS_READ_IVAR(device_get_parent(dev), dev, ivar, val);
sys/dev/virtio/virtio.c
262
BUS_WRITE_IVAR(device_get_parent(dev), dev, ivar, val);
sys/dev/virtio/virtio.c
269
return (VIRTIO_BUS_NEGOTIATE_FEATURES(device_get_parent(dev),
sys/dev/virtio/virtio.c
277
return (VIRTIO_BUS_FINALIZE_FEATURES(device_get_parent(dev)));
sys/dev/virtio/virtio.c
285
return (VIRTIO_BUS_ALLOC_VIRTQUEUES(device_get_parent(dev), nvqs, info));
sys/dev/virtio/virtio.c
292
return (VIRTIO_BUS_SETUP_INTR(device_get_parent(dev), type));
sys/dev/virtio/virtio.c
299
return (VIRTIO_BUS_WITH_FEATURE(device_get_parent(dev), feature));
sys/dev/virtio/virtio.c
306
VIRTIO_BUS_STOP(device_get_parent(dev));
sys/dev/virtio/virtio.c
313
return (VIRTIO_BUS_REINIT(device_get_parent(dev), features));
sys/dev/virtio/virtio.c
320
VIRTIO_BUS_REINIT_COMPLETE(device_get_parent(dev));
sys/dev/virtio/virtio.c
327
return (VIRTIO_BUS_CONFIG_GENERATION(device_get_parent(dev)));
sys/dev/virtio/virtio.c
334
VIRTIO_BUS_READ_DEVICE_CONFIG(device_get_parent(dev),
sys/dev/virtio/virtio.c
342
VIRTIO_BUS_WRITE_DEVICE_CONFIG(device_get_parent(dev),
sys/dev/vmd/vmd.c
576
return (PCIB_ALLOC_MSI(device_get_parent(device_get_parent(dev)),
sys/dev/vmd/vmd.c
612
return (PCIB_RELEASE_MSI(device_get_parent(device_get_parent(dev)),
sys/dev/vmd/vmd.c
635
return (PCIB_ALLOC_MSIX(device_get_parent(device_get_parent(dev)),
sys/dev/vmd/vmd.c
671
return (PCIB_RELEASE_MSIX(device_get_parent(device_get_parent(dev)),
sys/dev/vmd/vmd.c
694
return (PCIB_MAP_MSI(device_get_parent(device_get_parent(dev)),
sys/dev/vmgenc/vmgenc_acpi.c
147
rv = ACPI_ID_PROBE(device_get_parent(dev), dev,
sys/dev/vnic/thunder_bgx_fdt.c
296
bus = device_get_parent(dev);
sys/dev/vnic/thunder_bgx_fdt.c
300
pcib = device_get_parent(bus);
sys/dev/xen/blkfront/blkfront.c
1403
bus_print_child_footer(device_get_parent(dev), dev);
sys/dev/xen/bus/xenpv.c
253
parent = device_get_parent(dev);
sys/dev/xen/bus/xenpv.c
264
parent = device_get_parent(dev);
sys/dev/xen/cpu/xen_acpi_cpu.c
492
ACPI_ID_PROBE(device_get_parent(dev), dev, cpudev_ids, NULL) >= 0)
sys/dev/xen/pcifront/pcifront.c
543
struct pcifront_device *pdev = (struct pcifront_device *)device_get_ivars(device_get_parent(dev));
sys/dev/xen/xenpci/xenpci.c
181
device_t parent = device_get_parent(dev);
sys/dev/xen/xenpci/xenpci.c
56
error = BUS_SETUP_INTR(device_get_parent(device), device,
sys/dev/xen/xenpci/xenpci.c
71
error = BUS_BIND_INTR(device_get_parent(device), device,
sys/dev/xilinx/xlnx_pcib.c
633
*pic = device_get_parent(dev);
sys/dev/xl/xlphy.c
126
if (strcmp(device_get_name(device_get_parent(device_get_parent(dev))),
sys/i386/bios/smapi.c
305
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/i386/i386/npx.c
1326
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, npxisa_ids)) <= 0) {
sys/isa/isa_common.c
455
bus_print_child_header(device_get_parent(child), child);
sys/isa/isa_common.c
458
isa_print_child(device_get_parent(child), child);
sys/isa/pnpparse.c
360
parent = device_get_parent(dev);
sys/isa/pnpparse.c
418
parent = device_get_parent(dev);
sys/kern/kern_cpu.c
1099
cpu_dev = device_get_parent(dev);
sys/kern/kern_cpu.c
1134
cf_dev = device_find_child(device_get_parent(dev), "cpufreq",
sys/kern/kern_cpu.c
1143
device_delete_child(device_get_parent(cf_dev), cf_dev);
sys/kern/kern_cpu.c
1153
device_get_unit(device_get_parent(dev)));
sys/kern/kern_cpu.c
167
parent = device_get_parent(dev);
sys/kern/kern_devctl.c
508
if (device_get_parent(dev) == NULL)
sys/kern/kern_devctl.c
511
parstr = device_get_nameunit(device_get_parent(dev));
sys/kern/subr_bus.c
1226
BUS_HINT_DEVICE_UNIT(device_get_parent(dev), dev, dc->name,
sys/kern/subr_bus.c
2320
device_t bus = device_get_parent(dev);
sys/kern/subr_bus.c
3102
int passthrough = (device_get_parent(child) != bus);
sys/kern/subr_bus.c
3159
int passthrough = (device_get_parent(child) != bus);
sys/kern/subr_bus.c
3163
return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child,
sys/kern/subr_bus.c
3195
rle->res = BUS_ALLOC_RESOURCE(device_get_parent(bus), child,
sys/kern/subr_bus.c
3230
int passthrough = (device_get_parent(child) != bus);
sys/kern/subr_bus.c
3234
return (BUS_RELEASE_RESOURCE(device_get_parent(bus), child,
sys/kern/subr_bus.c
3257
error = BUS_RELEASE_RESOURCE(device_get_parent(bus), child, res);
sys/kern/subr_bus.c
3326
int passthrough = (device_get_parent(child) != bus);
sys/kern/subr_bus.c
3875
if (device_get_parent(dev) != NULL)
sys/kern/subr_bus.c
3876
return (BUS_GET_PROPERTY(device_get_parent(dev), child,
sys/kern/subr_bus.c
4308
if (device_get_parent(child) != dev)
sys/kern/subr_bus.c
4309
return (BUS_RELEASE_RESOURCE(device_get_parent(dev), child, r));
sys/kern/subr_bus.c
4331
if (device_get_parent(child) != dev)
sys/kern/subr_bus.c
4332
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
sys/kern/subr_bus.c
4530
return (BUS_CHILD_PRESENT(device_get_parent(dev), dev));
sys/kern/subr_bus.c
4576
parent = device_get_parent(bus);
sys/kern/subr_bus.c
4920
return (BUS_SET_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/kern/subr_bus.c
4934
return (BUS_GET_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/kern/subr_bus.c
4951
error = BUS_GET_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/kern/subr_bus.c
4971
error = BUS_GET_RESOURCE(device_get_parent(dev), dev, type, rid,
sys/kern/subr_bus.c
4987
BUS_DELETE_RESOURCE(device_get_parent(dev), dev, type, rid);
sys/kern/subr_bus.c
4999
return (BUS_CHILD_PRESENT(device_get_parent(child), child));
sys/kern/subr_bus.c
5013
parent = device_get_parent(child);
sys/kern/subr_bus.c
5042
parent = device_get_parent(child);
sys/kern/subr_bus.c
5071
parent = device_get_parent(dev);
sys/kern/subr_bus.c
5088
parent = device_get_parent(dev);
sys/kern/subr_bus.c
5105
parent = device_get_parent(dev);
sys/kern/subr_bus.c
5120
return (BUS_GET_DOMAIN(device_get_parent(dev), dev, domain));
sys/kern/subr_bus.c
5736
parent = device_get_parent(dev);
sys/kern/subr_bus.c
5872
if (device_get_parent(dev) == NULL) {
sys/kern/subr_bus.c
5876
error = BUS_SUSPEND_CHILD(device_get_parent(dev), dev);
sys/kern/subr_bus.c
5883
if (device_get_parent(dev) == NULL) {
sys/kern/subr_bus.c
5887
error = BUS_RESUME_CHILD(device_get_parent(dev), dev);
sys/kern/subr_bus.c
5988
parent = device_get_parent(dev);
sys/kern/subr_bus.c
6022
if (device_get_parent(dev) == NULL) {
sys/kern/subr_bus.c
6026
error = BUS_RESET_CHILD(device_get_parent(dev), dev,
sys/powerpc/cpufreq/mpc85xx_jog.c
188
cpu = ofw_bus_get_node(device_get_parent(dev));
sys/powerpc/cpufreq/pcr.c
200
cpu = ofw_bus_get_node(device_get_parent(dev));
sys/powerpc/cpufreq/pmufreq.c
112
node = ofw_bus_get_node(device_get_parent(dev));
sys/powerpc/cpufreq/pmufreq.c
132
node = ofw_bus_get_node(device_get_parent(dev));
sys/powerpc/mpc85xx/atpic.c
165
res = ISA_PNP_PROBE(device_get_parent(dev), dev, atpic_ids);
sys/powerpc/mpc85xx/isa.c
55
passthrough = (device_get_parent(child) != bus) ? 1 : 0;
sys/powerpc/mpc85xx/lbc.c
877
dev = device_get_parent(child);
sys/powerpc/mpc85xx/lbc.c
904
dev = device_get_parent(child);
sys/powerpc/ofw/ofw_pcib_pci.c
167
return (PCIB_ROUTE_INTERRUPT(device_get_parent(device_get_parent(
sys/powerpc/ofw/ofw_pcibus.c
171
pcib = device_get_parent(dev);
sys/powerpc/ofw/ofw_pcibus.c
243
pcib = device_get_parent(dev);
sys/powerpc/ofw/ofw_pcibus.c
324
return (PCIB_ROUTE_INTERRUPT(device_get_parent(dev), child,
sys/powerpc/ofw/ofw_pcibus.c
371
return (PCIB_ROUTE_INTERRUPT(device_get_parent(dev), child, intr[0]));
sys/powerpc/powermac/atibl.c
128
pci_get_vendor(device_get_parent(dev)) != 0x1002))
sys/powerpc/powermac/cpcht.c
487
device_get_parent(device_get_parent(pcib))) {
sys/powerpc/powermac/macgpio.c
328
sc = device_get_softc(device_get_parent(dev));
sys/powerpc/powermac/macgpio.c
343
sc = device_get_softc(device_get_parent(dev));
sys/powerpc/powermac/macio.c
566
if (device_get_parent(child) != bus)
sys/powerpc/powermac/macio.c
567
return BUS_ALLOC_RESOURCE(device_get_parent(bus), child,
sys/powerpc/powermac/nvbl.c
105
pci_get_vendor(device_get_parent(dev)) != PCI_VENDOR_ID_NVIDIA)
sys/powerpc/powermac/smu.c
1538
smu_run_cmd(device_get_parent(dev), &cmd, 1);
sys/powerpc/powermac/smu.c
1548
smu_run_cmd(device_get_parent(dev), &cmd, 1);
sys/powerpc/powermac/uninorth.c
524
if (device_get_parent(child) != bus)
sys/powerpc/powermac/uninorth.c
525
return BUS_ALLOC_RESOURCE(device_get_parent(bus), child,
sys/powerpc/powerpc/openpic.c
110
rl = BUS_GET_RESOURCE_LIST(device_get_parent(dev), dev);
sys/powerpc/pseries/plpar_iommu.c
79
for (p = dev; device_get_parent(p) != NULL; p = device_get_parent(p)) {
sys/powerpc/pseries/plpar_pcibus.c
95
while (device_get_parent(child) != dev)
sys/powerpc/pseries/plpar_pcibus.c
96
child = device_get_parent(child);
sys/powerpc/pseries/vdevice.c
201
while (child != NULL && device_get_parent(child) != dev)
sys/powerpc/pseries/vdevice.c
202
child = device_get_parent(child);
sys/powerpc/psim/ata_iobus.c
161
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
sys/powerpc/psim/ata_iobus.c
171
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
sys/powerpc/psim/ata_iobus.c
186
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
sys/riscv/iommu/iommu.c
1248
if (device_get_devclass(device_get_parent(ctx->dev)) == pci_class) {
sys/riscv/iommu/iommu.c
1266
if (device_get_devclass(device_get_parent(ctx->dev)) == pci_class)
sys/riscv/riscv/nexus.c
242
if (device_get_parent(child) != bus || ndev == NULL)
sys/riscv/starfive/jh7110_pcie.c
337
*pic = device_get_parent(dev);
sys/sys/bus.h
720
device_t device_get_parent(device_t dev);
sys/sys/bus.h
954
e = BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/sys/bus.h
964
e = BUS_WRITE_IVAR(device_get_parent(dev), dev, \
sys/sys/bus.h
968
device_get_nameunit(device_get_parent(dev)), e)); \
sys/sys/bus.h
980
e = BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/sys/bus.h
984
device_get_nameunit(device_get_parent(dev)), e)); \
sys/sys/bus.h
997
e = BUS_READ_IVAR(device_get_parent(dev), dev, \
sys/sys/cpu.h
50
BUS_READ_IVAR(device_get_parent(dev), dev, CPU_IVAR_PCPU, &v);
sys/sys/cpu.h
70
if (BUS_READ_IVAR(device_get_parent(dev), dev,
sys/sys/cpu.h
81
if (BUS_READ_IVAR(device_get_parent(dev), dev,
sys/sys/cpu.h
86
if (BUS_READ_IVAR(device_get_parent(dev), dev,
sys/x86/bios/vpd.c
263
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/x86/cpufreq/est.c
1069
perf_dev = device_find_child(device_get_parent(dev), "acpi_perf",
sys/x86/cpufreq/est.c
964
perf_dev = device_find_child(device_get_parent(dev), "acpi_perf",
sys/x86/cpufreq/hwpstate_amd.c
961
perf_dev = device_find_child(device_get_parent(dev), "acpi_perf",
sys/x86/cpufreq/powernow.c
947
child = device_find_child(device_get_parent(dev), "acpi_perf",
sys/x86/cpufreq/smist.c
333
perf_dev = device_find_child(device_get_parent(dev), "acpi_perf",
sys/x86/cpufreq/smist.c
340
ichss_dev = device_find_child(device_get_parent(dev), "ichss",
sys/x86/iommu/intel_drv.c
308
error = PCIB_MAP_MSI(device_get_parent(
sys/x86/iommu/intel_drv.c
309
device_get_parent(dev)),
sys/x86/iommu/intel_drv.c
612
bus = device_get_parent(child);
sys/x86/iommu/intel_drv.c
613
pcib = device_get_parent(bus);
sys/x86/iommu/intel_drv.c
630
bus = device_get_parent(child);
sys/x86/iommu/intel_drv.c
631
pcib = device_get_parent(bus);
sys/x86/iommu/iommu_utils.c
577
pcib = device_get_parent(device_get_parent(dev)); /* Really not pcib */
sys/x86/iommu/iommu_utils.c
648
PCIB_RELEASE_MSIX(device_get_parent(device_get_parent(dev)),
sys/x86/isa/atpic.c
571
result = ISA_PNP_PROBE(device_get_parent(dev), dev, atpic_ids);
sys/x86/isa/atrtc.c
463
result = ISA_PNP_PROBE(device_get_parent(dev), dev, atrtc_ids);
sys/x86/isa/clock.c
551
result = ISA_PNP_PROBE(device_get_parent(dev), dev, attimer_ids);
sys/x86/isa/isa.c
93
int passthrough = (device_get_parent(child) != bus);
sys/x86/isa/isa_dma.c
569
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, atdma_ids)) <= 0)
sys/x86/isa/orm.c
72
return (ISA_PNP_PROBE(device_get_parent(dev), dev, orm_ids));
sys/x86/pci/pci_bus.c
101
bus = device_get_parent(pcib);
sys/x86/pci/pci_bus.c
102
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/x86/pci/pci_bus.c
111
bus = device_get_parent(pcib);
sys/x86/pci/pci_bus.c
112
return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq));
sys/x86/pci/pci_bus.c
122
bus = device_get_parent(pcib);
sys/x86/pci/pci_bus.c
123
error = PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data);
sys/x86/pci/pci_bus.c
521
pir = BUS_ADD_CHILD(device_get_parent(dev), 0, "pir", 0);
sys/x86/pci/pci_bus.c
701
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, pcibus_pnp_ids)) <= 0)
sys/x86/pci/qpi.c
269
bus = device_get_parent(pcib);
sys/x86/pci/qpi.c
270
return (PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data));
sys/x86/x86/msi.c
307
error = BUS_REMAP_INTR(device_get_parent(msi->msi_dev), msi->msi_dev,
sys/x86/x86/nexus.c
362
if (device_get_parent(child) != bus || ndev == NULL)
sys/x86/x86/nexus.c
742
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, sysresource_ids)) <= 0) {
sys/xen/xenbus/xenbusb.c
141
bus = device_get_parent(child);
sys/xen/xenbus/xenbusb.c
178
bus = device_get_parent(child);