Lines Matching full:uv

36  * @uv: microvolts DC to convert
39 * generate an output voltage equal to or greater than @uv microvolts DC.
41 static unsigned char omap_cpcap_uv_to_vsel(unsigned long uv) in omap_cpcap_uv_to_vsel() argument
43 if (uv < 600000) in omap_cpcap_uv_to_vsel()
44 uv = 600000; in omap_cpcap_uv_to_vsel()
45 else if (uv > 1450000) in omap_cpcap_uv_to_vsel()
46 uv = 1450000; in omap_cpcap_uv_to_vsel()
47 return DIV_ROUND_UP(uv - 600000, 12500); in omap_cpcap_uv_to_vsel()
100 * @uv: microvolts DC to convert
103 * generate an output voltage equal to or greater than @uv microvolts DC.
105 static unsigned char omap_max8952_uv_to_vsel(unsigned long uv) in omap_max8952_uv_to_vsel() argument
107 if (uv < 770000) in omap_max8952_uv_to_vsel()
108 uv = 770000; in omap_max8952_uv_to_vsel()
109 else if (uv > 1400000) in omap_max8952_uv_to_vsel()
110 uv = 1400000; in omap_max8952_uv_to_vsel()
111 return DIV_ROUND_UP(uv - 770000, 10000); in omap_max8952_uv_to_vsel()
166 * @uv: microvolts DC to convert
169 * generate an output voltage equal to or greater than @uv microvolts DC.
171 static unsigned char omap_fan535503_uv_to_vsel(unsigned long uv) in omap_fan535503_uv_to_vsel() argument
174 if (uv < 750000) in omap_fan535503_uv_to_vsel()
175 uv = 750000; in omap_fan535503_uv_to_vsel()
176 else if (uv > 1537500) in omap_fan535503_uv_to_vsel()
177 uv = 1537500; in omap_fan535503_uv_to_vsel()
179 vsel = DIV_ROUND_UP(uv - 750000, 12500); in omap_fan535503_uv_to_vsel()
185 * @uv: microvolts DC to convert
188 * generate an output voltage equal to or greater than @uv microvolts DC.
190 static unsigned char omap_fan535508_uv_to_vsel(unsigned long uv) in omap_fan535508_uv_to_vsel() argument
193 if (uv < 750000) in omap_fan535508_uv_to_vsel()
194 uv = 750000; in omap_fan535508_uv_to_vsel()
195 else if (uv > 1437500) in omap_fan535508_uv_to_vsel()
196 uv = 1437500; in omap_fan535508_uv_to_vsel()
198 vsel = DIV_ROUND_UP(uv - 750000, 12500); in omap_fan535508_uv_to_vsel()