| /f-stack/freebsd/sys/ |
| H A D | cpu.h | 48 BUS_READ_IVAR(device_get_parent(dev), dev, CPU_IVAR_PCPU, &v); in cpu_get_pcpu() 55 if (BUS_READ_IVAR(device_get_parent(dev), dev, in cpu_get_nominal_mhz() 64 if (BUS_READ_IVAR(device_get_parent(dev), dev, in cpu_get_cpuid() 69 if (BUS_READ_IVAR(device_get_parent(dev), dev, in cpu_get_cpuid()
|
| /f-stack/freebsd/mips/malta/ |
| H A D | gt.c | 82 return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child, in gt_alloc_resource() 92 return BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags, in gt_setup_intr() 100 return (BUS_TEARDOWN_INTR(device_get_parent(dev), child, res, cookie)); in gt_teardown_intr() 107 return (BUS_ACTIVATE_RESOURCE(device_get_parent(dev), child, in gt_activate_resource()
|
| /f-stack/freebsd/arm64/cavium/ |
| H A D | thunder_pcie_pem.c | 352 bus = device_get_parent(pci); in thunder_pem_alloc_msi() 353 return (PCIB_ALLOC_MSI(device_get_parent(bus), child, count, maxcount, in thunder_pem_alloc_msi() 362 bus = device_get_parent(pci); in thunder_pem_release_msi() 371 bus = device_get_parent(pci); in thunder_pem_alloc_msix() 372 return (PCIB_ALLOC_MSIX(device_get_parent(bus), child, irq)); in thunder_pem_alloc_msix() 380 bus = device_get_parent(pci); in thunder_pem_release_msix() 381 return (PCIB_RELEASE_MSIX(device_get_parent(bus), child, irq)); in thunder_pem_release_msix() 390 bus = device_get_parent(pci); in thunder_pem_map_msi() 646 parent_dev = device_get_parent(device_get_parent(dev)); in thunder_pem_alloc_resource() 704 parent_dev = device_get_parent(device_get_parent(dev)); in thunder_pem_release_resource() [all …]
|
| /f-stack/freebsd/x86/pci/ |
| H A D | pci_bus.c | 103 bus = device_get_parent(pcib); in legacy_pcib_alloc_msi() 104 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in legacy_pcib_alloc_msi() 113 bus = device_get_parent(pcib); in legacy_pcib_alloc_msix() 114 return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq)); in legacy_pcib_alloc_msix() 124 bus = device_get_parent(pcib); in legacy_pcib_map_msi() 125 error = PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data); in legacy_pcib_map_msi() 523 pir = BUS_ADD_CHILD(device_get_parent(dev), 0, "pir", 0); in legacy_pcib_attach() 697 if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, pcibus_pnp_ids)) <= 0) in pcibus_pnp_probe()
|
| H A D | qpi.c | 274 bus = device_get_parent(pcib); in qpi_pcib_map_msi() 275 return (PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data)); in qpi_pcib_map_msi()
|
| /f-stack/freebsd/arm64/coresight/ |
| H A D | coresight_funnel_acpi.c | 63 error = ACPI_ID_PROBE(device_get_parent(dev), dev, in funnel_acpi_probe() 71 error = ACPI_ID_PROBE(device_get_parent(dev), dev, in funnel_acpi_probe()
|
| H A D | coresight_etm4x_acpi.c | 59 error = ACPI_ID_PROBE(device_get_parent(dev), dev, etm_ids, NULL); in etm_acpi_probe()
|
| H A D | coresight_replicator_acpi.c | 59 error = ACPI_ID_PROBE(device_get_parent(dev), dev, in replicator_acpi_probe()
|
| H A D | coresight_tmc_acpi.c | 59 error = ACPI_ID_PROBE(device_get_parent(dev), dev, tmc_ids, NULL); in tmc_acpi_probe()
|
| /f-stack/freebsd/arm/ti/ |
| H A D | ti_prm.c | 152 parent = device_get_parent(dev); in ti_prm_write_4() 167 parent = device_get_parent(dev); in ti_prm_read_4() 183 parent = device_get_parent(dev); in ti_prm_modify_4()
|
| H A D | ti_mbox.c | 141 if (ti_sysc_clock_enable(device_get_parent(dev)) != 0) { in ti_mbox_attach() 194 ti_sysc_get_rev_address_offset_host(device_get_parent(dev))); in ti_mbox_attach()
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | pcf2123_rtc.c | 96 err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd); in pcf2123_rtc_attach() 125 err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd); in pcf2123_rtc_gettime() 183 err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd); in pcf2123_rtc_settime()
|
| H A D | apb.c | 180 passthrough = (device_get_parent(child) != bus); in apb_alloc_resource() 188 return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child, type, in apb_alloc_resource() 252 return (BUS_ACTIVATE_RESOURCE(device_get_parent(bus), child, in apb_activate_resource() 262 return (BUS_DEACTIVATE_RESOURCE(device_get_parent(bus), child, in apb_deactivate_resource()
|
| /f-stack/freebsd/arm64/broadcom/brcmmdio/ |
| H A D | mdio_ns2_pcie_phy.c | 91 err = MDIO_WRITEREG(device_get_parent(dev), sc->phy_id, in ns2_pci_phy_init() 97 err = MDIO_WRITEREG(device_get_parent(dev), sc->phy_id, in ns2_pci_phy_init()
|
| H A D | mdio_nexus_iproc.c | 117 return (MDIO_READREG_MUX(device_get_parent(dev), in brcm_mdionexus_mdio_readreg() 128 return (MDIO_WRITEREG_MUX(device_get_parent(dev), in brcm_mdionexus_mdio_writereg()
|
| /f-stack/freebsd/arm/ti/am335x/ |
| H A D | am335x_pwmss.c | 127 ti_sysc_clock_enable(device_get_parent(dev)); in am335x_pwmss_attach() 129 rev_address = ti_sysc_get_rev_address(device_get_parent(dev)); in am335x_pwmss_attach()
|
| H A D | am335x_dmtimer.c | 269 rev_address = ti_sysc_get_rev_address(device_get_parent(dev)); in am335x_dmtimer_probe() 320 err = ti_sysc_clock_enable(device_get_parent(dev)); in am335x_dmtimer_attach() 340 rev_address = ti_sysc_get_rev_address(device_get_parent(dev)); in am335x_dmtimer_attach()
|
| H A D | am335x_dmtpps.c | 410 rev_address = ti_sysc_get_rev_address(device_get_parent(dev)); in dmtpps_probe() 460 rev_address = ti_sysc_get_rev_address(device_get_parent(dev)); in dmtpps_attach() 507 err = ti_sysc_clock_enable(device_get_parent(dev)); in dmtpps_attach()
|
| /f-stack/freebsd/x86/iommu/ |
| H A D | intel_drv.c | 242 PCIB_RELEASE_MSIX(device_get_parent(device_get_parent(dev)), in dmar_release_intr() 285 pcib = device_get_parent(device_get_parent(dev)); /* Really not pcib */ in dmar_alloc_irq() 354 error = PCIB_MAP_MSI(device_get_parent( in dmar_remap_intr() 355 device_get_parent(dev)), in dmar_remap_intr() 619 bus = device_get_parent(child); in dmar_dev_depth() 620 pcib = device_get_parent(bus); in dmar_dev_depth() 621 if (device_get_devclass(device_get_parent(pcib)) != in dmar_dev_depth() 640 bus = device_get_parent(child); in dmar_dev_path() 641 pcib = device_get_parent(bus); in dmar_dev_path() 642 if (device_get_devclass(device_get_parent(pcib)) != in dmar_dev_path() [all …]
|
| /f-stack/freebsd/x86/xen/ |
| H A D | xenpv.c | 185 parent = device_get_parent(dev); in xenmem_alloc() 196 parent = device_get_parent(dev); in xenmem_free()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_bus.c | 743 if (device_get_parent(dev) == NULL) in devaddq() 2249 device_get_parent(device_t dev) in device_get_parent() function 4493 if (device_get_parent(child) != dev) in bus_generic_rl_release_resource() 4517 if (device_get_parent(child) != dev) in bus_generic_rl_alloc_resource() 4916 parent = device_get_parent(child); in bus_child_pnpinfo_str() 4935 parent = device_get_parent(child); in bus_child_location_str() 5020 parent = device_get_parent(dev); in bus_get_cpus() 5037 parent = device_get_parent(dev); in bus_get_dma_tag() 5054 parent = device_get_parent(dev); in bus_get_bus_tag() 5799 if (device_get_parent(dev) == NULL) { in devctl2_ioctl() [all …]
|
| /f-stack/freebsd/arm/ti/usb/ |
| H A D | omap_tll.c | 215 ti_sysc_clock_enable(device_get_parent(sc->sc_dev)); in omap_tll_init() 250 ti_sysc_clock_disable(device_get_parent(sc->sc_dev)); in omap_tll_init() 275 ti_sysc_clock_disable(device_get_parent(sc->sc_dev)); in omap_tll_disable()
|
| /f-stack/freebsd/arm/ti/twl/ |
| H A D | twl_clks.c | 577 if (twl_is_4030(device_get_parent(dev))) in twl_clks_probe() 579 else if (twl_is_6025(device_get_parent(dev)) || in twl_clks_probe() 580 twl_is_6030(device_get_parent(dev))) in twl_clks_probe() 595 sc->sc_pdev = device_get_parent(dev); in twl_clks_attach()
|
| /f-stack/freebsd/arm/versatile/ |
| H A D | versatile_pci.c | 334 return (BUS_ALLOC_RESOURCE(device_get_parent(bus), in versatile_pci_alloc_resource() 369 res = (BUS_ACTIVATE_RESOURCE(device_get_parent(bus), in versatile_pci_activate_resource() 386 return BUS_SETUP_INTR(device_get_parent(bus), bus, ires, flags, in versatile_pci_setup_intr() 395 return BUS_TEARDOWN_INTR(device_get_parent(dev), dev, ires, cookie); in versatile_pci_teardown_intr()
|
| /f-stack/freebsd/mips/nlm/ |
| H A D | xlp_pci.c | 95 pcib = device_get_parent(dev); in xlp_pci_attach() 144 pcib = device_get_parent(dev); in xlp_pci_probe() 338 parent = device_get_parent(tmp); in xlp_pcie_link()
|