Lines Matching refs:rk_nfc
165 struct rk_nfc { struct
226 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_data_ptr()
233 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_oob_ptr()
240 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_hw_ecc_setup()
263 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_select_chip()
303 static inline int rk_nfc_wait_ioready(struct rk_nfc *nfc) in rk_nfc_wait_ioready()
314 static void rk_nfc_read_buf(struct rk_nfc *nfc, u8 *buf, int len) in rk_nfc_read_buf()
323 static void rk_nfc_write_buf(struct rk_nfc *nfc, const u8 *buf, int len) in rk_nfc_write_buf()
334 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_cmd()
418 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_setup_interface()
468 static void rk_nfc_xfer_start(struct rk_nfc *nfc, u8 rw, u8 n_KB, in rk_nfc_xfer_start()
494 static int rk_nfc_wait_for_xfer_done(struct rk_nfc *nfc) in rk_nfc_wait_for_xfer_done()
510 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_write_page_raw()
592 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_write_page_hwecc()
704 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_read_page_raw()
758 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_read_page_hwecc()
875 static inline void rk_nfc_hw_init(struct rk_nfc *nfc) in rk_nfc_hw_init()
890 struct rk_nfc *nfc = id; in rk_nfc_irq()
907 static int rk_nfc_enable_clks(struct device *dev, struct rk_nfc *nfc) in rk_nfc_enable_clks()
929 static void rk_nfc_disable_clks(struct rk_nfc *nfc) in rk_nfc_disable_clks()
973 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_ecc_init()
1017 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_attach_chip()
1103 static int rk_nfc_nand_chip_init(struct device *dev, struct rk_nfc *nfc, in rk_nfc_nand_chip_init()
1197 static void rk_nfc_chips_cleanup(struct rk_nfc *nfc) in rk_nfc_chips_cleanup()
1212 static int rk_nfc_nand_chips_init(struct device *dev, struct rk_nfc *nfc) in rk_nfc_nand_chips_init()
1366 struct rk_nfc *nfc; in rk_nfc_probe()
1435 struct rk_nfc *nfc = platform_get_drvdata(pdev); in rk_nfc_remove()
1445 struct rk_nfc *nfc = dev_get_drvdata(dev); in rk_nfc_suspend()
1454 struct rk_nfc *nfc = dev_get_drvdata(dev); in rk_nfc_resume()