| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | nand_bch.c | 41 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 D | nand_plat.c | 26 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()
|
| /OK3568_Linux_fs/u-boot/board/synopsys/axs10x/ |
| H A D | nand.c | 102 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()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/parsers/ |
| H A D | afs.c | 78 static bool afs_is_v1(struct mtd_info *mtd, u_int off) in afs_is_v1() 98 static bool afs_is_v2(struct mtd_info *mtd, u_int off) in afs_is_v2() 119 static int afs_parse_v1_partition(struct mtd_info *mtd, in afs_parse_v1_partition() 216 static int afs_parse_v2_partition(struct mtd_info *mtd, in afs_parse_v2_partition() 323 static int parse_afs_partitions(struct mtd_info *mtd, in parse_afs_partitions()
|
| H A D | sharpslpart.c | 70 static int sharpsl_nand_check_ooblayout(struct mtd_info *mtd) in sharpsl_nand_check_ooblayout() 98 static int sharpsl_nand_read_oob(struct mtd_info *mtd, loff_t offs, u8 *buf) in sharpsl_nand_read_oob() 166 static int sharpsl_nand_init_ftl(struct mtd_info *mtd, struct sharpsl_ftl *ftl) in sharpsl_nand_init_ftl() 227 static int sharpsl_nand_read_laddr(struct mtd_info *mtd, in sharpsl_nand_read_laddr()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | davinci_nand.c | 65 static inline struct davinci_nand_info *to_davinci_nand(struct mtd_info *mtd) in to_davinci_nand() 88 static inline uint32_t nand_davinci_readecc_1bit(struct mtd_info *mtd) in nand_davinci_readecc_1bit() 389 struct mtd_info *mtd = nand_to_mtd(chip); in nand_davinci_read_page_hwecc_oob_first() local 447 static int hwecc4_ooblayout_small_ecc(struct mtd_info *mtd, int section, in hwecc4_ooblayout_small_ecc() 467 static int hwecc4_ooblayout_small_free(struct mtd_info *mtd, int section, in hwecc4_ooblayout_small_free() 576 struct mtd_info *mtd = nand_to_mtd(chip); in davinci_nand_attach_chip() local 786 struct mtd_info *mtd; in nand_davinci_probe() local
|
| H A D | lpc32xx_mlc.c | 131 static int lpc32xx_ooblayout_ecc(struct mtd_info *mtd, int section, in lpc32xx_ooblayout_ecc() 145 static int lpc32xx_ooblayout_free(struct mtd_info *mtd, int section, in lpc32xx_ooblayout_free() 323 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_waitfunc_nand() local 343 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_waitfunc_controller() local 392 static int lpc32xx_xmit_dma(struct mtd_info *mtd, void *mem, int len, in lpc32xx_xmit_dma() 437 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_read_page() local 504 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_write_page_lowlevel() local 574 struct mtd_info *mtd = nand_to_mtd(&host->nand_chip); in lpc32xx_dma_setup() local 647 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_attach_chip() local 689 struct mtd_info *mtd; in lpc32xx_nand_probe() local
|
| H A D | nand_samsung.c | 15 struct mtd_info *mtd = nand_to_mtd(chip); in samsung_nand_decode_id() local 123 struct mtd_info *mtd = nand_to_mtd(chip); in samsung_nand_init() local
|
| H A D | tegra_nand.c | 200 static int tegra_nand_ooblayout_rs_ecc(struct mtd_info *mtd, int section, in tegra_nand_ooblayout_rs_ecc() 216 static int tegra_nand_ooblayout_no_free(struct mtd_info *mtd, int section, in tegra_nand_ooblayout_no_free() 227 static int tegra_nand_ooblayout_bch_ecc(struct mtd_info *mtd, int section, in tegra_nand_ooblayout_bch_ecc() 493 static int tegra_nand_page_xfer(struct mtd_info *mtd, struct nand_chip *chip, in tegra_nand_page_xfer() 619 struct mtd_info *mtd = nand_to_mtd(chip); in tegra_nand_read_page_raw() local 629 struct mtd_info *mtd = nand_to_mtd(chip); in tegra_nand_write_page_raw() local 638 struct mtd_info *mtd = nand_to_mtd(chip); in tegra_nand_read_oob() local 646 struct mtd_info *mtd = nand_to_mtd(chip); in tegra_nand_write_oob() local 655 struct mtd_info *mtd = nand_to_mtd(chip); in tegra_nand_read_page_hwecc() local 765 struct mtd_info *mtd = nand_to_mtd(chip); in tegra_nand_write_page_hwecc() local [all …]
|
| H A D | tango_nand.c | 198 struct mtd_info *mtd = nand_to_mtd(chip); in check_erased_page() local 226 struct mtd_info *mtd = nand_to_mtd(chip); in decode_error_report() local 299 struct mtd_info *mtd = nand_to_mtd(chip); in tango_read_page() local 323 struct mtd_info *mtd = nand_to_mtd(chip); in tango_write_page() local 402 struct mtd_info *mtd = nand_to_mtd(chip); in raw_read() local 429 struct mtd_info *mtd = nand_to_mtd(chip); in raw_write() local 488 static int oob_ecc(struct mtd_info *mtd, int idx, struct mtd_oob_region *res) in oob_ecc() 502 static int oob_free(struct mtd_info *mtd, int idx, struct mtd_oob_region *res) in oob_free() 576 struct mtd_info *mtd; in chip_init() local
|
| /OK3568_Linux_fs/kernel/drivers/mtd/devices/ |
| H A D | mtd_dataflash.c | 96 struct mtd_info mtd; member 148 static int dataflash_erase(struct mtd_info *mtd, struct erase_info *instr) in dataflash_erase() 229 static int dataflash_read(struct mtd_info *mtd, loff_t from, size_t len, in dataflash_read() 293 static int dataflash_write(struct mtd_info *mtd, loff_t to, size_t len, in dataflash_write() 436 static int dataflash_get_otp_info(struct mtd_info *mtd, size_t len, in dataflash_get_otp_info() 495 static int dataflash_read_fact_otp(struct mtd_info *mtd, in dataflash_read_fact_otp() 512 static int dataflash_read_user_otp(struct mtd_info *mtd, in dataflash_read_user_otp() 529 static int dataflash_write_user_otp(struct mtd_info *mtd, in dataflash_write_user_otp()
|
| H A D | block2mtd.c | 38 struct mtd_info mtd; member 84 static int block2mtd_erase(struct mtd_info *mtd, struct erase_info *instr) in block2mtd_erase() 101 static int block2mtd_read(struct mtd_info *mtd, loff_t from, size_t len, in block2mtd_read() 175 static int block2mtd_write(struct mtd_info *mtd, loff_t to, size_t len, in block2mtd_write() 191 static void block2mtd_sync(struct mtd_info *mtd) in block2mtd_sync()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/brcmnand/ |
| H A D | brcmnand.c | 1018 static void brcmnand_wp(struct mtd_info *mtd, int wp) in brcmnand_wp() 1213 static void brcmnand_cmd_ctrl(struct mtd_info *mtd, int dat, in brcmnand_cmd_ctrl() 1219 static int brcmnand_waitfunc(struct mtd_info *mtd, struct nand_chip *this) in brcmnand_waitfunc() 1268 struct mtd_info *mtd = nand_to_mtd(&host->chip); in brcmnand_low_level_op() local 1304 static void brcmnand_cmdfunc(struct mtd_info *mtd, unsigned command, in brcmnand_cmdfunc() 1419 static uint8_t brcmnand_read_byte(struct mtd_info *mtd) in brcmnand_read_byte() 1476 static void brcmnand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in brcmnand_read_buf() 1484 static void brcmnand_write_buf(struct mtd_info *mtd, const uint8_t *buf, in brcmnand_write_buf() 1597 static int brcmnand_read_by_pio(struct mtd_info *mtd, struct nand_chip *chip, in brcmnand_read_by_pio() 1675 static int brcmstb_nand_verify_erased_page(struct mtd_info *mtd, in brcmstb_nand_verify_erased_page() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | ssfdc.c | 103 static int get_valid_cis_sector(struct mtd_info *mtd) in get_valid_cis_sector() 149 static int read_physical_sector(struct mtd_info *mtd, uint8_t *sect_buf, in read_physical_sector() 164 static int read_raw_oob(struct mtd_info *mtd, loff_t offs, uint8_t *buf) in read_raw_oob() 245 struct mtd_info *mtd = ssfdc->mbd.mtd; in build_logical_block_map() local 284 static void ssfdcr_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in ssfdcr_add_mtd()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/spi/ |
| H A D | foresee.c | 33 static int fsxxndxxg_ooblayout_ecc(struct mtd_info *mtd, int section, in fsxxndxxg_ooblayout_ecc() 39 static int fsxxndxxg_ooblayout_free(struct mtd_info *mtd, int section, in fsxxndxxg_ooblayout_free()
|
| H A D | silicongo.c | 33 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 D | gsto.c | 33 static int gss0xgsak1_ooblayout_ecc(struct mtd_info *mtd, int section, in gss0xgsak1_ooblayout_ecc() 45 static int gss0xgsak1_ooblayout_free(struct mtd_info *mtd, int section, in gss0xgsak1_ooblayout_free()
|
| H A D | esmt.c | 33 static int f50lxx41x_ooblayout_ecc(struct mtd_info *mtd, int section, in f50lxx41x_ooblayout_ecc() 45 static int f50lxx41x_ooblayout_free(struct mtd_info *mtd, int section, in f50lxx41x_ooblayout_free()
|
| H A D | etron.c | 30 static int em73c044vcf_oh_ooblayout_ecc(struct mtd_info *mtd, int section, in em73c044vcf_oh_ooblayout_ecc() 42 static int em73c044vcf_oh_ooblayout_free(struct mtd_info *mtd, int section, in em73c044vcf_oh_ooblayout_free()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/spi/ |
| H A D | esmt.c | 31 static int f50lxx41x_ooblayout_ecc(struct mtd_info *mtd, int section, in f50lxx41x_ooblayout_ecc() 43 static int f50lxx41x_ooblayout_free(struct mtd_info *mtd, int section, in f50lxx41x_ooblayout_free()
|
| H A D | gsto.c | 31 static int gss0xgsak1_ooblayout_ecc(struct mtd_info *mtd, int section, in gss0xgsak1_ooblayout_ecc() 43 static int gss0xgsak1_ooblayout_free(struct mtd_info *mtd, int section, in gss0xgsak1_ooblayout_free()
|
| H A D | silicongo.c | 31 static int sgm7000i_ooblayout_ecc(struct mtd_info *mtd, int section, in sgm7000i_ooblayout_ecc() 37 static int sgm7000i_ooblayout_free(struct mtd_info *mtd, int section, in sgm7000i_ooblayout_free()
|
| H A D | foresee.c | 31 static int fsxxndxxg_ooblayout_ecc(struct mtd_info *mtd, int section, in fsxxndxxg_ooblayout_ecc() 37 static int fsxxndxxg_ooblayout_free(struct mtd_info *mtd, int section, in fsxxndxxg_ooblayout_free()
|
| H A D | etron.c | 28 static int em73c044vcf_oh_ooblayout_ecc(struct mtd_info *mtd, int section, in em73c044vcf_oh_ooblayout_ecc() 40 static int em73c044vcf_oh_ooblayout_free(struct mtd_info *mtd, int section, in em73c044vcf_oh_ooblayout_free()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/spi/ |
| H A D | sf_probe.c | 105 struct mtd_info *mtd = &flash->mtd; in spi_flash_std_read() local 115 struct mtd_info *mtd = &flash->mtd; in spi_flash_std_write() local 124 struct mtd_info *mtd = &flash->mtd; in spi_flash_std_erase() local
|