Searched refs:fg_pdata (Results 1 – 3 of 3) sorted by relevance
450 struct da9150_fg_pdata *fg_pdata = dev_get_platdata(dev); in da9150_fg_probe() local480 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()
57 struct da9150_fg_pdata *fg_pdata; member
434 da9150_devs[DA9150_FG_IDX].platform_data = pdata->fg_pdata; in da9150_probe()