linux/drivers/net/ethernet/mscc/ocelot_io.c

// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Microsemi Ocelot Switch driver
 *
 * Copyright (c) 2017 Microsemi Corporation
 */
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>

#include "ocelot.h"

int __ocelot_bulk_read_ix(struct ocelot *ocelot, enum ocelot_reg reg,
			  u32 offset, void *buf, int count)
{}
EXPORT_SYMBOL_GPL();

u32 __ocelot_read_ix(struct ocelot *ocelot, enum ocelot_reg reg, u32 offset)
{}
EXPORT_SYMBOL_GPL();

void __ocelot_write_ix(struct ocelot *ocelot, u32 val, enum ocelot_reg reg,
		       u32 offset)
{}
EXPORT_SYMBOL_GPL();

void __ocelot_rmw_ix(struct ocelot *ocelot, u32 val, u32 mask,
		     enum ocelot_reg reg, u32 offset)
{}
EXPORT_SYMBOL_GPL();

u32 ocelot_port_readl(struct ocelot_port *port, enum ocelot_reg reg)
{}
EXPORT_SYMBOL_GPL();

void ocelot_port_writel(struct ocelot_port *port, u32 val, enum ocelot_reg reg)
{}
EXPORT_SYMBOL_GPL();

void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask,
		      enum ocelot_reg reg)
{}
EXPORT_SYMBOL_GPL();

u32 __ocelot_target_read_ix(struct ocelot *ocelot, enum ocelot_target target,
			    u32 reg, u32 offset)
{}

void __ocelot_target_write_ix(struct ocelot *ocelot, enum ocelot_target target,
			      u32 val, u32 reg, u32 offset)
{}

int ocelot_regfields_init(struct ocelot *ocelot,
			  const struct reg_field *const regfields)
{}
EXPORT_SYMBOL_GPL();

static struct regmap_config ocelot_regmap_config =;

struct regmap *ocelot_regmap_init(struct ocelot *ocelot, struct resource *res)
{}
EXPORT_SYMBOL_GPL();