Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/
H A Dfg_regs.h78 #define REMAIN_CAP_REG0 0xE4 macro
H A Dfg_rk817.c115 #define REMAIN_CAP_REG0 0x9d macro
552 rk817_bat_write(battery, REMAIN_CAP_REG0, buf); in rk817_bat_save_cap()
623 val |= rk817_bat_read(battery, REMAIN_CAP_REG0) << 0; in rk817_bat_get_prev_cap()
H A Dfg_rk816.c386 rk816_bat_write(di, REMAIN_CAP_REG0, buf); in rk816_bat_save_cap()
655 val |= rk816_bat_read(di, REMAIN_CAP_REG0) << 0; in rk816_bat_get_prev_cap()
H A Dfg_rk818.c632 val |= rk818_bat_read(di, REMAIN_CAP_REG0) << 0; in rk818_bat_get_prev_cap()
711 rk818_bat_write(di, REMAIN_CAP_REG0, 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
406 [REMAIN_CAP_REG0] = REG_FIELD(0x9D, 0, 7),
1206 rk817_bat_field_write(battery, REMAIN_CAP_REG0, buf); in rk817_bat_save_cap()
1479 val |= rk817_bat_field_read(battery, REMAIN_CAP_REG0) << 0; in rk817_bat_get_prev_cap()