Lines Matching defs:snandc
101 struct qcom_nand_controller *snandc; member
119 static void qcom_spi_set_read_loc_first(struct qcom_nand_controller *snandc, in qcom_spi_set_read_loc_first()
140 static void qcom_spi_set_read_loc_last(struct qcom_nand_controller *snandc, in qcom_spi_set_read_loc_last()
169 static int qcom_spi_init(struct qcom_nand_controller *snandc) in qcom_spi_init()
207 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ooblayout_ecc() local
231 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ooblayout_free() local
250 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ecc_init_ctx_pipelined() local
411 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ecc_prepare_io_req_pipelined() local
434 struct qcom_nand_controller *snandc = nand_to_qcom_snand(nand); in qcom_spi_ecc_finish_io_req_pipelined() local
459 static void qcom_spi_set_read_loc(struct qcom_nand_controller *snandc, int cw, int reg, in qcom_spi_set_read_loc()
479 qcom_spi_config_cw_read(struct qcom_nand_controller *snandc, bool use_ecc, int cw) in qcom_spi_config_cw_read()
504 static int qcom_spi_block_erase(struct qcom_nand_controller *snandc) in qcom_spi_block_erase()
535 static void qcom_spi_config_single_cw_page_read(struct qcom_nand_controller *snandc, in qcom_spi_config_single_cw_page_read()
559 static int qcom_spi_check_raw_flash_errors(struct qcom_nand_controller *snandc, int cw_cnt) in qcom_spi_check_raw_flash_errors()
575 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()
797 static int qcom_spi_read_page_raw(struct qcom_nand_controller *snandc, in qcom_spi_read_page_raw()
825 static int qcom_spi_read_page_ecc(struct qcom_nand_controller *snandc, in qcom_spi_read_page_ecc()
916 static int qcom_spi_read_page_oob(struct qcom_nand_controller *snandc, in qcom_spi_read_page_oob()
993 static int qcom_spi_read_page(struct qcom_nand_controller *snandc, in qcom_spi_read_page()
1011 static void qcom_spi_config_page_write(struct qcom_nand_controller *snandc) in qcom_spi_config_page_write()
1019 static void qcom_spi_config_cw_write(struct qcom_nand_controller *snandc) in qcom_spi_config_cw_write()
1030 static int qcom_spi_program_raw(struct qcom_nand_controller *snandc, in qcom_spi_program_raw()
1112 static int qcom_spi_program_ecc(struct qcom_nand_controller *snandc, in qcom_spi_program_ecc()
1189 static int qcom_spi_program_oob(struct qcom_nand_controller *snandc, in qcom_spi_program_oob()
1242 static int qcom_spi_program_execute(struct qcom_nand_controller *snandc, in qcom_spi_program_execute()
1257 static int qcom_spi_cmd_mapping(struct qcom_nand_controller *snandc, u32 opcode, u32 *cmd) in qcom_spi_cmd_mapping()
1305 static int qcom_spi_write_page(struct qcom_nand_controller *snandc, in qcom_spi_write_page()
1321 static int qcom_spi_send_cmdaddr(struct qcom_nand_controller *snandc, in qcom_spi_send_cmdaddr()
1375 static int qcom_spi_io_op(struct qcom_nand_controller *snandc, const struct spi_mem_op *op) in qcom_spi_io_op()
1477 struct qcom_nand_controller *snandc = spi_controller_get_devdata(mem->spi->controller); in qcom_spi_exec_op() local
1508 struct qcom_nand_controller *snandc; in qcom_spi_probe() local
1615 struct qcom_nand_controller *snandc = spi_controller_get_devdata(ctlr); in qcom_spi_remove() local