Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_platform_nand_ctrl(9) [centos man page]

STRUCT 
PLATFORM_NAND(9) Structures STRUCT PLATFORM_NAND(9) NAME
struct_platform_nand_ctrl - controller level device structure SYNOPSIS
struct platform_nand_ctrl { 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); void * priv; }; MEMBERS
probe platform specific function to probe/setup hardware remove platform specific function to remove/teardown hardware hwcontrol platform specific hardware control structure dev_ready platform specific function to read ready/busy pin select_chip platform specific chip select function cmd_ctrl platform specific function for controlling ALE/CLE/nCE. Also used to write command and address write_buf platform specific function for write buffer read_buf platform specific function for read buffer read_byte platform specific function to read one byte from chip priv private data to transport driver specific settings DESCRIPTION
All fields are optional and depend on the hardware driver requirements AUTHOR
Thomas Gleixner <tglx@linutronix.de> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT PLATFORM_NAND(9)

Check Out this Related Man Page

STRUCT 
IRQ_DATA(9) Structures STRUCT IRQ_DATA(9) NAME
struct_irq_data - per irq and irq chip data passed down to chip functions SYNOPSIS
struct irq_data { unsigned int irq; unsigned long hwirq; unsigned int node; unsigned int state_use_accessors; struct irq_chip * chip; struct irq_domain * domain; void * handler_data; void * chip_data; struct msi_desc * msi_desc; cpumask_var_t affinity; }; MEMBERS
irq interrupt number hwirq hardware interrupt number, local to the interrupt domain node node index useful for balancing state_use_accessors status information for irq chip functions. Use accessor functions to deal with it chip low level interrupt hardware access domain Interrupt translation domain; responsible for mapping between hwirq number and linux irq number. handler_data per-IRQ data for the irq_chip methods chip_data platform-specific per-chip private data for the chip methods, to allow shared chip implementations msi_desc MSI descriptor affinity IRQ affinity on SMP DESCRIPTION
The fields here need to overlay the ones in irq_desc until we cleaned up the direct references and switched everything over to irq_data. AUTHORS
Thomas Gleixner <tglx@linutronix.de> Author. Ingo Molnar <mingo@elte.hu> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT IRQ_DATA(9)
Man Page