Home
last modified time | relevance | path

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

12

/freebsd-14-stable/sys/dev/mii/
HDmii.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()
HDmii_fdt.c266 error = device_get_children(dev, &children, &nchildren); in miibus_fdt_attach()
/freebsd-14-stable/sys/xen/xenbus/
HDxenbusb.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-14-stable/sys/dev/spibus/
HDacpi_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-14-stable/sys/isa/
HDisa_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()
897 if (device_get_children(dev, &children, &nchildren)) in isa_driver_added()
/freebsd-14-stable/sys/dev/ow/
HDow.c347 if (device_get_children(dev, &children, &nkid) != 0) in ow_child_by_romid()
582 if (device_get_children(ndev, &children, &nkid) != 0) in ow_detach()
/freebsd-14-stable/sys/dev/mfi/
HDmfi_pci.c297 if ((error = device_get_children(sc->mfi_dev, &devlist, &devcount)) != 0) { in mfi_pci_detach()
/freebsd-14-stable/sys/dev/iicbus/
HDacpi_iicbus.c551 if (device_get_children(dev, &devlist, &numdevs) != 0) in acpi_iicbus_set_power_children()
655 if (device_get_children(dev, &devlist, &numdevs) != 0) in acpi_iicbus_driver_added()
HDiiconf.c473 if ((error = device_get_children(dev, &children, &nkid)) != 0) in iicbus_transfer_gen()
/freebsd-14-stable/sys/dev/dpaa2/
HDdpaa2_mc_fdt.c292 error = device_get_children(dev, &devlist, &devcount); in dpaa2_mc_fdt_find_dpaa2_mac_dev()
HDdpaa2_mc_acpi.c281 error = device_get_children(dev, &devlist, &devcount); in dpaa2_mc_acpi_find_dpaa2_mac_dev()
/freebsd-14-stable/sys/arm64/arm64/
HDgic_v3_fdt.c190 if (device_get_children(dev, &sc->gic_children, &sc->gic_nchildren) != 0) in gic_v3_fdt_attach()
HDgic_v3_acpi.c370 if (device_get_children(dev, &sc->gic_children, &sc->gic_nchildren) !=0) in gic_v3_acpi_attach()
/freebsd-14-stable/sys/dev/cardbus/
HDcardbus.c280 if (device_get_children(cbdev, &devlist, &numdevs) != 0) in cardbus_driver_added()
/freebsd-14-stable/sys/dev/ata/chipsets/
HData-acerlabs.c274 if (!device_get_children(GRANDPARENT(dev), &children, &nchildren)) { in ata_ali_reset()
HData-serverworks.c151 if (!device_get_children(device_get_parent(dev), &children,&nchildren)){ in ata_serverworks_chipinit()
HData-via.c380 if (device_get_children(device_get_parent(dev), &children, &nchildren)) in ata_via_southbridge_fixup()
/freebsd-14-stable/sys/dev/hid/
HDhidbus.c310 error = device_get_children(bus, &children, &i); in hidbus_detach_children()
547 if (device_get_children(bus, &children, &ccount) != 0) in hidbus_find_child()
/freebsd-14-stable/sys/x86/pci/
HDpci_bus.c447 if (device_get_children(parent, &devs, &ndevs) == 0) { in legacy_pcib_identify()
/freebsd-14-stable/sys/dev/sound/pci/
HDhdspe.c107 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in hdspe_intr()
/freebsd-14-stable/sys/compat/linsysfs/
HDlinsysfs.c402 error = device_get_children(dev, &children, &nchildren); in linsysfs_run_bus()
/freebsd-14-stable/sys/dev/pccbb/
HDpccbb.c300 error = device_get_children(brdev, &devlist, &numdevs); in cbb_detach()
415 tmp = device_get_children(brdev, &devlist, &numdevs); in cbb_driver_added()
/freebsd-14-stable/sys/dev/pci/
HDpci_iov.c451 error = device_get_children(bus, &devlist, &devcount); in pci_iov_set_ari()
857 error = device_get_children(bus, &devlist, &devcount); in pci_iov_delete_iov_children()
/freebsd-14-stable/sys/dev/acpica/
HDacpi.c751 if (device_get_children(dev, &devlist, &numdevs) != 0) in acpi_set_power_children()
882 if (device_get_children(dev, &devlist, &numdevs)) in acpi_driver_added()
1352 if (device_get_children(dev, &children, &child_count) != 0) in acpi_sysres_alloc()
1407 if (device_get_children(dev, &children, &child_count) != 0) in acpi_reserve_resources()
3714 error = device_get_children(dev, &devlist, &numdevs); in acpi_wake_sysctl_walk()
/freebsd-14-stable/sys/dev/bhnd/
HDbhnd_subr.c420 error = device_get_children(bus, &devlistp, &devcnt); in bhnd_bus_match_child()
464 if ((error = device_get_children(bus, devlist, devcount))) in bhnd_bus_get_children()

12