/linux/Documentation/devicetree/bindings/thermal/ |
H A 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 …]
|
H A 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 49 compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; 52 interrupt-names = "tmon";
|
/linux/tools/thermal/tmon/ |
H A 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 …]
|
H A 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
|
H A 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 …]
|
H A 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
|
H A D | tmon.h | 3 * tmon.h contains data structures and constants used by TMON 28 #define TMON_LOG_FILE "/var/tmp/tmon.log"
|
H A D | .gitignore | 2 /tmon
|
H A D | tui.c | 3 * tui.c ncurses text user interface for TMON program 22 #include "tmon.h" 389 " TMON v%s", VERSION); in show_title_bar()
|
H A D | pid.c | 26 #include "tmon.h"
|
H A D | sysfs.c | 3 * sysfs.c sysfs ABI access functions for TMON program 23 #include "tmon.h"
|
/linux/drivers/thermal/broadcom/ |
H A 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 …]
|
H A 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 }, 358 dev_info(&pdev->dev, "registered AVS TMON of-sensor driver\n"); in brcmstb_thermal_probe() 374 MODULE_DESCRIPTION("Broadcom STB AVS TMON thermal driver");
|
H A D | Kconfig | 18 tristate "Broadcom STB AVS TMON thermal driver"
|
/linux/arch/arm64/boot/dts/broadcom/stingray/ |
H A 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>;
|
/linux/tools/ |
H A D | Makefile | 34 @echo ' tmon - thermal monitoring and tuning tool' 107 tmon: FORCE target 125 tmon freefall iio objtool kvm_stat wmi \ 210 $(call descend,thermal/tmon,clean)
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | microchip,sparx5-temp.yaml | 39 tmon0: tmon@610508110 {
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 738 struct tmonitor_ctx *tmon; member 782 netns_obj->tmon = traffic_monitor_start(nsname, test_name, subtest_name); in netns_new() 783 if (!netns_obj->tmon) { in netns_new() 788 netns_obj->tmon = NULL; in netns_new() 799 traffic_monitor_stop(netns_obj->tmon); in netns_new() 815 traffic_monitor_stop(netns_obj->tmon); in netns_free()
|
/linux/arch/arm64/boot/dts/microchip/ |
H A D | sparx5.dtsi | 418 tmon0: tmon@610508110 {
|
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu11_driver_if_arcturus.h | 656 uint8_t ExternalSensorPresent; // External RDI connected to TMON (aka TEMP IN)
|
H A D | smu11_driver_if_navi10.h | 743 uint8_t ExternalSensorPresent; // External RDI connected to TMON (aka TEMP IN)
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atomfirmware.h | 2545 uint8_t ExternalSensorPresent; // External RDI connected to TMON (aka TEMP IN) 2627 uint8_t externalsensorpresent; // external rdi connected to tmon (aka temp in) 2716 uint8_t ExternalSensorPresent; // External RDI connected to TMON (aka TEMP IN)
|
/linux/ |
H A D | MAINTAINERS | 4817 BROADCOM STB AVS TMON DRIVER 4822 F: Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
|