Searched refs:erase_mask (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/mtd/spi-nor/ |
D | sfdp.c | 360 static u8 spi_nor_sort_erase_mask(struct spi_nor_erase_map *map, u8 erase_mask) in spi_nor_sort_erase_mask() argument 366 if (!erase_mask) in spi_nor_sort_erase_mask() 371 if (erase_type[i].size && erase_mask & BIT(erase_type[i].idx)) in spi_nor_sort_erase_mask() 397 spi_nor_sort_erase_mask(map, region[i].erase_mask); in spi_nor_regions_sort_erase_types() 400 region[i].erase_mask = sorted_erase_mask; in spi_nor_regions_sort_erase_types() 444 u8 erase_mask; in spi_nor_parse_bfpt() local 520 erase_mask = 0; in spi_nor_parse_bfpt() 536 erase_mask |= BIT(i); in spi_nor_parse_bfpt() 540 spi_nor_init_uniform_erase_map(map, erase_mask, params->size); in spi_nor_parse_bfpt() 866 region[i].erase_mask = erase_type; in spi_nor_init_non_uniform_erase_map() [all …]
|
D | debugfs.c | 150 u8 erase_mask = region[i].erase_mask; in spi_nor_params_show() local 154 erase_mask & BIT(0) ? '0' : ' ', in spi_nor_params_show() 155 erase_mask & BIT(1) ? '1' : ' ', in spi_nor_params_show() 156 erase_mask & BIT(2) ? '2' : ' ', in spi_nor_params_show() 157 erase_mask & BIT(3) ? '3' : ' ', in spi_nor_params_show()
|
D | core.c | 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() [all …]
|
D | core.h | 253 u8 erase_mask; member 657 u8 erase_mask, u64 flash_size);
|