Lines Matching defs:ddata
176 static int cpcap_charger_get_charge_voltage(struct cpcap_charger_ddata *ddata) in cpcap_charger_get_charge_voltage()
192 static int cpcap_charger_get_charge_current(struct cpcap_charger_ddata *ddata) in cpcap_charger_get_charge_current()
212 struct cpcap_charger_ddata *ddata = dev_get_drvdata(psy->dev.parent); in cpcap_charger_get_property() local
272 cpcap_charger_get_bat_const_charge_voltage(struct cpcap_charger_ddata *ddata) in cpcap_charger_get_bat_const_charge_voltage()
317 struct cpcap_charger_ddata *ddata = dev_get_drvdata(psy->dev.parent); in cpcap_charger_set_property() local
354 static void cpcap_charger_set_cable_path(struct cpcap_charger_ddata *ddata, in cpcap_charger_set_cable_path()
363 static void cpcap_charger_set_inductive_path(struct cpcap_charger_ddata *ddata, in cpcap_charger_set_inductive_path()
372 static void cpcap_charger_update_state(struct cpcap_charger_ddata *ddata, in cpcap_charger_update_state()
405 static int cpcap_charger_disable(struct cpcap_charger_ddata *ddata) in cpcap_charger_disable()
418 static int cpcap_charger_enable(struct cpcap_charger_ddata *ddata, in cpcap_charger_enable()
443 static bool cpcap_charger_vbus_valid(struct cpcap_charger_ddata *ddata) in cpcap_charger_vbus_valid()
461 struct cpcap_charger_ddata *ddata; in cpcap_charger_vbus_work() local
525 struct cpcap_charger_ddata *ddata = in cpcap_charger_set_vbus() local
537 static int cpcap_charger_get_ints_state(struct cpcap_charger_ddata *ddata, in cpcap_charger_get_ints_state()
595 static void cpcap_charger_disconnect(struct cpcap_charger_ddata *ddata, in cpcap_charger_disconnect()
623 struct cpcap_charger_ddata *ddata; in cpcap_usb_detect() local
740 struct cpcap_charger_ddata *ddata = data; in cpcap_charger_irq_thread() local
751 struct cpcap_charger_ddata *ddata, in cpcap_usb_init_irq()
795 struct cpcap_charger_ddata *ddata) in cpcap_usb_init_interrupts()
808 static void cpcap_charger_init_optional_gpios(struct cpcap_charger_ddata *ddata) in cpcap_charger_init_optional_gpios()
823 static int cpcap_charger_init_iio(struct cpcap_charger_ddata *ddata) in cpcap_charger_init_iio()
880 struct cpcap_charger_ddata *ddata; in cpcap_charger_probe() local
949 struct cpcap_charger_ddata *ddata = platform_get_drvdata(pdev); in cpcap_charger_shutdown() local