Lines Matching defs:nandsim
287 struct nandsim { struct
288 struct nand_chip chip;
289 struct nand_controller base;
290 struct mtd_partition partitions[CONFIG_NANDSIM_MAX_PARTS];
291 unsigned int nbparts;
293 uint busw; /* flash chip bus width (8 or 16) */
294 u_char ids[8]; /* chip's ID bytes */
295 uint32_t options; /* chip's characteristic bits */
296 uint32_t state; /* current chip state */
297 uint32_t nxstate; /* next expected state */
299 uint32_t *op; /* current operation, NULL operations isn't known yet */
300 uint32_t pstates[NS_MAX_PREVSTATES]; /* previous states */
301 uint16_t npstates; /* number of previous states saved */
302 uint16_t stateidx; /* current state index */
305 union ns_mem *pages;
308 struct kmem_cache *nand_pages_slab;
311 union ns_mem buf;
314 struct {
329 } geom;
332 struct {
340 } regs;
365 static struct nandsim_operations { argument