Home
last modified time | relevance | path

Searched refs:reset_count (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.6.21/drivers/misc/mei/
Dinit.c129 dev->reset_count++; in mei_reset()
130 if (dev->reset_count > MEI_MAX_CONSEC_RESET) { in mei_reset()
211 dev->reset_count = 0; in mei_start()
258 dev->reset_count = 0; in mei_restart()
381 dev->reset_count = 0; in mei_device_init()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dselftest_guc_hangcheck.c40 unsigned int reset_count; in intel_hang_guc() local
62 reset_count = i915_reset_count(global); in intel_hang_guc()
115 if (i915_reset_count(global) == reset_count) { in intel_hang_guc()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_gpu_error.h65 u32 reset_count; member
209 u32 reset_count; member
233 atomic_t reset_count; member
253 return atomic_read(&error->reset_count); in i915_reset_count()
/linux-6.6.21/drivers/video/fbdev/omap/
Dlcdc.c140 static unsigned long reset_count; in reset_controller() local
144 reset_count++; in reset_controller()
145 if (reset_count == 1 || time_after(jiffies, last_jiffies + HZ)) { in reset_controller()
148 status, reset_count); in reset_controller()
151 if (reset_count < 100) { in reset_controller()
154 reset_count = 0; in reset_controller()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dselftest_hangcheck.c353 unsigned int reset_count, count; in igt_reset_nop() local
360 reset_count = i915_reset_count(global); in igt_reset_nop()
401 if (i915_reset_count(global) != reset_count + ++count) { in igt_reset_nop()
403 engine->name, i915_reset_count(global), reset_count, count); in igt_reset_nop()
437 unsigned int reset_count, reset_engine_count, count; in igt_reset_nop_engine() local
456 reset_count = i915_reset_count(global); in igt_reset_nop_engine()
505 if (i915_reset_count(global) != reset_count) { in igt_reset_nop_engine()
704 unsigned int reset_count, reset_engine_count; in __igt_reset_engine() local
722 reset_count = i915_reset_count(global); in __igt_reset_engine()
789 if (i915_reset_count(global) != reset_count) { in __igt_reset_engine()
[all …]
Dselftest_reset.c212 unsigned int reset_count; in igt_global_reset() local
221 reset_count = i915_reset_count(&gt->i915->gpu_error); in igt_global_reset()
225 if (i915_reset_count(&gt->i915->gpu_error) == reset_count) { in igt_global_reset()
/linux-6.6.21/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c1117 (priv->reset_count == reset_cnt)) in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1119 reset_cnt = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1145 (priv->reset_count == reset_cnt)) { in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1149 if (priv->reset_count != reset_cnt) in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1152 reset_cnt = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1194 (priv->reset_count == reset_cnt_highpwr)) in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1204 (priv->reset_count == reset_cnt_highpwr)) in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1218 reset_cnt_highpwr = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1257 if (priv->reset_count != reset_cnt) { in _rtl92e_dm_initial_gain()
1259 reset_cnt = priv->reset_count; in _rtl92e_dm_initial_gain()
[all …]
Drtl_core.h372 u32 reset_count; member
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dcore.c780 int reset_count, fail_cont_count; in ath12k_core_reset() local
800 reset_count = atomic_inc_return(&ab->reset_count); in ath12k_core_reset()
802 if (reset_count > 1) { in ath12k_core_reset()
807 ath12k_warn(ab, "already resetting count %d\n", reset_count); in ath12k_core_reset()
814 atomic_dec(&ab->reset_count); in ath12k_core_reset()
/linux-6.6.21/drivers/staging/rtl8192u/
Dr8192U_dm.c1656 (priv->reset_count == reset_cnt)) { in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1659 reset_cnt = priv->reset_count; in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1697 (priv->reset_count == reset_cnt)) { in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1701 if (priv->reset_count != reset_cnt) in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1704 reset_cnt = priv->reset_count; in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1777 (priv->reset_count == reset_cnt_highpwr)) in dm_ctrl_initgain_byrssi_highpwr()
1788 (priv->reset_count == reset_cnt_highpwr)) in dm_ctrl_initgain_byrssi_highpwr()
1802 reset_cnt_highpwr = priv->reset_count; in dm_ctrl_initgain_byrssi_highpwr()
1840 if (priv->reset_count != reset_cnt) { in dm_initial_gain()
1842 reset_cnt = priv->reset_count; in dm_initial_gain()
[all …]
/linux-6.6.21/drivers/net/ethernet/qualcomm/
Dqca_spi.h98 u16 reset_count; member
Dqca_spi.c558 qca->reset_count = 0; in qcaspi_qca7k_sync()
561 qca->reset_count++; in qcaspi_qca7k_sync()
563 qca->reset_count); in qcaspi_qca7k_sync()
564 if (qca->reset_count >= QCASPI_RESET_TIMEOUT) { in qcaspi_qca7k_sync()
/linux-6.6.21/drivers/clk/qcom/
Dgdsc.h72 unsigned int reset_count; member
Dgdsc.c193 for (i = 0; i < sc->reset_count; i++) in gdsc_deassert_reset()
202 for (i = 0; i < sc->reset_count; i++) in gdsc_assert_reset()
Dgpucc-sdm660.c247 .reset_count = 1,
Dgpucc-msm8998.c263 .reset_count = 1,
Dgpucc-sm6375.c375 .reset_count = 3,
Dgpucc-sm6115.c411 .reset_count = 1,
/linux-6.6.21/drivers/net/wireless/marvell/libertas_tf/
Dif_usb.c813 static int reset_count = 10; in if_usb_prog_firmware() local
854 if (--reset_count >= 0) { in if_usb_prog_firmware()
883 if (--reset_count >= 0) { in if_usb_prog_firmware()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dhabanalabs_ioctl.c298 struct hl_info_reset_count reset_count = {0}; in get_reset_count() local
305 reset_count.hard_reset_cnt = hdev->reset_info.hard_reset_cnt; in get_reset_count()
306 reset_count.soft_reset_cnt = hdev->reset_info.compute_reset_cnt; in get_reset_count()
308 return copy_to_user(out, &reset_count, in get_reset_count()
309 min((size_t) max_size, sizeof(reset_count))) ? -EFAULT : 0; in get_reset_count()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dcore.c1907 int reset_count, fail_cont_count; in ath11k_core_reset() local
1927 reset_count = atomic_inc_return(&ab->reset_count); in ath11k_core_reset()
1929 if (reset_count > 1) { in ath11k_core_reset()
1934 ath11k_warn(ab, "already resetting count %d\n", reset_count); in ath11k_core_reset()
1942 atomic_dec(&ab->reset_count); in ath11k_core_reset()
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
Dif_usb.c825 static int reset_count = 10; in if_usb_prog_firmware() local
876 if (--reset_count >= 0) { in if_usb_prog_firmware()
905 if (--reset_count >= 0) { in if_usb_prog_firmware()
/linux-6.6.21/drivers/scsi/
Dhptiop.h325 atomic_t reset_count; member
Dips.h548 uint8_t reset_count; member
1038 uint16_t reset_count; /* number of resets */ member
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_target.h873 uint32_t reset_count; member
968 uint32_t reset_count; member

123