Searched refs:curdev (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/sys/kern/ |
| H A D | kern_pmf.c | 206 device_t curdev; in pmf_check_system_drivers() local 211 for (curdev = deviter_first(&di, 0); curdev != NULL; in pmf_check_system_drivers() 212 curdev = deviter_next(&di)) { in pmf_check_system_drivers() 213 if (device_pmf_is_registered(curdev)) in pmf_check_system_drivers() 217 printf(" %s", device_xname(curdev)); in pmf_check_system_drivers() 232 device_t curdev; in pmf_system_bus_resume() local 238 for (curdev = deviter_first(&di, DEVITER_F_ROOT_FIRST); curdev != NULL; in pmf_system_bus_resume() 239 curdev = deviter_next(&di)) { in pmf_system_bus_resume() 240 if (!device_pmf_is_registered(curdev)) in pmf_system_bus_resume() 242 if (device_is_active(curdev) || in pmf_system_bus_resume() [all …]
|
| H A D | subr_autoconf.c | 2404 device_t curdev; in config_detach_all() local 2418 for (curdev = shutdown_first(&s); curdev != NULL; in config_detach_all() 2419 curdev = shutdown_next(&s)) { in config_detach_all() 2420 aprint_debug(" detaching %s, ", device_xname(curdev)); in config_detach_all() 2421 if (config_detach(curdev, flags) == 0) { in config_detach_all()
|
| /netbsd-src/sys/arch/powerpc/pci/ |
| H A D | pci_machdep_ofw.c | 197 int curdev, foundirqs=0; in genofw_setup_pciintr_map() local 226 curdev = -1; in genofw_setup_pciintr_map() 237 if (curdev != dev) in genofw_setup_pciintr_map() 248 if (curdev != dev) { in genofw_setup_pciintr_map() 250 curdev = dev; in genofw_setup_pciintr_map()
|
| /netbsd-src/sys/dev/acpi/ |
| H A D | thinkpad_acpi.c | 256 device_t curdev; in thinkpad_attach() local 273 for (curdev = deviter_first(&di, DEVITER_F_ROOT_FIRST); in thinkpad_attach() 274 curdev != NULL; curdev = deviter_next(&di)) in thinkpad_attach() 275 if (device_is_a(curdev, "acpiecdt") || in thinkpad_attach() 276 device_is_a(curdev, "acpiec")) { in thinkpad_attach() 277 sc->sc_ecdev = curdev; in thinkpad_attach()
|
| /netbsd-src/usr.bin/find/ |
| H A D | function.c | 1056 static dev_t curdev; /* need a guaranteed illegal dev value */ in f_fstype() local 1066 if (first || curdev != entry->fts_statp->st_dev) { in f_fstype() 1067 curdev = entry->fts_statp->st_dev; in f_fstype()
|
| /netbsd-src/sys/dev/hdaudio/ |
| H A D | hdafg.c | 998 uint32_t conn, defdev, curdev, curport; in hdafg_assoc_dump() local 1030 for (curdev = 0; curdev < 16; curdev++) { in hdafg_assoc_dump() 1032 if ((devmask & (1 << curdev)) == 0) in hdafg_assoc_dump() 1039 hdafg_default_device[curdev]); in hdafg_assoc_dump() 1056 if (conn != curport || defdev != curdev) in hdafg_assoc_dump() 1077 if (conn != curport || defdev != curdev) in hdafg_assoc_dump()
|