Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/spi-nor/
H A Dotp.c241 static unsigned int spi_nor_otp_offset_to_region(struct spi_nor *nor, loff_t ofs) in spi_nor_otp_offset_to_region() function
295 for (region = spi_nor_otp_offset_to_region(nor, ofs); in spi_nor_mtd_otp_range_is_locked()
296 region <= spi_nor_otp_offset_to_region(nor, ofs + len - 1); in spi_nor_mtd_otp_range_is_locked()
349 region = spi_nor_otp_offset_to_region(nor, ofs); in spi_nor_mtd_otp_read_write()
431 region = spi_nor_otp_offset_to_region(nor, from); in spi_nor_mtd_otp_erase()
468 region = spi_nor_otp_offset_to_region(nor, from); in spi_nor_mtd_otp_lock()