Scroll to navigation

STRUCT NAND_MANUFACT(9) Structures STRUCT NAND_MANUFACT(9)

NAME

struct_nand_manufacturer_ops - NAND Manufacturer operations

SYNOPSIS

struct nand_manufacturer_ops {
  void (* detect) (struct nand_chip *chip);
  int (* init) (struct nand_chip *chip);
  void (* cleanup) (struct nand_chip *chip);
};  

MEMBERS

void (*)(struct nand_chip *chip) detect
detect the NAND memory organization and capabilities

int (*)(struct nand_chip *chip) init

initialize all vendor specific fields (like the ->read_retry implementation) if any.

void (*)(struct nand_chip *chip) cleanup

the ->init function may have allocated resources, ->cleanup is here to let vendor specific code release those resources.

AUTHOR

Thomas Gleixner <tglx@linutronix.de>
Author.

COPYRIGHT

September 2017 Kernel Hackers Manual 4.12