Lines Matching full:ohms
72 #define IADC_INT_RSENSE_DEVIATION 15625 /* nano Ohms per bit */
74 #define IADC_INT_RSENSE_IDEAL_VALUE 10000 /* micro Ohms */
75 #define IADC_INT_RSENSE_DEFAULT_VALUE 7800 /* micro Ohms */
76 #define IADC_INT_RSENSE_DEFAULT_GF 9000 /* micro Ohms */
77 #define IADC_INT_RSENSE_DEFAULT_SMIC 9700 /* micro Ohms */
99 * @rsense: Values of the internal and external sense resister in micro Ohms.
435 ret = of_property_read_u32(node, "qcom,external-resistor-micro-ohms", in iadc_rsense_read()
441 dev_err(iadc->dev, "external resistor can't be zero Ohms"); in iadc_rsense_read()
450 * Deviation value stored is an offset from 10 mili Ohms, bit 7 is in iadc_rsense_read()
451 * the sign, the remaining bits have an LSB of 15625 nano Ohms. in iadc_rsense_read()
457 /* Scale it to nono Ohms */ in iadc_rsense_read()
460 int_sense /= 1000; /* micro Ohms */ in iadc_rsense_read()