Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/spi-nor/
H A Dotp.c230 static size_t spi_nor_otp_size(struct spi_nor *nor) in spi_nor_otp_size() function
319 if (ofs < 0 || ofs >= spi_nor_otp_size(nor)) in spi_nor_mtd_otp_read_write()
323 total_len = min_t(size_t, total_len, spi_nor_otp_size(nor) - ofs); in spi_nor_mtd_otp_read_write()
411 if (from < 0 || (from + len) > spi_nor_otp_size(nor)) in spi_nor_mtd_otp_erase()
456 if (from < 0 || (from + len) > spi_nor_otp_size(nor)) in spi_nor_mtd_otp_lock()