Home
last modified time | relevance | path

Searched refs:psy_device_to_chip (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Drt9471.c644 static inline struct rt9471_chip *psy_device_to_chip(struct device *dev) in psy_device_to_chip() function
652 struct rt9471_chip *chip = psy_device_to_chip(dev); in sysoff_enable_show()
667 struct rt9471_chip *chip = psy_device_to_chip(dev); in sysoff_enable_store()
685 struct rt9471_chip *chip = psy_device_to_chip(dev); in port_detect_enable_show()
700 struct rt9471_chip *chip = psy_device_to_chip(dev); in port_detect_enable_store()
H A Drt9467-charger.c786 static inline struct rt9467_chg_data *psy_device_to_chip(struct device *dev) in psy_device_to_chip() function
794 struct rt9467_chg_data *data = psy_device_to_chip(dev); in sysoff_enable_show()
809 struct rt9467_chg_data *data = psy_device_to_chip(dev); in sysoff_enable_store()