erase_mask       1001 drivers/mtd/spi-nor/spi-nor.c 	u8 erase_mask = region->offset & SNOR_ERASE_TYPE_MASK;
erase_mask       1009 drivers/mtd/spi-nor/spi-nor.c 		if (!(erase_mask & BIT(i)))
erase_mask       3246 drivers/mtd/spi-nor/spi-nor.c static u8 spi_nor_sort_erase_mask(struct spi_nor_erase_map *map, u8 erase_mask)
erase_mask       3252 drivers/mtd/spi-nor/spi-nor.c 	if (!erase_mask)
erase_mask       3257 drivers/mtd/spi-nor/spi-nor.c 		if (erase_type[i].size && erase_mask & BIT(erase_type[i].idx))
erase_mask       3302 drivers/mtd/spi-nor/spi-nor.c 					   u8 erase_mask, u64 flash_size)
erase_mask       3305 drivers/mtd/spi-nor/spi-nor.c 	map->uniform_region.offset = (erase_mask & SNOR_ERASE_TYPE_MASK) |
erase_mask       3309 drivers/mtd/spi-nor/spi-nor.c 	map->uniform_erase_type = erase_mask;
erase_mask       3366 drivers/mtd/spi-nor/spi-nor.c 	u8 erase_mask;
erase_mask       3439 drivers/mtd/spi-nor/spi-nor.c 	erase_mask = 0;
erase_mask       3455 drivers/mtd/spi-nor/spi-nor.c 		erase_mask |= BIT(i);
erase_mask       3459 drivers/mtd/spi-nor/spi-nor.c 	spi_nor_init_uniform_erase_map(map, erase_mask, params->size);
erase_mask       3909 drivers/mtd/spi-nor/spi-nor.c 	u32 addr, discard_hwcaps, read_hwcaps, pp_hwcaps, erase_mask;
erase_mask       3971 drivers/mtd/spi-nor/spi-nor.c 	erase_mask = 0;
erase_mask       3976 drivers/mtd/spi-nor/spi-nor.c 			erase_mask |= BIT(i);
erase_mask       3980 drivers/mtd/spi-nor/spi-nor.c 	erase_mask = spi_nor_sort_erase_mask(map, erase_mask);
erase_mask       3987 drivers/mtd/spi-nor/spi-nor.c 	if (!read_hwcaps || !pp_hwcaps || !erase_mask)
erase_mask       4018 drivers/mtd/spi-nor/spi-nor.c 		if (erase_mask & BIT(i))
erase_mask       4466 drivers/mtd/spi-nor/spi-nor.c 	u8 i, erase_mask;
erase_mask       4527 drivers/mtd/spi-nor/spi-nor.c 	erase_mask = 0;
erase_mask       4530 drivers/mtd/spi-nor/spi-nor.c 		erase_mask |= BIT(i);
erase_mask       4535 drivers/mtd/spi-nor/spi-nor.c 		erase_mask |= BIT(i);
erase_mask       4540 drivers/mtd/spi-nor/spi-nor.c 	erase_mask |= BIT(i);
erase_mask       4543 drivers/mtd/spi-nor/spi-nor.c 	spi_nor_init_uniform_erase_map(map, erase_mask, params->size);