#include "bcma_private.h"
#include "scan.h"
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/bcma/bcma.h>
#include <linux/bcma/bcma_soc.h>
static u8 bcma_host_soc_read8(struct bcma_device *core, u16 offset)
{ … }
static u16 bcma_host_soc_read16(struct bcma_device *core, u16 offset)
{ … }
static u32 bcma_host_soc_read32(struct bcma_device *core, u16 offset)
{ … }
static void bcma_host_soc_write8(struct bcma_device *core, u16 offset,
u8 value)
{ … }
static void bcma_host_soc_write16(struct bcma_device *core, u16 offset,
u16 value)
{ … }
static void bcma_host_soc_write32(struct bcma_device *core, u16 offset,
u32 value)
{ … }
#ifdef CONFIG_BCMA_BLOCKIO
static void bcma_host_soc_block_read(struct bcma_device *core, void *buffer,
size_t count, u16 offset, u8 reg_width)
{ … }
static void bcma_host_soc_block_write(struct bcma_device *core,
const void *buffer,
size_t count, u16 offset, u8 reg_width)
{ … }
#endif
static u32 bcma_host_soc_aread32(struct bcma_device *core, u16 offset)
{ … }
static void bcma_host_soc_awrite32(struct bcma_device *core, u16 offset,
u32 value)
{ … }
static const struct bcma_host_ops bcma_host_soc_ops = …;
int __init bcma_host_soc_register(struct bcma_soc *soc)
{ … }
int __init bcma_host_soc_init(struct bcma_soc *soc)
{ … }
#ifdef CONFIG_OF
static int bcma_host_soc_probe(struct platform_device *pdev)
{ … }
static void bcma_host_soc_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id bcma_host_soc_of_match[] = …;
MODULE_DEVICE_TABLE(of, bcma_host_soc_of_match);
static struct platform_driver bcma_host_soc_driver = …;
int __init bcma_host_soc_register_driver(void)
{ … }
void __exit bcma_host_soc_unregister_driver(void)
{ … }
#endif