Lines Matching refs:mcore
71 static inline u32 mips_read32(struct bcma_drv_mips *mcore, in mips_read32() argument
74 return bcma_read32(mcore->core, offset); in mips_read32()
77 static inline void mips_write32(struct bcma_drv_mips *mcore, in mips_write32() argument
81 bcma_write32(mcore->core, offset, value); in mips_write32()
224 u32 bcma_cpu_clock(struct bcma_drv_mips *mcore) in bcma_cpu_clock() argument
226 struct bcma_bus *bus = mcore->core->bus; in bcma_cpu_clock()
275 static void bcma_core_mips_flash_detect(struct bcma_drv_mips *mcore) in bcma_core_mips_flash_detect() argument
277 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_flash_detect()
338 void bcma_core_mips_early_init(struct bcma_drv_mips *mcore) in bcma_core_mips_early_init() argument
340 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_early_init()
342 if (mcore->early_setup_done) in bcma_core_mips_early_init()
346 bcma_core_mips_flash_detect(mcore); in bcma_core_mips_early_init()
348 mcore->early_setup_done = true; in bcma_core_mips_early_init()
377 void bcma_core_mips_init(struct bcma_drv_mips *mcore) in bcma_core_mips_init() argument
381 bus = mcore->core->bus; in bcma_core_mips_init()
383 if (mcore->setup_done) in bcma_core_mips_init()
388 bcma_core_mips_early_init(mcore); in bcma_core_mips_init()
437 mcore->setup_done = true; in bcma_core_mips_init()