linux/drivers/watchdog/qcom-wdt.c

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
 */
#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>

enum wdt_reg {};

#define QCOM_WDT_ENABLE

static const u32 reg_offset_data_apcs_tmr[] =;

static const u32 reg_offset_data_kpss[] =;

struct qcom_wdt_match_data {};

struct qcom_wdt {};

static void __iomem *wdt_addr(struct qcom_wdt *wdt, enum wdt_reg reg)
{}

static inline
struct qcom_wdt *to_qcom_wdt(struct watchdog_device *wdd)
{}

static irqreturn_t qcom_wdt_isr(int irq, void *arg)
{}

static int qcom_wdt_start(struct watchdog_device *wdd)
{}

static int qcom_wdt_stop(struct watchdog_device *wdd)
{}

static int qcom_wdt_ping(struct watchdog_device *wdd)
{}

static int qcom_wdt_set_timeout(struct watchdog_device *wdd,
				unsigned int timeout)
{}

static int qcom_wdt_set_pretimeout(struct watchdog_device *wdd,
				   unsigned int timeout)
{}

static int qcom_wdt_restart(struct watchdog_device *wdd, unsigned long action,
			    void *data)
{}

static int qcom_wdt_is_running(struct watchdog_device *wdd)
{}

static const struct watchdog_ops qcom_wdt_ops =;

static const struct watchdog_info qcom_wdt_info =;

static const struct watchdog_info qcom_wdt_pt_info =;

static const struct qcom_wdt_match_data match_data_apcs_tmr =;

static const struct qcom_wdt_match_data match_data_kpss =;

static int qcom_wdt_probe(struct platform_device *pdev)
{}

static int __maybe_unused qcom_wdt_suspend(struct device *dev)
{}

static int __maybe_unused qcom_wdt_resume(struct device *dev)
{}

static const struct dev_pm_ops qcom_wdt_pm_ops =;

static const struct of_device_id qcom_wdt_of_table[] =;
MODULE_DEVICE_TABLE(of, qcom_wdt_of_table);

static struct platform_driver qcom_watchdog_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();