Home
last modified time | relevance | path

Searched defs:mtd (Results 51 – 75 of 116) sorted by relevance

12345

/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dzynq_nand.c312 static int zynq_nand_calculate_hwecc(struct mtd_info *mtd, const u8 *data, in zynq_nand_calculate_hwecc()
379 static int zynq_nand_correct_data(struct mtd_info *mtd, unsigned char *buf, in zynq_nand_correct_data()
423 static int zynq_nand_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in zynq_nand_read_oob()
450 static int zynq_nand_write_oob(struct mtd_info *mtd, struct nand_chip *chip, in zynq_nand_write_oob()
483 static int zynq_nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in zynq_nand_read_page_raw()
504 static int zynq_nand_read_page_raw_nooob(struct mtd_info *mtd, in zynq_nand_read_page_raw_nooob()
511 static int zynq_nand_read_subpage_raw(struct mtd_info *mtd, in zynq_nand_read_subpage_raw()
531 static int zynq_nand_write_page_raw(struct mtd_info *mtd, in zynq_nand_write_page_raw()
563 static int zynq_nand_write_page_hwecc(struct mtd_info *mtd, in zynq_nand_write_page_hwecc()
621 static int zynq_nand_write_page_swecc(struct mtd_info *mtd, in zynq_nand_write_page_swecc()
[all …]
H A Domap_gpmc.c58 static void omap_nand_hwcontrol(struct mtd_info *mtd, int32_t cmd, in omap_nand_hwcontrol()
86 static int omap_dev_ready(struct mtd_info *mtd) in omap_dev_ready()
121 static int __maybe_unused omap_correct_data(struct mtd_info *mtd, uint8_t *dat, in omap_correct_data()
178 static void omap_enable_hwecc(struct mtd_info *mtd, int32_t mode) in omap_enable_hwecc()
262 static int omap_calculate_ecc(struct mtd_info *mtd, const uint8_t *dat, in omap_calculate_ecc()
419 static inline void omap_nand_read(struct mtd_info *mtd, uint8_t *buf, int len) in omap_nand_read()
429 static void omap_nand_read_prefetch(struct mtd_info *mtd, uint8_t *buf, int len) in omap_nand_read_prefetch()
492 static int omap_correct_data_bch(struct mtd_info *mtd, uint8_t *dat, in omap_correct_data_bch()
584 static int omap_read_page_bch(struct mtd_info *mtd, struct nand_chip *chip, in omap_read_page_bch()
650 static int omap_correct_data_bch_sw(struct mtd_info *mtd, u_char *data, in omap_correct_data_bch_sw()
[all …]
H A Darasan_nfc.c265 static void arasan_nand_select_chip(struct mtd_info *mtd, int chip) in arasan_nand_select_chip()
289 static u8 arasan_nand_get_addrcycle(struct mtd_info *mtd) in arasan_nand_get_addrcycle()
324 static int arasan_nand_read_page(struct mtd_info *mtd, u8 *buf, u32 size) in arasan_nand_read_page()
446 static int arasan_nand_read_page_hwecc(struct mtd_info *mtd, in arasan_nand_read_page_hwecc()
499 static int arasan_nand_write_page_hwecc(struct mtd_info *mtd, in arasan_nand_write_page_hwecc()
603 static int arasan_nand_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in arasan_nand_read_oob()
612 static int arasan_nand_write_oob(struct mtd_info *mtd, struct nand_chip *chip, in arasan_nand_write_oob()
658 static u8 arasan_nand_page(struct mtd_info *mtd) in arasan_nand_page()
690 int column, int page_addr, struct mtd_info *mtd) in arasan_nand_send_wrcmd()
733 static void arasan_nand_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in arasan_nand_write_buf()
[all …]
H A Dsunxi_nand.c380 static int sunxi_nfc_dev_ready(struct mtd_info *mtd) in sunxi_nfc_dev_ready()
418 static void sunxi_nfc_select_chip(struct mtd_info *mtd, int chip) in sunxi_nfc_select_chip()
463 static void sunxi_nfc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in sunxi_nfc_read_buf()
495 static void sunxi_nfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, in sunxi_nfc_write_buf()
527 static uint8_t sunxi_nfc_read_byte(struct mtd_info *mtd) in sunxi_nfc_read_byte()
536 static void sunxi_nfc_cmd_ctrl(struct mtd_info *mtd, int dat, in sunxi_nfc_cmd_ctrl()
685 static u16 sunxi_nfc_randomizer_state(struct mtd_info *mtd, int page, bool ecc) in sunxi_nfc_randomizer_state()
703 static void sunxi_nfc_randomizer_config(struct mtd_info *mtd, in sunxi_nfc_randomizer_config()
720 static void sunxi_nfc_randomizer_enable(struct mtd_info *mtd) in sunxi_nfc_randomizer_enable()
732 static void sunxi_nfc_randomizer_disable(struct mtd_info *mtd) in sunxi_nfc_randomizer_disable()
[all …]
H A Dlpc32xx_nand_mlc.c159 static void lpc32xx_cmd_ctrl(struct mtd_info *mtd, int cmd, in lpc32xx_cmd_ctrl()
176 static uint8_t lpc32xx_read_byte(struct mtd_info *mtd) in lpc32xx_read_byte()
187 static int lpc32xx_dev_ready(struct mtd_info *mtd) in lpc32xx_dev_ready()
234 static int lpc32xx_read_page_hwecc(struct mtd_info *mtd, in lpc32xx_read_page_hwecc()
282 static int lpc32xx_read_page_raw(struct mtd_info *mtd, in lpc32xx_read_page_raw()
331 static int lpc32xx_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in lpc32xx_read_oob()
384 static int lpc32xx_write_page_hwecc(struct mtd_info *mtd, in lpc32xx_write_page_hwecc()
442 static int lpc32xx_write_page_raw(struct mtd_info *mtd, in lpc32xx_write_page_raw()
478 static int lpc32xx_write_oob(struct mtd_info *mtd, struct nand_chip *chip, in lpc32xx_write_oob()
514 static int lpc32xx_waitfunc(struct mtd_info *mtd, struct nand_chip *chip) in lpc32xx_waitfunc()
[all …]
H A Dnand_plat.c26 static void plat_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in plat_cmd_ctrl()
40 static int plat_dev_ready(struct mtd_info *mtd) in plat_dev_ready()
H A Dnand_bch.c41 int nand_bch_calculate_ecc(struct mtd_info *mtd, const unsigned char *buf, in nand_bch_calculate_ecc()
67 int nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf, in nand_bch_correct_data()
110 struct nand_bch_control *nand_bch_init(struct mtd_info *mtd) in nand_bch_init()
H A Dkb9202_nand.c36 static void kb9202_nand_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) in kb9202_nand_hwcontrol()
68 static int kb9202_nand_ready(struct mtd_info *mtd) in kb9202_nand_ready()
H A Dpxa3xx_nand.c490 struct mtd_info *mtd = nand_to_mtd(&host->chip); in pxa3xx_nand_init_timings() local
793 struct mtd_info *mtd = nand_to_mtd(&host->chip); in prepare_start_command() local
843 struct mtd_info *mtd; in prepare_set_command() local
1033 static void nand_cmdfunc(struct mtd_info *mtd, unsigned command, in nand_cmdfunc()
1093 static void nand_cmdfunc_extended(struct mtd_info *mtd, in nand_cmdfunc_extended()
1225 static int pxa3xx_nand_write_page_hwecc(struct mtd_info *mtd, in pxa3xx_nand_write_page_hwecc()
1235 static int pxa3xx_nand_read_page_hwecc(struct mtd_info *mtd, in pxa3xx_nand_read_page_hwecc()
1282 static int pxa3xx_nand_read_page_raw(struct mtd_info *mtd, in pxa3xx_nand_read_page_raw()
1335 static int pxa3xx_nand_read_oob_raw(struct mtd_info *mtd, in pxa3xx_nand_read_oob_raw()
1345 static uint8_t pxa3xx_nand_read_byte(struct mtd_info *mtd) in pxa3xx_nand_read_byte()
[all …]
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffs_mtdif2.c44 struct mtd_info *mtd = yaffs_dev_to_mtd(dev); in nandmtd2_write_chunk_tags() local
97 struct mtd_info *mtd = yaffs_dev_to_mtd(dev); in nandmtd2_read_chunk_tags() local
175 struct mtd_info *mtd = (struct mtd_info *)(dev->driver_context); in nandmtd2_MarkNANDBlockBad() local
196 struct mtd_info *mtd = (struct mtd_info *)(dev->driver_context); in nandmtd2_QueryNANDBlock() local
H A Dyaffs_mtdif.c65 struct mtd_info *mtd = (struct mtd_info *)(dev->driver_context); in nandmtd_WriteChunkToNAND() local
100 struct mtd_info *mtd = (struct mtd_info *)(dev->driver_context); in nandmtd_ReadChunkFromNAND() local
136 struct mtd_info *mtd = (struct mtd_info *)(dev->driver_context); in nandmtd_EraseBlockInNAND() local
/rk3399_rockchip-uboot/drivers/mtd/nand/spi/
H A Dsilicongo.c33 static int sgm7000i_ooblayout_ecc(struct mtd_info *mtd, int section, in sgm7000i_ooblayout_ecc()
39 static int sgm7000i_ooblayout_free(struct mtd_info *mtd, int section, in sgm7000i_ooblayout_free()
H A Dhiksemi.c33 static int hsesyhdswxg_ooblayout_ecc(struct mtd_info *mtd, int section, in hsesyhdswxg_ooblayout_ecc()
45 static int hsesyhdswxg_ooblayout_free(struct mtd_info *mtd, int section, in hsesyhdswxg_ooblayout_free()
H A Dzbit.c33 static int zb35q01b_ooblayout_ecc(struct mtd_info *mtd, int section, in zb35q01b_ooblayout_ecc()
39 static int zb35q01b_ooblayout_free(struct mtd_info *mtd, int section, in zb35q01b_ooblayout_free()
H A Dxincun.c34 static int xcsp2aapk_ooblayout_ecc(struct mtd_info *mtd, int section, in xcsp2aapk_ooblayout_ecc()
46 static int xcsp2aapk_ooblayout_free(struct mtd_info *mtd, int section, in xcsp2aapk_ooblayout_free()
H A Djsc.c33 static int js28u1gqscahg_ooblayout_ecc(struct mtd_info *mtd, int section, in js28u1gqscahg_ooblayout_ecc()
45 static int js28u1gqscahg_ooblayout_free(struct mtd_info *mtd, int section, in js28u1gqscahg_ooblayout_free()
H A Dkingston.c33 static int spi004_sdeg_ooblayout_ecc(struct mtd_info *mtd, int section, in spi004_sdeg_ooblayout_ecc()
45 static int spi004_sdeg_ooblayout_free(struct mtd_info *mtd, int section, in spi004_sdeg_ooblayout_free()
H A Dbiwin.c33 static int bwjx08k_ooblayout_ecc(struct mtd_info *mtd, int section, in bwjx08k_ooblayout_ecc()
45 static int bwjx08k_ooblayout_free(struct mtd_info *mtd, int section, in bwjx08k_ooblayout_free()
H A Dskyhigh.c37 static int s35ml04g3_ooblayout_ecc(struct mtd_info *mtd, int section, in s35ml04g3_ooblayout_ecc()
43 static int s35ml04g3_ooblayout_free(struct mtd_info *mtd, int section, in s35ml04g3_ooblayout_free()
H A Dtoshiba.c31 static int tc58cxgxsx_ooblayout_ecc(struct mtd_info *mtd, int section, in tc58cxgxsx_ooblayout_ecc()
43 static int tc58cxgxsx_ooblayout_free(struct mtd_info *mtd, int section, in tc58cxgxsx_ooblayout_free()
H A Dcore.c243 struct mtd_info *mtd = nanddev_to_mtd(nand); in spinand_read_from_cache_op() local
323 struct mtd_info *mtd = nanddev_to_mtd(nand); in spinand_write_to_cache_op() local
584 static int spinand_mtd_read(struct mtd_info *mtd, loff_t from, in spinand_mtd_read()
656 static int spinand_mtd_write(struct mtd_info *mtd, loff_t to, in spinand_mtd_write()
716 static int spinand_mtd_block_isbad(struct mtd_info *mtd, loff_t offs) in spinand_mtd_block_isbad()
760 static int spinand_mtd_block_markbad(struct mtd_info *mtd, loff_t offs) in spinand_mtd_block_markbad()
805 static int spinand_mtd_erase(struct mtd_info *mtd, in spinand_mtd_erase()
824 static int spinand_mtd_block_isreserved(struct mtd_info *mtd, loff_t offs) in spinand_mtd_block_isreserved()
1142 static int spinand_noecc_ooblayout_ecc(struct mtd_info *mtd, int section, in spinand_noecc_ooblayout_ecc()
1148 static int spinand_noecc_ooblayout_free(struct mtd_info *mtd, int section, in spinand_noecc_ooblayout_free()
[all …]
H A Dmacronix.c31 static int mx35lfxge4ab_ooblayout_ecc(struct mtd_info *mtd, int section, in mx35lfxge4ab_ooblayout_ecc()
37 static int mx35lfxge4ab_ooblayout_free(struct mtd_info *mtd, int section, in mx35lfxge4ab_ooblayout_free()
/rk3399_rockchip-uboot/board/micronas/vct/
H A Debi_onenand.c125 static inline int onenand_bufferram_offset(struct mtd_info *mtd, int area) in onenand_bufferram_offset()
139 static int ebi_read_bufferram(struct mtd_info *mtd, loff_t addr, int area, in ebi_read_bufferram()
157 static int ebi_write_bufferram(struct mtd_info *mtd, loff_t addr, int area, in ebi_write_bufferram()
172 int onenand_board_init(struct mtd_info *mtd) in onenand_board_init()
/rk3399_rockchip-uboot/drivers/mtd/nand/
H A Dcore.c65 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_markbad() local
155 int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo) in nanddev_mtd_erase()
192 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_init() local
/rk3399_rockchip-uboot/board/synopsys/axs10x/
H A Dnand.c102 static void axs101_nand_write_buf(struct mtd_info *mtd, const u_char *buf, in axs101_nand_write_buf()
137 static void axs101_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in axs101_nand_read_buf()
169 static u_char axs101_nand_read_byte(struct mtd_info *mtd) in axs101_nand_read_byte()
181 static u16 axs101_nand_read_word(struct mtd_info *mtd) in axs101_nand_read_word()

12345