sh_flctl
struct sh_flctl *flctl = dev_id;
struct sh_flctl *flctl;
flctl = devm_kzalloc(&pdev->dev, sizeof(struct sh_flctl), GFP_KERNEL);
static void empty_fifo(struct sh_flctl *flctl)
static void start_translation(struct sh_flctl *flctl)
struct sh_flctl *flctl = platform_get_drvdata(pdev);
static void timeout_error(struct sh_flctl *flctl, const char *str)
static void wait_completion(struct sh_flctl *flctl)
struct sh_flctl *flctl = param;
static void flctl_release_dma(struct sh_flctl *flctl)
static void flctl_setup_dma(struct sh_flctl *flctl)
struct sh_flctl *flctl = mtd_to_flctl(mtd);
static void wait_rfifo_ready(struct sh_flctl *flctl)
static void wait_wfifo_ready(struct sh_flctl *flctl)
(struct sh_flctl *flctl, int sector_number)
static void wait_wecfifo_ready(struct sh_flctl *flctl)
static int flctl_dma_fifo0_transfer(struct sh_flctl *flctl, unsigned long *buf,
static void read_datareg(struct sh_flctl *flctl, int offset)
static void read_fiforeg(struct sh_flctl *flctl, int rlen, int offset)
(struct sh_flctl *flctl, uint8_t *buff, int sector)
static void write_fiforeg(struct sh_flctl *flctl, int rlen,
static void write_ec_fiforeg(struct sh_flctl *flctl, int rlen,
struct sh_flctl *flctl = mtd_to_flctl(mtd);
struct sh_flctl *flctl = mtd_to_flctl(mtd);
struct sh_flctl *flctl = mtd_to_flctl(mtd);
struct sh_flctl *flctl = mtd_to_flctl(mtd);
struct sh_flctl *flctl = mtd_to_flctl(mtd);
struct sh_flctl *flctl = mtd_to_flctl(mtd);
struct sh_flctl *flctl = mtd_to_flctl(nand_to_mtd(chip));
struct sh_flctl *flctl = mtd_to_flctl(nand_to_mtd(chip));
struct sh_flctl *flctl = mtd_to_flctl(nand_to_mtd(chip));
struct sh_flctl *flctl = mtd_to_flctl(nand_to_mtd(chip));
struct sh_flctl *flctl = mtd_to_flctl(mtd);
static inline struct sh_flctl *mtd_to_flctl(struct mtd_info *mtdinfo)
return container_of(mtd_to_nand(mtdinfo), struct sh_flctl, chip);