Lines Matching refs:core

74 	return bcma_read32(mcore->core, offset);  in mips_read32()
81 bcma_write32(mcore->core, offset, value); in mips_write32()
123 struct bcma_device *mdev = dev->bus->drv_mips.core; in bcma_core_mips_irq()
143 struct bcma_device *mdev = bus->drv_mips.core; in bcma_core_mips_set_irq()
168 struct bcma_device *core; in bcma_core_mips_set_irq() local
173 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_set_irq()
174 if ((1 << bcma_core_mips_irqflag(core)) == in bcma_core_mips_set_irq()
176 bcma_core_mips_set_irq(core, 0); in bcma_core_mips_set_irq()
192 struct bcma_device *core; in bcma_core_mips_set_irq_name() local
194 core = bcma_find_core_unit(bus, coreid, unit); in bcma_core_mips_set_irq_name()
195 if (!core) { in bcma_core_mips_set_irq_name()
202 bcma_core_mips_set_irq(core, irq); in bcma_core_mips_set_irq_name()
217 struct bcma_device *core; in bcma_core_mips_dump_irq() local
219 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_dump_irq()
220 bcma_core_mips_print_irq(core, bcma_core_mips_irq(core)); in bcma_core_mips_dump_irq()
226 struct bcma_bus *bus = mcore->core->bus; in bcma_cpu_clock()
239 u8 cc_rev = cc->core->id.rev; in bcma_boot_dev()
242 struct bcma_device *core; in bcma_boot_dev() local
244 core = bcma_find_core(bus, BCMA_CORE_NS_ROM); in bcma_boot_dev()
245 if (core) { in bcma_boot_dev()
246 switch (bcma_aread32(core, BCMA_IOST) & in bcma_boot_dev()
277 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_flash_detect()
294 if ((bcma_read32(cc->core, BCMA_CC_FLASH_CFG) & in bcma_core_mips_flash_detect()
309 if (cc->core->id.rev == 38 || in bcma_core_mips_flash_detect()
340 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_early_init()
380 struct bcma_device *core; in bcma_core_mips_init() local
381 bus = mcore->core->bus; in bcma_core_mips_init()
427 list_for_each_entry(core, &bus->cores, list) { in bcma_core_mips_init()
428 core->irq = bcma_core_irq(core, 0); in bcma_core_mips_init()