Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
platform_nand_ctrl Struct Reference

#include <nand.h>

Data Fields

int(* probe )(struct platform_device *pdev)
 
void(* remove )(struct platform_device *pdev)
 
void(* hwcontrol )(struct mtd_info *mtd, int cmd)
 
int(* dev_ready )(struct mtd_info *mtd)
 
void(* select_chip )(struct mtd_info *mtd, int chip)
 
void(* cmd_ctrl )(struct mtd_info *mtd, int dat, unsigned int ctrl)
 
void(* write_buf )(struct mtd_info *mtd, const uint8_t *buf, int len)
 
void(* read_buf )(struct mtd_info *mtd, uint8_t *buf, int len)
 
unsigned char(* read_byte )(struct mtd_info *mtd)
 
voidpriv
 

Detailed Description

struct platform_nand_ctrl - controller level device structure : platform specific function to probe/setup hardware : platform specific function to remove/teardown hardware : platform specific hardware control structure : platform specific function to read ready/busy pin : platform specific chip select function : platform specific function for controlling ALE/CLE/nCE. Also used to write command and address : platform specific function for write buffer : platform specific function for read buffer : platform specific function to read one byte from chip : private data to transport driver specific settings

All fields are optional and depend on the hardware driver requirements

Definition at line 664 of file nand.h.

Field Documentation

void(* cmd_ctrl)(struct mtd_info *mtd, int dat, unsigned int ctrl)

Definition at line 670 of file nand.h.

int(* dev_ready)(struct mtd_info *mtd)

Definition at line 668 of file nand.h.

void(* hwcontrol)(struct mtd_info *mtd, int cmd)

Definition at line 667 of file nand.h.

Definition at line 674 of file nand.h.

Definition at line 665 of file nand.h.

void(* read_buf)(struct mtd_info *mtd, uint8_t *buf, int len)

Definition at line 672 of file nand.h.

unsigned char(* read_byte)(struct mtd_info *mtd)

Definition at line 673 of file nand.h.

Definition at line 666 of file nand.h.

void(* select_chip)(struct mtd_info *mtd, int chip)

Definition at line 669 of file nand.h.

void(* write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len)

Definition at line 671 of file nand.h.


The documentation for this struct was generated from the following file: