Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/clocksource/
H A Dsh_tmu.c460 ch->tmu = tmu; in sh_tmu_channel_setup()
505 if (tmu->num_channels != 2 && tmu->num_channels != 3) { in sh_tmu_parse_dt()
519 tmu->pdev = pdev; in sh_tmu_setup()
539 tmu->clk = clk_get(&tmu->pdev->dev, "fck"); in sh_tmu_setup()
554 tmu->rate = clk_get_rate(tmu->clk) / 4; in sh_tmu_setup()
565 tmu->channels = kcalloc(tmu->num_channels, sizeof(*tmu->channels), in sh_tmu_setup()
607 if (tmu) { in sh_tmu_probe()
612 tmu = kzalloc(sizeof(*tmu), GFP_KERNEL); in sh_tmu_probe()
613 if (tmu == NULL) in sh_tmu_probe()
618 kfree(tmu); in sh_tmu_probe()
[all …]
/openbmc/linux/drivers/thermal/
H A Dimx8mm_thermal.c188 tmu->base + TASR); in imx8mm_tmu_probe_set_calib_v1()
240 tmu->base + TASR); in imx8mm_tmu_probe_set_calib_v2()
247 tmu->base + TRIM); in imx8mm_tmu_probe_set_calib_v2()
297 struct imx8mm_tmu *tmu; in imx8mm_tmu_probe() local
303 tmu = devm_kzalloc(&pdev->dev, struct_size(tmu, sensors, in imx8mm_tmu_probe()
305 if (!tmu) in imx8mm_tmu_probe()
308 tmu->socdata = data; in imx8mm_tmu_probe()
311 if (IS_ERR(tmu->base)) in imx8mm_tmu_probe()
315 if (IS_ERR(tmu->clk)) in imx8mm_tmu_probe()
329 tmu->sensors[i].priv = tmu; in imx8mm_tmu_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Drenesas,tmu.yaml25 - renesas,tmu-r8a774a1 # RZ/G2M
26 - renesas,tmu-r8a774b1 # RZ/G2N
27 - renesas,tmu-r8a774c0 # RZ/G2E
28 - renesas,tmu-r8a774e1 # RZ/G2H
30 - renesas,tmu-r8a7779 # R-Car H1
31 - renesas,tmu-r8a7795 # R-Car H3
42 - const: renesas,tmu
84 - renesas,tmu-r8a7740
85 - renesas,tmu-r8a7778
86 - renesas,tmu-r8a7779
[all …]
/openbmc/linux/Documentation/devicetree/bindings/thermal/
H A Dsamsung,exynos-thermal.yaml19 - samsung,exynos3250-tmu
20 - samsung,exynos4412-tmu
21 - samsung,exynos4210-tmu
22 - samsung,exynos5250-tmu
23 - samsung,exynos5260-tmu
25 - samsung,exynos5420-tmu
28 - samsung,exynos5433-tmu
29 - samsung,exynos7-tmu
148 tmu@100c0000 {
162 tmu@10068000 {
[all …]
H A Dqoriq-thermal.yaml22 - fsl,qoriq-tmu
23 - fsl,imx8mq-tmu
31 fsl,tmu-range:
38 fsl,tmu-calibration:
68 - fsl,tmu-range
69 - fsl,tmu-calibration
76 tmu@f0000 {
77 compatible = "fsl,qoriq-tmu";
80 fsl,tmu-range = <0x000a0000 0x00090026 0x0008004a 0x0001006a>;
81 fsl,tmu-calibration = <0x00000000 0x00000025>,
H A Dimx8mm-thermal.yaml23 - fsl,imx8mm-tmu
24 - fsl,imx8mp-tmu
26 - const: fsl,imx8mn-tmu
27 - const: fsl,imx8mm-tmu
63 compatible = "fsl,imx8mm-tmu";
/openbmc/linux/drivers/thunderbolt/
H A Dtmu.c188 if (!port->sw->tmu.has_ucap) in tb_port_tmu_set_unidirectional()
395 sw->tmu.mode_request = sw->tmu.mode; in tmu_mode_init()
396 sw->tmu.has_ucap = ucap; in tmu_mode_init()
419 sw->tmu.cap = ret; in tb_switch_tmu_init()
459 if (!root_switch->tmu.cap) in tb_switch_tmu_post_time()
591 switch (sw->tmu.mode) { in tb_switch_tmu_disable()
827 switch (sw->tmu.mode) { in tb_switch_tmu_change_mode_prev()
845 switch (sw->tmu.mode) { in tb_switch_tmu_change_mode_prev()
1005 sw->tmu.mode = sw->tmu.mode_request; in tb_switch_tmu_enable()
1032 if (!sw->tmu.has_ucap) in tb_switch_tmu_configure()
[all …]
H A DMakefile4 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_cmd.c176 writel((tmu << 8) | queue, TMU_TEQ_CTRL); in qm_read_drop_stat()
177 writel((tmu << 8) | queue, TMU_LLM_CTRL); in qm_read_drop_stat()
179 qtotal[tmu][queue] += val; in qm_read_drop_stat()
181 *total_drops = qtotal[tmu][queue]; in qm_read_drop_stat()
183 qtotal[tmu][queue] = 0; in qm_read_drop_stat()
192 printf("%d-%02d, ", tmu, queue); in tmu_queue_stats()
194 drops = qm_read_drop_stat(tmu, queue, NULL, 0); in tmu_queue_stats()
197 writel((tmu << 8) | queue, TMU_TEQ_CTRL); in tmu_queue_stats()
198 writel((tmu << 8) | queue, TMU_LLM_CTRL); in tmu_queue_stats()
208 static ssize_t tmu_queues(char *buf, int tmu) in tmu_queues() argument
[all …]
/openbmc/linux/drivers/gpu/drm/vc4/
H A 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
236 validation_state->tmu_setup[tmu].p_offset[1] = 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()
262 validation_state->tmu_write_count[tmu]++; in check_tmu_write()
277 validation_state, tmu)) { in check_tmu_write()
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A 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";
H A Dexynos4-cpu-thermal.dtsi13 thermal-sensors = <&tmu>;
/openbmc/u-boot/doc/device-tree-bindings/exynos/
H A Dtmu.txt5 - compatible : Should be "samsung,exynos-tmu" for TMU
32 tmu@10060000 {
33 compatible = "samsung,exynos-tmu"
/openbmc/u-boot/arch/arm/dts/
H A Dfsl-imx8mq.dtsi146 tmu: tmu@30260000 { label
147 compatible = "fsl,imx8mq-tmu";
152 fsl,tmu-range = <0xa0000 0x90026 0x8004a 0x1006a>;
153 fsl,tmu-calibration = <0x00000000 0x00000020
204 thermal-sensors = <&tmu>;
H A Dexynos4210.dtsi102 tmu@100C0000 {
103 compatible = "samsung,exynos4210-tmu";
H A Dexynos5.dtsi134 tmu@10060000 {
135 compatible = "samsung,exynos-tmu";
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A 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 …]
H A 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
H A 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 =
H A 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
/openbmc/linux/arch/powerpc/boot/dts/fsl/
H A 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>;
/openbmc/u-boot/drivers/power/
H A DMakefile11 obj-$(CONFIG_EXYNOS_TMU) += exynos-tmu.o
/openbmc/linux/arch/arm/boot/dts/renesas/
H A Dr8a7778.dtsi198 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
213 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
228 compatible = "renesas,tmu-r8a7778", "renesas,tmu";
/openbmc/linux/arch/arm64/boot/dts/renesas/
H A 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";
H A 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";

1234