Searched refs:cw221x_read (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/ |
| H A D | fg_cw221x.c | 124 static u8 cw221x_read(struct cw221x_info *cw221x, u8 reg, u8 *buffer) in cw221x_read() function 157 ret = cw221x_read(cw221x, reg, &valh); in cw221x_read_half_word() 161 ret = cw221x_read(cw221x, reg + 1, &vall); in cw221x_read_half_word() 331 ret = cw221x_read(cw221x, REG_CHIP_ID, &chip_id); in cw221X_get_chip_id() 392 ret = cw221x_read(cw221x, REG_MODE_CONFIG, ®_val); in cw221X_get_state() 401 ret = cw221x_read(cw221x, REG_SOC_ALERT, ®_val); in cw221X_get_state() 411 ret = cw221x_read(cw221x, (REG_BAT_PROFILE + i), ®_val); in cw221X_get_state() 451 ret = cw221x_read(cw221x, REG_IC_STATE, ®_val); in cw_config_start_ic() 547 ret = cw221x_read(cw221x, REG_TEMP, ®_val); in cw221x_get_temperature()
|