Lines Matching refs:flash_info

4149 	if (bp->flash_info->flags & BNX2_NV_WREN) {  in bnx2_enable_nvram_write()
4209 if (bp->flash_info->flags & BNX2_NV_BUFFERED) in bnx2_nvram_erase_page()
4253 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_read_dword()
4254 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_read_dword()
4255 bp->flash_info->page_bits) + in bnx2_nvram_read_dword()
4256 (offset % bp->flash_info->page_size); in bnx2_nvram_read_dword()
4299 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_write_dword()
4300 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_write_dword()
4301 bp->flash_info->page_bits) + in bnx2_nvram_write_dword()
4302 (offset % bp->flash_info->page_size); in bnx2_nvram_write_dword()
4340 bp->flash_info = &flash_5709; in bnx2_init_nvram()
4356 bp->flash_info = flash; in bnx2_init_nvram()
4374 bp->flash_info = flash; in bnx2_init_nvram()
4399 bp->flash_info = NULL; in bnx2_init_nvram()
4410 bp->flash_size = bp->flash_info->total_size; in bnx2_init_nvram()
4569 if (!(bp->flash_info->flags & BNX2_NV_BUFFERED)) { in bnx2_nvram_write()
4585 page_start -= (page_start % bp->flash_info->page_size); in bnx2_nvram_write()
4587 page_end = page_start + bp->flash_info->page_size; in bnx2_nvram_write()
4602 if (!(bp->flash_info->flags & BNX2_NV_BUFFERED)) { in bnx2_nvram_write()
4607 for (j = 0; j < bp->flash_info->page_size; j += 4) { in bnx2_nvram_write()
4608 if (j == (bp->flash_info->page_size - 4)) { in bnx2_nvram_write()
4630 if (!(bp->flash_info->flags & BNX2_NV_BUFFERED)) { in bnx2_nvram_write()
4654 ((bp->flash_info->flags & BNX2_NV_BUFFERED) && in bnx2_nvram_write()
4671 if (!(bp->flash_info->flags & BNX2_NV_BUFFERED)) { in bnx2_nvram_write()
7211 if (!bp->flash_info) in bnx2_get_eeprom_len()