• Home
  • Raw
  • Download

Lines Matching defs:pchg

105 static int lp8727_read_bytes(struct lp8727_chg *pchg, u8 reg, u8 *data, u8 len)  in lp8727_read_bytes()
116 static inline int lp8727_read_byte(struct lp8727_chg *pchg, u8 reg, u8 *data) in lp8727_read_byte()
121 static int lp8727_write_byte(struct lp8727_chg *pchg, u8 reg, u8 data) in lp8727_write_byte()
142 static int lp8727_init_device(struct lp8727_chg *pchg) in lp8727_init_device()
162 static int lp8727_is_dedicated_charger(struct lp8727_chg *pchg) in lp8727_is_dedicated_charger()
170 static int lp8727_is_usb_charger(struct lp8727_chg *pchg) in lp8727_is_usb_charger()
178 static inline void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw) in lp8727_ctrl_switch()
183 static void lp8727_id_detection(struct lp8727_chg *pchg, u8 id, int vbusin) in lp8727_id_detection()
217 static void lp8727_enable_chgdet(struct lp8727_chg *pchg) in lp8727_enable_chgdet()
228 struct lp8727_chg *pchg = container_of(_work, struct lp8727_chg, in lp8727_delayed_func() local
252 struct lp8727_chg *pchg = ptr; in lp8727_isr_func() local
258 static int lp8727_setup_irq(struct lp8727_chg *pchg) in lp8727_setup_irq()
285 static void lp8727_release_irq(struct lp8727_chg *pchg) in lp8727_release_irq()
314 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent); in lp8727_charger_get_property() local
340 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent); in lp8727_battery_get_property() local
403 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent); in lp8727_charger_changed() local
446 static int lp8727_register_psy(struct lp8727_chg *pchg) in lp8727_register_psy()
483 static void lp8727_unregister_psy(struct lp8727_chg *pchg) in lp8727_unregister_psy()
549 struct lp8727_chg *pchg; in lp8727_probe() local
599 struct lp8727_chg *pchg = i2c_get_clientdata(cl); in lp8727_remove() local