Home
last modified time | relevance | path

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

/linux/drivers/mtd/
A Dsm_ftl.c665 0, ftl->cis_block, ftl->cis_boffset, ftl->cis_buffer, &oob)) in sm_read_cis()
671 if (!memcmp(ftl->cis_buffer + ftl->cis_page_offset, in sm_read_cis()
978 ftl->cache_block, ftl->cache_data_invalid_bitmap)) in sm_cache_flush()
996 struct sm_ftl *ftl = from_timer(ftl, t, timer); in sm_cache_flush_timer() local
1139 if (!ftl) in sm_add_mtd()
1166 ftl->cache_data = kzalloc(ftl->block_size, GFP_KERNEL); in sm_add_mtd()
1185 trans->size = (ftl->block_size * ftl->max_lba * ftl->zone_count) >> 9; in sm_add_mtd()
1203 ftl->zone_count, ftl->max_lba, in sm_add_mtd()
1204 ftl->zone_size - ftl->max_lba); in sm_add_mtd()
1224 kfree(ftl); in sm_add_mtd()
[all …]
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);
A DMakefile16 obj-$(CONFIG_FTL) += ftl.o
/linux/drivers/mtd/parsers/
A Dsharpslpart.c182 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()
214 phymax, ftl->logmax, phymax - ftl->logmax); in sharpsl_nand_init_ftl()
224 kfree(ftl->log2phy); in sharpsl_nand_cleanup_ftl()
231 struct sharpsl_ftl *ftl) in sharpsl_nand_read_laddr() argument
329 struct sharpsl_ftl ftl; in sharpsl_parse_mtd_partitions() local
348 sizeof(buf), buf, &ftl); in sharpsl_parse_mtd_partitions()
354 sizeof(buf), buf, &ftl); in sharpsl_parse_mtd_partitions()
[all …]
/linux/drivers/spi/
A Dspi-rockchip.c318 u32 ftl = readl_relaxed(rs->regs + ROCKCHIP_SPI_RXFTLR) + 1; in rockchip_spi_pio_reader() local
320 if (rx_left < ftl) { in rockchip_spi_pio_reader()
321 rx_left = ftl; in rockchip_spi_pio_reader()

Completed in 21 milliseconds