Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/misc/mei/
Dinit.c129 dev->reset_count++; in mei_reset()
130 if (dev->reset_count > MEI_MAX_CONSEC_RESET) { in mei_reset()
205 dev->reset_count = 0; in mei_start()
252 dev->reset_count = 0; in mei_restart()
375 dev->reset_count = 0; in mei_device_init()
Dmei_dev.h553 unsigned long reset_count; member
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dselftest_guc_hangcheck.c39 unsigned int reset_count; in intel_hang_guc() local
59 reset_count = i915_reset_count(global); in intel_hang_guc()
112 if (i915_reset_count(global) == reset_count) { in intel_hang_guc()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_gpu_error.h63 u32 reset_count; member
206 u32 reset_count; member
228 atomic_t reset_count; member
248 return atomic_read(&error->reset_count); in i915_reset_count()
Di915_gpu_error.c815 err_printf(m, " engine reset count: %u\n", ee->reset_count); in err_print_gt_engines()
854 err_printf(m, "Reset count: %u\n", error->reset_count); in __err_print_to_sgl()
1305 ee->reset_count = i915_reset_engine_count(&i915->gpu_error, engine); in engine_record_registers()
1953 error->reset_count = i915_reset_count(&i915->gpu_error); in capture_gen()
/linux-6.1.9/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.1.9/drivers/gpu/drm/i915/gt/
Dselftest_hangcheck.c368 unsigned int reset_count, count; in igt_reset_nop() local
375 reset_count = i915_reset_count(global); in igt_reset_nop()
416 if (i915_reset_count(global) != reset_count + ++count) { in igt_reset_nop()
418 engine->name, i915_reset_count(global), reset_count, count); in igt_reset_nop()
452 unsigned int reset_count, reset_engine_count, count; in igt_reset_nop_engine() local
471 reset_count = i915_reset_count(global); in igt_reset_nop_engine()
520 if (i915_reset_count(global) != reset_count) { in igt_reset_nop_engine()
719 unsigned int reset_count, reset_engine_count; in __igt_reset_engine() local
737 reset_count = i915_reset_count(global); in __igt_reset_engine()
804 if (i915_reset_count(global) != reset_count) { in __igt_reset_engine()
[all …]
Dselftest_reset.c208 unsigned int reset_count; in igt_global_reset() local
217 reset_count = i915_reset_count(&gt->i915->gpu_error); in igt_global_reset()
221 if (i915_reset_count(&gt->i915->gpu_error) == reset_count) { in igt_global_reset()
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c1254 (priv->reset_count == reset_cnt)) in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1256 reset_cnt = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1282 (priv->reset_count == reset_cnt)) { in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1286 if (priv->reset_count != reset_cnt) in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1289 reset_cnt = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1332 (priv->reset_count == reset_cnt_highpwr)) in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1342 (priv->reset_count == reset_cnt_highpwr)) in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1356 reset_cnt_highpwr = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1395 if (priv->reset_count != reset_cnt) { in _rtl92e_dm_initial_gain()
1397 reset_cnt = priv->reset_count; in _rtl92e_dm_initial_gain()
[all …]
Drtl_core.h544 u32 reset_count; member
/linux-6.1.9/drivers/staging/rtl8192u/
Dr8192U_dm.c1736 (priv->reset_count == reset_cnt)) { in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1739 reset_cnt = priv->reset_count; in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1784 (priv->reset_count == reset_cnt)) { in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1788 if (priv->reset_count != reset_cnt) in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1791 reset_cnt = priv->reset_count; in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
1877 (priv->reset_count == reset_cnt_highpwr)) in dm_ctrl_initgain_byrssi_highpwr()
1893 (priv->reset_count == reset_cnt_highpwr)) in dm_ctrl_initgain_byrssi_highpwr()
1911 reset_cnt_highpwr = priv->reset_count; in dm_ctrl_initgain_byrssi_highpwr()
1950 if (priv->reset_count != reset_cnt) { in dm_initial_gain()
1952 reset_cnt = priv->reset_count; in dm_initial_gain()
[all …]
/linux-6.1.9/drivers/net/ethernet/qualcomm/
Dqca_spi.h98 u16 reset_count; member
Dqca_spi.c559 qca->reset_count = 0; in qcaspi_qca7k_sync()
562 qca->reset_count++; in qcaspi_qca7k_sync()
564 qca->reset_count); in qcaspi_qca7k_sync()
565 if (qca->reset_count >= QCASPI_RESET_TIMEOUT) { in qcaspi_qca7k_sync()
/linux-6.1.9/drivers/clk/qcom/
Dgdsc.h72 unsigned int reset_count; member
Dgdsc.c191 for (i = 0; i < sc->reset_count; i++) in gdsc_deassert_reset()
200 for (i = 0; i < sc->reset_count; i++) in gdsc_assert_reset()
Dgpucc-sdm660.c248 .reset_count = 1,
Dgpucc-msm8998.c264 .reset_count = 1,
/linux-6.1.9/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c291 struct hl_info_reset_count reset_count = {0}; in get_reset_count() local
298 reset_count.hard_reset_cnt = hdev->reset_info.hard_reset_cnt; in get_reset_count()
299 reset_count.soft_reset_cnt = hdev->reset_info.compute_reset_cnt; in get_reset_count()
301 return copy_to_user(out, &reset_count, in get_reset_count()
302 min((size_t) max_size, sizeof(reset_count))) ? -EFAULT : 0; in get_reset_count()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dcore.c1752 int reset_count, fail_cont_count; in ath11k_core_reset() local
1772 reset_count = atomic_inc_return(&ab->reset_count); in ath11k_core_reset()
1774 if (reset_count > 1) { in ath11k_core_reset()
1779 ath11k_warn(ab, "already resetting count %d\n", reset_count); in ath11k_core_reset()
1787 atomic_dec(&ab->reset_count); in ath11k_core_reset()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/scsi/qla2xxx/
Dqla_target.h873 uint32_t reset_count; member
968 uint32_t reset_count; member
/linux-6.1.9/drivers/net/ethernet/dec/tulip/
Ddmfe.c258 unsigned long reset_count; member
766 db->tx_jabber_timeout, db->reset_count, db->reset_cr8, in dmfe_stop()
1175 db->reset_count++; in dmfe_timer()

12