Lines Matching defs:len

70 static int spi_nor_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len)  in spi_nor_read_reg()
86 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg()
130 static ssize_t spi_nor_read_data(struct spi_nor *nor, loff_t from, size_t len, in spi_nor_read_data()
168 static ssize_t spi_nor_write_data(struct spi_nor *nor, loff_t to, size_t len, in spi_nor_write_data()
638 u32 addr, len, rem; in spi_nor_erase() local
882 uint64_t *len) in stm_get_locked_range()
907 static int stm_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, u64 len, in stm_check_lock_status_sr()
926 static int stm_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_locked_sr()
932 static int stm_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_unlocked_sr()
970 static int stm_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_lock()
1050 static int stm_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_unlock()
1135 static int stm_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_is_locked()
1148 u32 offset, size_t len) in spi_nor_wlock_by_host_ctrl()
1165 u32 offset, size_t len) in spi_nor_wunlock_by_host_ctrl()
1206 static int spi_nor_read(struct mtd_info *mtd, loff_t from, size_t len, in spi_nor_read()
1331 static int sst_write_byteprogram(struct spi_nor *nor, loff_t to, size_t len, in sst_write_byteprogram()
1356 static int sst_write(struct mtd_info *mtd, loff_t to, size_t len, in sst_write()
1432 static int spi_nor_write(struct mtd_info *mtd, loff_t to, size_t len, in spi_nor_write()
1856 size_t len, void *buf) in spi_nor_read_sfdp()
2155 size_t len; in spi_nor_parse_bfpt() local
2970 int spi_flash_wlock_by_host_ctrl(struct spi_nor *nor, u32 offset, size_t len) in spi_flash_wlock_by_host_ctrl()
2976 int spi_flash_wunlock_by_host_ctrl(struct spi_nor *nor, u32 offset, size_t len) in spi_flash_wunlock_by_host_ctrl()