Lines Matching refs:qcom_nand_controller
104 struct qcom_nand_controller *snandc;
122 static void qcom_spi_set_read_loc_first(struct qcom_nand_controller *snandc, in qcom_spi_set_read_loc_first()
143 static void qcom_spi_set_read_loc_last(struct qcom_nand_controller *snandc, in qcom_spi_set_read_loc_last()
164 static struct qcom_nand_controller *nand_to_qcom_snand(struct nand_device *nand) in nand_to_qcom_snand()
172 static int qcom_spi_init(struct qcom_nand_controller *snandc) in qcom_spi_init()
210 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ooblayout_ecc()
234 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ooblayout_free()
253 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ecc_init_ctx_pipelined()
414 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ecc_prepare_io_req_pipelined()
437 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ecc_finish_io_req_pipelined()
462 static void qcom_spi_set_read_loc(struct qcom_nand_controller *snandc, int cw, int reg, in qcom_spi_set_read_loc()
482 qcom_spi_config_cw_read(struct qcom_nand_controller *snandc, bool use_ecc, int cw) in qcom_spi_config_cw_read()
502 static int qcom_spi_block_erase(struct qcom_nand_controller *snandc) in qcom_spi_block_erase()
533 static void qcom_spi_config_single_cw_page_read(struct qcom_nand_controller *snandc, in qcom_spi_config_single_cw_page_read()
557 static int qcom_spi_check_raw_flash_errors(struct qcom_nand_controller *snandc, int cw_cnt) in qcom_spi_check_raw_flash_errors()
573 static int qcom_spi_read_last_cw(struct qcom_nand_controller *snandc, in qcom_spi_read_last_cw()
640 static int qcom_spi_check_error(struct qcom_nand_controller *snandc) in qcom_spi_check_error()
707 static int qcom_spi_read_cw_raw(struct qcom_nand_controller *snandc, u8 *data_buf, in qcom_spi_read_cw_raw()
799 static int qcom_spi_read_page_raw(struct qcom_nand_controller *snandc, in qcom_spi_read_page_raw()
827 static int qcom_spi_read_page_ecc(struct qcom_nand_controller *snandc, in qcom_spi_read_page_ecc()
920 static int qcom_spi_read_page_oob(struct qcom_nand_controller *snandc, in qcom_spi_read_page_oob()
999 static int qcom_spi_read_page(struct qcom_nand_controller *snandc, in qcom_spi_read_page()
1017 static void qcom_spi_config_page_write(struct qcom_nand_controller *snandc) in qcom_spi_config_page_write()
1025 static void qcom_spi_config_cw_write(struct qcom_nand_controller *snandc) in qcom_spi_config_cw_write()
1036 static int qcom_spi_program_raw(struct qcom_nand_controller *snandc, in qcom_spi_program_raw()
1120 static int qcom_spi_program_ecc(struct qcom_nand_controller *snandc, in qcom_spi_program_ecc()
1197 static int qcom_spi_program_oob(struct qcom_nand_controller *snandc, in qcom_spi_program_oob()
1250 static int qcom_spi_program_execute(struct qcom_nand_controller *snandc, in qcom_spi_program_execute()
1265 static int qcom_spi_cmd_mapping(struct qcom_nand_controller *snandc, u32 opcode, u32 *cmd) in qcom_spi_cmd_mapping()
1313 static int qcom_spi_write_page(struct qcom_nand_controller *snandc, in qcom_spi_write_page()
1329 static int qcom_spi_send_cmdaddr(struct qcom_nand_controller *snandc, in qcom_spi_send_cmdaddr()
1383 static int qcom_spi_io_op(struct qcom_nand_controller *snandc, const struct spi_mem_op *op) in qcom_spi_io_op()
1485 struct qcom_nand_controller *snandc = spi_controller_get_devdata(mem->spi->controller); in qcom_spi_exec_op()
1516 struct qcom_nand_controller *snandc; in qcom_spi_probe()
1642 struct qcom_nand_controller *snandc = spi_controller_get_devdata(ctlr); in qcom_spi_remove()