Lines Matching defs:init
18 #include <linux/init.h>
169 * @init_cnt: Counter for init mode
1267 * @init: capacity is allowed to go up in init mode
1272 static void ab8500_fg_check_capacity_limits(struct ab8500_fg *di, bool init)
1282 * unless we're charging or if we're in init
1285 di->bat_cap.prev_level) || init) {
1352 percent > di->bat_cap.prev_percent) || init) {
1355 * unless we're charging or if we're in init
1532 /* If we change to charge mode we should start with init */
1918 * ab8500_fg_battok_init_hw_register - init battok levels
2323 dev_err(di->dev, "BattOk init write failed.\n");
2401 dev_dbg(di->dev, "Resetting FG state machine to init.\n");
2518 * ab8500_fg_sysfs_exit() - de-init of sysfs entry
2529 * ab8500_fg_sysfs_init() - init of sysfs entry