Home
last modified time | relevance | path

Searched refs:ready (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/linux/drivers/xen/events/
A Devents_fifo.c277 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/tools/perf/tests/
A Dmmap-thread-lookup.c29 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()
A Dattr.c42 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/kernel/power/
A Duser.c35 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()
A Dswap.c606 wait_event(d->go, atomic_read(&d->ready) || in crc32_threadfn()
614 atomic_set(&d->ready, 0); in crc32_threadfn()
649 wait_event(d->go, atomic_read(&d->ready) || in lzo_compress_threadfn()
658 atomic_set(&d->ready, 0); in lzo_compress_threadfn()
798 atomic_set(&data[thr].ready, 1); in save_image_lzo()
806 atomic_set(&crc->ready, 1); in save_image_lzo()
1132 wait_event(d->go, atomic_read(&d->ready) || in lzo_decompress_threadfn()
1141 atomic_set(&d->ready, 0); in lzo_decompress_threadfn()
1371 atomic_set(&data[thr].ready, 1); in load_image_lzo()
1421 atomic_set(&crc->ready, 1); in load_image_lzo()
[all …]
/linux/arch/um/drivers/
A Dxterm_kern.c14 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/drivers/char/hw_random/
A Dmtk-rng.c73 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()
A Dks-sa-rng.c186 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()
A Dnpcm-rng.c57 int ready; in npcm_rng_read() local
64 ready, in npcm_rng_read()
65 ready & NPCM_RNG_DATA_VALID, in npcm_rng_read()
/linux/drivers/video/fbdev/
A Dpxa3xx-gcu.c98 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/net/rds/
A Dtcp_listen.c232 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()
A Dib_recv.c94 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()
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()
523 cache->ready = head->next; in rds_ib_recv_cache_get()
[all …]
/linux/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c164 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/drivers/net/ethernet/altera/
A Daltera_msgdma.c128 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/drivers/hid/
A Dhid-wiimote.h126 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/arch/sparc/mm/
A Dleon_mm.c77 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/tools/usb/ffs-aio-example/multibuff/device_app/
A Daio_multibuff.c176 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/drivers/virtio/
A Dvirtio_input.c21 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/Documentation/devicetree/bindings/spi/
A Dmarvell,mmp2-ssp.yaml29 ready-gpios:
32 ready to service a transfer. Only useful in slave mode.
42 ready-gpios: [ spi-slave ]
/linux/drivers/parisc/
A Dpdc_stable.c88 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/drivers/iio/pressure/
A Ddps310.c304 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/Documentation/devicetree/bindings/misc/
A Dolpc,xo1.75-ec.yaml16 response data) by strobing the ACK pin with the ready signal. See the
17 "ready-gpios" property of the SSP binding as documented in:
47 ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;
/linux/drivers/char/ipmi/
A Dipmi_poweroff.c42 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/drivers/gpu/drm/nouveau/nvkm/falcon/
A Dcmdq.c131 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/sound/soc/intel/catpt/
A Dipc.c19 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()

Completed in 55 milliseconds

12345678910>>...22