Home
last modified time | relevance | path

Searched refs:tfuse (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/thermal/tegra/
H A Dsoctherm-fuse.c73 int tegra_calc_shared_calib(const struct tegra_soctherm_fuse *tfuse, in tegra_calc_shared_calib() argument
84 shared->base_cp = (val & tfuse->fuse_base_cp_mask) >> in tegra_calc_shared_calib()
85 tfuse->fuse_base_cp_shift; in tegra_calc_shared_calib()
86 shared->base_ft = (val & tfuse->fuse_base_ft_mask) >> in tegra_calc_shared_calib()
87 tfuse->fuse_base_ft_shift; in tegra_calc_shared_calib()
89 shifted_ft = (val & tfuse->fuse_shift_ft_mask) >> in tegra_calc_shared_calib()
90 tfuse->fuse_shift_ft_shift; in tegra_calc_shared_calib()
93 if (tfuse->fuse_spare_realignment) { in tegra_calc_shared_calib()
94 err = tegra_fuse_readl(tfuse->fuse_spare_realignment, &val); in tegra_calc_shared_calib()
H A Dsoctherm.h127 const struct tegra_soctherm_fuse *tfuse; member
134 int tegra_calc_shared_calib(const struct tegra_soctherm_fuse *tfuse,
H A Dtegra132-soctherm.c215 .tfuse = &tegra132_soctherm_fuse,
H A Dtegra124-soctherm.c215 .tfuse = &tegra124_soctherm_fuse,
H A Dtegra210-soctherm.c223 .tfuse = &tegra210_soctherm_fuse,
H A Dsoctherm.c2149 err = tegra_calc_shared_calib(soc->tfuse, &shared_calib); in tegra_soctherm_probe()