Lines Matching full:static
34 static atomic_t cal_process_in_progress;
35 static uint8_t calib_skip_cnt; /* Counting down skipped calibrations. */
36 static volatile int total_cnt; /* Total number of calibrations. */
37 static volatile int total_skips_cnt; /* Total number of skipped calibrations. */
40 static void cal_hf_callback(struct onoff_manager *mgr,
43 static void cal_lf_callback(struct onoff_manager *mgr,
47 static struct onoff_client client;
48 static struct onoff_manager *mgrs;
59 static const struct device *const temp_sensor =
62 static void measure_temperature(struct k_work *work);
63 static K_WORK_DEFINE(temp_measure_work, measure_temperature);
64 static int16_t prev_temperature; /* Previous temperature measurement. */
67 static void timeout_handler(struct k_timer *timer);
68 static K_TIMER_DEFINE(backoff_timer, timeout_handler, NULL);
70 static void clk_request(struct onoff_manager *mgr, struct onoff_client *cli, in clk_request()
80 static void clk_release(struct onoff_manager *mgr) in clk_release()
88 static void hf_request(void) in hf_request()
93 static void lf_request(void) in lf_request()
98 static void hf_release(void) in hf_release()
103 static void lf_release(void) in lf_release()
108 static void cal_lf_callback(struct onoff_manager *mgr, in cal_lf_callback()
116 static void start_hw_cal(void) in start_hw_cal()
123 static void start_cycle(void) in start_cycle()
137 static void start_cal_process(void) in start_cal_process()
156 static void timeout_handler(struct k_timer *timer) in timeout_handler()
164 static void cal_hf_callback(struct onoff_manager *mgr, in cal_hf_callback()
181 static inline int16_t sensor_value_to_temp_unit(struct sensor_value *val) in sensor_value_to_temp_unit()
187 static int get_temperature(int16_t *tvp) in get_temperature()
206 static void measure_temperature(struct k_work *work) in measure_temperature()
245 static void start_unconditional_cal_process(void) in start_unconditional_cal_process()