| /linux-6.15/drivers/clk/imx/ |
| H 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() 165 busy = kzalloc(sizeof(*busy), GFP_KERNEL); in imx_clk_hw_busy_mux() [all …]
|
| /linux-6.15/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-6.15/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-6.15/drivers/mtd/maps/ |
| H 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-6.15/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 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-6.15/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-6.15/drivers/sh/maple/ |
| H A D | maple.c | 390 atomic_set(&mdev->busy, 0); in maple_attach_driver() 437 atomic_set(&mdev->busy, 1); in setup_maple_commands() 476 atomic_set(&mdev->busy, 1); in maple_vblank_handler() 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() 669 atomic_set(&mdev->busy, 0); in maple_dma_handler() 679 atomic_set(&mdev->busy, 0); in maple_dma_handler() 687 atomic_set(&mdev->busy, 0); in maple_dma_handler() [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_busy.c | 145 args->busy = 0; in i915_gem_busy_ioctl() 149 args->busy = 0; in i915_gem_busy_ioctl() 153 args->busy |= busy_check_writer(fence); in i915_gem_busy_ioctl() 156 args->busy |= busy_check_reader(fence); in i915_gem_busy_ioctl()
|
| /linux-6.15/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-6.15/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-6.15/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() 713 if (sq->busy) { in sq_open2() 1211 int busy; member 1253 if (state.busy) in state_open() 1261 state.busy = 1; in state_open() 1330 state.busy = 0; in state_release() [all …]
|
| /linux-6.15/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-6.15/drivers/mmc/core/ |
| H A D | mmc_ops.c | 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() 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() 519 bool busy = false; in __mmc_poll_for_busy() local 529 err = (*busy_cb)(cb_data, &busy); in __mmc_poll_for_busy() 534 if (expired && busy) { in __mmc_poll_for_busy() 541 if (busy) { in __mmc_poll_for_busy() [all …]
|
| /linux-6.15/Documentation/networking/ |
| H A D | napi.rst | 16 interrupts first (:ref:`busy polling<poll>`). 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: 311 While busy polling is supposed to be used by low latency applications, 324 busy polling applications, the ``prefer_busy_poll`` field of ``struct 328 The NAPI budget for busy polling is lower than the default (which makes 329 sense given the low latency intention of normal busy polling). This is 376 to defer IRQs after busy poll has found no data. [all …]
|
| /linux-6.15/crypto/ |
| H A D | crypto_engine.c | 97 if (!engine->busy) in crypto_pump_requests() 107 engine->busy = false; in crypto_pump_requests() 135 if (engine->busy) in crypto_pump_requests() 138 engine->busy = true; in crypto_pump_requests() 252 if (!engine->busy && need_pump) in crypto_transfer_request() 417 if (engine->running || engine->busy) { in crypto_engine_start() 449 while ((crypto_queue_len(&engine->queue) || engine->busy) && limit--) { in crypto_engine_stop() 455 if (crypto_queue_len(&engine->queue) || engine->busy) in crypto_engine_stop() 504 engine->busy = false; in crypto_engine_alloc_init_and_set()
|
| /linux-6.15/arch/m68k/fpsp040/ |
| H 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-6.15/drivers/firmware/ |
| H A D | turris-mox-rwtm.c | 95 struct mutex busy; member 291 if (!mutex_trylock(&rwtm->busy)) in mox_hwrng_read() 294 mutex_lock(&rwtm->busy); in mox_hwrng_read() 305 mutex_unlock(&rwtm->busy); in mox_hwrng_read() 355 if (!mutex_trylock(&rwtm->busy)) in do_sign_write() 396 mutex_unlock(&rwtm->busy); in do_sign_write() 399 mutex_unlock(&rwtm->busy); in do_sign_write() 458 ret = devm_mutex_init(dev, &rwtm->busy); in turris_mox_rwtm_probe()
|
| /linux-6.15/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-6.15/drivers/dma/ |
| 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()
|
| 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()
|
| /linux-6.15/Documentation/scheduler/ |
| H A D | sched-stats.rst | 98 of idleness (busy, idle and newly idle): 101 cpu was busy 103 load did not require balancing when busy 105 more tasks and failed, when the cpu was busy 106 4) Total imbalance in load when the cpu was busy 107 5) Total imbalance in utilization when the cpu was busy 108 6) Total imbalance in number of tasks when the cpu was busy 109 7) Total imbalance due to misfit tasks when the cpu was busy 112 target task was cache-hot when busy 114 find a busier queue while the cpu was busy [all …]
|
| /linux-6.15/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()
|
| /linux-6.15/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-6.15/mm/ |
| H A D | vmalloc.c | 883 struct rb_list busy; member 1065 spin_lock(&vn->busy.lock); in find_vmap_area_exceed_addr_lock() 1804 spin_lock(&vn->busy.lock); in free_vmap_area() 2027 spin_lock(&vn->busy.lock); in alloc_vmap_area() 2028 insert_vmap_area(va, &vn->busy.root, &vn->busy.head); in alloc_vmap_area() 4789 insert_vmap_area(vas[area], &vn->busy.root, &vn->busy.head); in pcpu_get_vm_areas() 5070 struct vm_struct *busy; in vmap_init_free_space() local 5078 for (busy = vmlist; busy; busy = busy->next) { in vmap_init_free_space() 5091 vmap_start = (unsigned long) busy->addr + busy->size; in vmap_init_free_space() 5144 vn->busy.root = RB_ROOT; in vmap_init_nodes() [all …]
|