Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
pfow.h File Reference
#include <linux/mtd/qinfo.h>

Go to the source code of this file.

Macros

#define PFOW_QUERY_STRING_P   0x0000
 
#define PFOW_QUERY_STRING_F   0x0002
 
#define PFOW_QUERY_STRING_O   0x0004
 
#define PFOW_QUERY_STRING_W   0x0006
 
#define PFOW_MANUFACTURER_ID   0x0020
 
#define PFOW_DEVICE_ID   0x0022
 
#define PFOW_PROGRAM_BUFFER_OFFSET   0x0040
 
#define PFOW_PROGRAM_BUFFER_SIZE   0x0042
 
#define PFOW_COMMAND_CODE   0x0080
 
#define PFOW_COMMAND_DATA   0x0084
 
#define PFOW_COMMAND_ADDRESS_L   0x0088
 
#define PFOW_COMMAND_ADDRESS_H   0x008a
 
#define PFOW_DATA_COUNT_L   0x0090
 
#define PFOW_DATA_COUNT_H   0x0092
 
#define PFOW_COMMAND_EXECUTE   0x00c0
 
#define PFOW_CLEAR_PROGRAM_BUFFER   0x00c4
 
#define PFOW_PROGRAM_ERASE_SUSPEND   0x00c8
 
#define PFOW_DSR   0x00cc
 
#define LPDDR_WORD_PROGRAM   0x0041
 
#define LPDDR_BUFF_PROGRAM   0x00E9
 
#define LPDDR_BLOCK_ERASE   0x0020
 
#define LPDDR_LOCK_BLOCK   0x0061
 
#define LPDDR_UNLOCK_BLOCK   0x0062
 
#define LPDDR_READ_BLOCK_LOCK_STATUS   0x0065
 
#define LPDDR_INFO_QUERY   0x0098
 
#define LPDDR_READ_OTP   0x0097
 
#define LPDDR_PROG_OTP   0x00C0
 
#define LPDDR_RESUME   0x00D0
 
#define LPDDR_START_EXECUTION   0x0001
 
#define LPDDR_SUSPEND   0x0001
 
#define DSR_DPS
 
#define DSR_PSS
 
#define DSR_VPPS   (1<<3) /* RC; 0-Vpp OK, * 1-Vpp low */
 
#define DSR_PROGRAM_STATUS   (1<<4) /* RC; 0-successful, 1-error */
 
#define DSR_ERASE_STATUS
 
#define DSR_ESS
 
#define DSR_READY_STATUS
 
#define DSR_RPS
 
#define DSR_AOS   (1<<12) /* RC; 1- AO related failure */
 
#define DSR_AVAILABLE
 
#define DSR_ERR   0x133A
 

Macro Definition Documentation

#define DSR_AOS   (1<<12) /* RC; 1- AO related failure */

Definition at line 75 of file pfow.h.

#define DSR_AVAILABLE
Value:
(1<<15) /* R; Device availbility
* 1 - Device available
* 0 - not available */

Definition at line 76 of file pfow.h.

#define DSR_DPS
Value:
(1<<1) /* RC; device protect status
* 0 - not protected 1 - locked */

Definition at line 67 of file pfow.h.

#define DSR_ERASE_STATUS
Value:
(1<<5) /* RC; erase or blank check status;
* 0-success erase/blank check,
* 1 blank check error */

Definition at line 71 of file pfow.h.

#define DSR_ERR   0x133A

Definition at line 79 of file pfow.h.

#define DSR_ESS
Value:
(1<<6) /* R; erase suspend status;
* 0-erase in progress/complete,
* 1 erase suspended */

Definition at line 72 of file pfow.h.

#define DSR_PROGRAM_STATUS   (1<<4) /* RC; 0-successful, 1-error */

Definition at line 70 of file pfow.h.

#define DSR_PSS
Value:
(1<<2) /* R; program suspend status;
* 0-prog in progress/completed,
* 1- prog suspended */

Definition at line 68 of file pfow.h.

#define DSR_READY_STATUS
Value:
(1<<7) /* R; Device status
* 0-busy,
* 1-ready */

Definition at line 73 of file pfow.h.

#define DSR_RPS
Value:
(0x3<<8) /* RC; region program status
* 00 - Success,
* 01-re-program attempt in region with
* object mode data,
* 10-object mode program w attempt in
* region with control mode data
* 11-attempt to program invalid half
* with 0x41 command */

Definition at line 74 of file pfow.h.

#define DSR_VPPS   (1<<3) /* RC; 0-Vpp OK, * 1-Vpp low */

Definition at line 69 of file pfow.h.

#define LPDDR_BLOCK_ERASE   0x0020

Definition at line 50 of file pfow.h.

#define LPDDR_BUFF_PROGRAM   0x00E9

Definition at line 49 of file pfow.h.

#define LPDDR_INFO_QUERY   0x0098

Definition at line 54 of file pfow.h.

#define LPDDR_LOCK_BLOCK   0x0061

Definition at line 51 of file pfow.h.

#define LPDDR_PROG_OTP   0x00C0

Definition at line 56 of file pfow.h.

#define LPDDR_READ_BLOCK_LOCK_STATUS   0x0065

Definition at line 53 of file pfow.h.

#define LPDDR_READ_OTP   0x0097

Definition at line 55 of file pfow.h.

#define LPDDR_RESUME   0x00D0

Definition at line 57 of file pfow.h.

#define LPDDR_START_EXECUTION   0x0001

Definition at line 60 of file pfow.h.

#define LPDDR_SUSPEND   0x0001

Definition at line 63 of file pfow.h.

#define LPDDR_UNLOCK_BLOCK   0x0062

Definition at line 52 of file pfow.h.

#define LPDDR_WORD_PROGRAM   0x0041

Definition at line 48 of file pfow.h.

#define PFOW_CLEAR_PROGRAM_BUFFER   0x00c4

Definition at line 40 of file pfow.h.

#define PFOW_COMMAND_ADDRESS_H   0x008a

Definition at line 32 of file pfow.h.

#define PFOW_COMMAND_ADDRESS_L   0x0088

Definition at line 30 of file pfow.h.

#define PFOW_COMMAND_CODE   0x0080

Definition at line 26 of file pfow.h.

#define PFOW_COMMAND_DATA   0x0084

Definition at line 28 of file pfow.h.

#define PFOW_COMMAND_EXECUTE   0x00c0

Definition at line 38 of file pfow.h.

#define PFOW_DATA_COUNT_H   0x0092

Definition at line 36 of file pfow.h.

#define PFOW_DATA_COUNT_L   0x0090

Definition at line 34 of file pfow.h.

#define PFOW_DEVICE_ID   0x0022

Definition at line 20 of file pfow.h.

#define PFOW_DSR   0x00cc

Definition at line 44 of file pfow.h.

#define PFOW_MANUFACTURER_ID   0x0020

Definition at line 19 of file pfow.h.

#define PFOW_PROGRAM_BUFFER_OFFSET   0x0040

Definition at line 22 of file pfow.h.

#define PFOW_PROGRAM_BUFFER_SIZE   0x0042

Definition at line 24 of file pfow.h.

#define PFOW_PROGRAM_ERASE_SUSPEND   0x00c8

Definition at line 42 of file pfow.h.

#define PFOW_QUERY_STRING_F   0x0002

Definition at line 13 of file pfow.h.

#define PFOW_QUERY_STRING_O   0x0004

Definition at line 15 of file pfow.h.

#define PFOW_QUERY_STRING_P   0x0000

Definition at line 11 of file pfow.h.

#define PFOW_QUERY_STRING_W   0x0006

Definition at line 17 of file pfow.h.