Searched refs:max_adc_val (Results 1 – 1 of 1) sorted by relevance
130 const uint32_t max_adc_val = BIT(cfg->adc.resolution) - 1; in veaa_x_3_channel_get() local141 val->val2 = (val->val1 % max_adc_val) * 1000000 / max_adc_val; in veaa_x_3_channel_get()142 val->val1 = (val->val1 / max_adc_val) + cfg->kpa_min; in veaa_x_3_channel_get()