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