#include <linux/bits.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/platform_data/b53.h>
#include "b53_priv.h"
struct b53_mmap_priv { … };
static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val)
{ … }
static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val)
{ … }
static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val)
{ … }
static int b53_mmap_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val)
{ … }
static int b53_mmap_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val)
{ … }
static int b53_mmap_write8(struct b53_device *dev, u8 page, u8 reg, u8 value)
{ … }
static int b53_mmap_write16(struct b53_device *dev, u8 page, u8 reg,
u16 value)
{ … }
static int b53_mmap_write32(struct b53_device *dev, u8 page, u8 reg,
u32 value)
{ … }
static int b53_mmap_write48(struct b53_device *dev, u8 page, u8 reg,
u64 value)
{ … }
static int b53_mmap_write64(struct b53_device *dev, u8 page, u8 reg,
u64 value)
{ … }
static int b53_mmap_phy_read16(struct b53_device *dev, int addr, int reg,
u16 *value)
{ … }
static int b53_mmap_phy_write16(struct b53_device *dev, int addr, int reg,
u16 value)
{ … }
static const struct b53_io_ops b53_mmap_ops = …;
static int b53_mmap_probe_of(struct platform_device *pdev,
struct b53_platform_data **ppdata)
{ … }
static int b53_mmap_probe(struct platform_device *pdev)
{ … }
static void b53_mmap_remove(struct platform_device *pdev)
{ … }
static void b53_mmap_shutdown(struct platform_device *pdev)
{ … }
static const struct of_device_id b53_mmap_of_table[] = …;
MODULE_DEVICE_TABLE(of, b53_mmap_of_table);
static struct platform_driver b53_mmap_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;