/linux-6.12.1/drivers/clocksource/ |
D | timer-tegra186.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2019-2020 NVIDIA Corporation. All rights reserved. 24 /* timer registers */ 63 unsigned int index; member 71 unsigned int index; member 87 struct tegra186_wdt *wdt; member 95 writel_relaxed(value, tmr->regs + offset); in tmr_writel() 98 static void wdt_writel(struct tegra186_wdt *wdt, u32 value, unsigned int offset) in wdt_writel() argument 100 writel_relaxed(value, wdt->regs + offset); in wdt_writel() 103 static u32 wdt_readl(struct tegra186_wdt *wdt, unsigned int offset) in wdt_readl() argument [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/watchdog/ |
D | marvell,cn10624-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/marvell,cn10624-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Marvell Global Timer (GTI) system watchdog 10 - Bharat Bhushan <bbhushan2@marvell.com> 13 - $ref: watchdog.yaml# 18 - enum: 19 - marvell,cn9670-wdt 20 - marvell,cn10624-wdt [all …]
|
D | samsung-wdt.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/watchdog/samsung-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung SoC Watchdog Timer Controller 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 after a preset amount of time during which the WDT reset event has not 20 - enum: 21 - google,gs101-wdt # for Google gs101 22 - samsung,s3c2410-wdt # for S3C2410 [all …]
|
/linux-6.12.1/drivers/watchdog/ |
D | s3c2410_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * S3C2410 Watchdog Timer Support 16 #include <linux/timer.h> 29 #include <linux/soc/samsung/exynos-pmu.h> 80 * DOC: Quirk flags for different Samsung watchdog IP-cores 85 * differences in both watchdog and PMU IP-cores should be accounted for. Quirk 92 * write-only, writing any values to this register clears the interrupt, but 96 * WDT reset request. On old SoCs it's usually called MASK_WDT_RESET_REQUEST, 103 * watchdog timer reset. 106 * register. If 'mask_bit' bit is set, PMU will disable WDT reset when [all …]
|
D | pc87413_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NS pc87413-wdt Watchdog Timer driver for Linux 2.6.x.x 5 * This code is based on wdt.c with original copyright. 12 * This material is provided "AS-IS" and at no charge. 41 #define MODNAME "pc87413 WDT" 42 #define DPFX MODNAME " - DEBUG: " 44 #define WDT_INDEX_IO_PORT (io+0) /* I/O port base (index register) */ 48 #define WDCTL 0x10 /* Watchdog-Timer-Control-Register */ 55 static int swc_base_addr = -1; 58 static unsigned long timer_enabled; /* is the timer enabled? */ [all …]
|
D | marvell_gti_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 30 * Driver will use hardware in mode-3 above so that system can reboot in case 79 /* wdt_timer_idx used for timer to be used for system watchdog */ 90 writeq(GTI_CWD_INT_PENDING_STATUS(priv->wdt_timer_idx), in gti_wdt_interrupt() 91 priv->base + GTI_CWD_INT); in gti_wdt_interrupt() 103 priv->base + GTI_CWD_POKE(priv->wdt_timer_idx)); in gti_wdt_ping() 113 if (!wdev->pretimeout) in gti_wdt_start() 114 return -EINVAL; in gti_wdt_start() 116 set_bit(WDOG_HW_RUNNING, &wdev->status); in gti_wdt_start() 119 writeq(GTI_CWD_INT_PENDING_STATUS(priv->wdt_timer_idx), in gti_wdt_start() [all …]
|
D | machzwd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MachZ ZF-Logic Watchdog Timer driver for Linux 6 * any of this software. This material is provided "AS-IS" in 15 * wd#1 - 2 seconds; 16 * wd#2 - 7.2 ms; 21 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> 30 #include <linux/timer.h> 45 #define INDEX 0x218 macro 74 #define zf_writew(port, data) { outb(port, INDEX); outw(data, DATA_W); } 75 #define zf_writeb(port, data) { outb(port, INDEX); outb(data, DATA_B); } [all …]
|
D | sbc8360.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * on acquirewdt.c which is based on wdt.c. 13 * is based on wdt.c. 15 * (c) Copyright 2000-2001 Marek Michalkiewicz <marekm@linux.org.pl> 17 * Based on acquirewdt.c which is based on wdt.c. 25 * "AS-IS" and at no charge. 29 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> 58 * Watchdog Timer Configuration 60 * The function of the watchdog timer is to reset the system automatically 61 * and is defined at I/O port 0120H and 0121H. To enable the watchdog timer [all …]
|
/linux-6.12.1/drivers/hwmon/ |
D | nct7904.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * nct7904.c - driver for Nuvoton NCT7904D. 98 #define WDT_TIMER_REG 0xE3 /* R/W Watchdog Timer Register */ 99 #define WDT_SOFT_EN 0x55 /* Enable soft watchdog timer */ 100 #define WDT_SOFT_DIS 0xAA /* Disable soft watchdog timer */ 110 /*The timeout range is 1-255 minutes*/ 130 struct watchdog_device wdt; member 149 mutex_lock(&data->bank_lock); in nct7904_bank_lock() 150 if (data->bank_sel == bank) in nct7904_bank_lock() 152 ret = i2c_smbus_write_byte_data(data->client, BANK_SEL_REG, bank); in nct7904_bank_lock() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/powerpc/fsl/ |
D | mpc5200.txt | 2 ---------------------------- 4 (c) 2006-2009 Secret Lab Technologies Ltd 8 ------------------ 9 For mpc5200 on-chip devices, the format for each compatible value is 10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver 21 "fsl,mpc5200-<device>". 29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>"; 34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec"; 35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec"; 39 "fsl,mpc5200-psc-i2s", not "fsl,mpc5200-i2s". This convention is chosen to [all …]
|
/linux-6.12.1/drivers/media/platform/mediatek/vpu/ |
D | mtk_vpu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Andrew-CT Chen <andrew-ct.chen@mediatek.com> 18 #include <linux/dma-mapping.h> 33 /* maximum program/data TCM (Tightly-Coupled Memory) size */ 68 /* vpu inter-processor communication interrupt */ 74 * enum vpu_fw_type - VPU firmware type 86 * struct vpu_mem - VPU extended program/data memory information 98 * struct vpu_regs - VPU TCM and configuration registers 100 * @tcm: the register for VPU Tightly-Coupled Memory 111 * struct vpu_wdt_handler - VPU watchdog reset handler [all …]
|
/linux-6.12.1/arch/arm/boot/dts/marvell/ |
D | orion5x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7 #address-cells = <1>; 8 #size-cells = <1>; 11 interrupt-parent = <&intc>; 18 #address-cells = <2>; 19 #size-cells = <1>; 22 devbus_bootcs: devbus-bootcs { 23 compatible = "marvell,orion-devbus"; 26 #address-cells = <1>; [all …]
|
D | kirkwood.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 11 interrupt-parent = <&intc>; 14 #address-cells = <1>; 15 #size-cells = <0>; 22 clock-names = "cpu_clk", "ddrclk", "powersave"; 33 compatible = "marvell,kirkwood-mbus", "simple-bus"; [all …]
|
/linux-6.12.1/arch/powerpc/boot/dts/ |
D | lite5200.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2006-2007 Secret Lab Technologies Ltd. 9 /dts-v1/; 14 #address-cells = <1>; 15 #size-cells = <1>; 16 interrupt-parent = <&mpc5200_pic>; 19 #address-cells = <1>; 20 #size-cells = <0>; 25 d-cache-line-size = <32>; 26 i-cache-line-size = <32>; [all …]
|
D | mpc8313erdb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 #address-cells = <1>; 14 #size-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <0>; 31 d-cache-line-size = <32>; 32 i-cache-line-size = <32>; 33 d-cache-size = <16384>; 34 i-cache-size = <16384>; [all …]
|
D | mpc8315erdb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 12 #address-cells = <1>; 13 #size-cells = <1>; 26 #address-cells = <1>; 27 #size-cells = <0>; 32 d-cache-line-size = <32>; 33 i-cache-line-size = <32>; 34 d-cache-size = <16384>; 35 i-cache-size = <16384>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx7s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/clock/imx7d-clock.h> 7 #include <dt-bindings/power/imx7-power.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/reset/imx7-reset.h> 12 #include "imx7d-pinfunc.h" 15 #address-cells = <1>; 16 #size-cells = <1>; [all …]
|
D | imx27.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include "imx27-pinfunc.h" 7 #include <dt-bindings/clock/imx27-clock.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 13 #address-cells = <1>; 14 #size-cells = <1>; 17 * pre-existing /chosen node to be available to insert the 43 aitc: aitc-interrupt-controller@10040000 { [all …]
|
D | imx25.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <dt-bindings/gpio/gpio.h> 6 #include "imx25-pinfunc.h" 9 #address-cells = <1>; 10 #size-cells = <1>; 13 * pre-existing /chosen node to be available to insert the 46 #address-cells = <1>; 47 #size-cells = <0>; 50 compatible = "arm,arm926ej-s"; 56 asic: asic-interrupt-controller@68000000 { [all …]
|
D | imx6ul.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/clock/imx6ul-clock.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include "imx6ul-pinfunc.h" 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 57 #address-cells = <1>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/qcom/ |
D | qcom-mdm9615.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/clock/qcom,gcc-mdm9615.h> 13 #include <dt-bindings/clock/qcom,lcc-msm8960.h> 14 #include <dt-bindings/reset/qcom,gcc-mdm9615.h> 15 #include <dt-bindings/mfd/qcom-rpm.h> 16 #include <dt-bindings/soc/qcom,gsbi.h> 19 #address-cells = <1>; 20 #size-cells = <1>; [all …]
|
D | qcom-msm8960.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/clock/qcom,gcc-msm8960.h> 6 #include <dt-bindings/reset/qcom,gcc-msm8960.h> 7 #include <dt-bindings/clock/qcom,lcc-msm8960.h> 8 #include <dt-bindings/mfd/qcom-rpm.h> 9 #include <dt-bindings/soc/qcom,gsbi.h> 12 #address-cells = <1>; 13 #size-cells = <1>; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
D | imx8ulp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8ulp-clock.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/power/imx8ulp-power.h> 10 #include <dt-bindings/thermal/thermal.h> 12 #include "imx8ulp-pinfunc.h" 15 interrupt-parent = <&gic>; 16 #address-cells = <2>; 17 #size-cells = <2>; [all …]
|
D | imx8mn.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8mn-clock.h> 7 #include <dt-bindings/power/imx8mn-power.h> 8 #include <dt-bindings/reset/imx8mq-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 14 #include "imx8mn-pinfunc.h" 17 interrupt-parent = <&gic>; [all …]
|
D | imx93.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx93-clock.h> 7 #include <dt-bindings/dma/fsl-edma.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/fsl,imx93-power.h> 12 #include <dt-bindings/thermal/thermal.h> 14 #include "imx93-pinfunc.h" 17 interrupt-parent = <&gic>; [all …]
|