RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Variables
qoriq.h File Reference

QorIQ Configuration, Control and Status Registers. More...

#include <bsp.h>
#include <bsp/tsec.h>
#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  qoriq_pic_reg
 
struct  qoriq_pic_global_timer
 
struct  qoriq_pic_bit_field
 
struct  qoriq_pic_src_cfg
 
struct  qoriq_pic_per_cpu
 
struct  qoriq_pic
 
struct  qoriq_uart
 
struct  qoriq_gpio
 
struct  qoriq_usb
 
struct  qoriq_esdhc
 
struct  qoriq_lcc
 
struct  qoriq_law
 
struct  qoriq_ecm
 
struct  qoriq_ddr_controller
 
struct  qoriq_i2c
 
struct  qoriq_local_bus
 
struct  qoriq_spi
 
struct  qoriq_pci_express
 
struct  qoriq_tdm
 
struct  qoriq_l2_cache
 
struct  qoriq_dma
 
struct  qoriq_tdm_dma
 
struct  qoriq_sec
 
struct  qoriq_serial_rapid_io
 
struct  qoriq_global_utilities
 
struct  qoriq_performance_monitor
 
struct  qoriq_debug_watchpoint
 
struct  qoriq_serdes
 
struct  qoriq_boot_rom
 
struct  qoriq_ccsr
 

Macros

#define QORIQ_FILL(a, b, s)   uint8_t reserved_ ## b [b - a - sizeof(s)]
 
#define QORIQ_RESERVE(a, b)   uint8_t reserved_ ## b [b - a]
 
#define GTCCR_TOG   BSP_BBIT32(0)
 
#define GTCCR_COUNT_GET(reg)   BSP_BFLD32GET(reg, 1, 31)
 
#define GTBCR_CI   BSP_BBIT32(0)
 
#define GTBCR_COUNT(val)   BSP_BFLD32(val, 1, 31)
 
#define GTBCR_COUNT_GET(reg)   BSP_BFLD32GET(reg, 1, 31)
 
#define GTBCR_COUNT_SET(reg, val)   BSP_BFLD32SET(reg, val, 1, 31)
 
#define GTTCR_ROVR(val)   BSP_BFLD32(val, 5, 7)
 
#define GTTCR_ROVR_GET(reg)   BSP_BFLD32GET(reg, 5, 7)
 
#define GTTCR_ROVR_SET(reg, val)   BSP_BFLD32SET(reg, val, 5, 7)
 
#define GTTCR_RTM   BSP_BBIT32(15)
 
#define GTTCR_CLKR(val)   BSP_BFLD32(val, 22, 23)
 
#define GTTCR_CLKR_GET(reg)   BSP_BFLD32GET(reg, 22, 23)
 
#define GTTCR_CLKR_SET(reg, val)   BSP_BFLD32SET(reg, val, 22, 23)
 
#define GTTCR_CASC(val)   BSP_BFLD32(val, 29, 31)
 
#define GTTCR_CASC_GET(reg)   BSP_BFLD32GET(reg, 29, 31)
 
#define GTTCR_CASC_SET(reg, val)   BSP_BFLD32SET(reg, val, 29, 31)
 
#define CCSRBAR_BASE_ADDR(val)   BSP_BFLD32(val, 8, 23)
 
#define CCSRBAR_BASE_ADDR_GET(reg)   BSP_BFLD32GET(reg, 8, 23)
 
#define CCSRBAR_BASE_ADDR_SET(reg, val)   BSP_BFLD32SET(reg, val, 8, 23)
 
#define ALTCBAR_BASE_ADDR(val)   BSP_BFLD32(val, 8, 23)
 
#define ALTCBAR_BASE_ADDR_GET(reg)   BSP_BFLD32GET(reg, 8, 23)
 
#define ALTCBAR_BASE_ADDR_SET(reg, val)   BSP_BFLD32SET(reg, val, 8, 23)
 
#define ALTCAR_EN   BSP_BBIT32(0)
 
#define ALTCAR_TRGT_ID(val)   BSP_BFLD32(val, 8, 11)
 
#define ALTCAR_TRGT_ID_GET(reg)   BSP_BFLD32GET(reg, 8, 11)
 
#define ALTCAR_TRGT_ID_SET(reg, val)   BSP_BFLD32SET(reg, val, 8, 11)
 
#define BPTR_EN   BSP_BBIT32(0)
 
#define BPTR_BOOT_PAGE(val)   BSP_BFLD32(val, 8, 31)
 
#define BPTR_BOOT_PAGE_GET(reg)   BSP_BFLD32GET(reg, 8, 31)
 
#define BPTR_BOOT_PAGE_SET(reg, val)   BSP_BFLD32SET(reg, val, 8, 31)
 
#define LAWBAR_BASE_ADDR(val)   BSP_BFLD32(val, 8, 31)
 
#define LAWBAR_BASE_ADDR_GET(reg)   BSP_BFLD32GET(reg, 8, 31)
 
#define LAWBAR_BASE_ADDR_SET(reg, val)   BSP_BFLD32SET(reg, val, 8, 31)
 
#define LAWAR_EN   BSP_BBIT32(0)
 
#define LAWAR_TRGT(val)   BSP_BFLD32(val, 8, 11)
 
#define LAWAR_TRGT_GET(reg)   BSP_BFLD32GET(reg, 8, 11)
 
#define LAWAR_TRGT_SET(reg, val)   BSP_BFLD32SET(reg, val, 8, 11)
 
#define LAWAR_SIZE(val)   BSP_BFLD32(val, 26, 31)
 
#define LAWAR_SIZE_GET(reg)   BSP_BFLD32GET(reg, 26, 31)
 
#define LAWAR_SIZE_SET(reg, val)   BSP_BFLD32SET(reg, val, 26, 31)
 

Typedefs

typedef struct qoriq_ccsr qoriq_ccsr
 

Variables

volatile qoriq_ccsr qoriq
 

Detailed Description

QorIQ Configuration, Control and Status Registers.