Home
last modified time | relevance | path

Searched refs:wait_for (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/v3d/
Dv3d_mmu.c40 ret = wait_for(!(V3D_READ(V3D_MMU_CTL) & in v3d_mmu_flush_all()
52 ret = wait_for(!(V3D_READ(V3D_MMU_CTL) & in v3d_mmu_flush_all()
59 ret = wait_for(!(V3D_READ(V3D_MMUC_CONTROL) & in v3d_mmu_flush_all()
Dv3d_gem.c52 if (wait_for((V3D_CORE_READ(core, V3D_GMP_STATUS) & in v3d_idle_axi()
68 if (wait_for((V3D_GCA_READ(V3D_GCA_SAFE_SHUTDOWN_ACK) & in v3d_idle_gca()
199 if (wait_for(!(V3D_CORE_READ(core, V3D_CTL_L2TCACTL) & in v3d_clean_caches()
209 if (wait_for(!(V3D_CORE_READ(core, V3D_CTL_L2TCACTL) & in v3d_clean_caches()
Dv3d_drv.h338 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) macro
/linux-6.6.21/drivers/mmc/host/
Dsh_mmcif.c233 enum sh_mmcif_wait_for wait_for; member
589 host->state, host->wait_for); in sh_mmcif_error_manage()
593 host->state, host->wait_for); in sh_mmcif_error_manage()
597 host->state, host->wait_for); in sh_mmcif_error_manage()
629 host->wait_for = MMCIF_WAIT_FOR_READ; in sh_mmcif_single_read()
653 host->wait_for = MMCIF_WAIT_FOR_READ_END; in sh_mmcif_read_block()
669 host->wait_for = MMCIF_WAIT_FOR_MREAD; in sh_mmcif_multi_read()
709 host->wait_for = MMCIF_WAIT_FOR_WRITE; in sh_mmcif_single_write()
733 host->wait_for = MMCIF_WAIT_FOR_WRITE_END; in sh_mmcif_write_block()
749 host->wait_for = MMCIF_WAIT_FOR_MWRITE; in sh_mmcif_multi_write()
[all …]
/linux-6.6.21/fs/fscache/
Dcookie.c383 struct fscache_cookie *wait_for) in fscache_wait_on_collision() argument
385 enum fscache_cookie_state *statep = &wait_for->state; in fscache_wait_on_collision()
387 wait_var_event_timeout(statep, fscache_cookie_is_dropped(wait_for), in fscache_wait_on_collision()
389 if (!fscache_cookie_is_dropped(wait_for)) { in fscache_wait_on_collision()
391 candidate->debug_id, wait_for->debug_id); in fscache_wait_on_collision()
392 wait_var_event(statep, fscache_cookie_is_dropped(wait_for)); in fscache_wait_on_collision()
403 struct fscache_cookie *cursor, *wait_for = NULL; in fscache_hash_cookie() local
416 wait_for = fscache_get_cookie(cursor, in fscache_hash_cookie()
428 if (wait_for) { in fscache_hash_cookie()
429 fscache_wait_on_collision(candidate, wait_for); in fscache_hash_cookie()
[all …]
/linux-6.6.21/drivers/gpu/drm/gma500/
Dintel_gmbus.c53 #define wait_for(COND, MS) _wait_for(COND, MS, 1) macro
279 if (wait_for(GMBUS_REG_READ(GMBUS2 + reg_offset) & in gmbus_xfer()
308 if (wait_for(GMBUS_REG_READ(GMBUS2 + reg_offset) & in gmbus_xfer()
325 …if (i + 1 < num && wait_for(GMBUS_REG_READ(GMBUS2 + reg_offset) & (GMBUS_SATOER | GMBUS_HW_WAIT_PH… in gmbus_xfer()
Dcdv_intel_display.c127 #define wait_for(COND, MS) _wait_for(COND, MS, 1) macro
134 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_read()
146 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_read()
169 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_write()
182 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_write()
Dcdv_intel_dp.c246 #define wait_for(COND, MS) _wait_for(COND, MS, 1) macro
428 if (wait_for(((REG_READ(PP_STATUS) & idle_on_mask) == idle_on_mask), 1000)) { in cdv_intel_edp_panel_on()
462 if (wait_for((REG_READ(PP_STATUS) & idle_off_mask) == 0, 1000)) { in cdv_intel_edp_panel_off()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_gsc_proxy.c150 err = wait_for(*marker != 0, 300); in proxy_send_to_gsc()
266 err = wait_for(gsc->proxy.component, GSC_PROXY_INIT_TIMEOUT_MS); in intel_gsc_proxy_request_handler()
Dintel_guc_fw.c190 ret = wait_for(guc_load_done(uncore, &status, &success), 1000); in guc_wait_ucode()
/linux-6.6.21/drivers/gpu/drm/i915/pxp/
Dintel_pxp.c373 if (wait_for(intel_pxp_gsccs_is_ready_for_sessions(pxp), 250)) in intel_pxp_get_readiness_status()
376 if (wait_for(pxp_component_bound(pxp), 250)) in intel_pxp_get_readiness_status()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt_mcr.c396 err = wait_for(intel_uncore_read_fw(gt->uncore, in intel_gt_mcr_lock()
889 ret = wait_for(done, slow_timeout_ms); in intel_gt_mcr_wait_for_reg()
Dselftest_rps.c192 if (wait_for(!intel_rps_set(rps, freq), 50)) { in rps_set_check()
288 if (wait_for(intel_uncore_read_fw(gt->uncore, in live_rps_clock_interval()
665 if (wait_for(intel_uncore_read(engine->uncore, CS_GPR(0)), in live_rps_frequency_cs()
804 if (wait_for(READ_ONCE(*cntr), 10)) { in live_rps_frequency_srm()
Dselftest_tlb.c166 if (wait_for(i915_request_completed(rq), HZ / 2)) { in pte_tlbinv()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Digt_spinner.c258 wait_for(i915_seqno_passed(hws_seqno(spin, rq), in igt_wait_for_spinner()
Dintel_uncore.c263 if (wait_for(readl(reg) == 0, 100)) { in live_forcewake_ops()
Di915_request.c2059 if (wait_for(READ_ONCE(*sema) == 0, 50)) { in measure_semaphore_response()
2070 if (wait_for(READ_ONCE(*sema) == 0, 50)) { in measure_semaphore_response()
2204 if (i > 1 && wait_for(READ_ONCE(sema[i - 1]), 500)) { in measure_busy_dispatch()
2218 wait_for(READ_ONCE(sema[i - 1]), 500); in measure_busy_dispatch()
2501 if (wait_for(READ_ONCE(sema[2 * i]) == -1, 500)) { in measure_preemption()
2529 if (wait_for(READ_ONCE(sema[2 * i - 2]) != -1, 500)) { in measure_preemption()
2616 if (wait_for(READ_ONCE(sema[i]) == -1, 50)) { in measure_completion()
Di915_selftest.c152 if (need_to_wait && wait_for(!__gsc_proxy_init_progressing(&i915->media_gt->uc.gsc), in __wait_gsc_proxy_completed()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dsb.c261 if (wait_for(!is_dsb_busy(dev_priv, pipe, dsb->id), 1)) in intel_dsb_wait()
Dintel_display_power_well.c314 wait_for((disabled = !(intel_de_read(dev_priv, regs->driver) & in hsw_wait_for_power_well_disable()
530 if (wait_for(intel_dkl_phy_read(dev_priv, DKL_CMN_UC_DW_27(tc_port)) & in icl_tc_phy_aux_power_well_enable()
1088 if (wait_for(COND, 100)) in vlv_set_power_well()
1681 if (wait_for(COND, 100)) in chv_set_pipe_power_well()
Dintel_vblank.c427 if (wait_for(pipe_scanline_is_moving(dev_priv, pipe) == state, 100)) in wait_for_pipe_scanline_moving()
Dintel_dp_link_training.c1045 wait_for(intel_dp_128b132b_intra_hop(intel_dp, crtc_state) == 0, 500)) { in intel_dp_stop_link_train()
1324 if (wait_for(intel_dp_128b132b_intra_hop(intel_dp, crtc_state) == 0, 500)) { in intel_dp_128b132b_link_train()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_utils.h288 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) macro
/linux-6.6.21/drivers/scsi/
Dscsi_lib.c665 unsigned long wait_for; in scsi_cmd_runtime_exceeced() local
670 wait_for = (cmd->allowed + 1) * req->timeout; in scsi_cmd_runtime_exceeced()
671 if (time_before(cmd->jiffies_at_alloc + wait_for, jiffies)) { in scsi_cmd_runtime_exceeced()
673 wait_for/HZ); in scsi_cmd_runtime_exceeced()
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_hdmi.c790 ret = wait_for(!(HDMI_READ(HDMI_RAM_PACKET_STATUS) & in vc4_hdmi_stop_packet()
863 ret = wait_for((HDMI_READ(HDMI_RAM_PACKET_STATUS) & in vc4_hdmi_write_infoframe()
1668 ret = wait_for(HDMI_READ(HDMI_FIFO_CTL) & in vc4_hdmi_recenter_fifo()
1863 ret = wait_for(HDMI_READ(HDMI_SCHEDULER_CONTROL) & in vc4_hdmi_encoder_post_crtc_enable()
1877 ret = wait_for(!(HDMI_READ(HDMI_SCHEDULER_CONTROL) & in vc4_hdmi_encoder_post_crtc_enable()

12