Home
last modified time | relevance | path

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

12345678910>>...25

/linux-6.6.21/drivers/xen/events/
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-6.6.21/arch/um/drivers/
Dxterm_kern.c15 struct completion ready; member
31 complete(&xterm->ready); in xterm_interrupt()
51 init_completion(&data->ready); in xterm_fd()
66 wait_for_completion(&data->ready); in xterm_fd()
/linux-6.6.21/tools/perf/tests/
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()
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-6.6.21/drivers/char/hw_random/
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 & RNG_READY); in mtk_rng_wait_ready()
Datmel-rng.c45 int ready; in atmel_trng_wait_ready() local
47 ready = readl(trng->base + TRNG_ISR) & TRNG_ISR_DATRDY; in atmel_trng_wait_ready()
48 if (!ready && wait) in atmel_trng_wait_ready()
49 readl_poll_timeout(trng->base + TRNG_ISR, ready, in atmel_trng_wait_ready()
50 ready & TRNG_ISR_DATRDY, 1000, 20000); in atmel_trng_wait_ready()
52 return !!ready; in atmel_trng_wait_ready()
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()
/linux-6.6.21/kernel/power/
Duser.c36 bool ready; member
97 data->ready = false; in snapshot_open()
145 if (!data->ready) { in snapshot_read()
296 if (!data->frozen || data->ready) in snapshot_ioctl()
306 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl()
314 data->ready = !freezer_test_done && !error; in snapshot_ioctl()
332 data->ready = false; in snapshot_ioctl()
349 if (!data->ready) { in snapshot_ioctl()
396 data->ready = false; in snapshot_ioctl()
/linux-6.6.21/drivers/video/fbdev/
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-6.6.21/net/rds/
Dtcp_listen.c236 void (*ready)(struct sock *sk); in rds_tcp_listen_data_ready() local
242 ready = sk->sk_user_data; in rds_tcp_listen_data_ready()
243 if (!ready) { /* check for teardown race */ in rds_tcp_listen_data_ready()
244 ready = sk->sk_data_ready; in rds_tcp_listen_data_ready()
260 ready = rds_tcp_listen_sock_def_readable(sock_net(sk)); in rds_tcp_listen_data_ready()
264 if (ready) in rds_tcp_listen_data_ready()
265 ready(sk); in rds_tcp_listen_data_ready()
/linux-6.6.21/drivers/net/ethernet/altera/
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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c32 bool ready; member
297 void mlx5_devcom_comp_set_ready(struct mlx5_devcom_comp_dev *devcom, bool ready) in mlx5_devcom_comp_set_ready() argument
301 WRITE_ONCE(devcom->comp->ready, ready); in mlx5_devcom_comp_set_ready()
309 return READ_ONCE(devcom->comp->ready); in mlx5_devcom_comp_is_ready()
321 if (!READ_ONCE(comp->ready)) { in mlx5_devcom_for_each_peer_begin()
372 if (!READ_ONCE(comp->ready)) in mlx5_devcom_get_next_peer_data_rcu()
/linux-6.6.21/fs/fscache/
Dio.c42 goto ready; /* There can be no content */ in fscache_wait_for_operation()
51 goto ready; in fscache_wait_for_operation()
59 ready: in fscache_wait_for_operation()
102 goto ready; /* There can be no content */ in fscache_begin_operation()
105 goto ready; in fscache_begin_operation()
114 ready: in fscache_begin_operation()
/linux-6.6.21/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c182 static void handle_ep0(int ep0, bool *ready) in handle_ep0() argument
209 *ready = true; in handle_ep0()
213 *ready = false; in handle_ep0()
238 bool ready; in main() local
312 handle_ep0(ep0, &ready); in main()
315 if (!ready) in main()
/linux-6.6.21/drivers/hid/
Dhid-wiimote.h127 struct completion ready; member
308 complete(&wdata->state.ready); in wiimote_cmd_complete()
318 complete(&wdata->state.ready); in wiimote_cmd_abort()
335 reinit_completion(&wdata->state.ready); in wiimote_cmd_set()
353 ret = wait_for_completion_interruptible_timeout(&wdata->state.ready, HZ); in wiimote_cmd_wait()
369 ret = wait_for_completion_timeout(&wdata->state.ready, HZ); in wiimote_cmd_wait_noint()
/linux-6.6.21/arch/sparc/mm/
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-6.6.21/Documentation/devicetree/bindings/spi/
Dmarvell,mmp2-ssp.yaml29 ready-gpios:
32 ready to service a transfer. Only useful in slave mode.
42 ready-gpios: [ spi-slave ]
/linux-6.6.21/tools/usb/ffs-aio-example/multibuff/device_app/
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-6.6.21/drivers/virtio/
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-6.6.21/drivers/vdpa/pds/
Dvdpa_dev.c126 static void pds_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready) in pds_vdpa_set_vq_ready() argument
135 __func__, qid, pdsv->vqs[qid].ready, ready); in pds_vdpa_set_vq_ready()
136 if (ready == pdsv->vqs[qid].ready) in pds_vdpa_set_vq_ready()
143 if (ready) { in pds_vdpa_set_vq_ready()
152 ready = false; in pds_vdpa_set_vq_ready()
161 pdsv->vqs[qid].ready = ready; in pds_vdpa_set_vq_ready()
168 return pdsv->vqs[qid].ready; in pds_vdpa_get_vq_ready()
181 if (pdsv->vqs[qid].ready) { in pds_vdpa_set_vq_state()
231 if (pdsv->vqs[qid].ready) { in pds_vdpa_get_vq_state()
495 pdsv->vqs[qid].ready = false; in pds_vdpa_init_vqs_entry()
/linux-6.6.21/Documentation/devicetree/bindings/misc/
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-6.6.21/drivers/char/ipmi/
Dipmi_poweroff.c42 static int ready; variable
543 if (!ready) in ipmi_poweroff_function()
559 if (ready) in ipmi_po_new_smi()
627 ready = 1; in ipmi_po_new_smi()
632 if (!ready) in ipmi_po_smi_gone()
638 ready = 0; in ipmi_po_smi_gone()
711 if (ready) { in ipmi_poweroff_cleanup()
/linux-6.6.21/drivers/parisc/
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()
314 entry->ready = 0; in pdcspath_hwpath_write()
352 i = entry->ready; in pdcspath_layer_read()
1017 entry->ready = 2; in pdcs_register_pathentries()
1043 if (entry->ready >= 2) in pdcs_unregister_pathentries()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/falcon/
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-6.6.21/sound/soc/intel/catpt/
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()

12345678910>>...25