Lines Matching +full:enable +full:- +full:output +full:- +full:discharge

4  * SPDX-License-Identifier: Apache-2.0
63 * current output
70 * current output
81 * Configuration to issue a notification to the system based on the battery discharge
107 * Reserved to demark downstream custom properties - use this value as the actual value may
129 /** External supply is present and of fixed output */
131 /** External supply is present and of programmable output*/
326 typedef int (*charger_charge_enable_t)(const struct device *dev, const bool enable);
355 const struct charger_driver_api *api = (const struct charger_driver_api *)dev->api; in z_impl_charger_get_prop()
357 return api->get_property(dev, prop, val); in z_impl_charger_get_prop()
376 const struct charger_driver_api *api = (const struct charger_driver_api *)dev->api; in z_impl_charger_set_prop()
378 return api->set_property(dev, prop, val); in z_impl_charger_set_prop()
382 * @brief Enable or disable a charge cycle
385 * @param enable true enables a charge cycle, false disables a charge cycle
388 * @retval -EIO if communication with the charger failed
389 * @retval -EINVAL if the conditions for initiating charging are invalid
391 __syscall int charger_charge_enable(const struct device *dev, const bool enable);
393 static inline int z_impl_charger_charge_enable(const struct device *dev, const bool enable) in z_impl_charger_charge_enable() argument
395 const struct charger_driver_api *api = (const struct charger_driver_api *)dev->api; in z_impl_charger_charge_enable()
397 return api->charge_enable(dev, enable); in z_impl_charger_charge_enable()