Searched refs:gpmi_nand_data (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-nand.h135 struct gpmi_nand_data { struct
269 extern int common_nfc_set_geometry(struct gpmi_nand_data *);
270 extern struct dma_chan *get_dma_chan(struct gpmi_nand_data *);
271 extern void prepare_data_dma(struct gpmi_nand_data *,
273 extern int start_dma_without_bch_irq(struct gpmi_nand_data *,
275 extern int start_dma_with_bch_irq(struct gpmi_nand_data *,
279 extern int gpmi_init(struct gpmi_nand_data *);
280 extern int gpmi_extra_init(struct gpmi_nand_data *);
281 extern void gpmi_clear_bch(struct gpmi_nand_data *);
282 extern void gpmi_dump_info(struct gpmi_nand_data *);
283 extern int bch_set_geometry(struct gpmi_nand_data *);
284 extern int gpmi_is_ready(struct gpmi_nand_data *, unsigned chip);
285 extern int gpmi_send_command(struct gpmi_nand_data *);
286 extern void gpmi_begin(struct gpmi_nand_data *);
287 extern void gpmi_end(struct gpmi_nand_data *);
288 extern int gpmi_read_data(struct gpmi_nand_data *);
289 extern int gpmi_send_data(struct gpmi_nand_data *);
290 extern int gpmi_send_page(struct gpmi_nand_data *,
292 extern int gpmi_read_page(struct gpmi_nand_data *,
H A Dgpmi-nand.c82 struct gpmi_nand_data *this = cookie; bch_irq()
107 static inline int get_ecc_strength(struct gpmi_nand_data *this) get_ecc_strength()
120 static inline bool gpmi_check_ecc(struct gpmi_nand_data *this) gpmi_check_ecc()
139 static bool set_geometry_by_ecc_info(struct gpmi_nand_data *this) set_geometry_by_ecc_info()
257 static int legacy_set_geometry(struct gpmi_nand_data *this) legacy_set_geometry()
367 int common_nfc_set_geometry(struct gpmi_nand_data *this) common_nfc_set_geometry()
375 struct dma_chan *get_dma_chan(struct gpmi_nand_data *this) get_dma_chan()
382 void prepare_data_dma(struct gpmi_nand_data *this, enum dma_data_direction dr) prepare_data_dma()
414 struct gpmi_nand_data *this = param; dma_irq_callback()
445 int start_dma_without_bch_irq(struct gpmi_nand_data *this, start_dma_without_bch_irq()
476 int start_dma_with_bch_irq(struct gpmi_nand_data *this, start_dma_with_bch_irq()
499 static int acquire_register_block(struct gpmi_nand_data *this, acquire_register_block()
522 static int acquire_bch_irq(struct gpmi_nand_data *this, irq_handler_t irq_h) acquire_bch_irq()
542 static void release_dma_channels(struct gpmi_nand_data *this) release_dma_channels()
552 static int acquire_dma_channels(struct gpmi_nand_data *this) acquire_dma_channels()
576 static int gpmi_get_clks(struct gpmi_nand_data *this) gpmi_get_clks()
625 static int acquire_resources(struct gpmi_nand_data *this) acquire_resources()
656 static void release_resources(struct gpmi_nand_data *this) release_resources()
661 static int init_hardware(struct gpmi_nand_data *this) init_hardware()
689 static int read_page_prepare(struct gpmi_nand_data *this, read_page_prepare()
721 static inline void read_page_end(struct gpmi_nand_data *this, read_page_end()
730 static inline void read_page_swap_end(struct gpmi_nand_data *this, read_page_swap_end()
739 static int send_page_prepare(struct gpmi_nand_data *this, send_page_prepare()
774 static void send_page_end(struct gpmi_nand_data *this, send_page_end()
784 static void gpmi_free_dma_buffer(struct gpmi_nand_data *this) gpmi_free_dma_buffer()
803 static int gpmi_alloc_dma_buffer(struct gpmi_nand_data *this) gpmi_alloc_dma_buffer()
860 struct gpmi_nand_data *this = chip->priv; gpmi_cmd_ctrl()
894 struct gpmi_nand_data *this = chip->priv; gpmi_dev_ready()
902 struct gpmi_nand_data *this = chip->priv; gpmi_select_chip()
915 struct gpmi_nand_data *this = chip->priv; gpmi_read_buf()
927 struct gpmi_nand_data *this = chip->priv; gpmi_write_buf()
939 struct gpmi_nand_data *this = chip->priv; gpmi_read_byte()
951 static void block_mark_swapping(struct gpmi_nand_data *this, block_mark_swapping()
997 struct gpmi_nand_data *this = chip->priv; gpmi_ecc_read_page()
1077 struct gpmi_nand_data *this = chip->priv; gpmi_ecc_read_subpage()
1165 struct gpmi_nand_data *this = chip->priv; gpmi_ecc_write_page()
1301 struct gpmi_nand_data *this = chip->priv; gpmi_ecc_read_oob()
1362 struct gpmi_nand_data *this = chip->priv; gpmi_ecc_read_page_raw()
1451 struct gpmi_nand_data *this = chip->priv; gpmi_ecc_write_page_raw()
1542 struct gpmi_nand_data *this = chip->priv; gpmi_block_markbad()
1572 static int nand_boot_set_geometry(struct gpmi_nand_data *this) nand_boot_set_geometry()
1599 static int mx23_check_transcription_stamp(struct gpmi_nand_data *this) mx23_check_transcription_stamp()
1654 static int mx23_write_transcription_stamp(struct gpmi_nand_data *this) mx23_write_transcription_stamp()
1734 static int mx23_boot_init(struct gpmi_nand_data *this) mx23_boot_init()
1804 static int nand_boot_init(struct gpmi_nand_data *this) nand_boot_init()
1814 static int gpmi_set_geometry(struct gpmi_nand_data *this) gpmi_set_geometry()
1832 static void gpmi_nand_exit(struct gpmi_nand_data *this) gpmi_nand_exit()
1838 static int gpmi_init_last(struct gpmi_nand_data *this) gpmi_init_last()
1887 static int gpmi_nand_init(struct gpmi_nand_data *this) gpmi_nand_init()
1987 struct gpmi_nand_data *this; gpmi_nand_probe()
2032 struct gpmi_nand_data *this = platform_get_drvdata(pdev); gpmi_nand_remove()
H A Dgpmi-lib.c127 static int __gpmi_enable_clk(struct gpmi_nand_data *this, bool v) __gpmi_enable_clk()
157 int gpmi_init(struct gpmi_nand_data *this) gpmi_init()
204 void gpmi_dump_info(struct gpmi_nand_data *this) gpmi_dump_info()
249 int bch_set_geometry(struct gpmi_nand_data *this) bch_set_geometry()
327 static int gpmi_nfc_compute_hardware_timing(struct gpmi_nand_data *this, gpmi_nfc_compute_hardware_timing()
858 static void gpmi_compute_edo_timing(struct gpmi_nand_data *this, gpmi_compute_edo_timing()
918 static int enable_edo_mode(struct gpmi_nand_data *this, int mode) enable_edo_mode()
969 int gpmi_extra_init(struct gpmi_nand_data *this) gpmi_extra_init()
991 void gpmi_begin(struct gpmi_nand_data *this) gpmi_begin()
1074 void gpmi_end(struct gpmi_nand_data *this) gpmi_end()
1080 void gpmi_clear_bch(struct gpmi_nand_data *this) gpmi_clear_bch()
1087 int gpmi_is_ready(struct gpmi_nand_data *this, unsigned chip) gpmi_is_ready()
1112 static inline void set_dma_type(struct gpmi_nand_data *this, set_dma_type()
1119 int gpmi_send_command(struct gpmi_nand_data *this) gpmi_send_command()
1158 int gpmi_send_data(struct gpmi_nand_data *this) gpmi_send_data()
1196 int gpmi_read_data(struct gpmi_nand_data *this) gpmi_read_data()
1230 int gpmi_send_page(struct gpmi_nand_data *this, gpmi_send_page()
1275 int gpmi_read_page(struct gpmi_nand_data *this, gpmi_read_page()

Completed in 69 milliseconds