Lines Matching defs:yaffs_param
515 struct yaffs_param { struct
516 const YCHAR *name;
524 int inband_tags; /* Use unband tags */
525 u32 total_bytes_per_chunk; /* Should be >= 512, does not need to
527 int chunks_per_block; /* does not need to be a power of 2 */
528 int spare_bytes_per_chunk; /* spare area size */
529 int start_block; /* Start block we're allowed to use */
530 int end_block; /* End block we're allowed to use */
531 int n_reserved_blocks; /* Tuneable so that we can reduce
534 int n_caches; /* If <= 0, then short op caching is disabled,
537 int use_nand_ecc; /* Flag to decide whether or not to use
539 int tags_9bytes; /* Use 9 byte tags */
540 int no_tags_ecc; /* Flag to decide whether or not to do ECC
543 int is_yaffs2; /* Use yaffs2 mode on this device */
545 int empty_lost_n_found; /* Auto-empty lost+found directory on mount */
547 int refresh_period; /* How often to check for a block refresh */
550 u8 skip_checkpt_rd;
551 u8 skip_checkpt_wr;
553 int enable_xattr; /* Enable xattribs */
557 int (*write_chunk_fn) (struct yaffs_dev *dev,
560 int (*read_chunk_fn) (struct yaffs_dev *dev,
563 int (*erase_fn) (struct yaffs_dev *dev, int flash_block);
564 int (*initialise_flash_fn) (struct yaffs_dev *dev);
565 int (*deinitialise_flash_fn) (struct yaffs_dev *dev);
568 int (*write_chunk_tags_fn) (struct yaffs_dev *dev,
571 int (*read_chunk_tags_fn) (struct yaffs_dev *dev,
574 int (*bad_block_fn) (struct yaffs_dev *dev, int block_no);
575 int (*query_block_fn) (struct yaffs_dev *dev, int block_no,
584 void (*remove_obj_fn) (struct yaffs_obj *obj);
587 void (*sb_dirty_fn) (struct yaffs_dev *dev);
590 unsigned (*gc_control) (struct yaffs_dev *dev);
616 struct yaffs_param param; argument