Searched refs:erase_type (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/mtd/spi-nor/ |
D | sfdp.c | 358 struct spi_nor_erase_type *erase_type = map->erase_type; in spi_nor_sort_erase_mask() local 367 if (erase_type[i].size && erase_mask & BIT(erase_type[i].idx)) in spi_nor_sort_erase_mask() 437 struct spi_nor_erase_type *erase_type = map->erase_type; in spi_nor_parse_bfpt() local 533 spi_nor_set_erase_settings_from_bfpt(&erase_type[i], erasesize, in spi_nor_parse_bfpt() 541 sort(erase_type, SNOR_ERASE_TYPE_MAX, sizeof(erase_type[0]), in spi_nor_parse_bfpt() 784 const u8 erase_type) in spi_nor_region_check_overlay() argument 789 if (!(erase[i].size && erase_type & BIT(erase[i].idx))) in spi_nor_region_check_overlay() 809 struct spi_nor_erase_type *erase = map->erase_type; in spi_nor_init_non_uniform_erase_map() 815 u8 erase_type, regions_erase_type; in spi_nor_init_non_uniform_erase_map() local 835 erase_type = SMPT_MAP_REGION_ERASE_TYPE(smpt[j]); in spi_nor_init_non_uniform_erase_map() [all …]
|
D | core.c | 1066 erase = &map->erase_type[i]; in spi_nor_set_4byte_opcodes() 1186 erase = &map->erase_type[i]; in spi_nor_find_best_erase_type() 2114 tested_erase = &map->erase_type[i]; in spi_nor_select_uniform_erase() 2139 map->uniform_erase_type |= BIT(erase - map->erase_type); in spi_nor_select_uniform_erase() 2178 if (map->erase_type[i].size) { in spi_nor_select_erase() 2179 erase = &map->erase_type[i]; in spi_nor_select_erase() 2387 spi_nor_set_erase_type(&map->erase_type[i], 4096u, in spi_nor_no_sfdp_init_params() 2392 spi_nor_set_erase_type(&map->erase_type[i], 4096u, in spi_nor_no_sfdp_init_params() 2397 spi_nor_set_erase_type(&map->erase_type[i], nor->info->sector_size, in spi_nor_no_sfdp_init_params()
|
D | debugfs.c | 127 struct spi_nor_erase_type *et = &erase_map->erase_type[i]; in spi_nor_params_show()
|
D | core.h | 275 struct spi_nor_erase_type erase_type[SNOR_ERASE_TYPE_MAX]; member
|