Lines Matching defs:init
18 #include <linux/init.h>
171 * @init_cnt: Counter for init mode
1287 * @init: capacity is allowed to go up in init mode
1292 static void ab8500_fg_check_capacity_limits(struct ab8500_fg *di, bool init)
1302 * unless we're charging or if we're in init
1305 di->bat_cap.prev_level) || init) {
1372 percent > di->bat_cap.prev_percent) || init) {
1375 * unless we're charging or if we're in init
1552 /* If we change to charge mode we should start with init */
1939 * ab8500_fg_battok_init_hw_register - init battok levels
2350 dev_err(di->dev, "BattOk init write failed.\n");
2428 dev_dbg(di->dev, "Resetting FG state machine to init.\n");
2546 * ab8500_fg_sysfs_exit() - de-init of sysfs entry
2557 * ab8500_fg_sysfs_init() - init of sysfs entry