Lines Matching full:core
3 * Broadcom MIPS32 74K core driver
41 return bcma_read32(mcore->core, offset); in mips_read32()
48 bcma_write32(mcore->core, offset, value); in mips_write32()
85 struct bcma_device *mdev = dev->bus->drv_mips.core; in bcma_core_mips_irq()
104 struct bcma_device *mdev = bus->drv_mips.core; in bcma_core_mips_set_irq()
129 struct bcma_device *core; in bcma_core_mips_set_irq() local
134 list_for_each_entry_reverse(core, &bus->cores, list) { in bcma_core_mips_set_irq()
135 if ((1 << bcma_core_mips_irqflag(core)) == in bcma_core_mips_set_irq()
137 bcma_core_mips_set_irq(core, 0); in bcma_core_mips_set_irq()
146 pr_info("set_irq: core 0x%04x, irq %d => %d\n", in bcma_core_mips_set_irq()
154 printk(KERN_INFO KBUILD_MODNAME ": core 0x%04x, irq :", dev->id.id); in bcma_core_mips_print_irq()
162 struct bcma_device *core; in bcma_core_mips_dump_irq() local
164 list_for_each_entry_reverse(core, &bus->cores, list) { in bcma_core_mips_dump_irq()
165 bcma_core_mips_print_irq(core, bcma_core_mips_irq(core)); in bcma_core_mips_dump_irq()
171 struct bcma_bus *bus = mcore->core->bus; in bcma_cpu_clock()
183 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_flash_detect()
195 if ((bcma_read32(bus->drv_cc.core, BCMA_CC_FLASH_CFG) & in bcma_core_mips_flash_detect()
209 struct bcma_device *core; in bcma_core_mips_init() local
210 bus = mcore->core->bus; in bcma_core_mips_init()
212 pr_info("Initializing MIPS core...\n"); in bcma_core_mips_init()
218 list_for_each_entry_reverse(core, &bus->cores, list) { in bcma_core_mips_init()
220 if (core->irq) in bcma_core_mips_init()
223 mips_irq = bcma_core_mips_irq(core); in bcma_core_mips_init()
225 core->irq = 0; in bcma_core_mips_init()
227 core->irq = mips_irq + 2; in bcma_core_mips_init()
228 if (core->irq > 5) in bcma_core_mips_init()
230 switch (core->id.id) { in bcma_core_mips_init()
242 bcma_core_mips_set_irq(core, in bcma_core_mips_init()