Searched refs:thresh_value (Results 1 – 2 of 2) sorted by relevance
172 const struct sensor_value *thresh_value) in tids_2521020222501_threshold_upper_set() argument175 int32_t thresh = thresh_value->val1 * 1000 + thresh_value->val2 / 1000; in tids_2521020222501_threshold_upper_set()188 struct sensor_value *thresh_value) in tids_2521020222501_threshold_upper_get() argument198 thresh_value->val1 = thresh / 1000; in tids_2521020222501_threshold_upper_get()199 thresh_value->val2 = (thresh % 1000) * (1000000 / 1000); in tids_2521020222501_threshold_upper_get()205 const struct sensor_value *thresh_value) in tids_2521020222501_threshold_lower_set() argument208 int32_t thresh = thresh_value->val1 * 1000 + thresh_value->val2 / 1000; in tids_2521020222501_threshold_lower_set()221 struct sensor_value *thresh_value) in tids_2521020222501_threshold_lower_get() argument231 thresh_value->val1 = thresh / 1000; in tids_2521020222501_threshold_lower_get()232 thresh_value->val2 = (thresh % 1000) * (1000000 / 1000); in tids_2521020222501_threshold_lower_get()
79 const struct sensor_value *thresh_value);82 struct sensor_value *thresh_value);85 const struct sensor_value *thresh_value);88 struct sensor_value *thresh_value);