| /drivers/gpu/drm/ci/xfails/ |
| D | i915-tgl-fails.txt | 1 api_intel_allocator@simple-allocator,Timeout 2 api_intel_bb@object-reloc-keep-cache,Timeout 3 api_intel_bb@offset-control,Timeout 4 core_auth@getclient-simple,Timeout 5 core_hotunplug@hotunbind-rebind,Timeout 6 debugfs_test@read_all_entries_display_on,Timeout 7 drm_read@invalid-buffer,Timeout 8 drm_read@short-buffer-nonblock,Timeout 9 gen3_render_tiledx_blits,Timeout 10 gen7_exec_parse@basic-allocation,Timeout [all …]
|
| D | i915-glk-fails.txt | 7 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions,Timeout 12 kms_flip@busy-flip,Timeout 38 kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu,Timeout 43 kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation,Timeout 44 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 45 kms_pm_rpm@legacy-planes,Timeout 46 kms_pm_rpm@legacy-planes-dpms,Timeout 47 kms_pm_rpm@modeset-stress-extra-wait,Timeout 48 kms_pm_rpm@universal-planes,Timeout 49 kms_pm_rpm@universal-planes-dpms,Timeout [all …]
|
| D | i915-whl-fails.txt | 7 i915_pm_rpm@gem-execbuf-stress,Timeout 9 i915_pm_rpm@system-suspend-execbuf,Timeout 10 kms_ccs@crc-primary-rotation-180-yf-tiled-ccs,Timeout 11 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions,Timeout 35 kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu,Timeout 42 kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation,Timeout 43 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 44 kms_pm_rpm@modeset-stress-extra-wait,Timeout 45 kms_pm_rpm@universal-planes,Timeout 46 kms_pm_rpm@universal-planes-dpms,Timeout [all …]
|
| D | i915-amly-fails.txt | 7 i915_pm_rpm@gem-execbuf-stress,Timeout 9 kms_ccs@crc-primary-rotation-180-yf-tiled-ccs,Timeout 10 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions,Timeout 12 kms_flip@busy-flip,Timeout 36 kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu,Timeout 42 kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation,Timeout 43 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 44 kms_pm_rpm@modeset-stress-extra-wait,Timeout 45 kms_pm_rpm@universal-planes,Timeout 46 kms_pm_rpm@universal-planes-dpms,Timeout [all …]
|
| D | i915-cml-fails.txt | 9 i915_pm_rpm@gem-execbuf-stress,Timeout 11 i915_pm_rpm@system-suspend-execbuf,Timeout 12 kms_ccs@crc-primary-rotation-180-yf-tiled-ccs,Timeout 14 kms_flip@busy-flip,Timeout 43 kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation,Timeout 44 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 45 kms_pm_rpm@modeset-stress-extra-wait,Timeout 46 kms_pm_rpm@universal-planes,Timeout 47 kms_pm_rpm@universal-planes-dpms,Timeout 50 kms_psr2_sf@fbc-plane-move-sf-dmg-area,Timeout [all …]
|
| /drivers/watchdog/ |
| D | npcm_wdt.c | 74 if (wdd->timeout < 2) in npcm_wdt_start() 76 else if (wdd->timeout < 3) in npcm_wdt_start() 78 else if (wdd->timeout < 6) in npcm_wdt_start() 80 else if (wdd->timeout < 11) in npcm_wdt_start() 82 else if (wdd->timeout < 22) in npcm_wdt_start() 84 else if (wdd->timeout < 44) in npcm_wdt_start() 86 else if (wdd->timeout < 87) in npcm_wdt_start() 88 else if (wdd->timeout < 173) in npcm_wdt_start() 90 else if (wdd->timeout < 688) in npcm_wdt_start() 115 unsigned int timeout) in npcm_wdt_set_timeout() argument [all …]
|
| D | da9063_wdt.c | 25 * Watchdog selector to timeout in seconds. 27 * others: timeout = 2048 ms * 2^(TWDSCALE-1). 53 * Read the currently active timeout. 73 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) in da9063_wdt_update_timeout() argument 79 * The watchdog triggers a reboot if a timeout value is already in da9063_wdt_update_timeout() 80 * programmed because the timeout value combines two functions in da9063_wdt_update_timeout() 82 * The watchdog must be disabled to be able to change the timeout in da9063_wdt_update_timeout() 84 * new timeout value which enables the watchdog again. in da9063_wdt_update_timeout() 91 regval = da9063_wdt_timeout_to_sel(timeout); in da9063_wdt_update_timeout() 102 ret = da9063_wdt_update_timeout(da9063, wdd->timeout); in da9063_wdt_start() [all …]
|
| D | sbsa_gwdt.c | 19 * In the single stage mode, when the timeout is reached, your system 21 * In the two stages mode, when the timeout is reached, the first signal (WS0) 31 * |----timeout-----(panic)----timeout-----reset 35 * |--------------timeout-------------------reset 38 * by WOR, in the single stage mode, the timeout is (WOR * 2); in the two 39 * stages mode, the timeout is WOR. The maximum timeout in the two stages mode 88 * indicate whether to adjust wdd->timeout to avoid a race with WS0 103 static unsigned int timeout; variable 104 module_param(timeout, uint, 0); 105 MODULE_PARM_DESC(timeout, [all …]
|
| D | kempld_wdt.c | 8 * Note: From the PLD watchdog point of view timeout and pretimeout are 10 * First the pretimeout stage runs out before the timeout stage gets 14 * |-----------------------T timeout 84 static unsigned int timeout = DEFAULT_TIMEOUT; variable 85 module_param(timeout, uint, 0); 86 MODULE_PARM_DESC(timeout, 87 "Watchdog timeout in seconds. (>=0, default=" 130 unsigned int timeout) in kempld_wdt_set_stage_timeout() argument 144 stage_timeout64 = (u64)timeout * pld->pld_clock; in kempld_wdt_set_stage_timeout() 173 unsigned int timeout; in kempld_wdt_get_timeout() local [all …]
|
| D | ts4800_wdt.c | 36 * TS-4800 supports the following timeout values: 45 * Keep the regmap/timeout map ordered by timeout 48 const int timeout; member 79 unsigned int timeout) in ts4800_wdt_set_timeout() argument 85 if (ts4800_wdt_map[i].timeout >= timeout) in ts4800_wdt_set_timeout() 89 wdd->timeout = ts4800_wdt_map[i].timeout; in ts4800_wdt_set_timeout() 151 wdd->min_timeout = ts4800_wdt_map[0].timeout; in ts4800_wdt_probe() 152 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe() 160 * must be called to initialize timeout and feed_val with valid values. in ts4800_wdt_probe() 161 * Default to maximum timeout if none, or an invalid one, is provided in in ts4800_wdt_probe() [all …]
|
| D | smsc37b787_wdt.c | 33 * reset the system (causing a reboot) after the timeout occurs. 77 static int timeout = 60; /* timeout value: default is 60 "units" */ variable 190 * Bit 0 Status Bit: 0 = Timer counting, 1 = Timeout occurred in wdt_timer_ctrl() 192 * Bit 2 Force Timeout: 1 = Forces WD timeout event (self-cleaning) in wdt_timer_ctrl() 193 * Bit 3 P20 Force Timeout enabled: in wdt_timer_ctrl() 194 * 0 = P20 activity does not generate the WD timeout event in wdt_timer_ctrl() 196 * controller, to force the WD timeout event. in wdt_timer_ctrl() 225 /* disable the timeout */ in wb_smsc_wdt_initialize() 264 /* disable timeout */ in wb_smsc_wdt_shutdown() 271 /* set timeout => enable watchdog */ [all …]
|
| D | dw_wdt.c | 7 * in the many subsystems. The watchdog has 16 different timeout periods 51 /* There are sixteen TOPs (timeout periods) that can be set in the watchdog. */ 93 u32 timeout; member 123 unsigned int timeout, u32 *top_val) in dw_wdt_find_best_top() argument 128 * Find a TOP with timeout greater or equal to the requested number. in dw_wdt_find_best_top() 129 * Note we'll select a TOP with maximum timeout if the requested in dw_wdt_find_best_top() 130 * timeout couldn't be reached. in dw_wdt_find_best_top() 133 if (dw_wdt->timeouts[idx].sec >= timeout) in dw_wdt_find_best_top() 150 * We'll find a timeout greater or equal to one second anyway because in dw_wdt_get_min_timeout() 163 struct dw_wdt_timeout *timeout = &dw_wdt->timeouts[DW_WDT_NUM_TOPS - 1]; in dw_wdt_get_max_timeout_ms() local [all …]
|
| D | marvell_gti_wdt.c | 18 * This will generate the interrupt to arm core whenever timeout happens. 21 * This will generate interrupt to arm core on 1st timeout happens 22 * This will generate interrupt to SCP processor on 2nd timeout happens 25 * This will generate interrupt to arm core on 1st timeout happens 26 * Will generate interrupt to SCP processor on 2nd timeout happens, 28 * Reboot on 3rd timeout. 32 * effectively 2nd timeout is ignored within hardware. 34 * First timeout is effectively watchdog pretimeout. 152 unsigned int timeout) in gti_wdt_settimeout() argument 157 /* Update new timeout */ in gti_wdt_settimeout() [all …]
|
| D | visconti_wdt.c | 43 u32 timeout = wdev->timeout * VISCONTI_WDT_FREQ; in visconti_wdt_start() local 47 writel(timeout, priv->base + WDT_MAX); in visconti_wdt_start() 76 u32 timeout = wdev->timeout * VISCONTI_WDT_FREQ; in visconti_wdt_get_timeleft() local 79 if (timeout <= cnt) in visconti_wdt_get_timeleft() 81 timeout -= cnt; in visconti_wdt_get_timeleft() 83 return timeout / VISCONTI_WDT_FREQ; in visconti_wdt_get_timeleft() 86 static int visconti_wdt_set_timeout(struct watchdog_device *wdev, unsigned int timeout) in visconti_wdt_set_timeout() argument 91 wdev->timeout = timeout; in visconti_wdt_set_timeout() 92 val = wdev->timeout * VISCONTI_WDT_FREQ; in visconti_wdt_set_timeout() 94 /* Clear counter before setting timeout because WDT expires */ in visconti_wdt_set_timeout() [all …]
|
| D | sl28cpld_wdt.c | 36 static int timeout; variable 37 module_param(timeout, int, 0); 38 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds"); 92 unsigned int timeout) in sl28cpld_wdt_set_timeout() argument 97 ret = regmap_write(wdt->regmap, wdt->offset + WDT_TIMEOUT, timeout); in sl28cpld_wdt_set_timeout() 101 wdd->timeout = timeout; in sl28cpld_wdt_set_timeout() 144 "kontron,assert-wdt-timeout-pin"); in sl28cpld_wdt_probe() 166 * Initial timeout value, may be overwritten by device tree or module in sl28cpld_wdt_probe() 172 * this case gracefully and set out own timeout. in sl28cpld_wdt_probe() 179 wdd->timeout = val; in sl28cpld_wdt_probe() [all …]
|
| D | nic7018_wdt.c | 33 static unsigned int timeout; variable 34 module_param(timeout, uint, 0); 35 MODULE_PARM_DESC(timeout, 36 "Watchdog timeout in seconds. (default=" 66 static const struct nic7018_config *nic7018_get_config(u32 timeout, in nic7018_get_config() argument 72 if (timeout < 30 && timeout != 16) { in nic7018_get_config() 74 count = timeout / 2 + 1; in nic7018_get_config() 77 count = DIV_ROUND_UP(timeout + 16, 32); in nic7018_get_config() 87 unsigned int timeout) in nic7018_set_timeout() argument 93 config = nic7018_get_config(timeout, &counter); in nic7018_set_timeout() [all …]
|
| D | sun4v_wdt.c | 27 static unsigned int timeout; variable 28 module_param(timeout, uint, 0); 29 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 49 * HV watchdog timer will round up the timeout in sun4v_wdt_ping() 53 hverr = sun4v_mach_set_watchdog(wdd->timeout * 1000, NULL); in sun4v_wdt_ping() 61 unsigned int timeout) in sun4v_wdt_set_timeout() argument 63 wdd->timeout = timeout; in sun4v_wdt_set_timeout() 89 .timeout = WDT_TIMEOUT, 104 * watchdog-max-timeout in sun4v_wdt_init() 135 value = mdesc_get_property(handle, node, "watchdog-max-timeout", NULL); in sun4v_wdt_init() [all …]
|
| D | wdt977.c | 51 #define DEFAULT_TIMEOUT 60 /* default timeout in seconds */ 53 static int timeout = DEFAULT_TIMEOUT; variable 54 static int timeoutM; /* timeout in minutes */ 60 module_param(timeout, int, 0); 61 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (60..15300, default=" 87 * F2 has the timeout in minutes in wdt977_start() 89 * at timeout, and to reset timer on kbd/mouse activity (not impl.) in wdt977_start() 90 * F4 is used to just clear the TIMEOUT'ed state (bit 0) in wdt977_start() 137 * F4 can clear the TIMEOUT'ed state (bit 0) - back to default in wdt977_stop() 169 * This is done by simply re-writing the timeout to reg. 0xF2 [all …]
|
| /drivers/gpu/drm/xe/ |
| D | xe_wait_user_fence.c | 62 long timeout; in to_jiffies_timeout() local 65 * For negative timeout we want to wait "forever" by setting in to_jiffies_timeout() 67 * to args->timeout to avoid being zeroed on the signal delivery in to_jiffies_timeout() 70 if (args->timeout < 0) { in to_jiffies_timeout() 71 args->timeout = MAX_SCHEDULE_TIMEOUT; in to_jiffies_timeout() 75 if (args->timeout == 0) in to_jiffies_timeout() 79 * Save the timeout to an u64 variable because nsecs_to_jiffies in to_jiffies_timeout() 83 t = drm_timeout_abs_to_jiffies(args->timeout); in to_jiffies_timeout() 85 t = nsecs_to_jiffies(args->timeout); in to_jiffies_timeout() 91 * args->timeout should have been set to a negative value. in to_jiffies_timeout() [all …]
|
| D | xe_hw_engine_class_sysfs.c | 20 * xe_hw_engine_timeout_in_range - Helper to check if timeout is in range 21 * @timeout: timeout to validate 25 * This helper helps to validate if timeout is in min-max range of HW engine 30 bool xe_hw_engine_timeout_in_range(u64 timeout, u64 min, u64 max) in xe_hw_engine_timeout_in_range() argument 32 return timeout >= min && timeout <= max; in xe_hw_engine_timeout_in_range() 97 u32 timeout; in job_timeout_max_store() local 100 err = kstrtou32(buf, 0, &timeout); in job_timeout_max_store() 104 if (timeout < eclass->sched_props.job_timeout_min) in job_timeout_max_store() 107 if (!xe_hw_engine_timeout_in_range(timeout, in job_timeout_max_store() 112 WRITE_ONCE(eclass->sched_props.job_timeout_max, timeout); in job_timeout_max_store() [all …]
|
| D | Kconfig.profile | 2 int "Default max job timeout (ms)" 5 Configures the default max job timeout after which job will 8 int "Default min job timeout (ms)" 11 Configures the default min job timeout after which job will 26 int "Preempt timeout (us, jiffy granularity)" 34 int "Default max preempt timeout (us)" 37 Configures the default max preempt timeout after which context 41 int "Default min preempt timeout (us)" 44 Configures the default min preempt timeout after which context 48 bool "Default configuration of limitation on scheduler timeout" [all …]
|
| /drivers/accel/ivpu/ |
| D | ivpu_hw.c | 81 vdev->timeout.boot = -1; in timeouts_init() 82 vdev->timeout.jsm = -1; in timeouts_init() 83 vdev->timeout.tdr = -1; in timeouts_init() 84 vdev->timeout.autosuspend = -1; in timeouts_init() 85 vdev->timeout.d0i3_entry_msg = -1; in timeouts_init() 87 vdev->timeout.boot = 100000; in timeouts_init() 88 vdev->timeout.jsm = 50000; in timeouts_init() 89 vdev->timeout.tdr = 2000000; in timeouts_init() 90 vdev->timeout.autosuspend = -1; in timeouts_init() 91 vdev->timeout.d0i3_entry_msg = 500; in timeouts_init() [all …]
|
| /drivers/gpu/drm/i915/gem/ |
| D | i915_gem_wait.c | 20 long timeout) in i915_gem_object_wait_fence() argument 25 return timeout; in i915_gem_object_wait_fence() 28 return i915_request_wait_timeout(to_request(fence), flags, timeout); in i915_gem_object_wait_fence() 32 timeout); in i915_gem_object_wait_fence() 69 long timeout) in i915_gem_object_wait_reservation() argument 73 long ret = timeout ?: 1; in i915_gem_object_wait_reservation() 80 ret = i915_gem_object_wait_fence(fence, flags, timeout); in i915_gem_object_wait_reservation() 84 if (timeout) in i915_gem_object_wait_reservation() 85 timeout = ret; in i915_gem_object_wait_reservation() 167 * @timeout: how long to wait [all …]
|
| /drivers/gpu/host1x/ |
| D | fence.c | 49 * or cancelled. As such, for such situations, set up a timeout, so in host1x_syncpt_fence_enable_signaling() 52 if (sf->timeout) { in host1x_syncpt_fence_enable_signaling() 53 /* Reference for timeout path. */ in host1x_syncpt_fence_enable_signaling() 79 * Already on timeout path, but we removed the fence before in host1x_fence_signal() 80 * timeout path could, so drop interrupt path reference. in host1x_fence_signal() 86 if (f->timeout && cancel_delayed_work(&f->timeout_work)) { in host1x_fence_signal() 88 * We know that the timeout path will not be entered. in host1x_fence_signal() 89 * Safe to drop the timeout path's reference now. in host1x_fence_signal() 105 /* Already on interrupt path, drop timeout path reference if any. */ in do_fence_timeout() 106 if (f->timeout) in do_fence_timeout() [all …]
|
| /drivers/tty/ |
| D | tty_ldsem.c | 156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed() argument 198 if (!timeout) in down_read_failed() 200 timeout = schedule_timeout(timeout); in down_read_failed() 205 if (!timeout) { in down_read_failed() 209 * was no timeout; otherwise, cleanup lock wait. in down_read_failed() 230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) in down_write_failed() argument 259 if (!timeout) in down_write_failed() 262 timeout = schedule_timeout(timeout); in down_write_failed() 275 * In case of timeout, wake up every reader who gave the right of way in down_write_failed() 296 int subclass, long timeout) in __ldsem_down_read_nested() argument [all …]
|