| /drivers/mtd/nand/raw/ |
| A D | cadence_spl.c | 31 loff_t ofs = block * CONFIG_SYS_NAND_BLOCK_SIZE; in nand_is_bad_block() local 45 loff_t ofs = page_addr * CONFIG_SYS_NAND_PAGE_SIZE; in nand_read_page() local
|
| A D | nand_util.c | 481 loff_t ofs) in nand_verify_page_oob() 521 int nand_verify(struct mtd_info *mtd, loff_t ofs, size_t len, u_char *buf) in nand_verify()
|
| A D | nand_base.c | 108 loff_t ofs, uint64_t len) in check_offs_len() 345 static int nand_block_bad(struct mtd_info *mtd, loff_t ofs) in nand_block_bad() 384 static int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs) in nand_default_block_markbad() 434 static int nand_block_markbad_lowlevel(struct mtd_info *mtd, loff_t ofs) in nand_block_markbad_lowlevel() 505 static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs) in nand_block_isreserved() 528 static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int allowbbt) in nand_block_checkbad() 3659 static int nand_block_markbad(struct mtd_info *mtd, loff_t ofs) in nand_block_markbad()
|
| A D | omap_gpmc.c | 1272 loff_t ofs = block * CONFIG_SYS_NAND_BLOCK_SIZE; in nand_is_bad_block() local 1280 loff_t ofs = page_addr * CONFIG_SYS_NAND_PAGE_SIZE; in nand_read_page() local
|
| A D | mxs_nand.c | 981 static int mxs_nand_hook_block_markbad(struct mtd_info *mtd, loff_t ofs) in mxs_nand_hook_block_markbad() 1120 static int mxs_nand_block_bad(struct mtd_info *mtd, loff_t ofs) in mxs_nand_block_bad()
|
| A D | sand_nand.c | 699 loff_t ofs = ((loff_t)block << mtd->erasesize_shift) + in nand_read_page() local
|
| A D | mt7621_nand.c | 1067 static int mt7621_nfc_block_bad(struct mtd_info *mtd, loff_t ofs) in mt7621_nfc_block_bad()
|
| /drivers/ata/ |
| A D | libata.c | 45 unsigned int ofs, unsigned int len) in ata_id_string() 64 unsigned int ofs, unsigned int len) in ata_id_c_string()
|
| /drivers/mtd/ |
| A D | mtdpart.c | 459 static int part_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in part_lock() 464 static int part_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in part_unlock() 469 static int part_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) in part_is_locked() 491 static int part_block_isreserved(struct mtd_info *mtd, loff_t ofs) in part_block_isreserved() 497 static int part_block_isbad(struct mtd_info *mtd, loff_t ofs) in part_block_isbad() 503 static int part_block_markbad(struct mtd_info *mtd, loff_t ofs) in part_block_markbad()
|
| A D | altera_qspi.c | 66 loff_t ofs; in flash_print_info() local 231 static void altera_qspi_get_locked_range(struct mtd_info *mtd, loff_t *ofs, in altera_qspi_get_locked_range() 254 static int altera_qspi_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in altera_qspi_lock() 288 static int altera_qspi_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in altera_qspi_unlock()
|
| A D | mtdconcat.c | 496 static int concat_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_lock() 530 static int concat_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_unlock() 601 static int concat_block_isbad(struct mtd_info *mtd, loff_t ofs) in concat_block_isbad() 624 static int concat_block_markbad(struct mtd_info *mtd, loff_t ofs) in concat_block_markbad()
|
| A D | cfi_mtd.c | 107 static int cfi_mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in cfi_mtd_lock() 119 static int cfi_mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in cfi_mtd_unlock()
|
| A D | mtdcore.c | 1619 int mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in mtd_lock() 1631 int mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in mtd_unlock() 1643 int mtd_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) in mtd_is_locked() 1655 int mtd_block_isreserved(struct mtd_info *mtd, loff_t ofs) in mtd_block_isreserved() 1665 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_isbad() 1675 int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_markbad()
|
| /drivers/mtd/onenand/ |
| A D | onenand_base.c | 267 loff_t ofs = 0; in flexonenand_addr() local 1712 static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt) in onenand_block_isbad_nolock() 1867 int onenand_block_isbad(struct mtd_info *mtd, loff_t ofs) in onenand_block_isbad() 1889 static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs) in onenand_default_block_markbad() 1919 int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs) in onenand_block_markbad() 1948 static int onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs, size_t len, int cmd) in onenand_do_lock_cmd() 2025 static int onenand_lock(struct mtd_info *mtd, loff_t ofs, size_t len) in onenand_lock() 2043 static int onenand_unlock(struct mtd_info *mtd, loff_t ofs, size_t len) in onenand_unlock() 2096 loff_t ofs = 0; in onenand_unlock_all() local 2311 loff_t ofs; in flexonenand_get_size() local
|
| A D | samsung.c | 464 static void s3c_onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs, in s3c_onenand_do_lock_cmd() 489 loff_t ofs = 0; in s3c_onenand_unlock_all() local
|
| /drivers/mtd/spi/ |
| A D | spi-nor-core.c | 1291 static void stm_get_locked_range(struct spi_nor *nor, u8 sr, loff_t *ofs, in stm_get_locked_range() 1317 static int stm_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, u64 len, in stm_check_lock_status_sr() 1336 static int stm_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_locked_sr() 1342 static int stm_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_unlocked_sr() 1380 static int stm_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_lock() 1460 static int stm_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_unlock() 1545 static int stm_is_unlocked(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_is_unlocked() 1728 static int sst26_lock_ctl(struct spi_nor *nor, loff_t ofs, uint64_t len, enum lock_ctl ctl) in sst26_lock_ctl() 1835 static int sst26_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26_unlock() 1840 static int sst26_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26_lock() [all …]
|
| /drivers/soc/ti/ |
| A D | keystone_serdes.c | 37 u32 ofs; member
|