Home
last modified time | relevance | path

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

12

/linux-5.19.10/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()
262 dev->reset_count = 0; in mei_restart()
381 dev->reset_count = 0; in mei_device_init()
Dmei_dev.h524 unsigned long reset_count; member
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_gpu_error.h63 u32 reset_count; member
182 u32 reset_count; member
204 atomic_t reset_count; member
224 return atomic_read(&error->reset_count); in i915_reset_count()
Di915_gpu_error.c800 err_printf(m, " engine reset count: %u\n", ee->reset_count); in err_print_gt_engines()
839 err_printf(m, "Reset count: %u\n", error->reset_count); in __err_print_to_sgl()
1269 ee->reset_count = i915_reset_engine_count(&i915->gpu_error, engine); in engine_record_registers()
1886 error->reset_count = i915_reset_count(&i915->gpu_error); in capture_gen()
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c1387 (priv->reset_count == reset_cnt)) in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1389 reset_cnt = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1415 (priv->reset_count == reset_cnt)) { in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1419 if (priv->reset_count != reset_cnt) in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1422 reset_cnt = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_false_alarm()
1465 (priv->reset_count == reset_cnt_highpwr)) in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1475 (priv->reset_count == reset_cnt_highpwr)) in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1489 reset_cnt_highpwr = priv->reset_count; in _rtl92e_dm_ctrl_initgain_byrssi_highpwr()
1528 if (priv->reset_count != reset_cnt) { in _rtl92e_dm_initial_gain()
1530 reset_cnt = priv->reset_count; in _rtl92e_dm_initial_gain()
[all …]
Drtl_core.h544 u32 reset_count; member
/linux-5.19.10/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-5.19.10/drivers/clk/qcom/
Dgdsc.h64 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-5.19.10/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-5.19.10/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c282 struct hl_info_reset_count reset_count = {0}; in get_reset_count() local
289 reset_count.hard_reset_cnt = hdev->reset_info.hard_reset_cnt; in get_reset_count()
290 reset_count.soft_reset_cnt = hdev->reset_info.soft_reset_cnt; in get_reset_count()
292 return copy_to_user(out, &reset_count, in get_reset_count()
293 min((size_t) max_size, sizeof(reset_count))) ? -EFAULT : 0; in get_reset_count()
/linux-5.19.10/drivers/net/wireless/ath/ath11k/
Dcore.c1704 int reset_count, fail_cont_count; in ath11k_core_reset() local
1724 reset_count = atomic_inc_return(&ab->reset_count); in ath11k_core_reset()
1726 if (reset_count > 1) { in ath11k_core_reset()
1731 ath11k_warn(ab, "already resetting count %d\n", reset_count); in ath11k_core_reset()
1739 atomic_dec(&ab->reset_count); in ath11k_core_reset()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/scsi/qla2xxx/
Dqla_target.h876 uint32_t reset_count; member
972 uint32_t reset_count; member
Dqla_target.c2141 mcmd->reset_count = ha->base_qpair->chip_reset; in __qlt_24xx_handle_abts()
2381 if (!vha->flags.online || mcmd->reset_count != qpair->chip_reset) { in qlt_xmit_tm_rsp()
2389 mcmd->reset_count, qpair->chip_reset); in qlt_xmit_tm_rsp()
3271 if (!qpair->fw_started || (cmd->reset_count != qpair->chip_reset) || in qlt_xmit_response()
3296 if (!qpair->fw_started || cmd->reset_count != qpair->chip_reset) { in qlt_xmit_response()
3305 cmd->reset_count, qpair->chip_reset); in qlt_xmit_response()
3432 if (!qpair->fw_started || (cmd->reset_count != qpair->chip_reset) || in qlt_rdy_to_xfer()
3445 cmd->reset_count, qpair->chip_reset); in qlt_rdy_to_xfer()
4371 cmd->reset_count = vha->hw->base_qpair->chip_reset; in qlt_get_tag()
4482 mcmd->reset_count = ha->base_qpair->chip_reset; in qlt_issue_task_mgmt()
[all …]
/linux-5.19.10/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