Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/ssb/
Ddriver_mipscore.c21 static inline u32 mips_read32(struct ssb_mipscore *mcore, in mips_read32() argument
24 return ssb_read32(mcore->dev, offset); in mips_read32()
27 static inline void mips_write32(struct ssb_mipscore *mcore, in mips_write32() argument
31 ssb_write32(mcore->dev, offset, value); in mips_write32()
177 static void ssb_mips_serial_init(struct ssb_mipscore *mcore) in ssb_mips_serial_init() argument
179 struct ssb_bus *bus = mcore->dev->bus; in ssb_mips_serial_init()
182 mcore->nr_serial_ports = ssb_extif_serial_init(&bus->extif, mcore->serial_ports); in ssb_mips_serial_init()
184 mcore->nr_serial_ports = ssb_chipco_serial_init(&bus->chipco, mcore->serial_ports); in ssb_mips_serial_init()
186 mcore->nr_serial_ports = 0; in ssb_mips_serial_init()
189 static void ssb_mips_flash_detect(struct ssb_mipscore *mcore) in ssb_mips_flash_detect() argument
[all …]
/linux-3.4.99/drivers/bcma/
Ddriver_mips.c38 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()
[all …]
/linux-3.4.99/arch/mips/bcm47xx/
Dwgt634u.c145 struct ssb_mipscore *mcore = &bcm47xx_bus.ssb.mipscore; in wgt634u_init() local
159 wgt634u_flash_data.width = mcore->flash_buswidth; in wgt634u_init()
160 wgt634u_flash_resource.start = mcore->flash_window; in wgt634u_init()
161 wgt634u_flash_resource.end = mcore->flash_window in wgt634u_init()
162 + mcore->flash_window_size in wgt634u_init()
Dsetup.c133 struct ssb_mipscore *mcore; in bcm47xx_register_ssb() local
145 mcore = &bcm47xx_bus.ssb.mipscore; in bcm47xx_register_ssb()
152 memcpy(&port, &mcore->serial_ports[0], sizeof(port)); in bcm47xx_register_ssb()
153 memcpy(&mcore->serial_ports[0], &mcore->serial_ports[1], in bcm47xx_register_ssb()
155 memcpy(&mcore->serial_ports[1], &port, sizeof(port)); in bcm47xx_register_ssb()
Dserial.c30 struct ssb_mipscore *mcore = &(bcm47xx_bus.ssb.mipscore); in uart8250_init_ssb() local
34 for (i = 0; i < mcore->nr_serial_ports; i++) { in uart8250_init_ssb()
36 struct ssb_serial_port *ssb_port = &(mcore->serial_ports[i]); in uart8250_init_ssb()
/linux-3.4.99/include/linux/ssb/
Dssb_driver_mips.h28 extern void ssb_mipscore_init(struct ssb_mipscore *mcore);
29 extern u32 ssb_cpu_clock(struct ssb_mipscore *mcore);
40 void ssb_mipscore_init(struct ssb_mipscore *mcore) in ssb_mipscore_init() argument
/linux-3.4.99/include/linux/bcma/
Dbcma_driver_mips.h42 extern void bcma_core_mips_init(struct bcma_drv_mips *mcore);
44 static inline void bcma_core_mips_init(struct bcma_drv_mips *mcore) { } in bcma_core_mips_init() argument
47 extern u32 bcma_cpu_clock(struct bcma_drv_mips *mcore);