Home
last modified time | relevance | path

Searched refs:therm (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/powerpc/powermac/
H A Dsmusat.c48 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 Dsmu.c97 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 Dmax6690.c62 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 Dad7417.c63 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 Dadt746x.c82 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 Dsm6125-sony-xperia-seine-pdx201.dts259 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 Dsm6125-xiaomi-laurel-sprout.dts171 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 Dqcm6490-shift-otter.dts592 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 Dsm8450-hdk.dts720 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 Dqcm6490-fairphone-fp5.dts702 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 Dsm8250-mtp.dts540 xo-therm@0 {
547 skin-therm@1 {
574 conn-therm@0 {
585 camera-flash-therm@0 {
592 skin-msm-therm@1 {
H A Dsc8280xp-lenovo-thinkpad-x13s.dts948 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 Dsm7225-fairphone-fp4.dts765 rear-cam-flash-therm@2 {
772 quiet-therm@3 {
854 charger-skin-therm@0 {
861 conn-therm@1 {
919 xo-therm@0 {
H A Dqrb5165-rb5.dts763 xo-therm@0 {
770 wifi-therm@1 {
852 conn-therm@0 {
895 skin-msm-therm@0 {
902 pm8150l-therm@1 {
H A Dmsm8996-sony-xperia-tone.dtsi453 flash-therm-mpp-pins {
/freebsd/sys/contrib/device-tree/Bindings/thermal/
H A Dmediatek-thermal.txt25 "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 Dmt2701.dtsi355 clock-names = "therm", "auxadc";
357 reset-names = "therm";
H A Dmt7623.dtsi501 clock-names = "therm", "auxadc";
503 reset-names = "therm";
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dtps65910.txt65 - ti,sleep-keep-therm: Keep thermal monitoring on in sleep state.
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt7986a.dtsi336 clock-names = "therm", "auxadc";
H A Dmt7622.dtsi514 clock-names = "therm", "auxadc";
H A Dmt8173.dtsi783 clock-names = "therm", "auxadc";
H A Dmt8183.dtsi1190 clock-names = "therm", "auxadc";
/freebsd/usr.bin/units/
H A Ddefinitions.units831 therm 1e+5 btu
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9340.ini404 { 0x0001628c , 0x50000000 }, //therm

12