Home
last modified time | relevance | path

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

123

/Linux-v6.6/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-v6.6/drivers/thermal/
Dimx8mm_thermal.c100 struct imx8mm_tmu *tmu = sensor->priv; in imx8mm_tmu_get_temp() local
103 val = readl_relaxed(tmu->base + TRITSR) & TRITSR_TEMP0_VAL_MASK; in imx8mm_tmu_get_temp()
120 struct imx8mm_tmu *tmu = sensor->priv; in imx8mp_tmu_get_temp() local
124 val = readl_relaxed(tmu->base + TRITSR); in imx8mp_tmu_get_temp()
144 struct imx8mm_tmu *tmu = sensor->priv; in tmu_get_temp() local
146 return tmu->socdata->get_temp(sensor, temp); in tmu_get_temp()
153 static void imx8mm_tmu_enable(struct imx8mm_tmu *tmu, bool enable) in imx8mm_tmu_enable() argument
157 val = readl_relaxed(tmu->base + TER); in imx8mm_tmu_enable()
159 if (tmu->socdata->version == TMU_VER2) in imx8mm_tmu_enable()
161 writel_relaxed(val, tmu->base + TER); in imx8mm_tmu_enable()
[all …]
/Linux-v6.6/drivers/thunderbolt/
Dtmu.c73 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_set_tmu_mode_params()
81 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_set_tmu_mode_params()
86 sw->tmu.cap + TMU_RTR_CS_15, 1); in tb_switch_set_tmu_mode_params()
100 sw->tmu.cap + TMU_RTR_CS_15, 1); in tb_switch_set_tmu_mode_params()
108 sw->tmu.cap + TMU_RTR_CS_18, 1); in tb_switch_set_tmu_mode_params()
116 sw->tmu.cap + TMU_RTR_CS_18, 1); in tb_switch_set_tmu_mode_params()
128 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_tmu_ucap_is_supported()
141 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_read()
155 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_write()
163 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_write()
[all …]
DMakefile4 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
/Linux-v6.6/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-v6.6/arch/arm/boot/dts/samsung/
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";
Dexynos4-cpu-thermal.dtsi13 thermal-sensors = <&tmu>;
Dexynos5420.dtsi941 tmu_cpu0: tmu@10060000 {
942 compatible = "samsung,exynos5420-tmu";
950 tmu_cpu1: tmu@10064000 {
951 compatible = "samsung,exynos5420-tmu";
959 tmu_cpu2: tmu@10068000 {
960 compatible = "samsung,exynos5420-tmu-ext-triminfo";
968 tmu_cpu3: tmu@1006c000 {
969 compatible = "samsung,exynos5420-tmu-ext-triminfo";
977 tmu_gpu: tmu@100a0000 {
978 compatible = "samsung,exynos5420-tmu-ext-triminfo";
/Linux-v6.6/arch/arm64/boot/dts/freescale/
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>;
319 tmu: tmu@1f80000 { label
320 compatible = "fsl,qoriq-tmu";
323 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x30062>;
[all …]
Dfsl-ls1012a.dtsi110 thermal-sensors = <&tmu 0>;
305 tmu: tmu@1f00000 { label
306 compatible = "fsl,qoriq-tmu";
309 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x60062>;
310 fsl,tmu-calibration = <0x00000000 0x00000025
Dfsl-ls1046a.dtsi128 thermal-sensors = <&tmu 0>;
148 thermal-sensors = <&tmu 1>;
168 thermal-sensors = <&tmu 2>;
188 thermal-sensors = <&tmu 3>;
219 thermal-sensors = <&tmu 4>;
441 tmu: tmu@1f00000 { label
442 compatible = "fsl,qoriq-tmu";
445 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x70062>;
446 fsl,tmu-calibration =
Dfsl-ls1043a.dtsi160 thermal-sensors = <&tmu 0>;
180 thermal-sensors = <&tmu 1>;
200 thermal-sensors = <&tmu 2>;
220 thermal-sensors = <&tmu 3>;
251 thermal-sensors = <&tmu 4>;
445 tmu: tmu@1f00000 { label
446 compatible = "fsl,qoriq-tmu";
449 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x70062>;
450 fsl,tmu-calibration = <0x00000000 0x00000023
Dfsl-lx2160a.dtsi455 thermal-sensors = <&tmu 0>;
498 thermal-sensors = <&tmu 1>;
518 thermal-sensors = <&tmu 2>;
538 thermal-sensors = <&tmu 3>;
558 thermal-sensors = <&tmu 4>;
578 thermal-sensors = <&tmu 5>;
598 thermal-sensors = <&tmu 6>;
721 tmu: tmu@1f80000 { label
722 compatible = "fsl,qoriq-tmu";
725 fsl,tmu-range = <0x800000e6 0x8001017d>;
[all …]
Dfsl-ls1088a.dtsi137 thermal-sensors = <&tmu 0>;
172 thermal-sensors = <&tmu 1>;
280 tmu: tmu@1f80000 { label
281 compatible = "fsl,qoriq-tmu";
284 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x70062>;
285 fsl,tmu-calibration =
Dimx93.dtsi141 thermal-sensors = <&tmu 0>;
386 tmu: tmu@44482000 { label
387 compatible = "fsl,qoriq-tmu";
391 fsl,tmu-range = <0x800000da 0x800000e9
395 fsl,tmu-calibration = <0x00000000 0x0000000e
/Linux-v6.6/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-v6.6/arch/arm/boot/dts/renesas/
Dr8a7778.dtsi198 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
213 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
228 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
Dr8a7779.dtsi401 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
416 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
431 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
/Linux-v6.6/arch/arm64/boot/dts/renesas/
Dr8a779f0.dtsi485 compatible = "renesas,tmu-r8a779f0", "renesas,tmu";
498 compatible = "renesas,tmu-r8a779f0", "renesas,tmu";
511 compatible = "renesas,tmu-r8a779f0", "renesas,tmu";
524 compatible = "renesas,tmu-r8a779f0", "renesas,tmu";
537 compatible = "renesas,tmu-r8a779f0", "renesas,tmu";
Dr8a77970.dtsi326 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
339 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
352 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
365 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
378 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
Dr8a77980.dtsi355 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
368 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
381 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
394 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
407 compatible = "renesas,tmu-r8a77980", "renesas,tmu";
Dr8a77995.dtsi334 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
347 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
360 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
373 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
386 compatible = "renesas,tmu-r8a77995", "renesas,tmu";
/Linux-v6.6/arch/arm64/boot/dts/exynos/
Dexynos5433.dtsi749 tmu_atlas0: tmu@10060000 {
750 compatible = "samsung,exynos5433-tmu";
760 tmu_atlas1: tmu@10068000 {
761 compatible = "samsung,exynos5433-tmu";
771 tmu_g3d: tmu@10070000 {
772 compatible = "samsung,exynos5433-tmu";
782 tmu_apollo: tmu@10078000 {
783 compatible = "samsung,exynos5433-tmu";
793 tmu_isp: tmu@1007c000 {
794 compatible = "samsung,exynos5433-tmu";
[all …]
/Linux-v6.6/arch/arm/boot/dts/nxp/ls/
Dls1021a.dtsi253 tmu: tmu@1f00000 { label
254 compatible = "fsl,qoriq-tmu";
257 fsl,tmu-range = <0xb0000 0x9002c 0x6004e 0x30066>;
258 fsl,tmu-calibration = <0x00000000 0x00000020>,
960 thermal-sensors = <&tmu 0>;

123