Home
last modified time | relevance | path

Searched refs:gwdt (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/watchdog/
H A Dftwdt010_wdt.c71 ftwdt010_enable(gwdt, wdd->timeout, gwdt->has_irq); in ftwdt010_wdt_start()
139 struct ftwdt010_wdt *gwdt; in ftwdt010_wdt_probe() local
144 gwdt = devm_kzalloc(dev, sizeof(*gwdt), GFP_KERNEL); in ftwdt010_wdt_probe()
145 if (!gwdt) in ftwdt010_wdt_probe()
149 if (IS_ERR(gwdt->base)) in ftwdt010_wdt_probe()
150 return PTR_ERR(gwdt->base); in ftwdt010_wdt_probe()
152 gwdt->dev = dev; in ftwdt010_wdt_probe()
155 gwdt->wdd.min_timeout = 1; in ftwdt010_wdt_probe()
157 gwdt->wdd.parent = dev; in ftwdt010_wdt_probe()
163 gwdt->wdd.timeout = 13U; in ftwdt010_wdt_probe()
[all …]
H A Dsbsa_gwdt.c129 if (gwdt->version == 0) in sbsa_gwdt_reg_read()
137 if (gwdt->version == 0) in sbsa_gwdt_reg_write()
155 sbsa_gwdt_reg_write((u64)gwdt->clk * timeout, gwdt); in sbsa_gwdt_set_timeout()
162 sbsa_gwdt_reg_write(((u64)gwdt->clk / 2) * timeout, gwdt); in sbsa_gwdt_set_timeout()
184 do_div(timeleft, gwdt->clk); in sbsa_gwdt_get_timeleft()
210 gwdt->version = ver; in sbsa_gwdt_get_version()
262 struct sbsa_gwdt *gwdt; in sbsa_gwdt_probe() local
266 gwdt = devm_kzalloc(dev, sizeof(*gwdt), GFP_KERNEL); in sbsa_gwdt_probe()
267 if (!gwdt) in sbsa_gwdt_probe()
288 wdd = &gwdt->wdd; in sbsa_gwdt_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/watchdog/
H A Darm,sbsa-gwdt.yaml4 $id: http://devicetree.org/schemas/watchdog/arm,sbsa-gwdt.yaml#
23 const: arm,sbsa-gwdt
44 compatible = "arm,sbsa-gwdt";
/openbmc/linux/arch/arm64/boot/dts/arm/
H A Dfoundation-v8.dtsi95 compatible = "arm,sbsa-gwdt";
/openbmc/linux/arch/arm64/boot/dts/marvell/
H A Darmada-ap80x.dtsi252 compatible = "arm,sbsa-gwdt";
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-lx2160a.dtsi1021 compatible = "arm,sbsa-gwdt";