Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/
H A Dfg_regs.h77 #define REMAIN_CAP_REG1 0xE3 macro
H A Dfg_rk817.c116 #define REMAIN_CAP_REG1 0x9e macro
550 rk817_bat_write(battery, REMAIN_CAP_REG1, buf); in rk817_bat_save_cap()
622 val |= rk817_bat_read(battery, REMAIN_CAP_REG1) << 8; in rk817_bat_get_prev_cap()
H A Dfg_rk816.c384 rk816_bat_write(di, REMAIN_CAP_REG1, buf); in rk816_bat_save_cap()
654 val |= rk816_bat_read(di, REMAIN_CAP_REG1) << 8; in rk816_bat_get_prev_cap()
H A Dfg_rk818.c631 val |= rk818_bat_read(di, REMAIN_CAP_REG1) << 8; in rk818_bat_get_prev_cap()
709 rk818_bat_write(di, REMAIN_CAP_REG1, 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
407 [REMAIN_CAP_REG1] = REG_FIELD(0x9E, 0, 7),
1204 rk817_bat_field_write(battery, REMAIN_CAP_REG1, buf); in rk817_bat_save_cap()
1478 val |= rk817_bat_field_read(battery, REMAIN_CAP_REG1) << 8; in rk817_bat_get_prev_cap()