Lines Matching refs:erase
320 spi_nor_set_erase_settings_from_bfpt(struct spi_nor_erase_type *erase, in spi_nor_set_erase_settings_from_bfpt() argument
323 erase->idx = i; in spi_nor_set_erase_settings_from_bfpt()
324 spi_nor_set_erase_type(erase, size, opcode); in spi_nor_set_erase_settings_from_bfpt()
783 const struct spi_nor_erase_type *erase, in spi_nor_region_check_overlay() argument
789 if (!(erase[i].size && erase_type & BIT(erase[i].idx))) in spi_nor_region_check_overlay()
791 if (region->size & erase[i].size_mask) { in spi_nor_region_check_overlay()
809 struct spi_nor_erase_type *erase = map->erase_type; in spi_nor_init_non_uniform_erase_map() local
838 spi_nor_region_check_overlay(®ion[i], erase, erase_type); in spi_nor_init_non_uniform_erase_map()
876 if (!(regions_erase_type & BIT(erase[i].idx))) in spi_nor_init_non_uniform_erase_map()
877 spi_nor_set_erase_type(&erase[i], 0, 0xFF); in spi_nor_init_non_uniform_erase_map()
1035 const struct sfdp_4bait *erase = &erases[i]; in spi_nor_parse_4bait() local
1037 if (dwords[0] & erase->supported_bit) in spi_nor_parse_4bait()