| /dflybsd-src/sys/dev/acpica/ |
| H A D | acpi_battery.c | 119 int batt_stat, devcount, dev_idx, error, i; in acpi_battery_get_battinfo() local 134 devcount = devclass_get_maxunit(batt_dc); in acpi_battery_get_battinfo() 135 if (devcount == 0) in acpi_battery_get_battinfo() 142 bst = kmalloc(devcount * sizeof(*bst), M_TEMP, M_WAITOK | M_ZERO); in acpi_battery_get_battinfo() 143 bi = kmalloc(devcount * sizeof(*bi), M_TEMP, M_WAITOK | M_ZERO); in acpi_battery_get_battinfo() 153 for (i = 0; i < devcount; i++) { in acpi_battery_get_battinfo() 256 for (i = 0; i < devcount; i++) { in acpi_battery_get_battinfo()
|
| H A D | acpi_thermal.c | 1014 int devcount, i; in acpi_tz_thread() local 1021 devcount = 0; in acpi_tz_thread() 1030 if (devclass_get_count(acpi_tz_devclass) != devcount) { in acpi_tz_thread() 1035 devclass_get_devices(acpi_tz_devclass, &devs, &devcount); in acpi_tz_thread() 1036 sc = kmalloc(sizeof(struct acpi_tz_softc *) * devcount, M_TEMP, in acpi_tz_thread() 1038 for (i = 0; i < devcount; i++) in acpi_tz_thread() 1043 for (i = 0; i < devcount; i++) { in acpi_tz_thread() 1053 for (i = 0; i < devcount; i++) { in acpi_tz_thread() 1061 if (i == devcount) { in acpi_tz_thread()
|
| H A D | acpi_pci.c | 253 int devcount, i, func, slot; in acpi_pci_save_handle() local 262 if (device_get_children((device_t)context, &devlist, &devcount) != 0) in acpi_pci_save_handle() 264 for (i = 0; i < devcount; i++) { in acpi_pci_save_handle()
|
| /dflybsd-src/sys/dev/raid/mfi/ |
| H A D | mfi_pci.c | 309 int error, devcount, i; in mfi_pci_detach() local 323 if ((error = device_get_children(sc->mfi_dev, &devlist, &devcount)) != 0) { in mfi_pci_detach() 327 for (i = 0; i < devcount; i++) in mfi_pci_detach()
|
| /dflybsd-src/sys/dev/sound/pci/ |
| H A D | hdspe.c | 93 int devcount, status; in hdspe_intr() local 100 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in hdspe_intr() 103 for (i = 0; i < devcount; i++) { in hdspe_intr()
|
| H A D | hdspe-pcm.c | 195 int i, j, devcount, err; in hdspe_running() local 198 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in hdspe_running() 201 for (i = 0; i < devcount; i++) { in hdspe_running()
|
| H A D | emu10kx.c | 3458 int devcount, i; in emu_pci_detach() local 3499 if (device_get_children(dev, &childlist, &devcount) == 0) in emu_pci_detach() 3500 for (i = 0; i < devcount - 1; i++) { in emu_pci_detach()
|
| /dflybsd-src/contrib/lvm2/dist/lib/format_pool/ |
| H A D | disk_rep.c | 243 uint32_t *devcount) in _read_vg_pds() argument 291 *devcount = 0; in _read_vg_pds() 293 *devcount += sp_devs[i]; in _read_vg_pds()
|
| /dflybsd-src/sys/dev/sound/pci/hda/ |
| H A D | hdacc.c | 680 int devcount, i; in hdacc_pindump() local 682 if (device_get_children(dev, &devlist, &devcount) != 0) in hdacc_pindump() 684 for (i = 0; i < devcount; i++) in hdacc_pindump()
|
| H A D | hdac.c | 1332 int devcount, i, err, val; in sysctl_hdac_pindump() local 1352 if ((err = device_get_children(dev, &devlist, &devcount)) != 0) in sysctl_hdac_pindump() 1355 for (i = 0; i < devcount; i++) in sysctl_hdac_pindump() 1664 int cad, i, devcount, error; in hdac_detach() local 1666 if ((error = device_get_children(dev, &devlist, &devcount)) != 0) in hdac_detach() 1668 for (i = 0; i < devcount; i++) { in hdac_detach()
|
| /dflybsd-src/sys/bus/mmc/ |
| H A D | mmc.c | 1406 int devcount, err, host_caps, i, newcard; in mmc_discover_cards() local 1424 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in mmc_discover_cards() 1426 for (i = 0; i < devcount; i++) { in mmc_discover_cards() 1718 int err, i, devcount; in mmc_rescan_cards() local 1720 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in mmc_rescan_cards() 1722 for (i = 0; i < devcount; i++) { in mmc_rescan_cards() 1741 int err, i, devcount; in mmc_delete_cards() local 1743 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in mmc_delete_cards() 1745 for (i = 0; i < devcount; i++) { in mmc_delete_cards()
|
| /dflybsd-src/sys/dev/disk/nata/ |
| H A D | atapi-cam.c | 913 int devcount; in atapi_cam_event_handler() local 917 if (devclass_get_devices(atapi_cam_devclass, &devlist, &devcount) in atapi_cam_event_handler() 921 while (devlist != NULL && devcount > 0) { in atapi_cam_event_handler() 922 device_t child = devlist[--devcount]; in atapi_cam_event_handler()
|
| /dflybsd-src/sys/dev/sound/pcm/ |
| H A D | sound.c | 647 d->devcount++; in pcm_chn_add() 689 d->devcount--; in pcm_chn_remove() 1059 d->devcount = 0; in pcm_register() 1322 si->numaudios += d->devcount; in sound_oss_sysinfo()
|
| H A D | sound.h | 409 unsigned devcount, playcount, reccount, pvchancount, rvchancount ; member
|