Lines Matching refs:sh_flctl
84 static void empty_fifo(struct sh_flctl *flctl) in empty_fifo()
90 static void start_translation(struct sh_flctl *flctl) in start_translation()
95 static void timeout_error(struct sh_flctl *flctl, const char *str) in timeout_error()
100 static void wait_completion(struct sh_flctl *flctl) in wait_completion()
118 struct sh_flctl *flctl = param; in flctl_dma_complete()
123 static void flctl_release_dma(struct sh_flctl *flctl) in flctl_release_dma()
135 static void flctl_setup_dma(struct sh_flctl *flctl) in flctl_setup_dma()
194 struct sh_flctl *flctl = mtd_to_flctl(mtd); in set_addr()
223 static void wait_rfifo_ready(struct sh_flctl *flctl) in wait_rfifo_ready()
238 static void wait_wfifo_ready(struct sh_flctl *flctl) in wait_wfifo_ready()
253 (struct sh_flctl *flctl, int sector_number) in wait_recfifo_ready()
332 static void wait_wecfifo_ready(struct sh_flctl *flctl) in wait_wecfifo_ready()
347 static int flctl_dma_fifo0_transfer(struct sh_flctl *flctl, unsigned long *buf, in flctl_dma_fifo0_transfer()
411 static void read_datareg(struct sh_flctl *flctl, int offset) in read_datareg()
422 static void read_fiforeg(struct sh_flctl *flctl, int rlen, int offset) in read_fiforeg()
446 (struct sh_flctl *flctl, uint8_t *buff, int sector) in read_ecfiforeg()
464 static void write_fiforeg(struct sh_flctl *flctl, int rlen, in write_fiforeg()
477 static void write_ec_fiforeg(struct sh_flctl *flctl, int rlen, in write_ec_fiforeg()
502 struct sh_flctl *flctl = mtd_to_flctl(mtd); in set_cmd_regs()
581 struct sh_flctl *flctl = mtd_to_flctl(mtd); in execmd_read_page_sector()
630 struct sh_flctl *flctl = mtd_to_flctl(mtd); in execmd_read_oob()
651 struct sh_flctl *flctl = mtd_to_flctl(mtd); in execmd_write_page_sector()
677 struct sh_flctl *flctl = mtd_to_flctl(mtd); in execmd_write_oob()
700 struct sh_flctl *flctl = mtd_to_flctl(mtd); in flctl_cmdfunc()
875 struct sh_flctl *flctl = mtd_to_flctl(mtd); in flctl_select_chip()
919 struct sh_flctl *flctl = mtd_to_flctl(mtd); in flctl_write_buf()
927 struct sh_flctl *flctl = mtd_to_flctl(mtd); in flctl_read_byte()
937 struct sh_flctl *flctl = mtd_to_flctl(mtd); in flctl_read_word()
946 struct sh_flctl *flctl = mtd_to_flctl(mtd); in flctl_read_buf()
954 struct sh_flctl *flctl = mtd_to_flctl(mtd); in flctl_chip_init_tail()
1014 struct sh_flctl *flctl = dev_id; in flctl_handle_flste()
1082 struct sh_flctl *flctl; in flctl_probe()
1090 flctl = devm_kzalloc(&pdev->dev, sizeof(struct sh_flctl), GFP_KERNEL); in flctl_probe()
1178 struct sh_flctl *flctl = platform_get_drvdata(pdev); in flctl_remove()