Lines Matching refs:cur_chip
340 uint32_t channel = MXS_DMA_CHANNEL_AHB_APBH_GPMI0 + nand_info->cur_chip; in mxs_nand_cmd_ctrl()
390 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_cmd_ctrl()
421 tmp >>= (GPMI_STAT_READY_BUSY_OFFSET + nand_info->cur_chip); in mxs_nand_device_ready()
434 nand_info->cur_chip = chip; in mxs_nand_select_chip()
481 uint32_t channel = MXS_DMA_CHANNEL_AHB_APBH_GPMI0 + nand_info->cur_chip; in mxs_nand_read_buf()
507 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_read_buf()
532 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_read_buf()
565 uint32_t channel = MXS_DMA_CHANNEL_AHB_APBH_GPMI0 + nand_info->cur_chip; in mxs_nand_write_buf()
593 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_write_buf()
670 uint32_t channel = MXS_DMA_CHANNEL_AHB_APBH_GPMI0 + nand_info->cur_chip; in mxs_nand_ecc_read_page()
688 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_ecc_read_page()
704 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_ecc_read_page()
736 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_ecc_read_page()
841 uint32_t channel = MXS_DMA_CHANNEL_AHB_APBH_GPMI0 + nand_info->cur_chip; in mxs_nand_ecc_write_page()
862 (nand_info->cur_chip << GPMI_CTRL0_CS_OFFSET) | in mxs_nand_ecc_write_page()