Home
last modified time | relevance | path

Searched refs:cur_val (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/ath/ath5k/
Dattach.c47 u32 cur_val; in ath5k_hw_post() local
59 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
61 if (cur_val != var_pattern) { in ath5k_hw_post()
74 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
76 if (cur_val != var_pattern) { in ath5k_hw_post()
/drivers/watchdog/
Dbcm_kona_wdt.c102 int ctl_val, cur_val; in bcm_kona_wdt_dbg_show() local
113 cur_val = secure_register_read(wdt, SECWDOG_COUNT_REG); in bcm_kona_wdt_dbg_show()
116 if (ctl_val < 0 || cur_val < 0) { in bcm_kona_wdt_dbg_show()
123 cur = cur_val & SECWDOG_COUNT_MASK; in bcm_kona_wdt_dbg_show()
/drivers/power/
Ds3c_adc_battery.c128 static int calc_full_volt(int volt_val, int cur_val, int impedance) in calc_full_volt() argument
130 return volt_val + cur_val * impedance / 1000; in calc_full_volt()
/drivers/gpu/drm/i915/
Dintel_pm.c1961 result->cur_val <= max->cur; in ilk_validate_wm_level()
1977 if (result->cur_val > max->cur) in ilk_validate_wm_level()
1979 level, result->cur_val, max->cur); in ilk_validate_wm_level()
1983 result->cur_val = min_t(uint32_t, result->cur_val, max->cur); in ilk_validate_wm_level()
2025 result->cur_val = ilk_compute_cur_wm(cstate, pstate, in ilk_compute_wm_level()
2411 ret_wm->cur_val = max(ret_wm->cur_val, wm->cur_val); in ilk_merge_wm_level()
2518 r->cur_val; in ilk_compute_wm_results()
2555 r->cur_val; in ilk_compute_wm_results()
3913 active->wm[0].cur_val = tmp & WM0_PIPE_CURSOR_MASK; in ilk_pipe_wm_get_hw_state()
Di915_drv.h1535 uint32_t cur_val; member