Home
last modified time | relevance | path

Searched refs:REMAIN_CAP_REG2 (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/
H A Dfg_regs.h76 #define REMAIN_CAP_REG2 0xE2 macro
H A Dfg_rk817.c117 #define REMAIN_CAP_REG2 0x9f macro
548 rk817_bat_write(battery, REMAIN_CAP_REG2, buf); in rk817_bat_save_cap()
621 val = rk817_bat_read(battery, REMAIN_CAP_REG2) << 16; in rk817_bat_get_prev_cap()
H A Dfg_rk816.c382 rk816_bat_write(di, REMAIN_CAP_REG2, buf); in rk816_bat_save_cap()
653 val |= rk816_bat_read(di, REMAIN_CAP_REG2) << 16; in rk816_bat_get_prev_cap()
H A Dfg_rk818.c630 val |= rk818_bat_read(di, REMAIN_CAP_REG2) << 16; in rk818_bat_get_prev_cap()
707 rk818_bat_write(di, REMAIN_CAP_REG2, buf); in rk818_bat_save_cap()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Drk817_battery.c258 REMAIN_CAP_REG2, REMAIN_CAP_REG1, REMAIN_CAP_REG0, enumerator
408 [REMAIN_CAP_REG2] = REG_FIELD(0x9F, 0, 7),
1202 rk817_bat_field_write(battery, REMAIN_CAP_REG2, buf); in rk817_bat_save_cap()
1477 val = rk817_bat_field_read(battery, REMAIN_CAP_REG2) << 16; in rk817_bat_get_prev_cap()