Lines Matching refs:sh_flctl
29 #include <linux/mtd/sh_flctl.h>
114 static void empty_fifo(struct sh_flctl *flctl)
120 static void start_translation(struct sh_flctl *flctl)
125 static void timeout_error(struct sh_flctl *flctl, const char *str)
130 static void wait_completion(struct sh_flctl *flctl)
148 struct sh_flctl *flctl = param;
153 static void flctl_release_dma(struct sh_flctl *flctl)
165 static void flctl_setup_dma(struct sh_flctl *flctl)
224 struct sh_flctl *flctl = mtd_to_flctl(mtd);
253 static void wait_rfifo_ready(struct sh_flctl *flctl)
268 static void wait_wfifo_ready(struct sh_flctl *flctl)
283 (struct sh_flctl *flctl, int sector_number)
362 static void wait_wecfifo_ready(struct sh_flctl *flctl)
377 static int flctl_dma_fifo0_transfer(struct sh_flctl *flctl, unsigned long *buf,
449 static void read_datareg(struct sh_flctl *flctl, int offset)
460 static void read_fiforeg(struct sh_flctl *flctl, int rlen, int offset)
484 (struct sh_flctl *flctl, uint8_t *buff, int sector)
502 static void write_fiforeg(struct sh_flctl *flctl, int rlen,
515 static void write_ec_fiforeg(struct sh_flctl *flctl, int rlen,
540 struct sh_flctl *flctl = mtd_to_flctl(mtd);
623 struct sh_flctl *flctl = mtd_to_flctl(mtd);
672 struct sh_flctl *flctl = mtd_to_flctl(mtd);
693 struct sh_flctl *flctl = mtd_to_flctl(mtd);
719 struct sh_flctl *flctl = mtd_to_flctl(mtd);
743 struct sh_flctl *flctl = mtd_to_flctl(mtd);
918 struct sh_flctl *flctl = mtd_to_flctl(nand_to_mtd(chip));
962 struct sh_flctl *flctl = mtd_to_flctl(nand_to_mtd(chip));
970 struct sh_flctl *flctl = mtd_to_flctl(nand_to_mtd(chip));
980 struct sh_flctl *flctl = mtd_to_flctl(nand_to_mtd(chip));
990 struct sh_flctl *flctl = mtd_to_flctl(mtd);
1061 struct sh_flctl *flctl = dev_id;
1115 struct sh_flctl *flctl;
1122 flctl = devm_kzalloc(&pdev->dev, sizeof(struct sh_flctl), GFP_KERNEL);
1206 struct sh_flctl *flctl = platform_get_drvdata(pdev);
1221 .name = "sh_flctl",
1231 MODULE_ALIAS("platform:sh_flctl");