struct_platform_nand_chip

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

NAME

struct_platform_nand_chip - chip level device structure

SYNOPSIS

 struct platform_nand_chip {
   int nr_chips;
   int chip_offset;
   int nr_partitions;
   struct mtd_partition * partitions;
   struct nand_ecclayout * ecclayout;
   int chip_delay;
   unsigned int options;
   const char ** part_probe_types;
   void (* set_parts) (uint64_t size,struct platform_nand_chip *chip);
   void * priv;
 };  
 

MEMBERS

nr_chips

max. number of chips to scan for

chip_offset

chip number offset

nr_partitions

number of partitions pointed to by partitions (or zero)

partitions

mtd partition list

ecclayout

ecc layout info structure

chip_delay

R/B delay value in us

options

Option flags, e.g. 16bit buswidth

part_probe_types

NULL-terminated array of probe types

set_parts

platform specific function to set partitions

priv

hardware controller specific settings

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.