Searched refs:cw201x (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/power/fuel_gauge/ |
| H A D | fg_cw201x.c | 64 static u8 cw201x_read(struct cw201x_info *cw201x, u8 reg) in cw201x_read() argument 69 ret = dm_i2c_read(cw201x->dev, reg, &val, 1); in cw201x_read() 72 cw201x->dev, reg); in cw201x_read() 79 static int cw201x_write(struct cw201x_info *cw201x, u8 reg, u8 val) in cw201x_write() argument 83 ret = dm_i2c_write(cw201x->dev, reg, &val, 1); in cw201x_write() 86 cw201x->dev, reg); in cw201x_write() 93 static u16 cw201x_read_half_word(struct cw201x_info *cw201x, int reg) in cw201x_read_half_word() argument 98 valh = cw201x_read(cw201x, reg); in cw201x_read_half_word() 99 vall = cw201x_read(cw201x, reg + 1); in cw201x_read_half_word() 105 static int cw201x_parse_config_info(struct cw201x_info *cw201x) in cw201x_parse_config_info() argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | rk3229-gva.dts | 229 cw201x: cw2015@62 { label 230 compatible = "cw201x";
|