Searched refs:flash_bank (Results 1 – 5 of 5) sorted by relevance
823 u16 flash_bank; in NAND_Erase_Block() local834 flash_bank = block / (DeviceInfo.wTotalBlocks / totalUsedBanks); in NAND_Erase_Block()840 intr_status = intr_status_addresses[flash_bank]; in NAND_Erase_Block()845 index_addr((u32)(MODE_10 | (flash_bank << 24) | in NAND_Erase_Block()885 u32 flash_bank; in NAND_Read_Page_Spare() local910 flash_bank = block / (DeviceInfo.wTotalBlocks / totalUsedBanks); in NAND_Read_Page_Spare()913 intr_status = intr_status_addresses[flash_bank]; in NAND_Read_Page_Spare()917 index_addr((u32)(MODE_10 | (flash_bank << 24) | in NAND_Read_Page_Spare()920 index_addr((u32)(MODE_10 | (flash_bank << 24) | in NAND_Read_Page_Spare()927 iowrite32((u32)(MODE_01 | (flash_bank << 24) | in NAND_Read_Page_Spare()[all …]
62 if (bank != info.flash_bank) { in CDMA_Data_CMD()65 info.flash_bank, bank); in CDMA_Data_CMD()70 info.flash_bank = bank; in CDMA_Data_CMD()363 if ((active_chan & (1 << info.flash_bank)) == (1 << info.flash_bank)) { in CDMA_UpdateEventStatus()365 iowrite32((0xF << 4) | info.flash_bank, FlashMem + 0x10); in CDMA_UpdateEventStatus()450 ptr = MODE_10 | (info.flash_bank << 24) | in CDMA_Execute_CMDs()602 ptr = MODE_10 | (info.flash_bank << 24); in CDMA_Execute_CMDs()620 cdma_trans(info.flash_bank); in CDMA_Execute_CMDs()775 if (c != info.flash_bank) in process_ecc_int()777 info.flash_bank, c); in process_ecc_int()[all …]
66 u32 flash_bank; member
183 uint32_t irq_mask = reset_complete[denali->flash_bank] | in reset_bank()184 operation_timeout[denali->flash_bank]; in reset_bank()189 bank = device_reset_banks[denali->flash_bank]; in reset_bank()194 if (irq_status & operation_timeout[denali->flash_bank]) in reset_bank()513 addr = (uint32_t)MODE_11 | BANK(denali->flash_bank); in denali_nand_timing_set()575 static inline bool is_flash_bank_valid(int flash_bank) in is_flash_bank_valid() argument577 return (flash_bank >= 0 && flash_bank < 4); in is_flash_bank_valid()627 intr_status_reg = intr_status_addresses[denali->flash_bank]; in clear_interrupt()648 intr_status_reg = intr_status_addresses[denali->flash_bank]; in read_interrupt_status()668 if (is_flash_bank_valid(denali->flash_bank)) { in denali_isr()[all …]
731 int flash_bank; /* currently selected chip */ member