linux/drivers/soc/qcom/rpm_master_stats.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2023, Linaro Limited
 *
 * This driver supports what is known as "Master Stats v2" in Qualcomm
 * downstream kernel terms, which seems to be the only version which has
 * ever shipped, all the way from 2013 to 2023.
 */

#include <linux/debugfs.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>

struct master_stats_data {};

struct rpm_master_stats {} __packed;

static int master_stats_show(struct seq_file *s, void *unused)
{}
DEFINE_SHOW_ATTRIBUTE();

static int master_stats_probe(struct platform_device *pdev)
{}

static void master_stats_remove(struct platform_device *pdev)
{}

static const struct of_device_id rpm_master_table[] =;
/*
 * No MODULE_DEVICE_TABLE intentionally: that's a debugging module, to be
 * loaded manually only.
 */

static struct platform_driver master_stats_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();