Lines Matching refs:flash_part
896 u32 i, flash_part = 0, ret; in bnad_get_flash_partition_by_offset() local
925 flash_part = flash_attr->part[i].part_type; in bnad_get_flash_partition_by_offset()
932 return flash_part; in bnad_get_flash_partition_by_offset()
947 u32 flash_part = 0, base_offset = 0; in bnad_get_eeprom() local
955 flash_part = bnad_get_flash_partition_by_offset(bnad, in bnad_get_eeprom()
957 if (flash_part == 0) in bnad_get_eeprom()
965 ret = bfa_nw_flash_read_part(&bnad->bna.flash, flash_part, in bnad_get_eeprom()
987 u32 flash_part = 0, base_offset = 0; in bnad_set_eeprom() local
997 flash_part = bnad_get_flash_partition_by_offset(bnad, in bnad_set_eeprom()
999 if (flash_part == 0) in bnad_set_eeprom()
1007 ret = bfa_nw_flash_update_part(&bnad->bna.flash, flash_part, in bnad_set_eeprom()