| /linux/drivers/xen/events/ |
| H A D | events_fifo.c | 275 unsigned priority, unsigned long *ready) in consume_one_event() argument 305 clear_bit(priority, ready); in consume_one_event() 321 unsigned long ready; in __evtchn_fifo_handle_events() local 326 ready = xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events() 328 while (ready) { in __evtchn_fifo_handle_events() 329 q = find_first_bit(&ready, EVTCHN_FIFO_MAX_QUEUES); in __evtchn_fifo_handle_events() 330 consume_one_event(cpu, ctrl, control_block, q, &ready); in __evtchn_fifo_handle_events() 331 ready |= xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
|
| /linux/include/linux/ |
| H A D | lwq.h | 25 struct llist_node *ready; /* entries to be dequeued */ member 36 q->ready = NULL; in lwq_init() 51 return smp_load_acquire(&q->ready) == NULL && llist_empty(&q->new); in lwq_empty() 104 smp_load_acquire(&q->ready) == NULL; in lwq_enqueue() 122 smp_load_acquire(&q->ready) == NULL; in lwq_enqueue_batch()
|
| /linux/lib/ |
| H A D | lwq.c | 26 this = q->ready; in __lwq_dequeue() 29 smp_store_release(&q->ready, (void *)1); in __lwq_dequeue() 32 q->ready = NULL; in __lwq_dequeue() 35 q->ready = llist_next(this); in __lwq_dequeue() 57 r = q->ready; in lwq_dequeue_all() 58 q->ready = NULL; in lwq_dequeue_all()
|
| /linux/tools/perf/tests/ |
| H A D | mmap-thread-lookup.c | 30 int ready[2]; member 65 ret = write(td->ready[1], &go, sizeof(int)); in thread_fn() 85 if (pipe(td->ready)) in thread_create() 91 ssize_t ret = read(td->ready[0], &go, sizeof(int)); in thread_create() 95 close(td->ready[0]); in thread_create() 96 close(td->ready[1]); in thread_create()
|
| /linux/arch/um/drivers/ |
| H A D | xterm_kern.c | 15 struct completion ready; member 38 complete(&xterm->ready); in xterm_interrupt() 58 init_completion(&data->ready); in xterm_fd() 73 wait_for_completion(&data->ready); in xterm_fd()
|
| /linux/net/rds/ |
| H A D | tcp_listen.c | 220 void (*ready)(struct sock *sk); in rds_tcp_listen_data_ready() local 223 rdsdebug("listen data ready sk %p\n", sk); in rds_tcp_listen_data_ready() 226 ready = sk->sk_user_data; in rds_tcp_listen_data_ready() 227 if (!ready) { /* check for teardown race */ in rds_tcp_listen_data_ready() 228 ready = sk->sk_data_ready; in rds_tcp_listen_data_ready() 238 * (*ready)() may be null if we are racing with netns delete, and in rds_tcp_listen_data_ready() 244 ready = rds_tcp_listen_sock_def_readable(sock_net(sk)); in rds_tcp_listen_data_ready() 248 if (ready) in rds_tcp_listen_data_ready() 249 ready(sk); in rds_tcp_listen_data_ready()
|
| /linux/drivers/video/fbdev/ |
| H A 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/drivers/gpu/drm/xe/ |
| H A D | xe_pxp_debugfs.c | 69 int ready = xe_pxp_get_readiness_status(pxp); in pxp_terminate() local 71 if (ready < 0) in pxp_terminate() 72 return ready; /* disabled or error occurred */ in pxp_terminate() 73 else if (!ready) in pxp_terminate()
|
| /linux/drivers/net/ethernet/altera/ |
| H A 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/drivers/hid/ |
| H A D | hid-wiimote.h | 127 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/tools/usb/ffs-aio-example/simple/device_app/ |
| H A D | aio_simple.c | 182 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/arch/sparc/mm/ |
| H A D | leon_mm.c | 74 goto ready; in leon_swprobe() 96 goto ready; in leon_swprobe() 123 goto ready; in leon_swprobe() 145 goto ready; in leon_swprobe() 151 ready: in leon_swprobe()
|
| /linux/tools/usb/ffs-aio-example/multibuff/device_app/ |
| H A 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/drivers/virtio/ |
| H A D | virtio_input.c | 21 bool ready; member 41 if (vi->ready) { in virtinput_recv_events() 93 if (vi->ready) { in virtinput_send_status() 319 vi->ready = true; in virtinput_probe() 329 vi->ready = false; in virtinput_probe() 347 vi->ready = false; in virtinput_remove() 366 vi->ready = false; in virtinput_freeze() 386 vi->ready = true; in virtinput_restore()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | devcom.c | 39 bool ready; member 331 void mlx5_devcom_comp_set_ready(struct mlx5_devcom_comp_dev *devcom, bool ready) in mlx5_devcom_comp_set_ready() argument 335 WRITE_ONCE(devcom->comp->ready, ready); in mlx5_devcom_comp_set_ready() 343 return READ_ONCE(devcom->comp->ready); in mlx5_devcom_comp_is_ready() 355 if (!READ_ONCE(comp->ready)) { in mlx5_devcom_for_each_peer_begin() 406 if (!READ_ONCE(comp->ready)) in mlx5_devcom_get_next_peer_data_rcu()
|
| /linux/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_inq_server.pkt | 23 // Now we have 10K of data ready on the socket. 27 // We read 2K and we should have 8K ready to read. 34 // We read 8K and we should have no further data ready to read.
|
| H A D | tcp_inq_client.pkt | 22 // Now we have 10K of data ready on the socket. 26 // We read 1K and we should have 9K ready to read. 33 // We read 9K and we should have no further data ready to read.
|
| /linux/drivers/vdpa/pds/ |
| H A D | vdpa_dev.c | 126 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() 501 pdsv->vqs[qid].ready = false; in pds_vdpa_init_vqs_entry()
|
| /linux/drivers/parisc/ |
| H A 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() 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/drivers/gpu/drm/nouveau/nvkm/falcon/ |
| H A 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/sound/soc/intel/catpt/ |
| H A 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/drivers/accel/amdxdna/ |
| H A D | aie2_psp.c | 51 u32 ready; in psp_exec() local 62 ret = readx_poll_timeout(readl, PSP_REG(psp, PSP_STATUS_REG), ready, in psp_exec() 63 FIELD_GET(PSP_STATUS_READY, ready), in psp_exec()
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget-ffs | 11 ready 1 if the function is ready to be used, E.G.
|
| /linux/drivers/staging/sm750fb/ |
| H A D | TODO | 10 - This driver will be removed from staging after the drm driver is ready 11 - The drm driver is getting ready at https://gitlab.com/sudipm/sm750/tree/sm750
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A 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
|