Home
last modified time | relevance | path

Searched +full:sun50i +full:- +full:cpufreq +full:- +full:nvmem (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/device-tree/Bindings/opp/
H A Dallwinner,sun50i-h6-operating-points.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/opp/allwinner,sun50i-h6-operating-points.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
18 sun50i-cpufreq-nvmem driver reads the efuse value from the SoC to
22 - $ref: opp-v2-base.yaml#
26 const: allwinner,sun50i-h6-operating-points
28 nvmem-cells:
[all …]
/freebsd/sys/arm/allwinner/
H A Daw_thermal.c1 /*-
48 #include <dev/nvmem/nvmem.h>
175 return ((A83T_TEMP_BASE - (val * A83T_TEMP_MUL)) / A83T_TEMP_DIV); in a83t_to_temp()
207 return ((A64_TEMP_BASE - (val * A64_TEMP_MUL)) / A64_TEMP_DIV); in a64_to_temp()
239 return (H3_TEMP_BASE - ((val * H3_TEMP_MUL) / H3_TEMP_DIV)); in h3_to_temp()
245 return ((H3_TEMP_MINUS - (val * H3_TEMP_DIV)) / H3_TEMP_MUL); in h3_to_reg()
275 tmp = H5_TEMP_BASE - (val * H5_TEMP_MUL); in h5_to_temp()
281 tmp = H5_TEMP_BASE_CPU - (val * H5_TEMP_MUL_CPU); in h5_to_temp()
283 tmp = H5_TEMP_BASE_GPU - (val * H5_TEMP_MUL_GPU); in h5_to_temp()
299 tmp = H5_TEMP_BASE - (val << H5_TEMP_DIV); in h5_to_reg()
[all …]