Home
last modified time | relevance | path

Searched refs:tmu (Results 1 – 25 of 66) sorted by relevance

123

/Linux-v5.15/drivers/clocksource/
Dsh_tmu.c39 struct sh_tmu_device *tmu; member
89 switch (ch->tmu->model) { in sh_tmu_read()
91 return ioread8(ch->tmu->mapbase + 2); in sh_tmu_read()
93 return ioread8(ch->tmu->mapbase + 4); in sh_tmu_read()
111 switch (ch->tmu->model) { in sh_tmu_write()
113 return iowrite8(value, ch->tmu->mapbase + 2); in sh_tmu_write()
115 return iowrite8(value, ch->tmu->mapbase + 4); in sh_tmu_write()
132 raw_spin_lock_irqsave(&ch->tmu->lock, flags); in sh_tmu_start_stop_ch()
141 raw_spin_unlock_irqrestore(&ch->tmu->lock, flags); in sh_tmu_start_stop_ch()
149 ret = clk_enable(ch->tmu->clk); in __sh_tmu_enable()
[all …]
/Linux-v5.15/drivers/thermal/
Dimx8mm_thermal.c63 struct imx8mm_tmu *tmu = sensor->priv; in imx8mm_tmu_get_temp() local
66 val = readl_relaxed(tmu->base + TRITSR) & TRITSR_TEMP0_VAL_MASK; in imx8mm_tmu_get_temp()
77 struct imx8mm_tmu *tmu = sensor->priv; in imx8mp_tmu_get_temp() local
81 val = readl_relaxed(tmu->base + TRITSR); in imx8mp_tmu_get_temp()
101 struct imx8mm_tmu *tmu = sensor->priv; in tmu_get_temp() local
103 return tmu->socdata->get_temp(data, temp); in tmu_get_temp()
110 static void imx8mm_tmu_enable(struct imx8mm_tmu *tmu, bool enable) in imx8mm_tmu_enable() argument
114 val = readl_relaxed(tmu->base + TER); in imx8mm_tmu_enable()
116 writel_relaxed(val, tmu->base + TER); in imx8mm_tmu_enable()
119 static void imx8mm_tmu_probe_sel_all(struct imx8mm_tmu *tmu) in imx8mm_tmu_probe_sel_all() argument
[all …]
/Linux-v5.15/drivers/thunderbolt/
Dtmu.c18 switch (sw->tmu.rate) { in tb_switch_tmu_mode_name()
26 if (sw->tmu.unidirectional) in tb_switch_tmu_mode_name()
46 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_tmu_ucap_supported()
59 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_read()
73 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_write()
81 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_write()
106 if (!port->sw->tmu.has_ucap) in tb_port_tmu_set_unidirectional()
137 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_tmu_set_time_disruption()
147 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_tmu_set_time_disruption()
168 sw->tmu.cap = ret; in tb_switch_tmu_init()
[all …]
DMakefile4 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
/Linux-v5.15/Documentation/devicetree/bindings/thermal/
Dexynos-thermal.txt6 "samsung,exynos3250-tmu"
7 "samsung,exynos4412-tmu"
8 "samsung,exynos4210-tmu"
9 "samsung,exynos5250-tmu"
10 "samsung,exynos5260-tmu"
11 "samsung,exynos5420-tmu" for TMU channel 0, 1 on Exynos5420
12 "samsung,exynos5420-tmu-ext-triminfo" for TMU channels 2, 3 and 4
14 "samsung,exynos5433-tmu"
15 "samsung,exynos7-tmu"
24 Use "samsung,exynos5420-tmu-ext-triminfo" in cases, there is a misplaced
[all …]
/Linux-v5.15/drivers/gpu/drm/vc4/
Dvc4_validate_shaders.c157 int tmu) in record_texture_sample() argument
170 &validation_state->tmu_setup[tmu], in record_texture_sample()
177 validation_state->tmu_setup[tmu].p_offset[i] = ~0; in record_texture_sample()
193 int tmu = waddr > QPU_W_TMU0_B; in check_tmu_write() local
195 bool is_direct = submit && validation_state->tmu_write_count[tmu] == 0; in check_tmu_write()
236 validation_state->tmu_setup[tmu].p_offset[1] = in check_tmu_write()
245 validation_state->tmu_setup[tmu].is_direct = true; in check_tmu_write()
255 if (validation_state->tmu_write_count[tmu] >= 4) { in check_tmu_write()
257 tmu); in check_tmu_write()
260 validation_state->tmu_setup[tmu].p_offset[validation_state->tmu_write_count[tmu]] = in check_tmu_write()
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Dexynos5410.dtsi90 tmu_cpu0: tmu@10060000 {
91 compatible = "samsung,exynos5420-tmu";
99 tmu_cpu1: tmu@10064000 {
100 compatible = "samsung,exynos5420-tmu";
108 tmu_cpu2: tmu@10068000 {
109 compatible = "samsung,exynos5420-tmu";
117 tmu_cpu3: tmu@1006c000 {
118 compatible = "samsung,exynos5420-tmu";
Dr8a7778.dtsi198 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
213 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
228 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
Dr8a7779.dtsi338 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
353 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
368 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
Dexynos4-cpu-thermal.dtsi13 thermal-sensors = <&tmu 0>;
Dexynos5420.dtsi845 tmu_cpu0: tmu@10060000 {
846 compatible = "samsung,exynos5420-tmu";
854 tmu_cpu1: tmu@10064000 {
855 compatible = "samsung,exynos5420-tmu";
863 tmu_cpu2: tmu@10068000 {
864 compatible = "samsung,exynos5420-tmu-ext-triminfo";
872 tmu_cpu3: tmu@1006c000 {
873 compatible = "samsung,exynos5420-tmu-ext-triminfo";
881 tmu_gpu: tmu@100a0000 {
882 compatible = "samsung,exynos5420-tmu-ext-triminfo";
/Linux-v5.15/arch/arm64/boot/dts/freescale/
Dfsl-ls1043a.dtsi157 thermal-sensors = <&tmu 0>;
177 thermal-sensors = <&tmu 1>;
197 thermal-sensors = <&tmu 2>;
217 thermal-sensors = <&tmu 3>;
248 thermal-sensors = <&tmu 4>;
432 tmu: tmu@1f00000 { label
433 compatible = "fsl,qoriq-tmu";
436 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x70062>;
437 fsl,tmu-calibration = <0x00000000 0x00000023
Dfsl-ls1046a.dtsi125 thermal-sensors = <&tmu 0>;
145 thermal-sensors = <&tmu 1>;
165 thermal-sensors = <&tmu 2>;
185 thermal-sensors = <&tmu 3>;
216 thermal-sensors = <&tmu 4>;
429 tmu: tmu@1f00000 { label
430 compatible = "fsl,qoriq-tmu";
433 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x70062>;
434 fsl,tmu-calibration =
Dfsl-ls208xa.dtsi86 thermal-sensors = <&tmu 1>;
100 thermal-sensors = <&tmu 2>;
114 thermal-sensors = <&tmu 3>;
128 thermal-sensors = <&tmu 4>;
157 thermal-sensors = <&tmu 5>;
186 thermal-sensors = <&tmu 6>;
215 thermal-sensors = <&tmu 7>;
312 tmu: tmu@1f80000 { label
313 compatible = "fsl,qoriq-tmu";
316 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x30062>;
[all …]
Dfsl-ls1012a.dtsi110 thermal-sensors = <&tmu 0>;
297 tmu: tmu@1f00000 { label
298 compatible = "fsl,qoriq-tmu";
301 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x60062>;
302 fsl,tmu-calibration = <0x00000000 0x00000025
Dfsl-lx2160a.dtsi447 thermal-sensors = <&tmu 0>;
490 thermal-sensors = <&tmu 1>;
510 thermal-sensors = <&tmu 2>;
530 thermal-sensors = <&tmu 3>;
550 thermal-sensors = <&tmu 4>;
570 thermal-sensors = <&tmu 5>;
590 thermal-sensors = <&tmu 6>;
699 tmu: tmu@1f80000 { label
700 compatible = "fsl,qoriq-tmu";
703 fsl,tmu-range = <0x800000e6 0x8001017d>;
[all …]
Dfsl-ls1088a.dtsi137 thermal-sensors = <&tmu 0>;
172 thermal-sensors = <&tmu 1>;
260 tmu: tmu@1f80000 { label
261 compatible = "fsl,qoriq-tmu";
264 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x70062>;
265 fsl,tmu-calibration =
Dfsl-ls1028a.dtsi144 thermal-sensors = <&tmu 0>;
164 thermal-sensors = <&tmu 1>;
929 tmu: tmu@1f80000 { label
930 compatible = "fsl,qoriq-tmu";
933 fsl,tmu-range = <0xb0000 0xa0026 0x80048 0x70061>;
934 fsl,tmu-calibration = <0x00000000 0x00000024
/Linux-v5.15/arch/powerpc/boot/dts/fsl/
Dt1023si-post.dtsi365 tmu: tmu@f0000 { label
366 compatible = "fsl,qoriq-tmu";
369 fsl,tmu-range = <0xb0000 0xa0026 0x80048 0x30061>;
370 fsl,tmu-calibration = <0x00000000 0x0000000f
417 thermal-sensors = <&tmu 0>;
Dt1040si-post.dtsi445 tmu: tmu@f0000 { label
446 compatible = "fsl,qoriq-tmu";
449 fsl,tmu-range = <0xa0000 0x90026 0x8004a 0x1006a>;
450 fsl,tmu-calibration = <0x00000000 0x00000025
493 thermal-sensors = <&tmu 2>;
/Linux-v5.15/arch/arm64/boot/dts/renesas/
Dr8a77970.dtsi333 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
346 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
359 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
372 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
385 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
Dr8a779a0.dtsi344 compatible = "renesas,tmu-r8a779a0", "renesas,tmu";
357 compatible = "renesas,tmu-r8a779a0", "renesas,tmu";
370 compatible = "renesas,tmu-r8a779a0", "renesas,tmu";
383 compatible = "renesas,tmu-r8a779a0", "renesas,tmu";
396 compatible = "renesas,tmu-r8a779a0", "renesas,tmu";
Dr8a77995.dtsi333 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
346 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
359 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
372 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
385 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
Dr8a77980.dtsi363 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
376 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
389 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
402 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
415 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
/Linux-v5.15/arch/arm64/boot/dts/exynos/
Dexynos5433.dtsi753 tmu_atlas0: tmu@10060000 {
754 compatible = "samsung,exynos5433-tmu";
764 tmu_atlas1: tmu@10068000 {
765 compatible = "samsung,exynos5433-tmu";
775 tmu_g3d: tmu@10070000 {
776 compatible = "samsung,exynos5433-tmu";
786 tmu_apollo: tmu@10078000 {
787 compatible = "samsung,exynos5433-tmu";
797 tmu_isp: tmu@1007c000 {
798 compatible = "samsung,exynos5433-tmu";
[all …]

123