Searched refs:cur_err (Results 1 – 3 of 3) sorted by relevance
84 u64 cur_err, cur_time; in check_rng_health() local110 cur_err = (cycles * 1000000000) / rng->clock_rate; /* In nanosec */ in check_rng_health()115 if (cur_err > MSEC_TO_NSEC(10)) { in check_rng_health()132 if (cur_err < time_elapsed) { in check_rng_health()134 rng->prev_error = cur_err; in check_rng_health()140 rng->prev_error = cur_err; in check_rng_health()
1003 int cur_N, cur_clk, cur_err; in gk104_pll_calc_hiclk() local1007 cur_err = target_khz in gk104_pll_calc_hiclk()1011 if (cur_err < best_err) { in gk104_pll_calc_hiclk()1012 best_err = cur_err; in gk104_pll_calc_hiclk()1020 cur_err = gk104_calc_pll_output(0xf000, 1, cur_N, 1, cur_clk) in gk104_pll_calc_hiclk()1022 if (cur_err < best_err) { in gk104_pll_calc_hiclk()1023 best_err = cur_err; in gk104_pll_calc_hiclk()
2156 uint64_t cur_err; in send_exception_work_handler() local2179 get_user(cur_err, err_payload_ptr); in send_exception_work_handler()2180 cur_err |= workarea->error_reason; in send_exception_work_handler()2181 put_user(cur_err, err_payload_ptr); in send_exception_work_handler()