Lines Matching defs:sgm

254 static int sgm4154x_set_term_curr(struct sgm4154x_device *sgm, int uA)  in sgm4154x_set_term_curr()
276 static int sgm4154x_set_prechrg_curr(struct sgm4154x_device *sgm, int uA) in sgm4154x_set_prechrg_curr()
299 static int sgm4154x_set_ichrg_curr(struct sgm4154x_device *sgm, int uA) in sgm4154x_set_ichrg_curr()
324 static int sgm4154x_set_chrg_volt(struct sgm4154x_device *sgm, int chrg_volt) in sgm4154x_set_chrg_volt()
351 static int sgm4154x_set_vindpm_offset_os(struct sgm4154x_device *sgm, in sgm4154x_set_vindpm_offset_os()
367 static int sgm4154x_set_input_volt_lim(struct sgm4154x_device *sgm, in sgm4154x_set_input_volt_lim()
412 static int sgm4154x_set_input_curr_lim(struct sgm4154x_device *sgm, int iindpm) in sgm4154x_set_input_curr_lim()
436 static int sgm4154x_get_input_curr_lim(struct sgm4154x_device *sgm) in sgm4154x_get_input_curr_lim()
454 static int sgm4154x_watchdog_timer_reset(struct sgm4154x_device *sgm) in sgm4154x_watchdog_timer_reset()
469 static int sgm4154x_set_watchdog_timer(struct sgm4154x_device *sgm, int time) in sgm4154x_set_watchdog_timer()
509 static int sgm4154x_enable_charger(struct sgm4154x_device *sgm) in sgm4154x_enable_charger()
523 static int sgm4154x_disable_charger(struct sgm4154x_device *sgm) in sgm4154x_disable_charger()
537 static int sgm4154x_set_vac_ovp(struct sgm4154x_device *sgm) in sgm4154x_set_vac_ovp()
554 static int sgm4154x_set_recharge_volt(struct sgm4154x_device *sgm, int recharge_volt) in sgm4154x_set_recharge_volt()
571 static int sgm4154x_get_state(struct sgm4154x_device *sgm, in sgm4154x_get_state()
659 struct sgm4154x_device *sgm = power_supply_get_drvdata(psy); in sgm4154x_charger_set_property() local
694 struct sgm4154x_device *sgm = power_supply_get_drvdata(psy); in sgm4154x_charger_get_property() local
907 static int sgm4154x_power_supply_init(struct sgm4154x_device *sgm, in sgm4154x_power_supply_init()
925 static int sgm4154x_hw_init(struct sgm4154x_device *sgm) in sgm4154x_hw_init()
1052 static int sgm4154x_parse_dt(struct sgm4154x_device *sgm) in sgm4154x_parse_dt()
1079 static int sgm4154x_set_otg_voltage(struct sgm4154x_device *sgm, int uv) in sgm4154x_set_otg_voltage()
1107 static int sgm4154x_set_otg_current(struct sgm4154x_device *sgm, int ua) in sgm4154x_set_otg_current()
1136 struct sgm4154x_device *sgm = rdev_get_drvdata(rdev); in sgm4154x_enable_vbus() local
1153 struct sgm4154x_device *sgm = rdev_get_drvdata(rdev); in sgm4154x_disable_vbus() local
1170 struct sgm4154x_device *sgm = rdev_get_drvdata(rdev); in sgm4154x_is_enabled_vbus() local
1200 static int sgm4154x_vbus_regulator_register(struct sgm4154x_device *sgm) in sgm4154x_vbus_regulator_register()
1228 struct sgm4154x_device *sgm = container_of(nb, struct sgm4154x_device, pm_nb); in sgm4154x_suspend_notifier() local
1245 static int sgm4154x_hw_chipid_detect(struct sgm4154x_device *sgm) in sgm4154x_hw_chipid_detect()
1259 struct sgm4154x_device *sgm = in sgm_charger_work() local
1275 struct sgm4154x_device *sgm; in sgm4154x_probe() local
1364 struct sgm4154x_device *sgm = i2c_get_clientdata(client); in sgm4154x_charger_remove() local
1376 struct sgm4154x_device *sgm = i2c_get_clientdata(client); in sgm4154x_charger_shutdown() local