Lines Matching refs:marvell_nfc
406 struct marvell_nfc { struct
424 static inline struct marvell_nfc *to_marvell_nfc(struct nand_controller *ctrl) in to_marvell_nfc() argument
426 return container_of(ctrl, struct marvell_nfc, controller); in to_marvell_nfc()
516 static void marvell_nfc_disable_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_disable_int()
525 static void marvell_nfc_enable_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_enable_int()
534 static u32 marvell_nfc_clear_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_clear_int()
547 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_force_byte_access()
571 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_wait_ndrun()
609 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_prepare_cmd()
643 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_send_cmd()
669 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_end_cmd()
705 static int marvell_nfc_poll_status(struct marvell_nfc *nfc, u32 mask, in marvell_nfc_poll_status()
728 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_wait_op()
767 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_select_target()
793 struct marvell_nfc *nfc = dev_id; in marvell_nfc_isr()
818 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_enable_hw_ecc()
835 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_disable_hw_ecc()
846 static void marvell_nfc_enable_dma(struct marvell_nfc *nfc) in marvell_nfc_enable_dma()
854 static void marvell_nfc_disable_dma(struct marvell_nfc *nfc) in marvell_nfc_disable_dma()
863 static int marvell_nfc_xfer_data_dma(struct marvell_nfc *nfc, in marvell_nfc_xfer_data_dma()
912 static int marvell_nfc_xfer_data_in_pio(struct marvell_nfc *nfc, u8 *in, in marvell_nfc_xfer_data_in_pio()
932 static int marvell_nfc_xfer_data_out_pio(struct marvell_nfc *nfc, const u8 *out, in marvell_nfc_xfer_data_out_pio()
996 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_hw_ecc_check_bitflips()
1039 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_hw_ecc_hmg_do_read_page()
1153 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_hw_ecc_hmg_do_write_page()
1309 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_hw_ecc_bch_read_chunk()
1571 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_hw_ecc_bch_write_chunk()
1714 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_parse_instructions()
1803 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_xfer_data_pio()
1885 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_monolithic_access_exec()
1957 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_naked_access_exec()
2182 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_exec_op()
2248 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nand_hw_ecc_controller_init()
2324 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nand_ecc_init()
2390 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_setup_interface()
2497 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nand_attach_chip()
2600 static int marvell_nand_chip_init(struct device *dev, struct marvell_nfc *nfc, in marvell_nand_chip_init()
2756 static void marvell_nand_chips_cleanup(struct marvell_nfc *nfc) in marvell_nand_chips_cleanup()
2771 static int marvell_nand_chips_init(struct device *dev, struct marvell_nfc *nfc) in marvell_nand_chips_init()
2811 static int marvell_nfc_init_dma(struct marvell_nfc *nfc) in marvell_nfc_init_dma()
2878 static void marvell_nfc_reset(struct marvell_nfc *nfc) in marvell_nfc_reset()
2893 static int marvell_nfc_init(struct marvell_nfc *nfc) in marvell_nfc_init()
2935 struct marvell_nfc *nfc; in marvell_nfc_probe()
2939 nfc = devm_kzalloc(&pdev->dev, sizeof(struct marvell_nfc), in marvell_nfc_probe()
3029 struct marvell_nfc *nfc = platform_get_drvdata(pdev); in marvell_nfc_remove()
3044 struct marvell_nfc *nfc = dev_get_drvdata(dev); in marvell_nfc_suspend()
3058 struct marvell_nfc *nfc = dev_get_drvdata(dev); in marvell_nfc_resume()