Home
last modified time | relevance | path

Searched refs:flash_bank (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/staging/spectra/
Dlld_nand.c823 u16 flash_bank; in NAND_Erase_Block() local
834 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() local
910 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 …]
Dlld_cdma.c62 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 …]
Dlld_nand.h66 u32 flash_bank; member
/linux-2.6.39/drivers/mtd/nand/
Ddenali.c183 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() argument
577 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 …]
Ddenali.h731 int flash_bank; /* currently selected chip */ member