Searched refs:sense_res_raw (Results 1 - 3 of 3) sorted by relevance

/drivers/power/
H A Dds2780_battery.c227 u8 sense_res_raw, reg_msb; local
233 ret = ds2780_read8(dev_info, &sense_res_raw, DS2780_RSNSP_REG);
237 if (sense_res_raw == 0) {
241 sense_res = 1000 / sense_res_raw;
272 u8 sense_res_raw; local
278 ret = ds2780_read8(dev_info, &sense_res_raw, DS2780_RSNSP_REG);
282 if (sense_res_raw == 0) {
286 sense_res = 1000 / sense_res_raw;
H A Dds2781_battery.c228 u8 sense_res_raw, reg_msb; local
234 ret = ds2781_read8(dev_info, &sense_res_raw, DS2781_RSNSP);
238 if (sense_res_raw == 0) {
242 sense_res = 1000 / sense_res_raw;
273 u8 sense_res_raw; local
279 ret = ds2781_read8(dev_info, &sense_res_raw, DS2781_RSNSP);
283 if (sense_res_raw == 0) {
287 sense_res = 1000 / sense_res_raw;
H A Dds2782_battery.c123 u8 sense_res_raw; local
130 err = ds278x_read_reg(info, DS2782_REG_RSNSP, &sense_res_raw);
133 if (sense_res_raw == 0) {
137 sense_res = 1000 / sense_res_raw;

Completed in 55 milliseconds