Home
last modified time | relevance | path

Searched refs:die_size (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/mtd/spi-nor/
Dcore.c1070 static int spi_nor_erase_die(struct spi_nor *nor, loff_t addr, size_t die_size) in spi_nor_erase_die() argument
1072 bool multi_die = nor->mtd.size != die_size; in spi_nor_erase_die()
1075 dev_dbg(nor->dev, " %lldKiB\n", (long long)(die_size >> 10)); in spi_nor_erase_die()
1731 size_t len, size_t die_size) in spi_nor_erase_dice() argument
1757 ret = spi_nor_erase_die(nor, addr, die_size); in spi_nor_erase_dice()
1767 addr += die_size; in spi_nor_erase_dice()
1768 len -= die_size; in spi_nor_erase_dice()
1785 size_t die_size; in spi_nor_erase() local
1801 die_size = div_u64(mtd->size, n_dice); in spi_nor_erase()
1802 if (!(len & (die_size - 1)) && !(addr & (die_size - 1))) in spi_nor_erase()
[all …]