| /freebsd-12-stable/sys/contrib/ncsw/Peripherals/BM/ |
| D | bman_low.c | 194 rcr->busy = 0; in bm_rcr_init() 210 ASSERT_COND(!rcr->busy); in bm_rcr_finish() 222 ASSERT_COND(!rcr->busy); in bm_rcr_start() 226 rcr->busy = 1; in bm_rcr_start() 235 ASSERT_COND(rcr->busy); in bm_rcr_abort() 237 rcr->busy = 0; in bm_rcr_abort() 246 ASSERT_COND(rcr->busy); in bm_rcr_pend_and_next() 261 ASSERT_COND(rcr->busy); in bm_rcr_pci_commit() 269 rcr->busy = 0; in bm_rcr_pci_commit() 283 ASSERT_COND(rcr->busy); in bm_rcr_pce_commit() [all …]
|
| /freebsd-12-stable/sys/dev/ppbus/ |
| D | pps.c | 49 int busy; member 228 if (!sc->busy) { in ppsopen() 243 if (subdev > 0 && !(sc->busy & ~1)) { in ppsopen() 248 sc->busy |= (1 << subdev); in ppsopen() 263 sc->busy &= ~(1 << subdev); in ppsclose() 264 if (subdev > 0 && !(sc->busy & ~1)) in ppsclose() 266 if (!sc->busy) { in ppsclose() 287 KASSERT(sc->busy & ~1, ("pps polling w/o opened devices")); in ppshcpoll()
|
| /freebsd-12-stable/sys/kern/ |
| D | subr_unit.c | 261 KASSERT (y == uh->busy, in check_unrhdr() 263 uh->busy, y, line)); in check_unrhdr() 377 KASSERT(uh->busy == 0, ("unrhdr has %u allocations", uh->busy)); in delete_unrhdr() 397 uh->busy = 0; in clear_unrhdr() 624 uh->busy++; in alloc_unrl() 647 uh->busy++; in alloc_unrl() 681 uh->busy++; in alloc_unr_specificl() 698 uh->busy++; in alloc_unr_specificl() 760 uh->busy++; in alloc_unr_specificl() 813 uh->busy--; in free_unrl() [all …]
|
| D | kern_clocksource.c | 95 static u_int busy = 1; /* Reconfiguration is in progress. */ variable 142 if (doconfigtimer() || busy) in hardclockintr() 218 if (!busy) { in handleevents() 312 if (busy) 467 if (atomic_readandclear_int(&state->handle) && !busy) { 523 busy = 0; 527 busy = 1; 766 if (idletick || busy || 801 if (state->idle == 0 || busy) 842 if (busy)
|
| /freebsd-12-stable/sys/dev/ath/ath_hal/ar5416/ |
| D | ar5416_misc.c | 285 uint32_t busy; /* percentage */ in ar5416Get11nExtBusy() local 298 busy = 0; in ar5416Get11nExtBusy() 325 busy = (extBusyDelta * 100) / ctlClearDelta; in ar5416Get11nExtBusy() 327 busy = 100; in ar5416Get11nExtBusy() 329 if (busy > 100) { in ar5416Get11nExtBusy() 330 busy = 100; in ar5416Get11nExtBusy() 336 __func__, cycleDelta, ctlBusyDelta, extBusyDelta, ctlClearDelta, busy); in ar5416Get11nExtBusy() 344 return busy; in ar5416Get11nExtBusy()
|
| /freebsd-12-stable/usr.sbin/mfiutil/ |
| D | mfi_show.c | 674 int busy, error, fd; in show_progress() local 704 busy = 0; in show_progress() 719 busy = 1; in show_progress() 725 busy = 1; in show_progress() 731 busy = 1; in show_progress() 737 busy = 1; in show_progress() 758 busy = 1; in show_progress() 765 busy = 1; in show_progress() 771 busy = 1; in show_progress() 778 if (!busy) in show_progress()
|
| /freebsd-12-stable/sys/dev/netmap/ |
| D | netmap_monitor.c | 593 int rel_slots, free_slots, busy, sent = 0; in netmap_zmon_parent_sync() local 636 busy = i - mkring->nr_hwcur; in netmap_zmon_parent_sync() 637 if (busy < 0) in netmap_zmon_parent_sync() 638 busy += mkring->nkr_num_slots; in netmap_zmon_parent_sync() 639 free_slots = mlim - busy; in netmap_zmon_parent_sync() 739 int free_slots, busy, sent = 0, m; in netmap_monitor_parent_sync() local 753 busy = i - mkring->nr_hwcur; in netmap_monitor_parent_sync() 754 if (busy < 0) in netmap_monitor_parent_sync() 755 busy += mkring->nkr_num_slots; in netmap_monitor_parent_sync() 756 free_slots = mlim - busy; in netmap_monitor_parent_sync()
|
| /freebsd-12-stable/sys/dev/usb/controller/ |
| D | dwc_otg.c | 984 goto busy; in dwc_otg_host_setup_tx() 999 goto busy; in dwc_otg_host_setup_tx() 1006 goto busy; in dwc_otg_host_setup_tx() 1013 goto busy; in dwc_otg_host_setup_tx() 1049 goto busy; in dwc_otg_host_setup_tx() 1058 goto busy; in dwc_otg_host_setup_tx() 1070 goto busy; in dwc_otg_host_setup_tx() 1091 busy: in dwc_otg_host_setup_tx() 1228 goto busy; in dwc_otg_host_rate_check() 1230 goto busy; in dwc_otg_host_rate_check() [all …]
|
| D | saf1761_otg.c | 449 goto busy; in saf1761_host_setup_tx() 456 goto busy; in saf1761_host_setup_tx() 494 busy: in saf1761_host_setup_tx() 522 goto busy; in saf1761_host_bulk_data_rx() 583 goto busy; in saf1761_host_bulk_data_rx() 619 busy: in saf1761_host_bulk_data_rx() 643 goto busy; in saf1761_host_bulk_data_tx() 659 goto busy; in saf1761_host_bulk_data_tx() 706 busy: in saf1761_host_bulk_data_tx() 731 goto busy; in saf1761_host_intr_data_rx() [all …]
|
| /freebsd-12-stable/sys/dev/etherswitch/e6000sw/ |
| D | e6060sw.c | 758 int busy; in e6060sw_init_vtu() local 765 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_init_vtu() 767 if ((busy & VTU_BUSY) == 0) in e6060sw_init_vtu() 781 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_init_vtu() 783 if ((busy & VTU_BUSY) == 0) in e6060sw_init_vtu() 792 int busy; in e6060sw_set_vtu() local 805 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_set_vtu() 807 if ((busy & VTU_BUSY) == 0) in e6060sw_set_vtu() 817 int busy; in e6060sw_read_vtu() local 829 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_read_vtu() [all …]
|
| /freebsd-12-stable/sys/dev/sound/midi/ |
| D | midi.c | 109 int busy; member 354 m->busy = 0; in midi_init() 409 if (m->busy) { in midi_uninit() 658 m->busy++; in midi_open() 706 m->busy--; in midi_close() 718 MIDI_DEBUG(1, printf("midi_close: closed, busy = %d.\n", m->busy)); in midi_close() 776 if (!m->busy) in midi_read() 852 if (!m->busy) in midi_write() 1109 m->busy++; in midisynth_open() 1162 m->busy--; in midisynth_close() [all …]
|
| /freebsd-12-stable/sys/contrib/octeon-sdk/ |
| D | cvmx-zip-defs.h | 579 uint64_t busy : 1; /**< 1: ZIP system is busy; 0: ZIP system is idle. */ member 583 uint64_t busy : 1; 617 uint64_t busy : 1; /**< Core State: 1 - Core is busy; 0 - Core is idle */ member 627 uint64_t busy : 1; 648 uint64_t busy : 1; /**< Core State: 1 - Core is busy; 0 - Core is idle */ member 656 uint64_t busy : 1; 677 …uint64_t busy : 1; /**< Queue State: 1 - Queue is busy; 0 - Queue is idle… member 686 uint64_t busy : 1;
|
| /freebsd-12-stable/sys/dev/acpi_support/ |
| D | acpi_asus.c | 106 int busy; member 759 sc->s_bled.busy = 0; in acpi_asus_attach() 768 sc->s_dled.busy = 0; in acpi_asus_attach() 776 sc->s_gled.busy = 0; in acpi_asus_attach() 784 sc->s_mled.busy = 0; in acpi_asus_attach() 792 sc->s_tled.busy = 0; in acpi_asus_attach() 801 sc->s_wled.busy = 0; in acpi_asus_attach() 926 led->busy = 0; in acpi_asus_led_task() 935 if (led->busy) in acpi_asus_led() 938 led->busy = 1; in acpi_asus_led()
|
| /freebsd-12-stable/sys/contrib/ncsw/Peripherals/QM/ |
| D | qman_low.h | 229 eqcr->busy = 0; in qm_eqcr_init() 248 ASSERT_COND(!eqcr->busy); in qm_eqcr_finish() 263 ASSERT_COND(!eqcr->busy); in qm_eqcr_start() 268 eqcr->busy = 1; in qm_eqcr_start() 278 ASSERT_COND(eqcr->busy); in qm_eqcr_abort() 279 eqcr->busy = 0; in qm_eqcr_abort() 289 ASSERT_COND(eqcr->busy); in qm_eqcr_pend_and_next() 305 ASSERT_COND(eqcr->busy); \ 329 eqcr->busy = 0; in qmPortalEqcrPciCommit() 357 eqcr->busy = 0; in qmPortalEqcrPceCommit() [all …]
|
| /freebsd-12-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
| D | sdp.h | 150 (ssk->tx_ring.rdma_inflight ? ssk->tx_ring.rdma_inflight->busy : 0)) 261 int busy; member 292 u8 busy; member 298 u8 busy; member 460 memset((void *)&tx_sa->busy, 0, in tx_sa_reset() 461 sizeof(*tx_sa) - offsetof(typeof(*tx_sa), busy)); in tx_sa_reset()
|
| /freebsd-12-stable/contrib/apr/misc/unix/ |
| D | randbyte_os2.inc | 59 * idle / busy / interrupt cycle counts which should provide very good 75 ULONG ulBusyLow; /* Low 32 bits of busy time */ 76 ULONG ulBusyHigh; /* High 32 bits of busy time */
|
| /freebsd-12-stable/sys/arm/amlogic/aml8726/ |
| D | aml8726_sdxc-m8.c | 133 } busy; member 416 sc->busy.time = 0; in aml8726_sdxc_start_command() 417 sc->busy.error = MMC_ERR_NONE; in aml8726_sdxc_start_command() 543 sc->busy.time += AML_SDXC_BUSY_POLL_INTVL; in aml8726_sdxc_busy_check() 548 if (sc->busy.time < AML_SDXC_BUSY_TIMEOUT) { in aml8726_sdxc_busy_check() 555 if (sc->busy.error == MMC_ERR_NONE) in aml8726_sdxc_busy_check() 556 sc->busy.error = MMC_ERR_TIMEOUT; in aml8726_sdxc_busy_check() 559 aml8726_sdxc_finish_command(sc, sc->busy.error); in aml8726_sdxc_busy_check() 668 sc->busy.error = mmc_error; in aml8726_sdxc_intr()
|
| /freebsd-12-stable/sys/dev/sound/pcm/ |
| D | mixer.c | 53 int busy; member 179 CHN_FOREACH(c, d, channels.pcm.busy) { in mixer_set_softpcmvol() 232 CHN_FOREACH(c, d, channels.pcm.busy) { in mixer_set_eq() 637 m->busy = 0; in mixer_obj_create() 787 if (m->busy) { in mixer_uninit() 968 return (m->busy); in mixer_busy() 1063 m->busy = 1; in mixer_open() 1087 ret = (m->busy == 0) ? EBADF : 0; in mixer_close() 1088 m->busy = 0; in mixer_close() 1283 if (from == MIXER_CMD_CDEV && !m->busy) { in mixer_ioctl_cmd()
|
| /freebsd-12-stable/sys/arm/allwinner/ |
| D | aw_rsb.c | 135 int busy; member 326 while (sc->busy) in rsb_transfer() 328 sc->busy = 1; in rsb_transfer() 379 sc->busy = 0; in rsb_transfer()
|
| /freebsd-12-stable/sys/dev/nand/ |
| D | nandbus.c | 80 uint8_t busy; member 411 if (sc->busy) in nandbus_lock() 413 sc->busy = 1; in nandbus_lock() 425 sc->busy = 0; in nandbus_unlock()
|
| /freebsd-12-stable/sys/mips/ingenic/ |
| D | jz4780_smb.c | 100 int busy; member 333 while (sc->busy) in jzsmb_transfer() 335 sc->busy = 1; in jzsmb_transfer() 364 sc->busy = 0; in jzsmb_transfer()
|
| /freebsd-12-stable/sys/x86/x86/ |
| D | cpu_machdep.c | 596 cpu_idle(int busy) in cpu_idle() argument 602 busy, curcpu); in cpu_idle() 608 if (busy) { in cpu_idle() 610 cpu_idle_mwait(busy); in cpu_idle() 616 if (!busy) { in cpu_idle() 633 if (!busy) { in cpu_idle() 639 busy, curcpu); in cpu_idle()
|
| /freebsd-12-stable/sys/mips/mips/ |
| D | machdep.c | 541 cpu_idle(int busy) in cpu_idle() argument 548 if (!busy) { in cpu_idle() 553 if (!busy) { in cpu_idle()
|
| /freebsd-12-stable/contrib/netbsd-tests/kernel/ |
| D | t_umountstress.sh | 91 *:\ Device\ busy) 175 *:\ Device\ busy)
|
| /freebsd-12-stable/sys/dev/iicbus/ |
| D | max6690.c | 112 uint8_t busy[1], rsl; in max6690_read() local 120 { addr, IIC_M_RD, 1, busy }, in max6690_read() 130 if (busy[0] & 0x80) in max6690_read()
|