Home
last modified time | relevance | path

Searched refs:finished (Results 1 – 25 of 211) sorted by relevance

123456789

/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c118 f = job->base.s_fence ? &job->base.s_fence->finished : job->fence; in amdgpu_job_free_resources()
158 *f = dma_fence_get(&job->base.s_fence->finished); in amdgpu_job_submit()
198 &job->base.s_fence->finished, in amdgpu_job_dependency()
212 struct dma_fence *fence = NULL, *finished; in amdgpu_job_run() local
217 finished = &job->base.s_fence->finished; in amdgpu_job_run()
224 dma_fence_set_error(finished, -ECANCELED);/* skip IB as well if VRAM lost */ in amdgpu_job_run()
226 if (finished->error < 0) { in amdgpu_job_run()
266 dma_fence_set_error(&s_fence->finished, -EHWPOISON); in amdgpu_job_stop_all_jobs_on_sched()
267 dma_fence_signal(&s_fence->finished); in amdgpu_job_stop_all_jobs_on_sched()
277 dma_fence_set_error(&s_fence->finished, -EHWPOISON); in amdgpu_job_stop_all_jobs_on_sched()
[all …]
Damdgpu_trace.h36 job->base.s_fence->finished.ops->get_timeline_name(&job->base.s_fence->finished)
180 __entry->context = job->base.s_fence->finished.context;
181 __entry->seqno = job->base.s_fence->finished.seqno;
205 __entry->context = job->base.s_fence->finished.context;
206 __entry->seqno = job->base.s_fence->finished.seqno;
/Linux-v5.10/drivers/gpu/drm/scheduler/
Dsched_fence.c65 int ret = dma_fence_signal(&fence->finished); in drm_sched_fence_finished()
68 DMA_FENCE_TRACE(&fence->finished, in drm_sched_fence_finished()
71 DMA_FENCE_TRACE(&fence->finished, in drm_sched_fence_finished()
114 call_rcu(&fence->finished.rcu, drm_sched_fence_free); in drm_sched_fence_release_scheduled()
149 return container_of(f, struct drm_sched_fence, finished); in to_drm_sched_fence()
172 dma_fence_init(&fence->finished, &drm_sched_fence_ops_finished, in drm_sched_fence_create()
Dsched_main.c423 dma_fence_wait(&s_job->s_fence->finished, false); in drm_sched_stop()
517 dma_fence_set_error(&s_fence->finished, -ECANCELED); in drm_sched_resubmit_jobs()
524 dma_fence_set_error(&s_fence->finished, PTR_ERR(fence)); in drm_sched_resubmit_jobs()
581 dma_fence_put(&job->s_fence->finished); in drm_sched_job_cleanup()
656 dma_fence_get(&s_fence->finished); in drm_sched_process_job()
658 dma_fence_put(&s_fence->finished); in drm_sched_process_job()
689 if (job && dma_fence_is_signaled(&job->s_fence->finished)) { in drm_sched_get_cleanup_job()
820 dma_fence_set_error(&s_fence->finished, PTR_ERR(fence)); in drm_sched_main()
Dgpu_scheduler_trace.h50 __entry->fence = &sched_job->s_fence->finished;
77 __entry->fence = &sched_job->s_fence->finished;
97 __entry->fence = &fence->finished;
Dsched_entity.c227 dma_fence_set_error(&s_fence->finished, -ESRCH); in drm_sched_entity_kill_jobs()
430 dma_fence_set_error(&sched_job->s_fence->finished, -ECANCELED); in drm_sched_entity_pop_job()
433 entity->last_scheduled = dma_fence_get(&sched_job->s_fence->finished); in drm_sched_entity_pop_job()
/Linux-v5.10/drivers/spi/
Dspi-slave-time.c35 struct completion finished; member
60 complete(&priv->finished); in spi_slave_time_complete()
97 init_completion(&priv->finished); in spi_slave_time_probe()
114 wait_for_completion(&priv->finished); in spi_slave_time_remove()
Dspi-slave-system-control.c40 struct completion finished; member
93 complete(&priv->finished); in spi_slave_system_control_complete()
123 init_completion(&priv->finished); in spi_slave_system_control_probe()
140 wait_for_completion(&priv->finished); in spi_slave_system_control_remove()
/Linux-v5.10/fs/cifs/
Dsmb2inode.c108 goto finished; in smb2_compound_op()
127 goto finished; in smb2_compound_op()
165 goto finished; in smb2_compound_op()
200 goto finished; in smb2_compound_op()
227 goto finished; in smb2_compound_op()
245 goto finished; in smb2_compound_op()
279 goto finished; in smb2_compound_op()
319 goto finished; in smb2_compound_op()
345 goto finished; in smb2_compound_op()
355 goto finished; in smb2_compound_op()
[all …]
/Linux-v5.10/drivers/video/fbdev/core/
Dfbcon_rotate.c32 goto finished; in fbcon_rotate_font()
54 goto finished; in fbcon_rotate_font()
93 finished: in fbcon_rotate_font()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c391 bool *finished) in mlxfw_mfa2_xz_dec_run() argument
399 *finished = true; in mlxfw_mfa2_xz_dec_run()
402 *finished = false; in mlxfw_mfa2_xz_dec_run()
431 bool finished; in mlxfw_mfa2_file_cb_offset_xz() local
450 err = mlxfw_mfa2_xz_dec_run(xz_dec, &dec_buf, &finished); in mlxfw_mfa2_file_cb_offset_xz()
453 if (finished) { in mlxfw_mfa2_file_cb_offset_xz()
464 err = mlxfw_mfa2_xz_dec_run(xz_dec, &dec_buf, &finished); in mlxfw_mfa2_file_cb_offset_xz()
/Linux-v5.10/drivers/gpu/drm/lima/
Dlima_trace.h25 __entry->context = task->base.s_fence->finished.context;
26 __entry->seqno = task->base.s_fence->finished.seqno;
/Linux-v5.10/arch/x86/kernel/cpu/mce/
Dinject.c113 i->finished = 0; in inject_mce()
115 m->finished = 0; in inject_mce()
123 i->finished = 1; in inject_mce()
135 m->finished = 0; in raise_poll()
153 m->finished = 0; in raise_exception()
217 m->finished = 0; in raise_local()
240 if (!mcpu->finished || in raise_mce()
/Linux-v5.10/Documentation/driver-api/
Ddcdbas.rst55 to perform a power cycle or power off of the system after the OS has finished
57 a driver perform a SMI after the OS has finished shutting down.
61 action after the system has finished shutting down:
75 has finished shutting down.)
/Linux-v5.10/drivers/net/phy/
Dbcm-phy-lib.c680 bool *finished, bool is_rdb) in _bcm_phy_cable_test_get_status() argument
684 *finished = false; in _bcm_phy_cable_test_get_status()
731 *finished = true; in _bcm_phy_cable_test_get_status()
748 int bcm_phy_cable_test_get_status(struct phy_device *phydev, bool *finished) in bcm_phy_cable_test_get_status() argument
750 return _bcm_phy_cable_test_get_status(phydev, finished, false); in bcm_phy_cable_test_get_status()
765 bool *finished) in bcm_phy_cable_test_get_status_rdb() argument
767 return _bcm_phy_cable_test_get_status(phydev, finished, true); in bcm_phy_cable_test_get_status_rdb()
Dnxp-tja11xx.c187 bool finished = false; in tja11xx_config_aneg_cable_test() local
208 ret = phydev->drv->cable_test_get_status(phydev, &finished); in tja11xx_config_aneg_cable_test()
212 if (finished) in tja11xx_config_aneg_cable_test()
671 bool *finished) in tja11xx_cable_test_get_status() argument
675 *finished = false; in tja11xx_cable_test_get_status()
682 *finished = true; in tja11xx_cable_test_get_status()
Dbcm-phy-lib.h84 bool *finished);
87 int bcm_phy_cable_test_get_status(struct phy_device *phydev, bool *finished);
/Linux-v5.10/drivers/platform/olpc/
Dolpc-ec.c27 struct completion finished; member
103 complete(&desc->finished); in olpc_ec_worker()
154 init_completion(&desc.finished); in olpc_ec_cmd()
159 wait_for_completion(&desc.finished); in olpc_ec_cmd()
/Linux-v5.10/tools/virtio/
Dvringh_test.c297 unsigned int finished = 0; in parallel_test() local
337 assert(*dbuf == finished - 1); in parallel_test()
339 assert(*dbuf == finished); in parallel_test()
340 finished++; in parallel_test()
407 while (finished != xfers) { in parallel_test()
415 assert(*dbuf == finished - 1); in parallel_test()
418 finished++; in parallel_test()
/Linux-v5.10/drivers/gpu/drm/etnaviv/
Detnaviv_sched.c77 if (likely(!sched_job->s_fence->finished.error)) in etnaviv_sched_run_job()
161 submit->out_fence = dma_fence_get(&submit->sched_job.s_fence->finished); in etnaviv_sched_push_job()
/Linux-v5.10/drivers/staging/wfx/
Ddata_tx.c239 bool finished; in wfx_tx_fixup_rates() local
253 finished = true; in wfx_tx_fixup_rates()
263 finished = false; in wfx_tx_fixup_rates()
267 finished = false; in wfx_tx_fixup_rates()
270 } while (!finished); in wfx_tx_fixup_rates()
/Linux-v5.10/Documentation/fb/
Daty128fb.rst58 accel use acceleration engine. Not finished.
72 - This driver is still experimental and is not finished. Too many
/Linux-v5.10/arch/x86/include/uapi/asm/
Dmce.h29 __u8 finished; /* Entry is valid */ member
/Linux-v5.10/drivers/usb/gadget/udc/
Dsnps_udc_core.c726 unsigned finished = 0; in udc_rxfifo_read() local
748 finished = 1; in udc_rxfifo_read()
754 return finished; in udc_rxfifo_read()
1124 goto finished; in udc_queue()
1129 goto finished; in udc_queue()
1197 goto finished; in udc_queue()
1233 finished: in udc_queue()
2107 goto finished; in udc_data_out_isr()
2117 goto finished; in udc_data_out_isr()
2230 goto finished; in udc_data_out_isr()
[all …]
/Linux-v5.10/Documentation/driver-api/dmaengine/
Dpxa_dma.rst22 at the time of irq/dma tx2 is already finished, tx1->complete() and
64 is the last finished transfer at that point in time.
121 When a transfer flagged as "DMA_PREP_INTERRUPT" is finished, the dma irq
129 - calling all the transfer callbacks of finished transfers, based on

123456789