Lines Matching refs:erase_mask
1161 return !!nor->params->erase_map.uniform_region.erase_mask; in spi_nor_has_uniform_erase()
1542 if (!(region->erase_mask & BIT(i))) in spi_nor_find_best_erase_type()
2379 u8 erase_mask, u64 flash_size) in spi_nor_init_uniform_erase_map() argument
2383 map->uniform_region.erase_mask = erase_mask; in spi_nor_init_uniform_erase_map()
2472 u8 uniform_erase_type = map->uniform_region.erase_mask; in spi_nor_select_uniform_erase()
2511 map->uniform_region.erase_mask = BIT(erase - map->erase_type); in spi_nor_select_uniform_erase()
2691 u8 i, erase_mask; in spi_nor_no_sfdp_init_params() local
2735 erase_mask = 0; in spi_nor_no_sfdp_init_params()
2738 erase_mask |= BIT(i); in spi_nor_no_sfdp_init_params()
2743 erase_mask |= BIT(i); in spi_nor_no_sfdp_init_params()
2747 spi_nor_init_uniform_erase_map(map, erase_mask, params->size); in spi_nor_no_sfdp_init_params()
3339 if (region->erase_mask & BIT(i)) in spi_nor_get_region_erasesize()