Lines Matching refs:rt9471_chip
142 struct rt9471_chip { struct
190 static int rt9471_set_value_by_field_range(struct rt9471_chip *chip, in rt9471_set_value_by_field_range()
205 static int rt9471_get_value_by_field_range(struct rt9471_chip *chip, in rt9471_get_value_by_field_range()
224 static int rt9471_set_ieoc(struct rt9471_chip *chip, int microamp) in rt9471_set_ieoc()
239 static int rt9471_get_ieoc(struct rt9471_chip *chip, int *microamp) in rt9471_get_ieoc()
256 static int rt9471_get_status(struct rt9471_chip *chip, int *status) in rt9471_get_status()
287 static int rt9471_get_vbus_good(struct rt9471_chip *chip, int *stat) in rt9471_get_vbus_good()
300 static int rt9471_get_usb_type(struct rt9471_chip *chip, int *usb_type) in rt9471_get_usb_type()
309 static int rt9471_get_usb_type_current(struct rt9471_chip *chip, in rt9471_get_usb_type_current()
358 struct rt9471_chip *chip = power_supply_get_drvdata(psy); in rt9471_charger_set_property()
390 struct rt9471_chip *chip = power_supply_get_drvdata(psy); in rt9471_charger_get_property()
433 struct rt9471_chip *chip = devid; in rt9471_vbus_gd_handler()
442 struct rt9471_chip *chip = devid; in rt9471_detach_handler()
466 struct rt9471_chip *chip = devid; in rt9471_bc12_done_handler()
523 struct rt9471_chip *chip = devid; in rt9471_wdt_handler()
533 struct rt9471_chip *chip = devid; in rt9471_otg_fault_handler()
547 static int rt9471_register_interrupts(struct rt9471_chip *chip) in rt9471_register_interrupts()
612 static int rt9471_register_otg_regulator(struct rt9471_chip *chip) in rt9471_register_otg_regulator()
622 static inline struct rt9471_chip *psy_device_to_chip(struct device *dev) in psy_device_to_chip()
630 struct rt9471_chip *chip = psy_device_to_chip(dev); in sysoff_enable_show()
645 struct rt9471_chip *chip = psy_device_to_chip(dev); in sysoff_enable_store()
663 struct rt9471_chip *chip = psy_device_to_chip(dev); in port_detect_enable_show()
678 struct rt9471_chip *chip = psy_device_to_chip(dev); in port_detect_enable_store()
704 static int rt9471_register_psy(struct rt9471_chip *chip) in rt9471_register_psy()
788 static int rt9471_check_devinfo(struct rt9471_chip *chip) in rt9471_check_devinfo()
833 struct rt9471_chip *chip; in rt9471_probe()
897 struct rt9471_chip *chip = i2c_get_clientdata(i2c); in rt9471_shutdown()