| /freebsd-13.1/sys/arm/nvidia/tegra124/ |
| H A D | tegra124_cpufreq.c | 428 device_t parent_dev; in get_fdt_resources() local 430 parent_dev = device_get_parent(sc->dev); in get_fdt_resources() 431 rv = regulator_get_by_ofw_property(parent_dev, 0, "vdd-cpu-supply", in get_fdt_resources() 438 rv = clk_get_by_ofw_name(parent_dev, 0, "cpu_g", &sc->clk_cpu_g); in get_fdt_resources() 444 rv = clk_get_by_ofw_name(parent_dev, 0, "cpu_lp", &sc->clk_cpu_lp); in get_fdt_resources() 450 rv = clk_get_by_ofw_name(parent_dev, 0, "pll_x", &sc->clk_pll_x); in get_fdt_resources() 455 rv = clk_get_by_ofw_name(parent_dev, 0, "pll_p", &sc->clk_pll_p); in get_fdt_resources() 457 device_printf(parent_dev, "Cannot get 'pll_p' clock\n"); in get_fdt_resources() 460 rv = clk_get_by_ofw_name(parent_dev, 0, "dfll", &sc->clk_dfll); in get_fdt_resources()
|
| /freebsd-13.1/sys/arm64/nvidia/tegra210/ |
| H A D | tegra210_cpufreq.c | 357 device_t parent_dev; in get_fdt_resources() local 359 parent_dev = device_get_parent(sc->dev); in get_fdt_resources() 361 rv = clk_get_by_ofw_name(parent_dev, 0, "cpu_g", &sc->clk_cpu_g); in get_fdt_resources() 367 rv = clk_get_by_ofw_name(parent_dev, 0, "pll_x", &sc->clk_pll_x); in get_fdt_resources() 372 rv = clk_get_by_ofw_name(parent_dev, 0, "pll_p", &sc->clk_pll_p); in get_fdt_resources() 374 device_printf(parent_dev, "Cannot get 'pll_p' clock\n"); in get_fdt_resources() 377 rv = clk_get_by_ofw_name(parent_dev, 0, "dfll", &sc->clk_dfll); in get_fdt_resources()
|
| /freebsd-13.1/sys/dev/bhnd/bhndb/ |
| H A D | bhndbvar.h | 95 device_t dev, device_t parent_dev, 182 device_t parent_dev; /**< parent device */ member
|
| H A D | bhndb.c | 488 hw_table = BHNDB_BUS_GET_HARDWARE_TABLE(sc->parent_dev, sc->dev); in bhndb_find_hwspec() 536 sc->parent_dev = device_get_parent(dev); in bhndb_attach() 552 hwcfg = BHNDB_BUS_GET_GENERIC_HWCFG(sc->parent_dev, dev); in bhndb_attach() 592 hwprio = BHNDB_BUS_GET_HARDWARE_PRIO(sc->parent_dev, sc->dev); in bhndb_attach() 914 if (BHNDB_BUS_IS_CORE_DISABLED(sc->parent_dev, dev, core)) in bhndb_is_core_disabled() 976 return (BUS_ALLOC_RESOURCE(device_get_parent(sc->parent_dev), in bhndb_alloc_resource() 1063 return (BUS_RELEASE_RESOURCE(device_get_parent(sc->parent_dev), in bhndb_release_resource() 1107 return (BUS_ADJUST_RESOURCE(device_get_parent(sc->parent_dev), in bhndb_adjust_resource() 1445 return (BUS_ACTIVATE_RESOURCE(device_get_parent(sc->parent_dev), in bhndb_activate_resource() 1471 device_get_parent(sc->parent_dev), child, type, rid, r)); in bhndb_deactivate_resource() [all …]
|
| H A D | bhndb_subr.c | 269 bhndb_alloc_resources(device_t dev, device_t parent_dev, in bhndb_alloc_resources() argument 410 error = bhndb_alloc_host_resources(&r->res, dev, parent_dev, r->cfg); in bhndb_alloc_resources() 414 device_get_nameunit(parent_dev), error); in bhndb_alloc_resources() 652 device_t dev, device_t parent_dev, const struct bhndb_hwcfg *hwcfg) in bhndb_alloc_host_resources() argument 660 parent_dmat = bus_get_dma_tag(parent_dev); in bhndb_alloc_host_resources() 663 hr->owner = parent_dev; in bhndb_alloc_host_resources() 737 "%s: %d\n", device_get_nameunit(parent_dev), error); in bhndb_alloc_host_resources()
|
| H A D | bhndb_pci.c | 1294 device_t parent_dev; in bhndb_pci_probe_alloc() local 1297 parent_dev = device_get_parent(dev); in bhndb_pci_probe_alloc() 1302 p->pci_dev = parent_dev; in bhndb_pci_probe_alloc() 1315 hwcfg = BHNDB_BUS_GET_GENERIC_HWCFG(parent_dev, dev); in bhndb_pci_probe_alloc() 1316 hint = BHNDB_BUS_GET_CHIPID(parent_dev, dev); in bhndb_pci_probe_alloc() 1319 error = bhndb_alloc_host_resources(&p->hr, dev, parent_dev, hwcfg); in bhndb_pci_probe_alloc()
|
| H A D | bhndb_private.h | 63 device_t parent_dev,
|
| /freebsd-13.1/sys/arm64/cavium/ |
| H A D | thunder_pcie_pem.c | 635 device_t parent_dev; in thunder_pem_alloc_resource() local 645 parent_dev = device_get_parent(device_get_parent(dev)); in thunder_pem_alloc_resource() 646 return (BUS_ALLOC_RESOURCE(parent_dev, dev, type, rid, start, in thunder_pem_alloc_resource() 695 device_t parent_dev; in thunder_pem_release_resource() local 703 parent_dev = device_get_parent(device_get_parent(dev)); in thunder_pem_release_resource() 706 return (BUS_RELEASE_RESOURCE(parent_dev, child, in thunder_pem_release_resource()
|
| /freebsd-13.1/sys/dev/sound/isa/ |
| H A D | sb16.c | 98 device_t parent_dev; member 128 sbc_lock(device_get_softc(sb->parent_dev)); in sb_lock() 133 sbc_lockassert(device_get_softc(sb->parent_dev)); in sb_lockassert() 138 sbc_unlock(device_get_softc(sb->parent_dev)); in sb_unlock() 818 sb->parent_dev = device_get_parent(dev); in sb16_attach() 819 BUS_READ_IVAR(sb->parent_dev, dev, 1, &ver); in sb16_attach()
|
| H A D | sb8.c | 79 device_t parent_dev; member 119 sbc_lock(device_get_softc(sb->parent_dev)); in sb_lock() 124 sbc_unlock(device_get_softc(sb->parent_dev)); in sb_unlock() 722 sb->parent_dev = device_get_parent(dev); in sb_attach()
|
| H A D | ess.c | 97 device_t parent_dev; member 146 sbc_lock(device_get_softc(sc->parent_dev)); in ess_lock() 151 sbc_unlock(device_get_softc(sc->parent_dev)); in ess_unlock() 816 sc->parent_dev = device_get_parent(dev); in ess_attach()
|
| /freebsd-13.1/sys/dev/usb/ |
| H A D | usb_device.h | 217 device_t parent_dev; /* parent device */ member 303 struct usb_device *usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
|
| H A D | usb_device.c | 1225 device_get_nameunit(udev->parent_dev), in usb_detach_device_sub() 1238 if (device_delete_child(udev->parent_dev, dev)) { in usb_detach_device_sub() 1337 if (device_delete_child(udev->parent_dev, dev)) { in usb_probe_and_attach_sub() 1348 uaa->temp_dev = device_add_child(udev->parent_dev, NULL, -1); in usb_probe_and_attach_sub() 1350 device_printf(udev->parent_dev, in usb_probe_and_attach_sub() 1538 if (device_delete_child(udev->parent_dev, uaa.temp_dev)) in usb_probe_and_attach() 1737 usb_alloc_device(device_t parent_dev, struct usb_bus *bus, in usb_alloc_device() argument 1753 parent_dev, bus, parent_hub, depth, port_index, port_no, in usb_alloc_device() 1804 udev->parent_dev = parent_dev; in usb_alloc_device()
|
| /freebsd-13.1/sys/cam/ |
| H A D | cam_xpt_internal.h | 195 device_t parent_dev; member
|