/linux/drivers/mmc/host/ |
A D | sh_mmcif.c | 234 enum sh_mmcif_wait_for wait_for; member 588 host->state, host->wait_for); in sh_mmcif_error_manage() 592 host->state, host->wait_for); in sh_mmcif_error_manage() 596 host->state, host->wait_for); in sh_mmcif_error_manage() 628 host->wait_for = MMCIF_WAIT_FOR_READ; in sh_mmcif_single_read() 942 host->wait_for = MMCIF_WAIT_FOR_CMD; in sh_mmcif_start_cmd() 965 host->wait_for = MMCIF_WAIT_FOR_STOP; in sh_mmcif_stop_cmd() 1185 wait_work = host->wait_for; in sh_mmcif_irqt() 1195 host->state, host->wait_for); in sh_mmcif_irqt() 1337 host->wait_for, mrq->cmd->opcode); in sh_mmcif_timeout_work() [all …]
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_mmu.c | 40 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()
|
A D | v3d_gem.c | 52 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()
|
A D | v3d_drv.h | 338 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) macro
|
/linux/drivers/gpu/drm/gma500/ |
A D | intel_gmbus.c | 53 #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()
|
A D | cdv_intel_display.c | 126 #define wait_for(COND, MS) _wait_for(COND, MS, 1) macro 133 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_read() 145 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_read() 168 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_write() 181 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_write()
|
A D | cdv_intel_dp.c | 250 #define wait_for(COND, MS) _wait_for(COND, MS, 1) macro 432 if (wait_for(((REG_READ(PP_STATUS) & idle_on_mask) == idle_on_mask), 1000)) { in cdv_intel_edp_panel_on() 466 if (wait_for((REG_READ(PP_STATUS) & idle_off_mask) == 0, 1000)) { in cdv_intel_edp_panel_off()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_guc_fw.c | 93 ret = wait_for(guc_ready(uncore, &status), 100); in guc_wait_ucode()
|
A D | intel_guc_slpc.c | 262 if (wait_for(slpc_is_running(slpc), SLPC_RESET_TIMEOUT_MS)) { in slpc_reset()
|
A D | intel_guc.c | 445 ret = wait_for(done, 1000); in intel_guc_send_mmio()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | selftest_rps.c | 188 if (wait_for(!intel_rps_set(rps, freq), 50)) { in rps_set_check() 284 if (wait_for(intel_uncore_read_fw(gt->uncore, in live_rps_clock_interval() 664 if (wait_for(intel_uncore_read(engine->uncore, CS_GPR(0)), in live_rps_frequency_cs() 805 if (wait_for(READ_ONCE(*cntr), 10)) { in live_rps_frequency_srm()
|
A D | selftest_hangcheck.c | 292 wait_for(i915_seqno_passed(hws_seqno(h, rq), in wait_until_running() 358 return wait_for(intel_engine_is_idle(engine), IGT_IDLE_TIMEOUT) == 0; in wait_for_idle() 1544 if (wait_for(!list_empty(&rq->fence.cb_list), 10)) { in __igt_reset_evict_vma()
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_request.c | 1869 if (wait_for(READ_ONCE(*sema) == 0, 50)) { in measure_semaphore_response() 1880 if (wait_for(READ_ONCE(*sema) == 0, 50)) { in measure_semaphore_response() 2014 if (i > 1 && wait_for(READ_ONCE(sema[i - 1]), 500)) { in measure_busy_dispatch() 2028 wait_for(READ_ONCE(sema[i - 1]), 500); in measure_busy_dispatch() 2311 if (wait_for(READ_ONCE(sema[2 * i]) == -1, 500)) { in measure_preemption() 2339 if (wait_for(READ_ONCE(sema[2 * i - 2]) != -1, 500)) { in measure_preemption() 2426 if (wait_for(READ_ONCE(sema[i]) == -1, 50)) { in measure_completion()
|
A D | igt_spinner.c | 273 wait_for(i915_seqno_passed(hws_seqno(spin, rq), in igt_wait_for_spinner()
|
A D | intel_uncore.c | 257 if (wait_for(readl(reg) == 0, 100)) { in live_forcewake_ops()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_dsb.c | 242 if (wait_for(!is_dsb_busy(dev_priv, pipe, dsb->id), 1)) { in intel_dsb_commit()
|
A D | intel_lspcon.c | 166 wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 400); in lspcon_wait_mode()
|
A D | vlv_dsi_pll.c | 169 if (wait_for(vlv_cck_read(dev_priv, CCK_REG_DSI_PLL_CONTROL) & in vlv_dsi_pll_enable()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_hdmi.c | 374 return wait_for(!(HDMI_READ(HDMI_RAM_PACKET_STATUS) & in vc4_hdmi_stop_packet() 423 ret = wait_for((HDMI_READ(HDMI_RAM_PACKET_STATUS) & in vc4_hdmi_write_infoframe() 865 ret = wait_for(HDMI_READ(HDMI_FIFO_CTL) & in vc4_hdmi_recenter_fifo() 1034 ret = wait_for(HDMI_READ(HDMI_SCHEDULER_CONTROL) & in vc4_hdmi_encoder_post_crtc_enable() 1046 ret = wait_for(!(HDMI_READ(HDMI_SCHEDULER_CONTROL) & in vc4_hdmi_encoder_post_crtc_enable()
|
A D | vc4_dsi.c | 707 ret = wait_for((DSI_PORT_READ(STAT) & stat_ulps) == stat_ulps, 200); in vc4_dsi_ulps() 726 ret = wait_for((DSI_PORT_READ(STAT) & stat_stop) == stat_stop, 200); in vc4_dsi_ulps()
|
A D | vc4_drv.h | 783 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) macro
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_utils.h | 344 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) macro
|
A D | vlv_suspend.c | 295 ret = wait_for(((reg_value = in vlv_wait_for_pw_status()
|
A D | i915_debugfs.c | 638 wait_for(intel_engines_are_idle(gt), I915_IDLE_ENGINES_TIMEOUT)) in gt_drop_caches()
|
/linux/drivers/scsi/ |
A D | scsi_lib.c | 631 unsigned long wait_for; in scsi_cmd_runtime_exceeced() local 636 wait_for = (cmd->allowed + 1) * req->timeout; in scsi_cmd_runtime_exceeced() 637 if (time_before(cmd->jiffies_at_alloc + wait_for, jiffies)) { in scsi_cmd_runtime_exceeced() 639 wait_for/HZ); in scsi_cmd_runtime_exceeced()
|