/Linux-v5.15/drivers/xen/events/ |
D | events_fifo.c | 277 unsigned priority, unsigned long *ready) in consume_one_event() argument 307 clear_bit(priority, ready); in consume_one_event() 323 unsigned long ready; in __evtchn_fifo_handle_events() local 328 ready = xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events() 330 while (ready) { in __evtchn_fifo_handle_events() 331 q = find_first_bit(&ready, EVTCHN_FIFO_MAX_QUEUES); in __evtchn_fifo_handle_events() 332 consume_one_event(cpu, ctrl, control_block, q, &ready); in __evtchn_fifo_handle_events() 333 ready |= xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
|
/Linux-v5.15/tools/perf/tests/ |
D | mmap-thread-lookup.c | 29 int ready[2]; member 64 ret = write(td->ready[1], &go, sizeof(int)); in thread_fn() 84 if (pipe(td->ready)) in thread_create() 90 ssize_t ret = read(td->ready[0], &go, sizeof(int)); in thread_create() 94 close(td->ready[0]); in thread_create() 95 close(td->ready[1]); in thread_create()
|
D | attr.c | 42 static bool ready; variable 74 if (!ready) in store_event() 162 if (unlikely(test_attr__enabled) && !ready) in test_attr__ready() 163 ready = true; in test_attr__ready()
|
/Linux-v5.15/arch/um/drivers/ |
D | xterm_kern.c | 14 struct completion ready; member 30 complete(&xterm->ready); in xterm_interrupt() 50 init_completion(&data->ready); in xterm_fd() 65 wait_for_completion(&data->ready); in xterm_fd()
|
/Linux-v5.15/drivers/char/hw_random/ |
D | mtk-rng.c | 73 int ready; in mtk_rng_wait_ready() local 75 ready = readl(priv->base + RNG_CTRL) & RNG_READY; in mtk_rng_wait_ready() 76 if (!ready && wait) in mtk_rng_wait_ready() 77 readl_poll_timeout_atomic(priv->base + RNG_CTRL, ready, in mtk_rng_wait_ready() 78 ready & RNG_READY, USEC_POLL, in mtk_rng_wait_ready() 80 return !!ready; in mtk_rng_wait_ready()
|
D | ks-sa-rng.c | 186 u32 ready; in ks_sa_rng_data_present() local 198 ready = readl(&ks_sa_rng->reg_rng->status); in ks_sa_rng_data_present() 199 ready &= TRNG_STATUS_REG_READY; in ks_sa_rng_data_present() 201 if (ready || !wait) in ks_sa_rng_data_present() 207 return ready; in ks_sa_rng_data_present()
|
D | npcm-rng.c | 57 int ready; in npcm_rng_read() local 64 ready, in npcm_rng_read() 65 ready & NPCM_RNG_DATA_VALID, in npcm_rng_read()
|
/Linux-v5.15/kernel/power/ |
D | user.c | 35 bool ready; member 95 data->ready = false; in snapshot_open() 141 if (!data->ready) { in snapshot_read() 281 if (!data->frozen || data->ready) in snapshot_ioctl() 291 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl() 299 data->ready = !freezer_test_done && !error; in snapshot_ioctl() 317 data->ready = false; in snapshot_ioctl() 334 if (!data->ready) { in snapshot_ioctl() 381 data->ready = false; in snapshot_ioctl()
|
D | swap.c | 587 atomic_t ready; /* ready to start flag */ member 606 wait_event(d->go, atomic_read(&d->ready) || in crc32_threadfn() 614 atomic_set(&d->ready, 0); in crc32_threadfn() 629 atomic_t ready; /* ready to start flag */ member 649 wait_event(d->go, atomic_read(&d->ready) || in lzo_compress_threadfn() 658 atomic_set(&d->ready, 0); in lzo_compress_threadfn() 801 atomic_set(&data[thr].ready, 1); in save_image_lzo() 809 atomic_set(&crc->ready, 1); in save_image_lzo() 1116 atomic_t ready; /* ready to start flag */ member 1135 wait_event(d->go, atomic_read(&d->ready) || in lzo_decompress_threadfn() [all …]
|
/Linux-v5.15/drivers/video/fbdev/ |
D | pxa3xx-gcu.c | 98 struct pxa3xx_gcu_batch *ready; member 208 struct pxa3xx_gcu_batch *ready = priv->ready; in run_ready() local 212 BUG_ON(!ready); in run_ready() 216 while (ready) { in run_ready() 218 shared->buffer[num++] = ready->phys; in run_ready() 219 ready = ready->next; in run_ready() 223 priv->running = priv->ready; in run_ready() 224 priv->ready = priv->ready_last = NULL; in run_ready() 259 if (priv->ready) { in pxa3xx_gcu_handle_irq() 433 if (priv->ready) { in pxa3xx_gcu_write() [all …]
|
/Linux-v5.15/net/rds/ |
D | tcp_listen.c | 232 void (*ready)(struct sock *sk); in rds_tcp_listen_data_ready() local 237 ready = sk->sk_user_data; in rds_tcp_listen_data_ready() 238 if (!ready) { /* check for teardown race */ in rds_tcp_listen_data_ready() 239 ready = sk->sk_data_ready; in rds_tcp_listen_data_ready() 255 ready = rds_tcp_listen_sock_def_readable(sock_net(sk)); in rds_tcp_listen_data_ready() 259 if (ready) in rds_tcp_listen_data_ready() 260 ready(sk); in rds_tcp_listen_data_ready()
|
D | ib_recv.c | 94 if (cache->ready) in rds_ib_cache_xfer_to_ready() 95 list_splice_entire_tail(tmp, cache->ready); in rds_ib_cache_xfer_to_ready() 97 cache->ready = tmp; in rds_ib_cache_xfer_to_ready() 116 cache->ready = NULL; in rds_ib_recv_alloc_cache() 149 if (cache->ready) { in rds_ib_cache_splice_all_lists() 150 list_splice_entire_tail(cache->ready, caller_list); in rds_ib_cache_splice_all_lists() 151 cache->ready = NULL; in rds_ib_cache_splice_all_lists() 321 if (!ic->i_cache_incs.ready) in rds_ib_recv_refill_one() 323 if (!ic->i_cache_frags.ready) in rds_ib_recv_refill_one() 519 struct list_head *head = cache->ready; in rds_ib_recv_cache_get() [all …]
|
/Linux-v5.15/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 164 static void handle_ep0(int ep0, bool *ready) in handle_ep0() argument 191 *ready = true; in handle_ep0() 195 *ready = false; in handle_ep0() 220 bool ready; in main() local 294 handle_ep0(ep0, &ready); in main() 297 if (!ready) in main()
|
/Linux-v5.15/drivers/net/ethernet/altera/ |
D | altera_msgdma.c | 128 u32 ready = 0; in msgdma_tx_completions() local 137 ready = max_t(int, in msgdma_tx_completions() 143 ready = priv->tx_prod - priv->tx_cons - 1; in msgdma_tx_completions() 145 ready = priv->tx_prod - priv->tx_cons; in msgdma_tx_completions() 147 return ready; in msgdma_tx_completions()
|
/Linux-v5.15/drivers/hid/ |
D | hid-wiimote.h | 126 struct completion ready; member 307 complete(&wdata->state.ready); in wiimote_cmd_complete() 317 complete(&wdata->state.ready); in wiimote_cmd_abort() 334 reinit_completion(&wdata->state.ready); in wiimote_cmd_set() 352 ret = wait_for_completion_interruptible_timeout(&wdata->state.ready, HZ); in wiimote_cmd_wait() 368 ret = wait_for_completion_timeout(&wdata->state.ready, HZ); in wiimote_cmd_wait_noint()
|
/Linux-v5.15/arch/sparc/mm/ |
D | leon_mm.c | 77 goto ready; in leon_swprobe() 100 goto ready; in leon_swprobe() 128 goto ready; in leon_swprobe() 151 goto ready; in leon_swprobe() 157 ready: in leon_swprobe()
|
/Linux-v5.15/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 176 static void handle_ep0(int ep0, bool *ready) in handle_ep0() argument 196 *ready = true; in handle_ep0() 200 *ready = false; in handle_ep0() 249 bool ready; in main() local 317 handle_ep0(ep0, &ready); in main() 320 if (!ready) in main()
|
/Linux-v5.15/drivers/virtio/ |
D | virtio_input.c | 21 bool ready; member 41 if (vi->ready) { in virtinput_recv_events() 93 if (vi->ready) { in virtinput_send_status() 318 vi->ready = true; in virtinput_probe() 328 vi->ready = false; in virtinput_probe() 346 vi->ready = false; in virtinput_remove() 364 vi->ready = false; in virtinput_freeze() 381 vi->ready = true; in virtinput_restore()
|
/Linux-v5.15/drivers/parisc/ |
D | pdc_stable.c | 88 short ready; /* entry record is valid if != 0 */ member 104 .ready = 0, \ 160 entry->ready = 1; in pdcspath_fetch() 191 if (!entry->ready) { in pdcspath_store() 208 entry->ready = 2; in pdcspath_store() 232 i = entry->ready; in pdcspath_hwpath_read() 315 entry->ready = 0; in pdcspath_hwpath_write() 353 i = entry->ready; in pdcspath_layer_read() 987 entry->ready = 2; in pdcs_register_pathentries() 1013 if (entry->ready >= 2) in pdcs_unregister_pathentries()
|
/Linux-v5.15/drivers/iio/pressure/ |
D | dps310.c | 304 int ready; in dps310_read_pres_raw() local 316 rc = regmap_read_poll_timeout(data->regmap, DPS310_MEAS_CFG, ready, in dps310_read_pres_raw() 317 ready & DPS310_PRS_RDY, in dps310_read_pres_raw() 355 int ready; in dps310_read_temp_raw() local 365 rc = regmap_read_poll_timeout(data->regmap, DPS310_MEAS_CFG, ready, in dps310_read_temp_raw() 366 ready & DPS310_TMP_RDY, in dps310_read_temp_raw() 725 int rc, ready; in dps310_probe() local 787 rc = regmap_read_poll_timeout(data->regmap, DPS310_MEAS_CFG, ready, in dps310_probe() 788 ready & DPS310_COEF_RDY, 10000, 40000); in dps310_probe()
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | cmdq.c | 131 if (!wait_for_completion_timeout(&cmdq->ready, in nvkm_falcon_cmdq_send() 171 reinit_completion(&cmdq->ready); in nvkm_falcon_cmdq_fini() 184 complete_all(&cmdq->ready); in nvkm_falcon_cmdq_init() 212 init_completion(&cmdq->ready); in nvkm_falcon_cmdq_new()
|
/Linux-v5.15/drivers/char/ipmi/ |
D | ipmi_poweroff.c | 42 static int ready; variable 547 if (!ready) in ipmi_poweroff_function() 563 if (ready) in ipmi_po_new_smi() 631 ready = 1; in ipmi_po_new_smi() 636 if (!ready) in ipmi_po_smi_gone() 642 ready = 0; in ipmi_po_smi_gone() 729 if (ready) { in ipmi_poweroff_cleanup()
|
/Linux-v5.15/sound/soc/intel/catpt/ |
D | ipc.c | 19 ipc->ready = false; in catpt_ipc_init() 39 ipc->ready = true; in catpt_ipc_arm() 93 if (!ipc->ready) in catpt_dsp_do_send_msg() 108 ipc->ready = false; in catpt_dsp_do_send_msg() 216 ipc->ready = false; in catpt_dsp_process_response()
|
/Linux-v5.15/drivers/block/paride/ |
D | pseudo.h | 51 int (*ready)(void), in ps_set_intr() 59 ps_ready = ready; in ps_set_intr()
|
/Linux-v5.15/Documentation/devicetree/bindings/sound/ |
D | rockchip,rk3399-gru-sound.txt | 10 - dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready. 12 delay for DMIC to ready so that rt5514 can avoid recording before
|