| /linux/drivers/clk/imx/ |
| H A D | clk-busy.c | 44 struct clk_busy_divider *busy = to_clk_busy_divider(hw); in clk_busy_divider_recalc_rate() local 46 return busy->div_ops->recalc_rate(&busy->div.hw, parent_rate); in clk_busy_divider_recalc_rate() 52 struct clk_busy_divider *busy = to_clk_busy_divider(hw); in clk_busy_divider_determine_rate() local 54 return busy->div_ops->determine_rate(&busy->div.hw, req); in clk_busy_divider_determine_rate() 60 struct clk_busy_divider *busy = to_clk_busy_divider(hw); in clk_busy_divider_set_rate() local 63 ret = busy->div_ops->set_rate(&busy->div.hw, rate, parent_rate); in clk_busy_divider_set_rate() 65 ret = clk_busy_wait(busy->reg, busy->shift); in clk_busy_divider_set_rate() 80 struct clk_busy_divider *busy; in imx_clk_hw_busy_divider() local 85 busy = kzalloc(sizeof(*busy), GFP_KERNEL); in imx_clk_hw_busy_divider() 86 if (!busy) in imx_clk_hw_busy_divider() [all …]
|
| /linux/arch/arm/mach-spear/ |
| H A D | pl080.c | 24 unsigned char busy; member 36 if (signals[signal].busy && in pl080_get_signal() 43 if (!signals[signal].busy) { in pl080_get_signal() 56 signals[signal].busy++; in pl080_get_signal() 70 if (!signals[signal].busy) in pl080_put_signal() 73 signals[signal].busy--; in pl080_put_signal()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_txrx.c | 135 bool busy = false; in mlx5e_napi_poll() local 150 busy |= mlx5e_poll_tx_cq(&c->sq[i].cq, budget); in mlx5e_napi_poll() 160 busy |= mlx5e_poll_tx_cq(&sq->cq, budget); in mlx5e_napi_poll() 169 busy |= mlx5e_poll_xdpsq_cq(&c->xdpsq->cq); in mlx5e_napi_poll() 172 busy |= mlx5e_poll_xdpsq_cq(&c->rq_xdpsq.cq); in mlx5e_napi_poll() 180 busy |= work_done == budget; in mlx5e_napi_poll() 191 busy |= mlx5e_ktls_rx_handle_resync_list(c, budget); in mlx5e_napi_poll() 193 busy |= INDIRECT_CALL_2(rq->post_wqes, in mlx5e_napi_poll() 198 busy |= mlx5e_poll_xdpsq_cq(&xsksq->cq); in mlx5e_napi_poll() 202 busy |= busy_xsk; in mlx5e_napi_poll() [all …]
|
| /linux/drivers/mtd/maps/ |
| H A D | vmu-flash.c | 147 if (atomic_read(&mdev->busy) == 1) { in maple_vmu_read_block() 149 atomic_read(&mdev->busy) == 0, HZ); in maple_vmu_read_block() 150 if (atomic_read(&mdev->busy) == 1) { in maple_vmu_read_block() 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() 174 atomic_read(&mdev->busy) == 2), HZ * 3); in maple_vmu_read_block() 180 if (error || atomic_read(&mdev->busy) == 2) { 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() [all …]
|
| /linux/drivers/clk/mxs/ |
| H 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()
|
| H A D | clk-frac.c | 28 u8 busy; member 103 return mxs_clk_wait(frac->reg, frac->busy); in clk_frac_set_rate() 113 void __iomem *reg, u8 shift, u8 width, u8 busy) in mxs_clk_frac() argument 132 frac->busy = busy; in mxs_clk_frac()
|
| /linux/include/trace/events/ |
| H 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/ |
| H A D | maple.c | 390 atomic_set(&mdev->busy, 0); in maple_attach_driver() 423 if (mdev->interval > 0 && atomic_read(&mdev->busy) == 0 && in setup_maple_commands() 436 if (atomic_read(&mdev->busy) == 0) { in setup_maple_commands() 437 atomic_set(&mdev->busy, 1); in setup_maple_commands() 476 atomic_set(&mdev->busy, 1); in maple_vblank_handler() 513 atomic_set(&mdev_add->busy, 1); in maple_map_subunits() 551 atomic_set(&mdev->busy, 2); in maple_response_none() 573 atomic_set(&mdev->busy, 0); in maple_response_none() 657 atomic_set(&mdev->busy, 0); in maple_dma_handler() 663 atomic_set(&mdev->busy, 0); in maple_dma_handler() [all …]
|
| /linux/drivers/fpga/ |
| H A D | lattice-sysconfig.c | 28 u8 busy; in sysconfig_read_busy() local 32 &busy, sizeof(busy)); in sysconfig_read_busy() 34 return ret ? : busy; in sysconfig_read_busy() 39 int ret, busy; in sysconfig_poll_busy() local 41 ret = read_poll_timeout(sysconfig_read_busy, busy, busy <= 0, in sysconfig_poll_busy() 45 return ret ? : busy; in sysconfig_poll_busy()
|
| /linux/drivers/net/wireless/ath/ |
| H 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/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_busy.c | 144 args->busy = 0; in i915_gem_busy_ioctl() 148 args->busy = 0; in i915_gem_busy_ioctl() 152 args->busy |= busy_check_writer(fence); in i915_gem_busy_ioctl() 155 args->busy |= busy_check_reader(fence); in i915_gem_busy_ioctl()
|
| /linux/crypto/ |
| H A D | crypto_engine.c | 87 if (!engine->busy) in crypto_pump_requests() 97 engine->busy = false; in crypto_pump_requests() 116 if (!engine->busy) in crypto_pump_requests() 117 engine->busy = true; in crypto_pump_requests() 204 if (!engine->busy && need_pump) in crypto_transfer_request() 369 if (engine->running || engine->busy) { in crypto_engine_start() 401 while ((crypto_queue_len(&engine->queue) || engine->busy) && limit--) { in crypto_engine_stop() 407 if (crypto_queue_len(&engine->queue) || engine->busy) in crypto_engine_stop() 449 engine->busy = false; in crypto_engine_alloc_init_and_set()
|
| /linux/sound/oss/dmasound/ |
| H A D | dmasound_core.c | 321 int busy; member 332 mixer.busy = 1; in mixer_open() 340 mixer.busy = 0; in mixer_release() 396 mixer.busy = 0; in mixer_init() 693 sq->busy = 0; in sq_init_waitqueue() 701 sq->busy = 0; /* CHECK: IS THIS OK??? */ 713 if (sq->busy) { in sq_open2() 719 if (wait_event_interruptible(sq->open_queue, !sq->busy)) in sq_open2() 729 sq->busy = 1; /* Let's play spot-the-race-condition */ in sq_open2() 740 sq->busy = 0 ; in sq_open2() [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | serial_port.c | 62 bool busy; in serial_port_runtime_suspend() local 80 busy = __serial_port_busy(port); in serial_port_runtime_suspend() 81 if (busy) in serial_port_runtime_suspend() 85 if (busy) in serial_port_runtime_suspend() 88 return busy ? -EBUSY : 0; in serial_port_runtime_suspend()
|
| /linux/Documentation/networking/ |
| H A D | napi.rst | 16 interrupts first (:ref:`busy polling<poll>`). 259 the device interrupt fires. As is the case with any busy polling it trades 260 off CPU cycles for lower latency (production uses of NAPI busy polling 265 ``net.core.busy_read`` sysctls. An io_uring API for NAPI busy polling 268 epoll-based busy polling 286 In order to enable busy polling, there are two choices: 288 1. ``/proc/sys/net/core/busy_poll`` can be set with a time in useconds to busy 290 epoll-based applications to busy poll when they call epoll_wait. This may 291 not be desirable as many applications may not have the need to busy poll. 311 While busy polling is supposed to be used by low latency applications, [all …]
|
| /linux/drivers/mmc/core/ |
| H A D | mmc_ops.c | 192 static int __mmc_send_op_cond_cb(void *cb_data, bool *busy) in __mmc_send_op_cond_cb() argument 206 *busy = false; in __mmc_send_op_cond_cb() 211 *busy = false; in __mmc_send_op_cond_cb() 216 *busy = true; in __mmc_send_op_cond_cb() 468 static int mmc_busy_cb(void *cb_data, bool *busy) in mmc_busy_cb() argument 476 *busy = host->ops->card_busy(host); in mmc_busy_cb() 482 *busy = true; in mmc_busy_cb() 506 *busy = !mmc_ready_for_data(status); in mmc_busy_cb() 512 int (*busy_cb)(void *cb_data, bool *busy), in __mmc_poll_for_busy() argument 519 bool busy = false; in __mmc_poll_for_busy() local [all …]
|
| /linux/arch/m68k/fpsp040/ |
| H A D | gen_except.S | 68 | Fix up the new busy frame with entries from the unimp frame 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 [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| H A D | mlxbf_gige_mdio.c | 33 .busy = { 65 .busy = { 203 gw_reg |= ((MLXBF_GIGE_MDIO_SET_BUSY << mdio_gw->busy.shift) & in mlxbf_gige_mdio_create_cmd() 204 mdio_gw->busy.mask); in mlxbf_gige_mdio_create_cmd() 223 val, !(val & priv->mdio_gw->busy.mask), in mlxbf_gige_mdio_read() 256 temp, !(temp & priv->mdio_gw->busy.mask), in mlxbf_gige_mdio_write()
|
| /linux/Documentation/scheduler/ |
| H A D | sched-stats.rst | 101 of idleness (busy, idle and newly idle): 104 cpu was busy 106 load did not require balancing when busy 108 more tasks and failed, when the cpu was busy 109 4) Total imbalance in load in this domain when the cpu was busy 110 5) Total imbalance in utilization in this domain when the cpu was busy 111 6) Total imbalance in number of tasks in this domain when the cpu was busy 113 busy 114 8) # of times in this domain detach_task() was called when busy 116 target task was cache-hot when busy [all …]
|
| /linux/drivers/dma/ |
| H A D | lpc32xx-dmamux.c | 29 bool busy; member 87 mux->busy = false; in lpc32xx_dmamux_release() 131 if (mux->busy) { in lpc32xx_dmamux_reserve() 139 mux->busy = true; in lpc32xx_dmamux_reserve()
|
| H A D | lpc18xx-dmamux.c | 30 bool busy; member 49 mux->busy = false; in lpc18xx_dmamux_free() 87 if (dmamux->muxes[mux].busy) { in lpc18xx_dmamux_reserve() 95 dmamux->muxes[mux].busy = true; in lpc18xx_dmamux_reserve()
|
| /linux/mm/ |
| H A D | vmalloc.c | 923 struct rb_list busy; member 1123 spin_lock(&vn->busy.lock); in find_vmap_area_exceed_addr_lock() 1124 *va = __find_vmap_area_exceed_addr(addr, &vn->busy.root); in find_vmap_area_exceed_addr_lock() 1129 spin_unlock(&vn->busy.lock); in find_vmap_area_exceed_addr_lock() 1140 spin_lock(&vn->busy.lock); in find_vmap_area_exceed_addr_lock() 1141 *va = __find_vmap_area(va_start_lowest, &vn->busy.root); in find_vmap_area_exceed_addr_lock() 1146 spin_unlock(&vn->busy.lock); in find_vmap_area_exceed_addr_lock() 1861 spin_lock(&vn->busy.lock); in free_vmap_area() 1862 unlink_va(va, &vn->busy.root); in free_vmap_area() 1863 spin_unlock(&vn->busy.lock); in free_vmap_area() [all …]
|
| /linux/drivers/media/common/ |
| H A D | cx2341x.c | 379 static int cx2341x_set_ctrl(struct cx2341x_mpeg_params *params, int busy, in cx2341x_set_ctrl() argument 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() 950 int cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params, int busy, in cx2341x_ext_ctrls() argument [all …]
|
| /linux/drivers/crypto/amcc/ |
| H 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/tools/testing/selftests/bpf/progs/ |
| H A D | read_bpf_task_storage_busy.c | 13 int busy = 0; variable 35 busy = *value; in BPF_PROG()
|