Lines Matching refs:pl35x_nandc

136 struct pl35x_nandc {  struct
147 static inline struct pl35x_nandc *to_pl35x_nandc(struct nand_controller *ctrl) in to_pl35x_nandc() argument
149 return container_of(ctrl, struct pl35x_nandc, controller); in to_pl35x_nandc()
214 static void pl35x_smc_update_regs(struct pl35x_nandc *nfc) in pl35x_smc_update_regs()
221 static int pl35x_smc_set_buswidth(struct pl35x_nandc *nfc, unsigned int bw) in pl35x_smc_set_buswidth()
232 static void pl35x_smc_clear_irq(struct pl35x_nandc *nfc) in pl35x_smc_clear_irq()
238 static int pl35x_smc_wait_for_irq(struct pl35x_nandc *nfc) in pl35x_smc_wait_for_irq()
256 static int pl35x_smc_wait_for_ecc_done(struct pl35x_nandc *nfc) in pl35x_smc_wait_for_ecc_done()
271 static int pl35x_smc_set_ecc_mode(struct pl35x_nandc *nfc, in pl35x_smc_set_ecc_mode()
297 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_smc_force_byte_access()
315 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_select_target()
335 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_read_data_op()
367 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_write_data_op()
394 static int pl35x_nand_correct_data(struct pl35x_nandc *nfc, unsigned char *buf, in pl35x_nand_correct_data()
448 static int pl35x_nand_read_eccbytes(struct pl35x_nandc *nfc, in pl35x_nand_read_eccbytes()
466 static int pl35x_nand_recover_data_hwecc(struct pl35x_nandc *nfc, in pl35x_nand_recover_data_hwecc()
506 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_write_page_hwecc()
597 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_read_page_hwecc()
665 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_exec_op()
787 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nfc_setup_interface()
868 static void pl35x_smc_set_ecc_pg_size(struct pl35x_nandc *nfc, in pl35x_smc_set_ecc_pg_size()
896 static int pl35x_nand_init_hw_ecc_controller(struct pl35x_nandc *nfc, in pl35x_nand_init_hw_ecc_controller()
943 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_attach_chip()
1000 static int pl35x_nand_reset_state(struct pl35x_nandc *nfc) in pl35x_nand_reset_state()
1038 static int pl35x_nand_chip_init(struct pl35x_nandc *nfc, in pl35x_nand_chip_init()
1097 static void pl35x_nand_chips_cleanup(struct pl35x_nandc *nfc) in pl35x_nand_chips_cleanup()
1112 static int pl35x_nand_chips_init(struct pl35x_nandc *nfc) in pl35x_nand_chips_init()
1140 struct pl35x_nandc *nfc; in pl35x_nand_probe()
1175 struct pl35x_nandc *nfc = platform_get_drvdata(pdev); in pl35x_nand_remove()