#ifndef __BCM63XX_PMB_H
#define __BCM63XX_PMB_H
#include <linux/io.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/err.h>
#define PMB_CTRL …
#define PMC_PMBM_START …
#define PMC_PMBM_TIMEOUT …
#define PMC_PMBM_SLAVE_ERR …
#define PMC_PMBM_BUSY …
#define PMC_PMBM_READ …
#define PMC_PMBM_WRITE …
#define PMB_WR_DATA …
#define PMB_TIMEOUT …
#define PMB_RD_DATA …
#define PMB_BUS_ID_SHIFT …
static inline int __bpcm_do_op(void __iomem *master, unsigned int addr,
u32 off, u32 op)
{ … }
static inline int bpcm_rd(void __iomem *master, unsigned int addr,
u32 off, u32 *val)
{ … }
static inline int bpcm_wr(void __iomem *master, unsigned int addr,
u32 off, u32 val)
{ … }
#endif