Home
last modified time | relevance | path

Searched refs:mcore (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/ssb/
H A Ddriver_mipscore.c44 static inline u32 mips_read32(struct ssb_mipscore *mcore, in mips_read32() argument
47 return ssb_read32(mcore->dev, offset); in mips_read32()
50 static inline void mips_write32(struct ssb_mipscore *mcore, in mips_write32() argument
54 ssb_write32(mcore->dev, offset, value); in mips_write32()
202 static void ssb_mips_serial_init(struct ssb_mipscore *mcore) in ssb_mips_serial_init() argument
204 struct ssb_bus *bus = mcore->dev->bus; in ssb_mips_serial_init()
207 mcore->nr_serial_ports = ssb_extif_serial_init(&bus->extif, mcore->serial_ports); in ssb_mips_serial_init()
209 mcore->nr_serial_ports = ssb_chipco_serial_init(&bus->chipco, mcore->serial_ports); in ssb_mips_serial_init()
211 mcore->nr_serial_ports = 0; in ssb_mips_serial_init()
214 static void ssb_mips_flash_detect(struct ssb_mipscore *mcore) in ssb_mips_flash_detect() argument
[all …]
/linux/drivers/bcma/
H A Ddriver_mips.c177 u32 bcma_cpu_clock(struct bcma_drv_mips *mcore) in bcma_cpu_clock() argument
179 struct bcma_bus *bus = mcore->core->bus; in bcma_cpu_clock()
228 static void bcma_core_mips_nvram_init(struct bcma_drv_mips *mcore) in bcma_core_mips_nvram_init() argument
230 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_nvram_init()
254 void bcma_core_mips_early_init(struct bcma_drv_mips *mcore) in bcma_core_mips_early_init() argument
256 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_early_init()
258 if (mcore->early_setup_done) in bcma_core_mips_early_init()
262 bcma_core_mips_nvram_init(mcore); in bcma_core_mips_early_init()
264 mcore->early_setup_done = true; in bcma_core_mips_early_init()
293 void bcma_core_mips_init(struct bcma_drv_mips *mcore) in bcma_core_mips_init() argument
[all …]
H A Dbcma_private.h173 void bcma_core_mips_early_init(struct bcma_drv_mips *mcore);
174 void bcma_core_mips_init(struct bcma_drv_mips *mcore);
180 static inline void bcma_core_mips_early_init(struct bcma_drv_mips *mcore) in bcma_core_mips_early_init() argument
183 static inline void bcma_core_mips_init(struct bcma_drv_mips *mcore) in bcma_core_mips_init() argument
/linux/arch/mips/bcm47xx/
H A Dsetup.c117 struct ssb_mipscore *mcore; in bcm47xx_register_ssb() local
123 mcore = &bcm47xx_bus.ssb.mipscore; in bcm47xx_register_ssb()
130 memcpy(&port, &mcore->serial_ports[0], sizeof(port)); in bcm47xx_register_ssb()
131 memcpy(&mcore->serial_ports[0], &mcore->serial_ports[1], in bcm47xx_register_ssb()
133 memcpy(&mcore->serial_ports[1], &port, sizeof(port)); in bcm47xx_register_ssb()
H A Dserial.c32 struct ssb_mipscore *mcore = &(bcm47xx_bus.ssb.mipscore); in uart8250_init_ssb() local
36 for (i = 0; i < mcore->nr_serial_ports && in uart8250_init_ssb()
39 struct ssb_serial_port *ssb_port = &(mcore->serial_ports[i]); in uart8250_init_ssb()
/linux/include/linux/ssb/
H A Dssb_driver_mips.h48 extern void ssb_mipscore_init(struct ssb_mipscore *mcore);
49 extern u32 ssb_cpu_clock(struct ssb_mipscore *mcore);
60 void ssb_mipscore_init(struct ssb_mipscore *mcore) in ssb_mipscore_init() argument
/linux/include/linux/bcma/
H A Dbcma_driver_mips.h43 extern u32 bcma_cpu_clock(struct bcma_drv_mips *mcore);