Home
last modified time | relevance | path

Searched refs:fg_pdata (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/power/supply/ !
Dda9150-fg.c450 struct da9150_fg_pdata *fg_pdata = dev_get_platdata(dev); in da9150_fg_probe() local
480 fg_pdata = da9150_fg_dt_pdata(dev); in da9150_fg_probe()
481 dev->platform_data = fg_pdata; in da9150_fg_probe()
485 if (fg_pdata) { in da9150_fg_probe()
486 fg->interval = fg_pdata->update_interval; in da9150_fg_probe()
488 if (fg_pdata->warn_soc_lvl > 100) in da9150_fg_probe()
491 fg->warn_soc = fg_pdata->warn_soc_lvl; in da9150_fg_probe()
493 if ((fg_pdata->crit_soc_lvl > 100) || in da9150_fg_probe()
494 (fg_pdata->crit_soc_lvl >= fg_pdata->warn_soc_lvl)) in da9150_fg_probe()
497 fg->crit_soc = fg_pdata->crit_soc_lvl; in da9150_fg_probe()
/linux-6.1.9/include/linux/mfd/da9150/ !
Dcore.h57 struct da9150_fg_pdata *fg_pdata; member
/linux-6.1.9/drivers/mfd/ !
Dda9150-core.c434 da9150_devs[DA9150_FG_IDX].platform_data = pdata->fg_pdata; in da9150_probe()