linux/drivers/reset/starfive/reset-starfive-jh71x0.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Reset driver for the StarFive JH71X0 SoCs
 *
 * Copyright (C) 2021 Emil Renner Berthing <[email protected]>
 */

#include <linux/bitmap.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/iopoll.h>
#include <linux/reset-controller.h>
#include <linux/spinlock.h>

#include "reset-starfive-jh71x0.h"

struct jh71x0_reset {};

static inline struct jh71x0_reset *
jh71x0_reset_from(struct reset_controller_dev *rcdev)
{}

static int jh71x0_reset_update(struct reset_controller_dev *rcdev,
			       unsigned long id, bool assert)
{}

static int jh71x0_reset_assert(struct reset_controller_dev *rcdev,
			       unsigned long id)
{}

static int jh71x0_reset_deassert(struct reset_controller_dev *rcdev,
				 unsigned long id)
{}

static int jh71x0_reset_reset(struct reset_controller_dev *rcdev,
			      unsigned long id)
{}

static int jh71x0_reset_status(struct reset_controller_dev *rcdev,
			       unsigned long id)
{}

static const struct reset_control_ops jh71x0_reset_ops =;

int reset_starfive_jh71x0_register(struct device *dev, struct device_node *of_node,
				   void __iomem *assert, void __iomem *status,
				   const u32 *asserted, unsigned int nr_resets,
				   struct module *owner)
{}
EXPORT_SYMBOL_GPL();