Lines Matching full:div
14 uint8_t div; in adc_gain_invert() member
17 [ADC_GAIN_1_6] = {.mul = 6, .div = 1}, in adc_gain_invert()
18 [ADC_GAIN_1_5] = {.mul = 5, .div = 1}, in adc_gain_invert()
19 [ADC_GAIN_1_4] = {.mul = 4, .div = 1}, in adc_gain_invert()
20 [ADC_GAIN_1_3] = {.mul = 3, .div = 1}, in adc_gain_invert()
21 [ADC_GAIN_2_5] = {.mul = 5, .div = 2}, in adc_gain_invert()
22 [ADC_GAIN_1_2] = {.mul = 2, .div = 1}, in adc_gain_invert()
23 [ADC_GAIN_2_3] = {.mul = 3, .div = 2}, in adc_gain_invert()
24 [ADC_GAIN_4_5] = {.mul = 5, .div = 4}, in adc_gain_invert()
25 [ADC_GAIN_1] = {.mul = 1, .div = 1}, in adc_gain_invert()
26 [ADC_GAIN_2] = {.mul = 1, .div = 2}, in adc_gain_invert()
27 [ADC_GAIN_3] = {.mul = 1, .div = 3}, in adc_gain_invert()
28 [ADC_GAIN_4] = {.mul = 1, .div = 4}, in adc_gain_invert()
29 [ADC_GAIN_6] = {.mul = 1, .div = 6}, in adc_gain_invert()
30 [ADC_GAIN_8] = {.mul = 1, .div = 8}, in adc_gain_invert()
31 [ADC_GAIN_12] = {.mul = 1, .div = 12}, in adc_gain_invert()
32 [ADC_GAIN_16] = {.mul = 1, .div = 16}, in adc_gain_invert()
33 [ADC_GAIN_24] = {.mul = 1, .div = 24}, in adc_gain_invert()
34 [ADC_GAIN_32] = {.mul = 1, .div = 32}, in adc_gain_invert()
35 [ADC_GAIN_64] = {.mul = 1, .div = 64}, in adc_gain_invert()
36 [ADC_GAIN_128] = {.mul = 1, .div = 128}, in adc_gain_invert()
43 if ((gdp->mul != 0) && (gdp->div != 0)) { in adc_gain_invert()
44 *value = (gdp->mul * *value) / gdp->div; in adc_gain_invert()