Lines Matching refs:flash_info
4133 if (bp->flash_info->flags & BNX2_NV_WREN) { in bnx2_enable_nvram_write()
4193 if (bp->flash_info->flags & BNX2_NV_BUFFERED) in bnx2_nvram_erase_page()
4237 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_read_dword()
4238 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_read_dword()
4239 bp->flash_info->page_bits) + in bnx2_nvram_read_dword()
4240 (offset % bp->flash_info->page_size); in bnx2_nvram_read_dword()
4283 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_write_dword()
4284 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_write_dword()
4285 bp->flash_info->page_bits) + in bnx2_nvram_write_dword()
4286 (offset % bp->flash_info->page_size); in bnx2_nvram_write_dword()
4324 bp->flash_info = &flash_5709; in bnx2_init_nvram()
4340 bp->flash_info = flash; in bnx2_init_nvram()
4358 bp->flash_info = flash; in bnx2_init_nvram()
4383 bp->flash_info = NULL; in bnx2_init_nvram()
4394 bp->flash_size = bp->flash_info->total_size; in bnx2_init_nvram()
4553 if (!(bp->flash_info->flags & BNX2_NV_BUFFERED)) { in bnx2_nvram_write()
4569 page_start -= (page_start % bp->flash_info->page_size); in bnx2_nvram_write()
4571 page_end = page_start + bp->flash_info->page_size; in bnx2_nvram_write()
4586 if (!(bp->flash_info->flags & BNX2_NV_BUFFERED)) { in bnx2_nvram_write()
4591 for (j = 0; j < bp->flash_info->page_size; j += 4) { in bnx2_nvram_write()
4592 if (j == (bp->flash_info->page_size - 4)) { in bnx2_nvram_write()
4614 if (!(bp->flash_info->flags & BNX2_NV_BUFFERED)) { in bnx2_nvram_write()
4638 ((bp->flash_info->flags & BNX2_NV_BUFFERED) && in bnx2_nvram_write()
4655 if (!(bp->flash_info->flags & BNX2_NV_BUFFERED)) { in bnx2_nvram_write()
7195 if (!bp->flash_info) in bnx2_get_eeprom_len()