Home
last modified time | relevance | path

Searched refs:device_get_children (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/sys/dev/mii/
H A Dmii.c131 if (device_get_children(dev, &children, &nchildren) == 0) { in miibus_attach()
246 if (device_get_children(dev, &children, &nchildren) != 0) in miibus_hinted_child()
438 if (device_get_children(*miibus, &children, &nchildren) != 0) { in mii_attach()
515 rv = device_get_children(*miibus, &children, &nchildren); in mii_attach()
H A Dmii_fdt.c264 error = device_get_children(dev, &children, &nchildren); in miibus_fdt_attach()
/freebsd/sys/xen/xenbus/
H A Dxenbusb.c210 if (device_get_children(dev, &kids, &count)) in xenbusb_device_exists()
444 if (device_get_children(dev, &kids, &count) == 0) { in xenbusb_probe_children()
800 if (device_get_children(dev, &kids, &count) == 0) { in xenbusb_resume()
/freebsd/sys/dev/spibus/
H A Dacpi_spibus.c342 if (device_get_children(dev, &devlist, &numdevs) != 0) in acpi_spibus_set_power_children()
465 if (device_get_children(dev, &devlist, &numdevs) != 0) in acpi_spibus_driver_added()
/freebsd/sys/isa/
H A Disa_common.c506 if (device_get_children(dev, &children, &nchildren)) in isa_probe_children()
556 if (device_get_children(dev, &children, &nchildren)) in isa_probe_children()
891 if (device_get_children(dev, &children, &nchildren)) in isa_driver_added()
/freebsd/sys/dev/ow/
H A Dow.c340 if (device_get_children(dev, &children, &nkid) != 0) in ow_child_by_romid()
576 if (device_get_children(ndev, &children, &nkid) != 0) in ow_detach()
/freebsd/sys/dev/mfi/
H A Dmfi_pci.c297 if ((error = device_get_children(sc->mfi_dev, &devlist, &devcount)) != 0) { in mfi_pci_detach()
/freebsd/sys/dev/nvdimm/
H A Dnvdimm_acpi.c218 error = device_get_children(dev, &children, &num_children); in nvdimm_root_detach()
/freebsd/sys/dev/iicbus/
H A Dacpi_iicbus.c550 if (device_get_children(dev, &devlist, &numdevs) != 0) in acpi_iicbus_set_power_children()
654 if (device_get_children(dev, &devlist, &numdevs) != 0) in acpi_iicbus_driver_added()
H A Diiconf.c472 if ((error = device_get_children(dev, &children, &nkid)) != 0) in iicbus_transfer_gen()
/freebsd/sys/dev/cardbus/
H A Dcardbus.c278 if (device_get_children(cbdev, &devlist, &numdevs) != 0) in cardbus_driver_added()
/freebsd/sys/arm64/arm64/
H A Dgic_v3_fdt.c189 if (device_get_children(dev, &sc->gic_children, &sc->gic_nchildren) != 0) in gic_v3_fdt_attach()
H A Dgic_v3_acpi.c369 if (device_get_children(dev, &sc->gic_children, &sc->gic_nchildren) !=0) in gic_v3_acpi_attach()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc_acpi.c277 error = device_get_children(dev, &devlist, &devcount); in dpaa2_mc_acpi_find_dpaa2_mac_dev()
H A Ddpaa2_mc_fdt.c292 error = device_get_children(dev, &devlist, &devcount); in dpaa2_mc_fdt_find_dpaa2_mac_dev()
/freebsd/sys/dev/ata/chipsets/
H A Data-acerlabs.c273 if (!device_get_children(GRANDPARENT(dev), &children, &nchildren)) { in ata_ali_reset()
H A Data-serverworks.c150 if (!device_get_children(device_get_parent(dev), &children,&nchildren)){ in ata_serverworks_chipinit()
H A Data-via.c379 if (device_get_children(device_get_parent(dev), &children, &nchildren)) in ata_via_southbridge_fixup()
/freebsd/sys/dev/hid/
H A Dhidbus.c309 error = device_get_children(bus, &children, &i); in hidbus_detach_children()
548 if (device_get_children(bus, &children, &ccount) != 0) in hidbus_find_child()
/freebsd/sys/dev/pci/
H A Dpci_iov.c451 error = device_get_children(bus, &devlist, &devcount); in pci_iov_set_ari()
854 error = device_get_children(bus, &devlist, &devcount); in pci_iov_delete_iov_children()
/freebsd/sys/x86/pci/
H A Dpci_bus.c447 if (device_get_children(parent, &devs, &ndevs) == 0) { in legacy_pcib_identify()
/freebsd/sys/compat/linsysfs/
H A Dlinsysfs.c402 error = device_get_children(dev, &children, &nchildren); in linsysfs_run_bus()
/freebsd/sys/dev/pccbb/
H A Dpccbb.c299 error = device_get_children(brdev, &devlist, &numdevs); in cbb_detach()
414 tmp = device_get_children(brdev, &devlist, &numdevs); in cbb_driver_added()
/freebsd/sys/dev/sound/pci/
H A Dhdspe.c126 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in hdspe_intr()
/freebsd/sys/dev/acpica/
H A Dacpi.c731 if (device_get_children(dev, &devlist, &numdevs) != 0) in acpi_set_power_children()
861 if (device_get_children(dev, &devlist, &numdevs)) in acpi_driver_added()
1338 if (device_get_children(dev, &children, &child_count) != 0) in acpi_sysres_alloc()
1393 if (device_get_children(dev, &children, &child_count) != 0) in acpi_reserve_resources()
3687 error = device_get_children(dev, &devlist, &numdevs); in acpi_wake_sysctl_walk()

12