Lines Matching refs:pflash
218 struct ssb_pflash *pflash = &mcore->pflash; in ssb_mips_flash_detect() local
222 pflash->present = true; in ssb_mips_flash_detect()
223 pflash->buswidth = 2; in ssb_mips_flash_detect()
224 pflash->window = SSB_FLASH1; in ssb_mips_flash_detect()
225 pflash->window_size = SSB_FLASH1_SZ; in ssb_mips_flash_detect()
238 pflash->present = true; in ssb_mips_flash_detect()
239 pflash->window = SSB_FLASH2; in ssb_mips_flash_detect()
240 pflash->window_size = SSB_FLASH2_SZ; in ssb_mips_flash_detect()
243 pflash->buswidth = 1; in ssb_mips_flash_detect()
245 pflash->buswidth = 2; in ssb_mips_flash_detect()
254 } else if (pflash->present) { in ssb_mips_flash_detect()
256 bcm47xx_nvram_init_from_mem(pflash->window, pflash->window_size); in ssb_mips_flash_detect()
259 ssb_pflash_data.width = pflash->buswidth; in ssb_mips_flash_detect()
260 ssb_pflash_resource.start = pflash->window; in ssb_mips_flash_detect()
261 ssb_pflash_resource.end = pflash->window + pflash->window_size; in ssb_mips_flash_detect()