Home
last modified time | relevance | path

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

1234567

/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()
/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 = max_t(int, in msgdma_tx_completions()
154 ready = priv->tx_prod - priv->tx_cons - 1; in msgdma_tx_completions()
156 ready = priv->tx_prod - priv->tx_cons; in msgdma_tx_completions()
158 return ready; in msgdma_tx_completions()
/drivers/hid/
Dhid-wiimote.h127 struct completion ready; member
306 complete(&wdata->state.ready); in wiimote_cmd_complete()
316 complete(&wdata->state.ready); in wiimote_cmd_abort()
333 reinit_completion(&wdata->state.ready); in wiimote_cmd_set()
351 ret = wait_for_completion_interruptible_timeout(&wdata->state.ready, HZ); in wiimote_cmd_wait()
367 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
/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()
1002 entry->ready = 2; in pdcs_register_pathentries()
1028 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()
281 if (!adev->gart.ready) { in amdgpu_gart_bind()
361 if (adev->gart.pages && adev->gart.pages_addr && adev->gart.ready) { in amdgpu_gart_fini()
365 adev->gart.ready = false; in amdgpu_gart_fini()
Damdgpu_ib.c140 if (!ring->ready) { in amdgpu_ib_schedule()
296 if (!ring || !ring->ready) in amdgpu_ib_ring_tests()
301 ring->ready = false; in amdgpu_ib_ring_tests()
Dvce_v2_0.c246 ring->ready = true; in vce_v2_0_hw_init()
249 ring->ready = false; in vce_v2_0_hw_init()
254 ring->ready = true; in vce_v2_0_hw_init()
257 ring->ready = false; in vce_v2_0_hw_init()
Damdgpu_kms.c208 ring_mask |= ((adev->gfx.gfx_ring[i].ready ? 1 : 0) << i); in amdgpu_info_ioctl()
215 ring_mask |= ((adev->gfx.compute_ring[i].ready ? 1 : 0) << i); in amdgpu_info_ioctl()
222 ring_mask |= ((adev->sdma.instance[i].ring.ready ? 1 : 0) << i); in amdgpu_info_ioctl()
228 ring_mask = adev->uvd.ring.ready ? 1 : 0; in amdgpu_info_ioctl()
235 ring_mask |= ((adev->vce.ring[i].ready ? 1 : 0) << i); in amdgpu_info_ioctl()
Dvce_v3_0.c328 ring->ready = true; in vce_v3_0_hw_init()
331 ring->ready = false; in vce_v3_0_hw_init()
336 ring->ready = true; in vce_v3_0_hw_init()
339 ring->ready = false; in vce_v3_0_hw_init()
/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.c172 ring->ready = true; in uvd_v1_0_init()
175 ring->ready = false; in uvd_v1_0_init()
252 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/media/platform/soc_camera/
Domap1_camera.c172 struct omap1_cam_buf *ready; member
353 buf = pcdev->ready; in prepare_next_vb()
360 pcdev->ready = buf; in prepare_next_vb()
503 WARN_ON(pcdev->ready); in omap1_videobuf_queue()
510 pcdev->ready = NULL; in omap1_videobuf_queue()
579 if (!pcdev->ready && result != VIDEOBUF_ERROR) { in videobuf_done()
600 buf = pcdev->ready; in videobuf_done()
602 pcdev->ready = NULL; in videobuf_done()
613 buf = pcdev->ready; in videobuf_done()
615 pcdev->ready = NULL; in videobuf_done()
[all …]
/drivers/mtd/nand/
Dnuc900_nand.c128 int ready; in nuc900_nand_devready() local
132 ready = (nuc900_check_rb(nand)) ? 1 : 0; in nuc900_nand_devready()
133 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()

1234567