Lines Matching defs:nandc

192 #define nandc_set_read_loc(nandc, reg, offset, size, is_last)	\  argument
202 #define dev_cmd_reg_addr(nandc, reg) ((nandc)->props->dev_cmd_reg_start + (reg)) argument
479 static void free_bam_transaction(struct qcom_nand_controller *nandc) in free_bam_transaction()
488 alloc_bam_transaction(struct qcom_nand_controller *nandc) in alloc_bam_transaction()
524 static void clear_bam_transaction(struct qcom_nand_controller *nandc) in clear_bam_transaction()
580 static inline u32 nandc_read(struct qcom_nand_controller *nandc, int offset) in nandc_read()
585 static inline void nandc_write(struct qcom_nand_controller *nandc, int offset, in nandc_write()
591 static inline void nandc_read_buffer_sync(struct qcom_nand_controller *nandc, in nandc_read_buffer_sync()
655 static void nandc_set_reg(struct qcom_nand_controller *nandc, int offset, in nandc_set_reg()
671 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in set_address() local
690 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in update_rw_regs() local
735 static int prepare_bam_async_desc(struct qcom_nand_controller *nandc, in prepare_bam_async_desc()
814 static int prep_bam_dma_desc_cmd(struct qcom_nand_controller *nandc, bool read, in prep_bam_dma_desc_cmd()
869 static int prep_bam_dma_desc_data(struct qcom_nand_controller *nandc, bool read, in prep_bam_dma_desc_data()
900 static int prep_adm_dma_desc(struct qcom_nand_controller *nandc, bool read, in prep_adm_dma_desc()
978 static int read_reg_dma(struct qcom_nand_controller *nandc, int first, in read_reg_dma()
1009 static int write_reg_dma(struct qcom_nand_controller *nandc, int first, in write_reg_dma()
1054 static int read_data_dma(struct qcom_nand_controller *nandc, int reg_off, in read_data_dma()
1072 static int write_data_dma(struct qcom_nand_controller *nandc, int reg_off, in write_data_dma()
1085 static void config_nand_page_read(struct qcom_nand_controller *nandc) in config_nand_page_read()
1100 config_nand_cw_read(struct qcom_nand_controller *nandc, bool use_ecc) in config_nand_cw_read()
1123 config_nand_single_cw_page_read(struct qcom_nand_controller *nandc, in config_nand_single_cw_page_read()
1134 static void config_nand_page_write(struct qcom_nand_controller *nandc) in config_nand_page_write()
1146 static void config_nand_cw_write(struct qcom_nand_controller *nandc) in config_nand_cw_write()
1166 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in nandc_param() local
1224 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in erase_block() local
1253 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in read_id() local
1277 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in reset() local
1291 static int submit_descs(struct qcom_nand_controller *nandc) in submit_descs()
1347 static void free_descs(struct qcom_nand_controller *nandc) in free_descs()
1366 static void clear_read_regs(struct qcom_nand_controller *nandc) in clear_read_regs()
1375 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in pre_command() local
1397 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in parse_erase_write_errors() local
1421 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in post_command() local
1450 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_command() local
1577 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in check_flash_errors() local
1596 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_read_cw_raw() local
1739 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in parse_read_errors() local
1843 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in read_page_ecc() local
1923 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in copy_last_cw() local
1956 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_read_page() local
1996 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_read_oob() local
2014 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_write_page() local
2085 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_write_page_raw() local
2162 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_write_oob() local
2204 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_block_bad() local
2242 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_block_markbad() local
2290 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_read_byte() local
2311 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_read_buf() local
2322 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_write_buf() local
2334 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nandc_select_chip() local
2483 struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); in qcom_nand_attach_chip() local
2647 static int qcom_nandc_alloc(struct qcom_nand_controller *nandc) in qcom_nandc_alloc()
2741 static void qcom_nandc_unalloc(struct qcom_nand_controller *nandc) in qcom_nandc_unalloc()
2765 static int qcom_nandc_setup(struct qcom_nand_controller *nandc) in qcom_nandc_setup()
2789 static int qcom_nand_host_init_and_register(struct qcom_nand_controller *nandc, in qcom_nand_host_init_and_register()
2849 static int qcom_probe_nand_devices(struct qcom_nand_controller *nandc) in qcom_probe_nand_devices()
2891 struct qcom_nand_controller *nandc = platform_get_drvdata(pdev); in qcom_nandc_parse_dt() local
2916 struct qcom_nand_controller *nandc; in qcom_nandc_probe() local
2998 struct qcom_nand_controller *nandc = platform_get_drvdata(pdev); in qcom_nandc_remove() local