Lines Matching refs:mcore
38 static inline u32 mips_read32(struct bcma_drv_mips *mcore, in mips_read32() argument
41 return bcma_read32(mcore->core, offset); in mips_read32()
44 static inline void mips_write32(struct bcma_drv_mips *mcore, in mips_write32() argument
48 bcma_write32(mcore->core, offset, value); in mips_write32()
169 u32 bcma_cpu_clock(struct bcma_drv_mips *mcore) in bcma_cpu_clock() argument
171 struct bcma_bus *bus = mcore->core->bus; in bcma_cpu_clock()
181 static void bcma_core_mips_flash_detect(struct bcma_drv_mips *mcore) in bcma_core_mips_flash_detect() argument
183 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_flash_detect()
206 void bcma_core_mips_init(struct bcma_drv_mips *mcore) in bcma_core_mips_init() argument
210 bus = mcore->core->bus; in bcma_core_mips_init()
214 if (!mcore->setup_done) in bcma_core_mips_init()
215 mcore->assigned_irqs = 1; in bcma_core_mips_init()
241 if (mcore->assigned_irqs <= 4) in bcma_core_mips_init()
243 mcore->assigned_irqs++); in bcma_core_mips_init()
250 if (mcore->setup_done) in bcma_core_mips_init()
254 bcma_core_mips_flash_detect(mcore); in bcma_core_mips_init()
255 mcore->setup_done = true; in bcma_core_mips_init()