Lines Matching defs:cw221x

124 static u8 cw221x_read(struct cw221x_info *cw221x, u8 reg, u8 *buffer)  in cw221x_read()
139 static int cw221x_write(struct cw221x_info *cw221x, u8 reg, u8 val) in cw221x_write()
150 static int cw221x_read_half_word(struct cw221x_info *cw221x, in cw221x_read_half_word()
172 struct cw221x_info *cw221x = dev_get_priv(dev); in cw221x_ofdata_to_platdata() local
205 static int cw221x_get_vol(struct cw221x_info *cw221x) in cw221x_get_vol()
241 static int cw221x_get_usb_state(struct cw221x_info *cw221x) in cw221x_get_usb_state()
264 static bool cw221x_check_charge(struct cw221x_info *cw221x) in cw221x_check_charge()
272 static int cw221x_get_soc(struct cw221x_info *cw221x) in cw221x_get_soc()
317 struct cw221x_info *cw221x = dev_get_priv(dev); in cw221x_update_get_soc() local
326 static void cw221X_get_chip_id(struct cw221x_info *cw221x) in cw221X_get_chip_id()
340 static int cw221X_active(struct cw221x_info *cw221x) in cw221X_active()
353 static int cw221X_sleep(struct cw221x_info *cw221x) in cw221X_sleep()
366 static int cw_write_profile(struct cw221x_info *cw221x, u8 buf[]) in cw_write_profile()
386 static int cw221X_get_state(struct cw221x_info *cw221x) in cw221X_get_state()
427 static int cw_config_start_ic(struct cw221x_info *cw221x) in cw_config_start_ic()
468 static int cw221X_init(struct cw221x_info *cw221x) in cw221X_init()
513 static int cw221x_get_current(struct cw221x_info *cw221x) in cw221x_get_current()
535 struct cw221x_info *cw221x = dev_get_priv(dev); in cw221x_update_get_current() local
542 struct cw221x_info *cw221x = dev_get_priv(dev); in cw221x_get_temperature() local
560 struct cw221x_info *cw221x = dev_get_priv(dev); in cw221x_update_get_chrg_online() local
567 struct cw221x_info *cw221x = dev_get_priv(dev); in cw221x_update_get_voltage() local
592 struct cw221x_info *cw221x = dev_get_priv(dev); in cw221x_fg_probe() local