Lines Matching refs:cc
238 struct bcma_drv_cc *cc = &bus->drv_cc; in bcma_boot_dev() local
239 u8 cc_rev = cc->core->id.rev; in bcma_boot_dev()
259 if (cc->status & BCMA_CC_CHIPST_5357_NAND_BOOT) in bcma_boot_dev()
261 else if (cc->status & BIT(5)) in bcma_boot_dev()
265 if ((cc->capabilities & BCMA_CC_CAP_FLASHT) == in bcma_boot_dev()
278 struct bcma_drv_cc *cc = &bus->drv_cc; in bcma_core_mips_flash_detect() local
279 struct bcma_pflash *pflash = &cc->pflash; in bcma_core_mips_flash_detect()
282 switch (cc->capabilities & BCMA_CC_CAP_FLASHT) { in bcma_core_mips_flash_detect()
286 bcma_sflash_init(cc); 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()
311 if (cc->capabilities & BCMA_CC_CAP_NFLASH) { in bcma_core_mips_flash_detect()
313 bcma_nflash_init(cc); in bcma_core_mips_flash_detect()