Searched refs:DS2760_ACTIVE_FULL (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/power/
H A Dds2760_battery.c187 di->full_active_uAh = di->raw[DS2760_ACTIVE_FULL] << 8 | ds2760_battery_read_status()
188 di->raw[DS2760_ACTIVE_FULL + 1]; ds2760_battery_read_status()
198 scale[i] = scale[i - 1] + di->raw[DS2760_ACTIVE_FULL + 1 + i]; ds2760_battery_read_status()
324 if (tmp[0] == di->raw[DS2760_ACTIVE_FULL] && ds2760_battery_write_active_full()
325 tmp[1] == di->raw[DS2760_ACTIVE_FULL + 1]) ds2760_battery_write_active_full()
328 w1_ds2760_write(di->w1_dev, tmp, DS2760_ACTIVE_FULL, sizeof(tmp)); ds2760_battery_write_active_full()
332 /* Write to the di->raw[] buffer directly - the DS2760_ACTIVE_FULL ds2760_battery_write_active_full()
334 di->raw[DS2760_ACTIVE_FULL] = tmp[0]; ds2760_battery_write_active_full()
335 di->raw[DS2760_ACTIVE_FULL + 1] = tmp[1]; ds2760_battery_write_active_full()
/linux-4.4.14/drivers/w1/slaves/
H A Dw1_ds2760.h43 #define DS2760_ACTIVE_FULL 0x20 macro

Completed in 34 milliseconds