Lines Matching refs:lp8727_chg
84 struct lp8727_chg {
101 static int lp8727_read_bytes(struct lp8727_chg *pchg, u8 reg, u8 *data, u8 len)
112 static inline int lp8727_read_byte(struct lp8727_chg *pchg, u8 reg, u8 *data)
117 static int lp8727_write_byte(struct lp8727_chg *pchg, u8 reg, u8 data)
138 static int lp8727_init_device(struct lp8727_chg *pchg)
158 static int lp8727_is_dedicated_charger(struct lp8727_chg *pchg)
166 static int lp8727_is_usb_charger(struct lp8727_chg *pchg)
174 static inline void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw)
179 static void lp8727_id_detection(struct lp8727_chg *pchg, u8 id, int vbusin)
213 static void lp8727_enable_chgdet(struct lp8727_chg *pchg)
224 struct lp8727_chg *pchg = container_of(_work, struct lp8727_chg,
248 struct lp8727_chg *pchg = ptr;
254 static int lp8727_setup_irq(struct lp8727_chg *pchg)
281 static void lp8727_release_irq(struct lp8727_chg *pchg)
310 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent);
336 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent);
399 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent);
442 static int lp8727_register_psy(struct lp8727_chg *pchg)
479 static void lp8727_unregister_psy(struct lp8727_chg *pchg)
545 struct lp8727_chg *pchg;
595 struct lp8727_chg *pchg = i2c_get_clientdata(cl);