Home
last modified time | relevance | path

Searched refs:speedo (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/soc/tegra/fuse/
DMakefile6 obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += speedo-tegra20.o
7 obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += speedo-tegra30.o
8 obj-$(CONFIG_ARCH_TEGRA_114_SOC) += speedo-tegra114.o
9 obj-$(CONFIG_ARCH_TEGRA_124_SOC) += speedo-tegra124.o
10 obj-$(CONFIG_ARCH_TEGRA_132_SOC) += speedo-tegra124.o
11 obj-$(CONFIG_ARCH_TEGRA_210_SOC) += speedo-tegra210.o
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgk20a.c52 gk20a_volt_get_cvb_voltage(int speedo, int s_scale, const struct cvb_coef *coef) in gk20a_volt_get_cvb_voltage() argument
56 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); in gk20a_volt_get_cvb_voltage()
57 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; in gk20a_volt_get_cvb_voltage()
67 gk20a_volt_get_cvb_t_voltage(int speedo, int temp, int s_scale, int t_scale, in gk20a_volt_get_cvb_t_voltage() argument
72 cvb_mv = gk20a_volt_get_cvb_voltage(speedo, s_scale, coef); in gk20a_volt_get_cvb_t_voltage()
74 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + in gk20a_volt_get_cvb_t_voltage()
81 gk20a_volt_calc_voltage(const struct cvb_coef *coef, int speedo) in gk20a_volt_calc_voltage() argument
86 mv = gk20a_volt_get_cvb_t_voltage(speedo, -10, 100, 10, coef); in gk20a_volt_calc_voltage()
Dbase.c115 if (volt->speedo < 0) in nvkm_volt_map()
116 return volt->speedo; in nvkm_volt_map()
120 result += div64_s64((s64)info.arg[1] * volt->speedo, 10); in nvkm_volt_map()
121 result += div64_s64((s64)info.arg[2] * volt->speedo * volt->speedo, 100000); in nvkm_volt_map()
127 result += ((s64)info.arg[1] * volt->speedo * 15625) >> 18; in nvkm_volt_map()
129 result += ((s64)info.arg[3] * volt->speedo * temp * 15625) >> 18; in nvkm_volt_map()
130 result += ((s64)info.arg[4] * volt->speedo * volt->speedo * 15625) >> 30; in nvkm_volt_map()
259 volt->speedo = nvkm_volt_speedo_read(volt); in nvkm_volt_oneinit()
260 if (volt->speedo > 0) in nvkm_volt_oneinit()
261 nvkm_debug(&volt->subdev, "speedo %x\n", volt->speedo); in nvkm_volt_oneinit()
Dgf100.c44 if (volt->speedo <= 0) in gf100_volt_oneinit()
/Linux-v5.4/drivers/clk/tegra/
Dcvb.c14 static inline int get_cvb_voltage(int speedo, int s_scale, in get_cvb_voltage() argument
20 mv = DIV_ROUND_CLOSEST(cvb->c2 * speedo, s_scale); in get_cvb_voltage()
21 mv = DIV_ROUND_CLOSEST((mv + cvb->c1) * speedo, s_scale) + cvb->c0; in get_cvb_voltage()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dvolt.h30 int speedo; member
/Linux-v5.4/Documentation/devicetree/bindings/fuse/
Dnvidia,tegra20-fuse.txt16 the speedo data.