| /kernel/linux/linux-5.10/drivers/thermal/broadcom/ |
| D | sr-thermal.c | 15 * Each TMON temperature register size is 4. 31 struct sr_tmon tmon[SR_TMON_MAX_LIST]; member 36 struct sr_tmon *tmon = data; in sr_get_temp() local 37 struct sr_thermal *sr_thermal = tmon->priv; in sr_get_temp() 39 *temp = readl(sr_thermal->regs + SR_TMON_TEMP_BASE(tmon->tmon_id)); in sr_get_temp() 52 struct sr_tmon *tmon; in sr_thermal_probe() local 74 ret = device_property_read_u32(dev, "brcm,tmon-mask", &sr_tmon_list); in sr_thermal_probe() 78 tmon = sr_thermal->tmon; in sr_thermal_probe() 79 for (i = 0; i < SR_TMON_MAX_LIST; i++, tmon++) { in sr_thermal_probe() 85 tmon->tmon_id = i; in sr_thermal_probe() [all …]
|
| D | brcmstb_thermal.c | 3 * Broadcom STB AVS TMON thermal sensor driver 313 { .compatible = "brcm,avs-tmon-bcm7216", .data = &brcmstb_16nm_params }, 314 { .compatible = "brcm,avs-tmon", .data = &brcmstb_28nm_params }, 366 dev_info(&pdev->dev, "registered AVS TMON of-sensor driver\n"); in brcmstb_thermal_probe() 382 MODULE_DESCRIPTION("Broadcom STB AVS TMON thermal driver");
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | brcm,sr-thermal.txt | 7 - reg : Memory where tmon data will be available. 8 - brcm,tmon-mask: A one cell bit mask of valid TMON sources. 9 Each bit represents single TMON source. 13 specifier value is tmon ID and it should be 14 in correspond with brcm,tmon-mask. 24 tmon: tmon@0 { 27 brcm,tmon-mask = <0x3f>; 36 thermal-sensors = <&tmon 0>; 48 thermal-sensors = <&tmon 1>; 60 thermal-sensors = <&tmon 2>; [all …]
|
| D | brcm,avs-tmon.yaml | 4 $id: http://devicetree.org/schemas/thermal/brcm,avs-tmon.yaml# 9 description: Thermal management core, provided by the AVS TMON hardware block. 21 - brcm,avs-tmon-bcm7216 22 - brcm,avs-tmon-bcm7445 23 - const: brcm,avs-tmon 28 Address range for the AVS TMON registers 35 - const: tmon 50 compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; 53 interrupt-names = "tmon";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | brcm,sr-thermal.txt | 7 - reg : Memory where tmon data will be available. 8 - brcm,tmon-mask: A one cell bit mask of valid TMON sources. 9 Each bit represents single TMON source. 13 specifier value is tmon ID and it should be 14 in correspond with brcm,tmon-mask. 24 tmon: tmon@0 { 27 brcm,tmon-mask = <0x3f>; 36 thermal-sensors = <&tmon 0>; 48 thermal-sensors = <&tmon 1>; 60 thermal-sensors = <&tmon 2>; [all …]
|
| D | brcm,avs-tmon.txt | 3 Thermal management core, provided by the AVS TMON hardware block. 7 "brcm,avs-tmon-bcm7216" 8 "brcm,avs-tmon-bcm7445" 9 "brcm,avs-tmon" 10 - reg: address range for the AVS TMON registers 12 required except for "brcm,avs-tmon-bcm7216" 13 - interrupt-names: should be "tmon" 18 compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; 21 interrupt-names = "tmon";
|
| /kernel/linux/linux-6.6/tools/thermal/tmon/ |
| D | tmon.8 | 1 .TH TMON 8 4 \fBtmon\fP - A monitoring and testing tool for Linux kernel thermal subsystem 8 .B tmon 12 \fBtmon \fP can be used to visualize thermal relationship and 15 analysis and plot. \fBtmon\fP must be run as root in order to control device 37 4. Data logging in /var/tmp/tmon.log 49 The \fB-d --daemon\fP option runs \fBtmon \fP as daemon without user interface 55 The \fB-l --log\fP option write data to /var/tmp/tmon.log 61 The \fB-v --version\fP option shows the version of \fBtmon \fP 88 \fBCtrl-C, q/Q\fP stops \fBtmon\fP [all …]
|
| D | README | 1 TMON - A Monitoring and Testing Tool for Linux kernel thermal subsystem 3 Why TMON? 21 TMON is conceived as a tool to help visualize, tune, and test the 26 tmon.c : main function for set up and configurations. 39 $ sudo ./tmon -h 40 Usage: tmon [OPTION...] 43 -l, --log log data to /var/tmp/tmon.log 50 $ sudo ./tmon
|
| D | tmon.c | 3 * tmon.c Thermal Monitor (TMON) main function and entry point 28 #include "tmon.h" 51 printf("Usage: tmon [OPTION...]\n"); in usage() 56 printf(" -l, --log log data to /var/tmp/tmon.log\n"); in usage() 67 printf("TMON version %s\n", VERSION); in version() 73 syslog(LOG_INFO, "TMON exit cleanup\n"); in tmon_cleanup() 100 syslog(LOG_INFO, "TMON caught signal %d\n", sig); in tmon_sig_handler() 127 openlog("tmon.log", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL0); in start_syslog() 128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog() 225 printf("TMON needs to be run as root\n"); in main() [all …]
|
| D | Makefile | 16 TARGET=tmon 34 OBJS = tmon.o tui.o sysfs.o pid.o 36 tmon: $(OBJS) Makefile tmon.h target 39 valgrind: tmon
|
| D | tmon.h | 3 * tmon.h contains data structures and constants used by TMON 28 #define TMON_LOG_FILE "/var/tmp/tmon.log"
|
| D | .gitignore | 2 /tmon
|
| /kernel/linux/linux-5.10/tools/thermal/tmon/ |
| D | tmon.8 | 1 .TH TMON 8 4 \fBtmon\fP - A monitoring and testing tool for Linux kernel thermal subsystem 8 .B tmon 12 \fBtmon \fP can be used to visualize thermal relationship and 15 analysis and plot. \fBtmon\fP must be run as root in order to control device 37 4. Data logging in /var/tmp/tmon.log 49 The \fB-d --daemon\fP option runs \fBtmon \fP as daemon without user interface 55 The \fB-l --log\fP option write data to /var/tmp/tmon.log 61 The \fB-v --version\fP option shows the version of \fBtmon \fP 88 \fBCtrl-C, q/Q\fP stops \fBtmon\fP [all …]
|
| D | README | 1 TMON - A Monitoring and Testing Tool for Linux kernel thermal subsystem 3 Why TMON? 21 TMON is conceived as a tool to help visualize, tune, and test the 26 tmon.c : main function for set up and configurations. 39 $ sudo ./tmon -h 40 Usage: tmon [OPTION...] 43 -l, --log log data to /var/tmp/tmon.log 50 $ sudo ./tmon
|
| D | tmon.c | 3 * tmon.c Thermal Monitor (TMON) main function and entry point 28 #include "tmon.h" 51 printf("Usage: tmon [OPTION...]\n"); in usage() 56 printf(" -l, --log log data to /var/tmp/tmon.log\n"); in usage() 67 printf("TMON version %s\n", VERSION); in version() 73 syslog(LOG_INFO, "TMON exit cleanup\n"); in tmon_cleanup() 100 syslog(LOG_INFO, "TMON caught signal %d\n", sig); in tmon_sig_handler() 127 openlog("tmon.log", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL0); in start_syslog() 128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog() 225 printf("TMON needs to be run as root\n"); in main() [all …]
|
| D | Makefile | 17 TARGET=tmon 35 OBJS = tmon.o tui.o sysfs.o pid.o 38 tmon: $(OBJS) Makefile tmon.h target 41 valgrind: tmon
|
| D | tmon.h | 3 * tmon.h contains data structures and constants used by TMON 28 #define TMON_LOG_FILE "/var/tmp/tmon.log"
|
| D | .gitignore | 2 /tmon
|
| /kernel/linux/linux-6.6/drivers/thermal/broadcom/ |
| D | sr-thermal.c | 15 * Each TMON temperature register size is 4. 30 struct sr_tmon tmon[SR_TMON_MAX_LIST]; member 35 struct sr_tmon *tmon = thermal_zone_device_priv(tz); in sr_get_temp() local 36 struct sr_thermal *sr_thermal = tmon->priv; in sr_get_temp() 38 *temp = readl(sr_thermal->regs + SR_TMON_TEMP_BASE(tmon->tmon_id)); in sr_get_temp() 52 struct sr_tmon *tmon; in sr_thermal_probe() local 74 ret = device_property_read_u32(dev, "brcm,tmon-mask", &sr_tmon_list); in sr_thermal_probe() 78 tmon = sr_thermal->tmon; in sr_thermal_probe() 79 for (i = 0; i < SR_TMON_MAX_LIST; i++, tmon++) { in sr_thermal_probe() 85 tmon->tmon_id = i; in sr_thermal_probe() [all …]
|
| D | brcmstb_thermal.c | 3 * Broadcom STB AVS TMON thermal sensor driver 311 { .compatible = "brcm,avs-tmon-bcm7216", .data = &brcmstb_16nm_params }, 312 { .compatible = "brcm,avs-tmon", .data = &brcmstb_28nm_params }, 361 dev_info(&pdev->dev, "registered AVS TMON of-sensor driver\n"); in brcmstb_thermal_probe() 377 MODULE_DESCRIPTION("Broadcom STB AVS TMON thermal driver");
|
| /kernel/linux/linux-5.10/tools/ |
| D | Makefile | 33 @echo ' tmon - thermal monitoring and tuning tool' 93 tmon: FORCE target 105 tmon freefall iio objtool kvm_stat wmi \ 174 $(call descend,thermal/tmon,clean)
|
| /kernel/linux/linux-6.6/tools/ |
| D | Makefile | 34 @echo ' tmon - thermal monitoring and tuning tool' 104 tmon: FORCE target 122 tmon freefall iio objtool kvm_stat wmi \ 204 $(call descend,thermal/tmon,clean)
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/broadcom/stingray/ |
| D | stingray.dtsi | 618 tmon: tmon@0 { label 621 brcm,tmon-mask = <0x3f>; 630 thermal-sensors = <&tmon 0>; 642 thermal-sensors = <&tmon 1>; 654 thermal-sensors = <&tmon 2>; 666 thermal-sensors = <&tmon 3>; 678 thermal-sensors = <&tmon 4>; 690 thermal-sensors = <&tmon 5>;
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/broadcom/stingray/ |
| D | stingray.dtsi | 622 tmon: tmon@0 { label 625 brcm,tmon-mask = <0x3f>; 634 thermal-sensors = <&tmon 0>; 646 thermal-sensors = <&tmon 1>; 658 thermal-sensors = <&tmon 2>; 670 thermal-sensors = <&tmon 3>; 682 thermal-sensors = <&tmon 4>; 694 thermal-sensors = <&tmon 5>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | microchip,sparx5-temp.yaml | 39 tmon0: tmon@610508110 {
|