Home
last modified time | relevance | path

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

1234567

/drivers/xen/events/
Devents_fifo.c284 unsigned priority, unsigned long *ready, in consume_one_event() argument
315 clear_bit(priority, ready); in consume_one_event()
330 unsigned long ready; in __evtchn_fifo_handle_events() local
335 ready = xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
337 while (ready) { in __evtchn_fifo_handle_events()
338 q = find_first_bit(&ready, EVTCHN_FIFO_MAX_QUEUES); in __evtchn_fifo_handle_events()
339 consume_one_event(cpu, control_block, q, &ready, drop); in __evtchn_fifo_handle_events()
340 ready |= xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
/drivers/video/fbdev/
Dpxa3xx-gcu.c110 struct pxa3xx_gcu_batch *ready; member
218 struct pxa3xx_gcu_batch *ready = priv->ready; in run_ready() local
222 BUG_ON(!ready); in run_ready()
226 while (ready) { in run_ready()
228 shared->buffer[num++] = ready->phys; in run_ready()
229 ready = ready->next; in run_ready()
233 priv->running = priv->ready; in run_ready()
234 priv->ready = priv->ready_last = NULL; in run_ready()
269 if (priv->ready) { in pxa3xx_gcu_handle_irq()
443 if (priv->ready) { in pxa3xx_gcu_write()
[all …]
/drivers/net/ethernet/altera/
Daltera_msgdma.c139 u32 ready = 0; in msgdma_tx_completions() local
148 ready = priv->tx_prod - priv->tx_cons - inuse - 1; in msgdma_tx_completions()
153 ready = priv->tx_prod - priv->tx_cons - 1; in msgdma_tx_completions()
155 ready = priv->tx_prod - priv->tx_cons; in msgdma_tx_completions()
157 return ready; in msgdma_tx_completions()
Daltera_sgdma.c213 u32 ready = 0; in sgdma_tx_completions() local
219 ready = 1; in sgdma_tx_completions()
222 return ready; in sgdma_tx_completions()
/drivers/hid/
Dhid-wiimote.h127 struct completion ready; member
305 complete(&wdata->state.ready); in wiimote_cmd_complete()
315 complete(&wdata->state.ready); in wiimote_cmd_abort()
332 reinit_completion(&wdata->state.ready); in wiimote_cmd_set()
350 ret = wait_for_completion_interruptible_timeout(&wdata->state.ready, HZ); in wiimote_cmd_wait()
366 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()
/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()
/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()
1000 entry->ready = 2; in pdcs_register_pathentries()
1026 if (entry->ready >= 2) in pdcs_unregister_pathentries()
/drivers/char/ipmi/
Dipmi_poweroff.c61 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()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c233 if (!adev->gart.ready) { in amdgpu_gart_unbind()
280 if (!adev->gart.ready) { in amdgpu_gart_bind()
355 if (adev->gart.ready) { in amdgpu_gart_fini()
359 adev->gart.ready = false; in amdgpu_gart_fini()
Damdgpu_ib.c145 if (!ring->ready) { in amdgpu_ib_schedule()
303 if (!ring || !ring->ready) in amdgpu_ib_ring_tests()
308 ring->ready = false; in amdgpu_ib_ring_tests()
Damdgpu_test.c270 if (!ringA || !ringA->ready) in amdgpu_test_syncing()
275 if (!ringB || !ringB->ready) in amdgpu_test_syncing()
289 if (!ringC || !ringC->ready) in amdgpu_test_syncing()
/drivers/block/paride/
Dpseudo.h51 int (*ready)(void), in ps_set_intr()
59 ps_ready = ready; in ps_set_intr()
/drivers/gpu/drm/radeon/
Dradeon_gart.c245 if (!rdev->gart.ready) { in radeon_gart_unbind()
292 if (!rdev->gart.ready) { in radeon_gart_bind()
373 if (rdev->gart.ready) { in radeon_gart_fini()
377 rdev->gart.ready = false; in radeon_gart_fini()
Dvce_v1_0.c366 ring->ready = true; in vce_v1_0_init()
369 ring->ready = false; in vce_v1_0_init()
374 ring->ready = true; in vce_v1_0_init()
377 ring->ready = false; in vce_v1_0_init()
Dradeon_ib.c128 if (!ib->length_dw || !ring->ready) { in radeon_ib_schedule()
265 if (!ring->ready) in radeon_ib_ring_tests()
271 ring->ready = false; in radeon_ib_ring_tests()
Dni_dma.c175 rdev->ring[R600_RING_TYPE_DMA_INDEX].ready = false; in cayman_dma_stop()
176 rdev->ring[CAYMAN_RING_TYPE_DMA1_INDEX].ready = false; in cayman_dma_stop()
248 ring->ready = true; in cayman_dma_resume()
252 ring->ready = false; in cayman_dma_resume()
Duvd_v1_0.c173 ring->ready = true; in uvd_v1_0_init()
176 ring->ready = false; in uvd_v1_0_init()
253 ring->ready = false; in uvd_v1_0_fini()
Dr600_dma.c109 rdev->ring[R600_RING_TYPE_DMA_INDEX].ready = false; in r600_dma_stop()
172 ring->ready = true; in r600_dma_resume()
176 ring->ready = false; in r600_dma_resume()
/drivers/input/
Dmousedev.c108 unsigned char ready, buffer, bufsiz; member
279 if (client->ready && p->buttons != mousedev->packet.buttons) { in mousedev_notify_readers()
307 client->ready = 1; in mousedev_notify_readers()
311 if (client->ready) { in mousedev_notify_readers()
624 client->ready = 0; in mousedev_packet()
726 if (!client->ready && !client->buffer && mousedev->exist && in mousedev_read()
731 !mousedev->exist || client->ready || client->buffer); in mousedev_read()
740 if (!client->buffer && client->ready) { in mousedev_read()
769 if (client->ready || client->buffer) in mousedev_poll()
/drivers/mtd/nand/
Dnuc900_nand.c126 int ready; in nuc900_nand_devready() local
128 ready = (nuc900_check_rb(nand)) ? 1 : 0; in nuc900_nand_devready()
129 return ready; in nuc900_nand_devready()
/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()
/drivers/staging/media/cxd2099/
Dcxd2099.c49 int ready; member
519 ci->ready = 0; in slot_reset()
536 if (ci->ready) in slot_reset()
606 ci->ready = 0; in campoll()
611 ci->ready = 1; in campoll()
/drivers/usb/gadget/function/
Du_tcm.h35 bool ready; member

1234567