Lines Matching full:charging

149  * @pre_charge_current: current (in uA) to use in pre-charging phase
151 * charging cycle terminates
167 * @suspend_on_hard_temp_limit: suspend charging when hard limit is hit
170 * @charge_current_compensation: current (in uA) for charging compensation
175 * @enable_control: how charging enable/disable is controlled
182 * example OTG charging controlled via OTG transceiver driver and not by
349 * smb347_charging_status - returns status of charging
352 * Function returns charging status. %0 means no charging is in progress,
353 * %1 means pre-charging, %2 fast-charging and %3 taper-charging.
373 dev_dbg(smb->dev, "charging enable/disable in SW disabled\n"); in smb347_charging_set()
378 dev_dbg(smb->dev, "charging not enabled because USB is in host mode\n"); in smb347_charging_set()
402 * disable or enable the charging. We do it manually because it in smb347_start_stop_charging()
408 dev_err(smb->dev, "failed to enable charging\n"); in smb347_start_stop_charging()
412 dev_err(smb->dev, "failed to disable charging\n"); in smb347_start_stop_charging()
623 * When hard limit is hit, the device will suspend charging in smb347_set_temp_limits()
729 /* If USB charging is disabled we put the USB in suspend mode */ in smb347_hw_init()
757 * Make the charging functionality controllable by a write to the in smb347_hw_init()
830 * If the error is recovered charging will resume again. in smb347_interrupt()
833 dev_err(smb->dev, "charging stopped due to charger error\n"); in smb347_interrupt()
843 * we can update the status now. Charging is automatically in smb347_interrupt()
865 dev_warn(smb->dev, "charging stopped due to timeout\n"); in smb347_interrupt()
1065 * set to NOT CHARGING upon charger error in smb347_get_charging_status()
1066 * or charging has stopped. in smb347_get_charging_status()
1072 * set to charging if battery is in pre-charge, in smb347_get_charging_status()
1073 * fast charge or taper charging mode. in smb347_get_charging_status()
1079 * charge, fast charge or taper charging mode AND in smb347_get_charging_status()
1080 * charging is terminated at least once. in smb347_get_charging_status()
1086 * occured but charging is not in progress!!! in smb347_get_charging_status()
1120 * We handle trickle and pre-charging the same, and taper in smb347_get_property_locked()
1249 /* Charging constraints */ in smb347_dt_parse_dev_info()
1265 /* Supported charging mode */ in smb347_dt_parse_dev_info()
1266 smb->use_mains = device_property_read_bool(dev, "summit,enable-mains-charging"); in smb347_dt_parse_dev_info()
1267 smb->use_usb = device_property_read_bool(dev, "summit,enable-usb-charging"); in smb347_dt_parse_dev_info()
1268 smb->use_usb_otg = device_property_read_bool(dev, "summit,enable-otg-charging"); in smb347_dt_parse_dev_info()
1270 /* Select charging control */ in smb347_dt_parse_dev_info()