linux/include/linux/bcma/bcma_driver_mips.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef LINUX_BCMA_DRIVER_MIPS_H_
#define LINUX_BCMA_DRIVER_MIPS_H_

#define BCMA_MIPS_IPSFLAG
/* which sbflags get routed to mips interrupt 1 */
#define BCMA_MIPS_IPSFLAG_IRQ1
#define BCMA_MIPS_IPSFLAG_IRQ1_SHIFT
/* which sbflags get routed to mips interrupt 2 */
#define BCMA_MIPS_IPSFLAG_IRQ2
#define BCMA_MIPS_IPSFLAG_IRQ2_SHIFT
/* which sbflags get routed to mips interrupt 3 */
#define BCMA_MIPS_IPSFLAG_IRQ3
#define BCMA_MIPS_IPSFLAG_IRQ3_SHIFT
/* which sbflags get routed to mips interrupt 4 */
#define BCMA_MIPS_IPSFLAG_IRQ4
#define BCMA_MIPS_IPSFLAG_IRQ4_SHIFT

/* MIPS 74K core registers */
#define BCMA_MIPS_MIPS74K_CORECTL
#define BCMA_MIPS_MIPS74K_EXCEPTBASE
#define BCMA_MIPS_MIPS74K_BIST
#define BCMA_MIPS_MIPS74K_INTMASK_INT0
#define BCMA_MIPS_MIPS74K_INTMASK(int)
#define BCMA_MIPS_MIPS74K_NMIMASK
#define BCMA_MIPS_MIPS74K_GPIOSEL
#define BCMA_MIPS_MIPS74K_GPIOOUT
#define BCMA_MIPS_MIPS74K_GPIOEN
#define BCMA_MIPS_MIPS74K_CLKCTLST

#define BCMA_MIPS_OOBSELINA74
#define BCMA_MIPS_OOBSELOUTA30

struct bcma_device;

struct bcma_drv_mips {};

extern u32 bcma_cpu_clock(struct bcma_drv_mips *mcore);

#endif /* LINUX_BCMA_DRIVER_MIPS_H_ */