Lines Matching defs:nandsim
289 struct nandsim { struct
290 struct nand_chip chip;
291 struct nand_controller base;
292 struct mtd_partition partitions[CONFIG_NANDSIM_MAX_PARTS];
293 unsigned int nbparts;
295 uint busw; /* flash chip bus width (8 or 16) */
296 u_char ids[8]; /* chip's ID bytes */
297 uint32_t options; /* chip's characteristic bits */
298 uint32_t state; /* current chip state */
299 uint32_t nxstate; /* next expected state */
301 uint32_t *op; /* current operation, NULL operations isn't known yet */
302 uint32_t pstates[NS_MAX_PREVSTATES]; /* previous states */
303 uint16_t npstates; /* number of previous states saved */
304 uint16_t stateidx; /* current state index */
307 union ns_mem *pages;
310 struct kmem_cache *nand_pages_slab;
313 union ns_mem buf;
316 struct {
331 } geom;
334 struct {
342 } regs;
367 static struct nandsim_operations { argument