Home
last modified time | relevance | path

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

123

/linux-4.19.296/drivers/xen/events/
Devents_fifo.c274 unsigned priority, unsigned long *ready) in consume_one_event() argument
304 clear_bit(priority, ready); in consume_one_event()
320 unsigned long ready; in __evtchn_fifo_handle_events() local
325 ready = xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
327 while (ready) { in __evtchn_fifo_handle_events()
328 q = find_first_bit(&ready, EVTCHN_FIFO_MAX_QUEUES); in __evtchn_fifo_handle_events()
329 consume_one_event(cpu, ctrl, control_block, q, &ready); in __evtchn_fifo_handle_events()
330 ready |= xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
/linux-4.19.296/drivers/char/hw_random/
Dmtk-rng.c82 int ready; in mtk_rng_wait_ready() local
84 ready = readl(priv->base + RNG_CTRL) & RNG_READY; in mtk_rng_wait_ready()
85 if (!ready && wait) in mtk_rng_wait_ready()
86 readl_poll_timeout_atomic(priv->base + RNG_CTRL, ready, in mtk_rng_wait_ready()
87 ready & RNG_READY, USEC_POLL, in mtk_rng_wait_ready()
89 return !!ready; in mtk_rng_wait_ready()
Dks-sa-rng.c164 u32 ready; in ks_sa_rng_data_present() local
168 ready = readl(&ks_sa_rng->reg_rng->status); in ks_sa_rng_data_present()
169 ready &= TRNG_STATUS_REG_READY; in ks_sa_rng_data_present()
171 if (ready || !wait) in ks_sa_rng_data_present()
177 return ready; in ks_sa_rng_data_present()
/linux-4.19.296/drivers/hid/
Dhid-wiimote.h129 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()
Dhid-picolcd.h65 struct completion ready; member
130 u8 ready; member
Dhid-picolcd_core.c94 init_completion(&work->ready); in picolcd_send_and_wait()
113 wait_for_completion_interruptible_timeout(&work->ready, HZ*2); in picolcd_send_and_wait()
374 complete(&data->pending->ready); in picolcd_raw_event()
641 complete(&data->pending->ready); in picolcd_remove()
Dhid-picolcd_fb.c226 if (fbdata->ready) in picolcd_fb_reset()
229 fbdata->ready = 1; in picolcd_fb_reset()
245 if (!fbdata->ready && fbdata->picolcd) in picolcd_fb_update()
Dhid-sensor-hub.c323 init_completion(&hsdev->pending.ready); in sensor_hub_input_attr_get_raw_value()
337 &hsdev->pending.ready, HZ*5); in sensor_hub_input_attr_get_raw_value()
540 complete(&hsdev->pending.ready); in sensor_hub_raw_event()
760 complete(&hsdev->pending.ready); in sensor_hub_remove()
/linux-4.19.296/drivers/virtio/
Dvirtio_input.c18 bool ready; member
38 if (vi->ready) { in virtinput_recv_events()
75 if (vi->ready) { in virtinput_send_status()
293 vi->ready = true; in virtinput_probe()
303 vi->ready = false; in virtinput_probe()
320 vi->ready = false; in virtinput_remove()
338 vi->ready = false; in virtinput_freeze()
355 vi->ready = true; in virtinput_restore()
/linux-4.19.296/drivers/parisc/
Dpdc_stable.c101 short ready; /* entry record is valid if != 0 */ member
117 .ready = 0, \
173 entry->ready = 1; in pdcspath_fetch()
204 if (!entry->ready) { in pdcspath_store()
221 entry->ready = 2; in pdcspath_store()
245 i = entry->ready; in pdcspath_hwpath_read()
328 entry->ready = 0; in pdcspath_hwpath_write()
366 i = entry->ready; in pdcspath_layer_read()
1002 entry->ready = 2; in pdcs_register_pathentries()
1028 if (entry->ready >= 2) in pdcs_unregister_pathentries()
/linux-4.19.296/drivers/char/ipmi/
Dipmi_poweroff.c41 static int ready; variable
549 if (!ready) in ipmi_poweroff_function()
565 if (ready) in ipmi_po_new_smi()
636 ready = 1; in ipmi_po_new_smi()
641 if (!ready) in ipmi_po_smi_gone()
647 ready = 0; in ipmi_po_smi_gone()
735 if (ready) { in ipmi_poweroff_cleanup()
/linux-4.19.296/include/kvm/
Darm_pmu.h37 bool ready; member
42 #define kvm_arm_pmu_v3_ready(v) ((v)->arch.pmu.ready)
Darm_vgic.h215 bool ready; member
368 #define vgic_ready(k) ((k)->arch.vgic.ready)
/linux-4.19.296/drivers/uwb/
Dlc-rc.c387 rc->ready = 1; in uwb_rc_add()
414 rc->ready = 0; in uwb_rc_rm()
449 if (rc->ready == 0) in find_rc_try_get()
487 if (rc->ready == 0) in uwb_rc_get()
Dpal.c81 if (rc->ready == 0) in find_rc()
/linux-4.19.296/drivers/media/dvb-frontends/
Dcxd2099.c46 int ready; member
448 ci->ready = 0; in slot_reset()
455 if (ci->ready) in slot_reset()
527 ci->ready = 0; in campoll()
532 ci->ready = 1; in campoll()
/linux-4.19.296/drivers/misc/mic/bus/
Dcosm_bus.h112 bool (*ready)(struct cosm_device *cdev); member
/linux-4.19.296/fs/ocfs2/cluster/
Dtcp.c601 void (*ready)(struct sock *sk); in o2net_data_ready() local
610 ready = sc->sc_data_ready; in o2net_data_ready()
612 ready = sk->sk_data_ready; in o2net_data_ready()
616 ready(sk); in o2net_data_ready()
1989 void (*ready)(struct sock *sk); in o2net_listen_data_ready() local
1992 ready = sk->sk_user_data; in o2net_listen_data_ready()
1993 if (ready == NULL) { /* check for teardown race */ in o2net_listen_data_ready()
1994 ready = sk->sk_data_ready; in o2net_listen_data_ready()
2014 ready = NULL; in o2net_listen_data_ready()
2019 if (ready != NULL) in o2net_listen_data_ready()
[all …]
/linux-4.19.296/drivers/misc/mic/cosm/
Dcosm_main.c53 if (cdev->hw_ops->ready(cdev)) { in cosm_hw_reset()
94 if (!cdev->hw_ops->ready(cdev)) { in cosm_start()
/linux-4.19.296/include/xen/interface/
Devent_channel.h274 uint32_t ready; member
/linux-4.19.296/include/uapi/linux/
Dauto_dev-ioctl.h102 struct args_ready ready; member
/linux-4.19.296/drivers/clk/renesas/
Dr9a06g032-clocks.c24 u16 gate, reset, ready, midle, member
58 .ready = _rdy, .midle = _midle, \
368 if (g->ready || g->midle) { in r9a06g032_clk_gate_set()
370 if (g->ready) in r9a06g032_clk_gate_set()
371 clk_rdesc_set(clocks, g->ready, on); in r9a06g032_clk_gate_set()
/linux-4.19.296/include/linux/mfd/
Dtwl6040.h233 struct completion ready; member
/linux-4.19.296/drivers/fsi/
Dfsi-sbefifo.c440 bool ready = false; in sbefifo_wait() local
460 ready = !(up ? sbefifo_full(sts) : sbefifo_empty(sts)); in sbefifo_wait()
461 if (ready) in sbefifo_wait()
464 if (!ready) { in sbefifo_wait()
/linux-4.19.296/include/linux/
Dhid-sensor-hub.h62 struct completion ready; member

123