Lines Matching defs:brcmnand_controller
112 struct brcmnand_controller { struct
113 struct device *dev;
114 struct nand_hw_control controller;
115 void __iomem *nand_base;
116 void __iomem *nand_fc; /* flash cache */
117 void __iomem *flash_dma_base;
118 unsigned int irq;
119 unsigned int dma_irq;
120 int nand_version;
123 struct brcmnand_soc *soc;
125 int cmd_pending;
126 bool dma_pending;
127 struct completion done;
128 struct completion dma_done;
131 struct list_head host_list;
133 struct brcm_nand_dma_desc *dma_desc;
134 dma_addr_t dma_pa;
137 u32 flash_cache[FC_WORDS];
140 const u16 *reg_offsets;
141 unsigned int reg_spacing; /* between CS1, CS2, ... regs */
142 const u8 *cs_offsets; /* within each chip-select */
143 const u8 *cs0_offsets; /* within CS0, if different */
144 unsigned int max_block_size;
145 const unsigned int *block_sizes;
146 unsigned int max_page_size;
147 const unsigned int *page_sizes;
148 unsigned int max_oob;
149 u32 features;
152 u32 nand_cs_nand_select;
153 u32 nand_cs_nand_xor;
154 u32 corr_stat_threshold;
155 u32 flash_dma_mode;