Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dsm_ftl.c54 static struct attribute_group *sm_create_sysfs_attributes(struct sm_ftl *ftl) in sm_create_sysfs_attributes() argument
61 vendor = kstrndup(ftl->cis_buffer + SM_CIS_VENDOR_OFFSET, in sm_create_sysfs_attributes()
104 static void sm_delete_sysfs_attributes(struct sm_ftl *ftl) in sm_delete_sysfs_attributes() argument
106 struct attribute **attributes = ftl->disk_attributes->attrs; in sm_delete_sysfs_attributes()
122 kfree(ftl->disk_attributes->attrs); in sm_delete_sysfs_attributes()
123 kfree(ftl->disk_attributes); in sm_delete_sysfs_attributes()
192 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset() argument
195 WARN_ON(zone < 0 || zone >= ftl->zone_count); in sm_mkoffset()
196 WARN_ON(block >= ftl->zone_size); in sm_mkoffset()
197 WARN_ON(boffset >= ftl->block_size); in sm_mkoffset()
[all …]
H A Dsm_ftl.h83 static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block,
85 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone_num, int block);
87 static int sm_recheck_media(struct sm_ftl *ftl);
H A DMakefile16 obj-$(CONFIG_FTL) += ftl.o
/OK3568_Linux_fs/kernel/drivers/mtd/parsers/
H A Dsharpslpart.c166 static int sharpsl_nand_init_ftl(struct mtd_info *mtd, struct sharpsl_ftl *ftl) in sharpsl_nand_init_ftl() argument
180 ftl->logmax = ((phymax * 95) / 100) - 1; in sharpsl_nand_init_ftl()
182 ftl->log2phy = kmalloc_array(ftl->logmax, sizeof(*ftl->log2phy), in sharpsl_nand_init_ftl()
184 if (!ftl->log2phy) { in sharpsl_nand_init_ftl()
190 for (i = 0; i < ftl->logmax; i++) in sharpsl_nand_init_ftl()
191 ftl->log2phy[i] = UINT_MAX; in sharpsl_nand_init_ftl()
207 if (log_num > 0 && log_num < ftl->logmax) { in sharpsl_nand_init_ftl()
208 if (ftl->log2phy[log_num] == UINT_MAX) in sharpsl_nand_init_ftl()
209 ftl->log2phy[log_num] = block_num; in sharpsl_nand_init_ftl()
214 phymax, ftl->logmax, phymax - ftl->logmax); in sharpsl_nand_init_ftl()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/
H A Dimap-2007e-shared.patch57 -osdep.o:mail.h misc.h env.h fs.h ftl.h nl.h tcp.h \
58 +OSDEPS= mail.h misc.h env.h fs.h ftl.h nl.h tcp.h \
62 @@ -910,12 +919,19 @@ osdep.o:mail.h misc.h env.h fs.h ftl.h n
/OK3568_Linux_fs/rkbin/doc/release/
H A DRK3308_CN.md65 1. 校验 ftl super block 2nd page spare data。
H A DRK3308_EN.md65 1. Check ftl super block 2nd page spare data.
/OK3568_Linux_fs/u-boot/drivers/rknand/
H A DKconfig13 It supports block interface(with rk ftl) to read and write NAND FLASH.
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/openssl/include/openssl/
H A Dbn.h837 BN_ULONG *ftl; \
841 for (ftl= &((a)->d[tmp_top-1]); tmp_top > 0; tmp_top--) \
842 if (*(ftl--)) break; \
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/mtd/
H A Dmtd-utils_git.bb68 FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}…
/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-rockchip.c367 u32 ftl = readl_relaxed(rs->regs + ROCKCHIP_SPI_RXFTLR) + 1; in rockchip_spi_pio_reader() local
369 if (rx_left < ftl) { in rockchip_spi_pio_reader()
370 rx_left = ftl; in rockchip_spi_pio_reader()
/OK3568_Linux_fs/u-boot/common/spl/
H A DKconfig707 It supports block interface(with rk ftl) to read and write NAND FLASH.