Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
usb_rdl.h File Reference

Go to the source code of this file.

Data Structures

struct  rdl_state_le
 
struct  bootrom_id_le
 

Macros

#define DL_GETSTATE   0 /* returns the rdl_state_t struct */
 
#define DL_CHECK_CRC   1 /* currently unused */
 
#define DL_GO   2 /* execute downloaded image */
 
#define DL_START   3 /* initialize dl state */
 
#define DL_REBOOT   4 /* reboot the device in 2 seconds */
 
#define DL_GETVER   5 /* returns the bootrom_id_t struct */
 
#define DL_GO_PROTECTED
 
#define DL_EXEC   7 /* jump to a supplied address */
 
#define DL_RESETCFG
 
#define DL_DEFER_RESP_OK
 
#define DL_WAITING   0 /* waiting to rx first pkt */
 
#define DL_READY
 
#define DL_BAD_HDR   2 /* hdr was corrupted */
 
#define DL_BAD_CRC   3 /* compressed image was corrupted */
 
#define DL_RUNNABLE   4 /* download was successful,waiting for go cmd */
 
#define DL_START_FAIL   5 /* failed to initialize correctly */
 
#define DL_NVRAM_TOOBIG
 
#define DL_IMAGE_TOOBIG
 
#define RDL_CHUNK   1500 /* size of each dl transfer */
 
#define TRX_OFFSETS_DLFWLEN_IDX   0
 
#define TRX_OFFSETS_JUMPTO_IDX   1
 
#define TRX_OFFSETS_NVM_LEN_IDX   2
 
#define TRX_OFFSETS_DLBASE_IDX   0
 

Macro Definition Documentation

#define DL_BAD_CRC   3 /* compressed image was corrupted */

Definition at line 36 of file usb_rdl.h.

#define DL_BAD_HDR   2 /* hdr was corrupted */

Definition at line 35 of file usb_rdl.h.

#define DL_CHECK_CRC   1 /* currently unused */

Definition at line 22 of file usb_rdl.h.

#define DL_DEFER_RESP_OK
Value:
9 /* Potentially defer the response to setup
* if resp unavailable
*/

Definition at line 30 of file usb_rdl.h.

#define DL_EXEC   7 /* jump to a supplied address */

Definition at line 28 of file usb_rdl.h.

#define DL_GETSTATE   0 /* returns the rdl_state_t struct */

Definition at line 21 of file usb_rdl.h.

#define DL_GETVER   5 /* returns the bootrom_id_t struct */

Definition at line 26 of file usb_rdl.h.

#define DL_GO   2 /* execute downloaded image */

Definition at line 23 of file usb_rdl.h.

#define DL_GO_PROTECTED
Value:
6 /* execute the downloaded code and set reset
* event to occur in 2 seconds. It is the
* responsibility of the downloaded code to
* clear this event
*/

Definition at line 27 of file usb_rdl.h.

#define DL_IMAGE_TOOBIG
Value:
7 /* download image too big (exceeds DATA_START
* for rdl) */

Definition at line 40 of file usb_rdl.h.

#define DL_NVRAM_TOOBIG
Value:
6 /* host specified nvram data exceeds DL_NVRAM
* value */

Definition at line 39 of file usb_rdl.h.

#define DL_READY
Value:
1 /* hdr was good, waiting for more of the
* compressed image */

Definition at line 34 of file usb_rdl.h.

#define DL_REBOOT   4 /* reboot the device in 2 seconds */

Definition at line 25 of file usb_rdl.h.

#define DL_RESETCFG
Value:
8 /* To support single enum on dongle
* - Not used by bootloader
*/

Definition at line 29 of file usb_rdl.h.

#define DL_RUNNABLE   4 /* download was successful,waiting for go cmd */

Definition at line 37 of file usb_rdl.h.

#define DL_START   3 /* initialize dl state */

Definition at line 24 of file usb_rdl.h.

#define DL_START_FAIL   5 /* failed to initialize correctly */

Definition at line 38 of file usb_rdl.h.

#define DL_WAITING   0 /* waiting to rx first pkt */

Definition at line 33 of file usb_rdl.h.

#define RDL_CHUNK   1500 /* size of each dl transfer */

Definition at line 56 of file usb_rdl.h.

#define TRX_OFFSETS_DLBASE_IDX   0

Definition at line 62 of file usb_rdl.h.

#define TRX_OFFSETS_DLFWLEN_IDX   0

Definition at line 58 of file usb_rdl.h.

#define TRX_OFFSETS_JUMPTO_IDX   1

Definition at line 59 of file usb_rdl.h.

#define TRX_OFFSETS_NVM_LEN_IDX   2

Definition at line 60 of file usb_rdl.h.