/freebsd/sys/powerpc/powermac/ |
H A D | smusat.c | 48 struct pmac_therm therm; member 147 OF_getprop(child, "zone", &sens->therm.zone, sizeof(int)); in smusat_attach() 148 OF_getprop(child, "location", sens->therm.name, in smusat_attach() 149 sizeof(sens->therm.name)); in smusat_attach() 169 for (i = 0; i < strlen(sens->therm.name); i++) { in smusat_attach() 170 sysctl_name[i] = tolower(sens->therm.name[i]); in smusat_attach() 176 sprintf(sysctl_desc,"%s (%s)", sens->therm.name, units); in smusat_attach() 184 sens->therm.target_temp = 500 + 2731; /* 50 C */ in smusat_attach() 185 sens->therm.max_temp = 900 + 2731; /* 90 C */ in smusat_attach() 186 sens->therm.read = in smusat_attach() [all …]
|
H A D | smu.c | 97 struct pmac_therm therm; member 1227 OF_getprop(child, "zone", &sens->therm.zone, sizeof(int)); in smu_attach_sensors() 1228 OF_getprop(child, "location", sens->therm.name, in smu_attach_sensors() 1229 sizeof(sens->therm.name)); in smu_attach_sensors() 1231 for (i = 0; i < strlen(sens->therm.name); i++) { in smu_attach_sensors() 1232 sysctl_name[i] = tolower(sens->therm.name[i]); in smu_attach_sensors() 1238 sprintf(sysctl_desc,"%s (%s)", sens->therm.name, units); in smu_attach_sensors() 1247 sens->therm.target_temp = 500 + 2731; /* 50 C */ in smu_attach_sensors() 1248 sens->therm.max_temp = 900 + 2731; /* 90 C */ in smu_attach_sensors() 1250 sens->therm.read = in smu_attach_sensors() [all …]
|
/freebsd/sys/dev/iicbus/sensor/ |
H A D | max6690.c | 62 struct pmac_therm therm; member 189 strcpy(sc->sc_sensors[i].therm.name, location + len); in max6690_fill_sensor_prop() 205 sc->sc_sensors[j].therm.zone = id[j]; in max6690_fill_sensor_prop() 217 if (strcmp(sc->sc_sensors[j].therm.name, "KODIAK DIODE") == 0) in max6690_fill_sensor_prop() 218 sc->sc_sensors[j].therm.target_temp = 640 + ZERO_C_TO_K; in max6690_fill_sensor_prop() 220 sc->sc_sensors[j].therm.target_temp = 400 + ZERO_C_TO_K; in max6690_fill_sensor_prop() 221 sc->sc_sensors[j].therm.max_temp = 850 + ZERO_C_TO_K; in max6690_fill_sensor_prop() 223 sc->sc_sensors[j].therm.read = in max6690_fill_sensor_prop() 289 pmac_thermal_sensor_register(&sc->sc_sensors[i].therm); in max6690_start() 293 for (j = 0; j < strlen(sc->sc_sensors[i].therm.name); j++) { in max6690_start() [all …]
|
/freebsd/sys/dev/iicbus/adc/ |
H A D | ad7417.c | 63 struct pmac_therm therm; member 323 strcpy(sc->sc_sensors[i].therm.name, location + len); in ad7417_fill_sensor_prop() 354 sc->sc_sensors[j].therm.zone = id[j]; in ad7417_fill_sensor_prop() 365 strcpy(sc->sc_sensors[i].therm.name, location); in ad7417_fill_sensor_prop() 374 if ((strstr(sc->sc_sensors[j].therm.name, "DIODE TEMP") in ad7417_fill_sensor_prop() 376 || (strstr(sc->sc_sensors[j].therm.name, "AD1") != NULL)) { in ad7417_fill_sensor_prop() 378 sc->sc_sensors[j].therm.read = in ad7417_fill_sensor_prop() 381 sc->sc_sensors[j].therm.read = in ad7417_fill_sensor_prop() 389 sc->sc_sensors[j].therm.target_temp = 500 + ZERO_C_TO_K; in ad7417_fill_sensor_prop() 390 sc->sc_sensors[j].therm.max_temp = 900 + ZERO_C_TO_K; in ad7417_fill_sensor_prop() [all …]
|
/freebsd/sys/dev/iicbus/pwm/ |
H A D | adt746x.c | 82 struct pmac_therm therm; member 412 OF_getprop(node, "location", sc->sc_sensors[i].therm.name, 32); in adt746x_fill_sensor_prop() 426 OF_getprop(node, "zone", &sc->sc_sensors[i].therm.zone, in adt746x_fill_sensor_prop() 427 sizeof(sc->sc_sensors[i].therm.zone)); in adt746x_fill_sensor_prop() 429 sc->sc_sensors[i].therm.read = in adt746x_fill_sensor_prop() 433 sc->sc_sensors[i].therm.target_temp = 500 + ZERO_C_TO_K; in adt746x_fill_sensor_prop() 434 sc->sc_sensors[i].therm.max_temp = 800 + ZERO_C_TO_K; in adt746x_fill_sensor_prop() 436 pmac_thermal_sensor_register(&sc->sc_sensors[i].therm); in adt746x_fill_sensor_prop() 580 value = sens->therm.read(&sens->therm); in adt746x_sensor_sysctl() 619 for (j = 0; j < strlen(sc->sc_sensors[i].therm.name); j++) { in adt746x_attach_sensors() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sm6125-sony-xperia-seine-pdx201.dts | 259 rf-pa0-therm@0 { 266 quiet-therm@1 { 273 xo-therm@2 { 280 rf-pa1-therm@3 { 289 camera_flash_therm: camera-flash-therm-state { 295 emmc_ufs_therm: emmc-ufs-therm-state { 301 rf_pa1_therm: rf-pa1-therm-state {
|
H A D | sm6125-xiaomi-laurel-sprout.dts | 171 rf-pa0-therm@0 { 178 quiet-therm@1 { 185 xo-therm@2 { 194 camera_flash_therm: camera-flash-therm-state { 200 emmc_ufs_therm: emmc-ufs-therm-state {
|
H A D | qcm6490-shift-otter.dts | 592 charger-skin-therm@0 { 599 conn-therm@1 { 620 xo-therm@0 { 627 quiet-therm@1 { 634 cam-flash-therm@2 { 641 sdm-skin-therm@3 { 648 wide-rfc-therm@4 {
|
H A D | sm8450-hdk.dts | 720 xo-therm@0 { 727 skin-msm-therm@1 { 734 camera-therm@2 { 741 therm1-therm@3 { 748 wide-rfc-therm@4 { 755 rear-tof-therm@5 { 762 therm2-therm@6 { 769 usb-conn-therm@7 {
|
H A D | qcm6490-fairphone-fp5.dts | 702 charger-skin-therm@0 { 709 conn-therm@1 { 743 xo-therm@0 { 750 quiet-therm@1 { 757 cam-flash-therm@2 { 764 sdm-skin-therm@3 { 771 wide-rfc-therm@4 {
|
H A D | sm8250-mtp.dts | 540 xo-therm@0 { 547 skin-therm@1 { 574 conn-therm@0 { 585 camera-flash-therm@0 { 592 skin-msm-therm@1 {
|
H A D | sc8280xp-lenovo-thinkpad-x13s.dts | 948 sys-therm@0 { 956 sys-therm@1 { 964 sys-therm@2 { 972 sys-therm@3 { 980 sys-therm@4 { 988 sys-therm@5 { 996 sys-therm@6 { 1004 sys-therm@7 {
|
H A D | sm7225-fairphone-fp4.dts | 765 rear-cam-flash-therm@2 { 772 quiet-therm@3 { 854 charger-skin-therm@0 { 861 conn-therm@1 { 919 xo-therm@0 {
|
H A D | qrb5165-rb5.dts | 763 xo-therm@0 { 770 wifi-therm@1 { 852 conn-therm@0 { 895 skin-msm-therm@0 { 902 pm8150l-therm@1 {
|
H A D | msm8996-sony-xperia-tone.dtsi | 453 flash-therm-mpp-pins {
|
/freebsd/sys/contrib/device-tree/Bindings/thermal/ |
H A D | mediatek-thermal.txt | 25 "therm": Main clock needed for register access 45 clock-names = "therm", "auxadc"; 47 reset-names = "therm";
|
/freebsd/sys/contrib/device-tree/src/arm/mediatek/ |
H A D | mt2701.dtsi | 355 clock-names = "therm", "auxadc"; 357 reset-names = "therm";
|
H A D | mt7623.dtsi | 501 clock-names = "therm", "auxadc"; 503 reset-names = "therm";
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | tps65910.txt | 65 - ti,sleep-keep-therm: Keep thermal monitoring on in sleep state.
|
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
H A D | mt7986a.dtsi | 336 clock-names = "therm", "auxadc";
|
H A D | mt7622.dtsi | 514 clock-names = "therm", "auxadc";
|
H A D | mt8173.dtsi | 783 clock-names = "therm", "auxadc";
|
H A D | mt8183.dtsi | 1190 clock-names = "therm", "auxadc";
|
/freebsd/usr.bin/units/ |
H A D | definitions.units | 831 therm 1e+5 btu
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9340.ini | 404 { 0x0001628c , 0x50000000 }, //therm
|