Home
last modified time | relevance | path

Searched defs:pchg (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/power/supply/
Dlp8788-charger.c133 static bool lp8788_is_charger_detected(struct lp8788_charger *pchg) in lp8788_is_charger_detected()
147 struct lp8788_charger *pchg = dev_get_drvdata(psy->dev.parent); in lp8788_charger_get_property() local
166 static int lp8788_get_battery_status(struct lp8788_charger *pchg, in lp8788_get_battery_status()
199 static int lp8788_get_battery_health(struct lp8788_charger *pchg, in lp8788_get_battery_health()
219 static int lp8788_get_battery_present(struct lp8788_charger *pchg, in lp8788_get_battery_present()
233 static int lp8788_get_vbatt_adc(struct lp8788_charger *pchg, int *result) in lp8788_get_vbatt_adc()
243 static int lp8788_get_battery_voltage(struct lp8788_charger *pchg, in lp8788_get_battery_voltage()
249 static int lp8788_get_battery_capacity(struct lp8788_charger *pchg, in lp8788_get_battery_capacity()
287 static int lp8788_get_battery_temperature(struct lp8788_charger *pchg, in lp8788_get_battery_temperature()
307 static int lp8788_get_battery_charging_current(struct lp8788_charger *pchg, in lp8788_get_battery_charging_current()
[all …]
Dlp8727_charger.c101 static int lp8727_read_bytes(struct lp8727_chg *pchg, u8 reg, u8 *data, u8 len) in lp8727_read_bytes()
112 static inline int lp8727_read_byte(struct lp8727_chg *pchg, u8 reg, u8 *data) in lp8727_read_byte()
117 static int lp8727_write_byte(struct lp8727_chg *pchg, u8 reg, u8 data) in lp8727_write_byte()
138 static int lp8727_init_device(struct lp8727_chg *pchg) in lp8727_init_device()
158 static int lp8727_is_dedicated_charger(struct lp8727_chg *pchg) in lp8727_is_dedicated_charger()
166 static int lp8727_is_usb_charger(struct lp8727_chg *pchg) in lp8727_is_usb_charger()
174 static inline void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw) in lp8727_ctrl_switch()
179 static void lp8727_id_detection(struct lp8727_chg *pchg, u8 id, int vbusin) in lp8727_id_detection()
213 static void lp8727_enable_chgdet(struct lp8727_chg *pchg) in lp8727_enable_chgdet()
224 struct lp8727_chg *pchg = container_of(_work, struct lp8727_chg, in lp8727_delayed_func() local
[all …]
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_tx.c248 u64 pchbusy, pchg, piov, pnew; in update_send_bufs() local