Lines Matching refs:flash_part
900 u32 i, flash_part = 0, ret; in bnad_get_flash_partition_by_offset() local
929 flash_part = flash_attr->part[i].part_type; in bnad_get_flash_partition_by_offset()
936 return flash_part; in bnad_get_flash_partition_by_offset()
951 u32 flash_part = 0, base_offset = 0; in bnad_get_eeprom() local
959 flash_part = bnad_get_flash_partition_by_offset(bnad, in bnad_get_eeprom()
961 if (flash_part == 0) in bnad_get_eeprom()
969 ret = bfa_nw_flash_read_part(&bnad->bna.flash, flash_part, in bnad_get_eeprom()
991 u32 flash_part = 0, base_offset = 0; in bnad_set_eeprom() local
1001 flash_part = bnad_get_flash_partition_by_offset(bnad, in bnad_set_eeprom()
1003 if (flash_part == 0) in bnad_set_eeprom()
1011 ret = bfa_nw_flash_update_part(&bnad->bna.flash, flash_part, in bnad_set_eeprom()