/linux/drivers/clk/imx/ |
A D | clk-busy.c | 46 return busy->div_ops->recalc_rate(&busy->div.hw, parent_rate); in clk_busy_divider_recalc_rate() 54 return busy->div_ops->round_rate(&busy->div.hw, rate, prate); in clk_busy_divider_round_rate() 65 ret = clk_busy_wait(busy->reg, busy->shift); in clk_busy_divider_set_rate() 85 busy = kzalloc(sizeof(*busy), GFP_KERNEL); in imx_clk_hw_busy_divider() 86 if (!busy) in imx_clk_hw_busy_divider() 110 kfree(busy); in imx_clk_hw_busy_divider() 135 return busy->mux_ops->get_parent(&busy->mux.hw); in clk_busy_mux_get_parent() 143 ret = busy->mux_ops->set_parent(&busy->mux.hw, index); in clk_busy_mux_set_parent() 145 ret = clk_busy_wait(busy->reg, busy->shift); in clk_busy_mux_set_parent() 164 busy = kzalloc(sizeof(*busy), GFP_KERNEL); in imx_clk_hw_busy_mux() [all …]
|
/linux/arch/riscv/include/asm/ |
A D | spinlock.h | 29 int tmp = 1, busy; in arch_spin_trylock() local 34 : "=r" (busy), "+A" (lock->lock) in arch_spin_trylock() 38 return !busy; in arch_spin_trylock() 86 int busy; in arch_read_trylock() local 96 : "+A" (lock->lock), "=&r" (busy) in arch_read_trylock() 99 return !busy; in arch_read_trylock() 104 int busy; in arch_write_trylock() local 114 : "+A" (lock->lock), "=&r" (busy) in arch_write_trylock() 117 return !busy; in arch_write_trylock()
|
/linux/arch/arm/mach-spear/ |
A D | pl080.c | 26 unsigned char busy; member 38 if (signals[signal].busy && in pl080_get_signal() 45 if (!signals[signal].busy) { in pl080_get_signal() 58 signals[signal].busy++; in pl080_get_signal() 72 if (!signals[signal].busy) in pl080_put_signal() 75 signals[signal].busy--; in pl080_put_signal()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_txrx.c | 124 bool busy = false; in mlx5e_napi_poll() local 139 busy |= mlx5e_poll_tx_cq(&c->sq[i].cq, budget); in mlx5e_napi_poll() 149 busy |= mlx5e_poll_tx_cq(&sq->cq, budget); in mlx5e_napi_poll() 153 busy |= mlx5e_poll_xdpsq_cq(&c->xdpsq.cq); in mlx5e_napi_poll() 156 busy |= mlx5e_poll_xdpsq_cq(&c->rq_xdpsq.cq); in mlx5e_napi_poll() 165 busy |= work_done == budget; in mlx5e_napi_poll() 177 busy |= mlx5e_ktls_rx_handle_resync_list(c, budget); in mlx5e_napi_poll() 179 busy |= INDIRECT_CALL_2(rq->post_wqes, in mlx5e_napi_poll() 184 busy |= mlx5e_poll_xdpsq_cq(&xsksq->cq); in mlx5e_napi_poll() 188 busy |= busy_xsk; in mlx5e_napi_poll() [all …]
|
/linux/drivers/mtd/maps/ |
A D | vmu-flash.c | 158 atomic_set(&mdev->busy, 1); in maple_vmu_read_block() 162 atomic_set(&mdev->busy, 0); in maple_vmu_read_block() 173 (atomic_read(&mdev->busy) == 0 || in maple_vmu_read_block() 181 if (atomic_read(&mdev->busy) == 2) in maple_vmu_read_block() 183 atomic_set(&mdev->busy, 0); in maple_vmu_read_block() 189 atomic_set(&mdev->busy, 0); in maple_vmu_read_block() 263 atomic_set(&mdev->busy, 1); in maple_vmu_write_block() 271 atomic_set(&mdev->busy, 0); in maple_vmu_write_block() 275 atomic_set(&mdev->busy, 0); in maple_vmu_write_block() 282 atomic_set(&mdev->busy, 0); in maple_vmu_write_block() [all …]
|
/linux/drivers/clk/mxs/ |
A D | clk-div.c | 25 u8 busy; member 59 ret = mxs_clk_wait(div->reg, div->busy); in clk_div_set_rate() 71 void __iomem *reg, u8 shift, u8 width, u8 busy) in mxs_clk_div() argument 88 div->busy = busy; in mxs_clk_div()
|
A D | clk-frac.c | 28 u8 busy; member 101 return mxs_clk_wait(frac->reg, frac->busy); in clk_frac_set_rate() 111 void __iomem *reg, u8 shift, u8 width, u8 busy) in mxs_clk_frac() argument 130 frac->busy = busy; in mxs_clk_frac()
|
/linux/include/trace/events/ |
A D | fsi_master_gpio.h | 112 TP_PROTO(const struct fsi_master_gpio *master, int busy), 113 TP_ARGS(master, busy), 116 __field(int, busy) 120 __entry->busy = busy; 123 __entry->master_idx, __entry->busy)
|
/linux/drivers/sh/maple/ |
A D | maple.c | 389 atomic_set(&mdev->busy, 0); in maple_attach_driver() 436 atomic_set(&mdev->busy, 1); in setup_maple_commands() 475 atomic_set(&mdev->busy, 1); in maple_vblank_handler() 550 atomic_set(&mdev->busy, 2); in maple_response_none() 572 atomic_set(&mdev->busy, 0); in maple_response_none() 656 atomic_set(&mdev->busy, 0); in maple_dma_handler() 662 atomic_set(&mdev->busy, 0); in maple_dma_handler() 668 atomic_set(&mdev->busy, 0); in maple_dma_handler() 678 atomic_set(&mdev->busy, 0); in maple_dma_handler() 686 atomic_set(&mdev->busy, 0); in maple_dma_handler() [all …]
|
/linux/crypto/ |
A D | crypto_engine.c | 93 if (!engine->busy) in crypto_pump_requests() 103 engine->busy = false; in crypto_pump_requests() 134 if (engine->busy) in crypto_pump_requests() 137 engine->busy = true; in crypto_pump_requests() 272 if (!engine->busy && need_pump) in crypto_transfer_request() 437 if (engine->running || engine->busy) { in crypto_engine_start() 469 while ((crypto_queue_len(&engine->queue) || engine->busy) && limit--) { in crypto_engine_stop() 475 if (crypto_queue_len(&engine->queue) || engine->busy) in crypto_engine_stop() 524 engine->busy = false; in crypto_engine_alloc_init_and_set()
|
/linux/sound/oss/dmasound/ |
A D | dmasound_core.c | 322 int busy; member 333 mixer.busy = 1; in mixer_open() 341 mixer.busy = 0; in mixer_release() 401 mixer.busy = 0; in mixer_init() 698 sq->busy = 0; in sq_init_waitqueue() 718 if (sq->busy) { in sq_open2() 1220 int busy; member 1262 if (state.busy) in state_open() 1270 state.busy = 1; in state_open() 1339 state.busy = 0; in state_release() [all …]
|
/linux/drivers/net/wireless/ath/ |
A D | hw.c | 144 u32 cycles, busy, rx, tx; in ath_hw_cycle_counters_update() local 152 busy = REG_READ(ah, AR_RCCNT); in ath_hw_cycle_counters_update() 167 common->cc_ani.rx_busy += busy; in ath_hw_cycle_counters_update() 172 common->cc_survey.rx_busy += busy; in ath_hw_cycle_counters_update()
|
/linux/arch/m68k/fpsp040/ |
A D | gen_except.S | 71 movel ETEMP_HI(%a6),ETEMP_HI(%a1) |frame to busy frame 84 movel %d0,CMDREG3B(%a1) |in the busy frame 138 | On a busy frame, we must clear the nmnexc bits. 141 bnes check_fr |if busy, clr nmnexc 203 movel %d0,CMDREG3B(%a6) |in the busy frame 278 cmpib #BUSY_SIZE-4,1(%a7) |check for busy frame 279 beqs busy_fr |if unimp, grow to busy 295 moveb #BUSY_SIZE-4,1(%a7) |write busy fmt word. 315 movel %d0,CMDREG3B(%a6) |in the busy frame 335 bnes do_restore |frame must be busy [all …]
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_request.c | 1730 ktime_t busy; member 2732 busy = 100 * ktime_to_ns(p->busy); in perf_series_engines() 2773 bool busy; in p_sync0() local 2788 busy = true; in p_sync0() 2817 if (busy) { in p_sync0() 2844 bool busy; in p_sync1() local 2859 busy = true; in p_sync1() 2890 if (busy) { in p_sync1() 2917 bool busy; in p_many() local 2951 if (busy) { in p_many() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | uvmm.c | 124 if (ret = -ENOENT, vma->busy) { in nvkm_uvmm_mthd_unmap() 125 VMM_DEBUG(vmm, "denied %016llx: %d", addr, vma->busy); in nvkm_uvmm_mthd_unmap() 174 if (ret = -ENOENT, vma->busy) { in nvkm_uvmm_mthd_map() 175 VMM_DEBUG(vmm, "denied %016llx: %d", addr, vma->busy); in nvkm_uvmm_mthd_map() 200 vma->busy = true; in nvkm_uvmm_mthd_map() 211 vma->busy = false; in nvkm_uvmm_mthd_map() 243 if (ret = -ENOENT, vma->busy) { in nvkm_uvmm_mthd_put() 244 VMM_DEBUG(vmm, "denied %016llx: %d", addr, vma->busy); in nvkm_uvmm_mthd_put()
|
/linux/drivers/media/common/ |
A D | cx2341x.c | 384 if (busy) in cx2341x_set_ctrl() 389 if (busy) in cx2341x_set_ctrl() 398 if (busy) in cx2341x_set_ctrl() 403 if (busy) in cx2341x_set_ctrl() 451 if (busy) in cx2341x_set_ctrl() 460 if (busy) in cx2341x_set_ctrl() 465 if (busy) in cx2341x_set_ctrl() 479 if (busy) in cx2341x_set_ctrl() 982 err = cx2341x_set_ctrl(params, busy, ctrl); in cx2341x_ext_ctrls() 1773 v4l2_ctrl_grab(cxhdl->stream_type, busy); in cx2341x_handler_set_busy() [all …]
|
/linux/arch/sh/drivers/dma/ |
A D | dma-api.c | 175 if (atomic_read(&channel->busy) == 0) in dmac_search_free_channel() 184 atomic_set(&channel->busy, 1); in dmac_search_free_channel() 198 if (atomic_xchg(&channel->busy, 1)) in request_dma() 206 atomic_set(&channel->busy, 0); in request_dma() 223 atomic_set(&channel->busy, 0); in free_dma() 373 atomic_set(&chan->busy, 0); in register_dmac()
|
/linux/drivers/dma/ |
A D | lpc18xx-dmamux.c | 28 bool busy; member 47 mux->busy = false; in lpc18xx_dmamux_free() 85 if (dmamux->muxes[mux].busy) { in lpc18xx_dmamux_reserve() 93 dmamux->muxes[mux].busy = true; in lpc18xx_dmamux_reserve()
|
/linux/drivers/firmware/ |
A D | turris-mox-rwtm.c | 61 struct mutex busy; member 299 if (!mutex_trylock(&rwtm->busy)) in mox_hwrng_read() 302 mutex_lock(&rwtm->busy); in mox_hwrng_read() 321 mutex_unlock(&rwtm->busy); in mox_hwrng_read() 373 if (!mutex_trylock(&rwtm->busy)) in do_sign_write() 419 mutex_unlock(&rwtm->busy); in do_sign_write() 422 mutex_unlock(&rwtm->busy); in do_sign_write() 501 mutex_init(&rwtm->busy); in turris_mox_rwtm_probe()
|
/linux/drivers/mailbox/ |
A D | sprd-mailbox.c | 158 u32 fifo_sts, send_sts, busy, id; in sprd_mbox_inbox_isr() local 180 busy = fifo_sts & SPRD_INBOX_FIFO_BUSY_MASK; in sprd_mbox_inbox_isr() 181 if (!(busy & BIT(id))) in sprd_mbox_inbox_isr() 219 u32 busy; in sprd_mbox_flush() local 224 busy = readl(priv->inbox_base + SPRD_MBOX_FIFO_STS) & in sprd_mbox_flush() 226 if (!(busy & BIT(id))) { in sprd_mbox_flush()
|
/linux/Documentation/scheduler/ |
A D | sched-stats.rst | 76 of idleness (idle, busy, and newly idle): 95 cpu was busy 97 load did not require balancing when busy 99 more tasks and failed, when the cpu was busy 101 load_balance() in this domain when the cpu was busy 102 13) # of times in this domain pull_task() was called when busy 104 target task was cache-hot when busy 106 find a busier queue while the cpu was busy 108 was busy but no busier group was found
|
/linux/drivers/sbus/char/ |
A D | flash.c | 30 unsigned long busy; /* In use? */ member 126 if (test_and_set_bit(0, (void *)&flash.busy) != 0) { in flash_open() 139 flash.busy = 0; in flash_release() 180 flash.busy = 0; in flash_probe()
|
/linux/drivers/crypto/amcc/ |
A D | crypto4xx_trng.c | 31 int busy, i, present = 0; in ppc4xx_trng_data_present() local 34 busy = (in_le32(dev->trng_base + PPC4XX_TRNG_STAT) & in ppc4xx_trng_data_present() 36 if (!busy || !wait) { in ppc4xx_trng_data_present()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_busy.c | 149 args->busy = busy_check_writer(dma_resv_excl_fence(obj->base.resv)); in i915_gem_busy_ioctl() 160 args->busy |= busy_check_reader(fence); in i915_gem_busy_ioctl() 164 if (args->busy && read_seqcount_retry(&obj->base.resv->seq, seq)) in i915_gem_busy_ioctl()
|
/linux/drivers/comedi/drivers/ |
A D | comedi_8254.c | 472 unsigned int counter, bool busy) in comedi_8254_set_busy() argument 475 i8254->busy[counter] = busy; in comedi_8254_set_busy() 488 if (i8254->busy[chan]) in comedi_8254_insn_read() 505 if (i8254->busy[chan]) in comedi_8254_insn_write() 523 if (i8254->busy[chan]) in comedi_8254_insn_config()
|