Home
last modified time | relevance | path

Searched refs:busy (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/linux-6.6.21/drivers/clk/imx/
Dclk-busy.c44 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_round_rate() local
54 return busy->div_ops->round_rate(&busy->div.hw, rate, prate); in clk_busy_divider_round_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-6.6.21/arch/arm/mach-spear/
Dpl080.c24 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.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c135 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()
168 busy |= mlx5e_poll_xdpsq_cq(&c->xdpsq.cq); in mlx5e_napi_poll()
171 busy |= mlx5e_poll_xdpsq_cq(&c->rq_xdpsq.cq); in mlx5e_napi_poll()
179 busy |= work_done == budget; in mlx5e_napi_poll()
190 busy |= mlx5e_ktls_rx_handle_resync_list(c, budget); in mlx5e_napi_poll()
192 busy |= INDIRECT_CALL_2(rq->post_wqes, in mlx5e_napi_poll()
197 busy |= mlx5e_poll_xdpsq_cq(&xsksq->cq); in mlx5e_napi_poll()
201 busy |= busy_xsk; in mlx5e_napi_poll()
[all …]
/linux-6.6.21/drivers/mtd/maps/
Dvmu-flash.c147 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-6.6.21/drivers/gpu/drm/ci/xfails/
Drockchip-rk3399-flakes.txt13 kms_sequence@get-forked-busy
17 kms_vblank@pipe-A-query-busy
18 kms_vblank@pipe-A-query-forked-busy
21 kms_vblank@pipe-B-query-busy
22 kms_vblank@pipe-B-query-forked-busy
Dvirtio_gpu-none-fails.txt28 kms_vblank@pipe-A-query-busy,Fail
30 kms_vblank@pipe-A-query-forked-busy,Fail
35 kms_vblank@pipe-A-wait-busy,Fail
37 kms_vblank@pipe-A-wait-forked-busy,Fail
/linux-6.6.21/drivers/clk/mxs/
Dclk-div.c25 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()
Dclk-frac.c28 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.6.21/include/trace/events/
Dfsi_master_gpio.h112 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.6.21/drivers/sh/maple/
Dmaple.c389 atomic_set(&mdev->busy, 0); in maple_attach_driver()
422 if (mdev->interval > 0 && atomic_read(&mdev->busy) == 0 && in setup_maple_commands()
435 if (atomic_read(&mdev->busy) == 0) { in setup_maple_commands()
436 atomic_set(&mdev->busy, 1); in setup_maple_commands()
475 atomic_set(&mdev->busy, 1); in maple_vblank_handler()
512 atomic_set(&mdev_add->busy, 1); in maple_map_subunits()
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()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/
Dhw.c144 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.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_busy.c145 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.6.21/drivers/fpga/
Dlattice-sysconfig.c28 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.6.21/sound/oss/dmasound/
Ddmasound_core.c320 int busy; member
331 mixer.busy = 1; in mixer_open()
339 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-6.6.21/drivers/mmc/core/
Dmmc_ops.c184 static int __mmc_send_op_cond_cb(void *cb_data, bool *busy) in __mmc_send_op_cond_cb() argument
198 *busy = false; in __mmc_send_op_cond_cb()
203 *busy = false; in __mmc_send_op_cond_cb()
208 *busy = true; in __mmc_send_op_cond_cb()
460 static int mmc_busy_cb(void *cb_data, bool *busy) in mmc_busy_cb() argument
468 *busy = host->ops->card_busy(host); in mmc_busy_cb()
474 *busy = true; in mmc_busy_cb()
498 *busy = !mmc_ready_for_data(status); in mmc_busy_cb()
504 int (*busy_cb)(void *cb_data, bool *busy), in __mmc_poll_for_busy() argument
511 bool busy = false; in __mmc_poll_for_busy() local
[all …]
/linux-6.6.21/crypto/
Dcrypto_engine.c97 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.6.21/arch/m68k/fpsp040/
Dgen_except.S68 | 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-6.6.21/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_mdio.c33 .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.6.21/drivers/dma/
Dlpc18xx-dmamux.c30 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-6.6.21/arch/sh/drivers/dma/
Ddma-api.c175 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-6.6.21/tools/testing/selftests/bpf/progs/
Dread_bpf_task_storage_busy.c13 int busy = 0; variable
35 busy = *value; in BPF_PROG()
/linux-6.6.21/drivers/crypto/amcc/
Dcrypto4xx_trng.c31 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.6.21/drivers/media/common/
Dcx2341x.c379 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-6.6.21/drivers/sbus/char/
Dflash.c30 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-6.6.21/drivers/firmware/
Dturris-mox-rwtm.c61 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()

12345678910>>...17