RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations | Functions

video core support. More...

Go to the source code of this file.

Data Structures

struct  bcm2835_get_display_size_entries
 
struct  bcm2835_init_frame_buffer_entries
 
struct  bcm2835_get_pitch_entries
 
struct  bcm2835_get_cmdline_entries
 
struct  bcm2835_set_power_state_entries
 
struct  bcm2835_get_arm_memory_entries
 
struct  bcm2835_get_vc_memory_entries
 
struct  bcm2835_mailbox_get_fw_rev_entries
 
struct  bcm2835_get_board_spec_entries
 
struct  bcm2835_get_board_serial_entries
 
struct  bcm2835_get_clock_rate_entries
 

Macros

#define BCM2835_MAILBOX_SET_POWER_STATE_REQ_ON   ( 1 << 0 )
 
#define BCM2835_MAILBOX_SET_POWER_STATE_REQ_WAIT   ( 1 << 1 )
 
#define BCM2835_MAILBOX_POWER_STATE_ON   ( 1 << 0 )
 
#define BCM2835_MAILBOX_POWER_STATE_NODEV   ( 1 << 1 )
 
#define BCM2835_REVISION_IS_NEW_STYLE(revision)   ((revision & (1 << 23)) != 0)
 
#define BCM2835_REVISION_MEMORY_SIZE(revision)   ((revision >> 20) & 0x7)
 
#define BCM2835_REVISION_MANUFACTURER(revision)   ((revision >> 16) & 0xf)
 
#define BCM2835_REVISION_PROCESSOR(revision)   ((revision >> 12) & 0xf)
 
#define BCM2835_REVISION_TYPE(revision)   ((revision >> 4) & 0xff)
 
#define BCM2835_REVISION_REVISION(revision)   ((revision >> 0) & 0xf)
 

Enumerations

enum  bcm2835_pixel_order { bcm2835_mailbox_pixel_order_bgr = 0 , bcm2835_mailbox_pixel_order_rgb = 1 }
 
enum  bcm2835_alpha_mode { bcm2835_mailbox_alpha_mode_0_opaque = 0 , bcm2835_mailbox_alpha_mode_0_transparent = 1 , bcm2835_mailbox_alpha_mode_ignored = 2 }
 
enum  bcm2835_power_device_id {
  bcm2835_mailbox_power_udid_sd_card = 0x00000000u , bcm2835_mailbox_power_udid_uart0 = 0x00000001u , bcm2835_mailbox_power_udid_uart1 = 0x00000002u , bcm2835_mailbox_power_udid_usb_hcd = 0x00000003u ,
  bcm2835_mailbox_power_udid_i2c0 = 0x00000004u , bcm2835_mailbox_power_udid_i2c1 = 0x00000005u , bcm2835_mailbox_power_udid_i2c2 = 0x00000006u , bcm2835_mailbox_power_udid_spi = 0x00000007u ,
  bcm2835_mailbox_power_udid_ccp2tx = 0x00000008u
}
 

Functions

int bcm2835_mailbox_get_display_size (bcm2835_get_display_size_entries *_entries)
 
int bcm2835_mailbox_init_frame_buffer (bcm2835_init_frame_buffer_entries *_entries)
 
int bcm2835_mailbox_get_pitch (bcm2835_get_pitch_entries *_entries)
 
int bcm2835_mailbox_get_cmdline (bcm2835_get_cmdline_entries *_entries)
 
int bcm2835_mailbox_set_power_state (bcm2835_set_power_state_entries *_entries)
 
int bcm2835_mailbox_get_power_state (bcm2835_set_power_state_entries *_entries)
 
int bcm2835_mailbox_get_arm_memory (bcm2835_get_arm_memory_entries *_entries)
 
int bcm2835_mailbox_get_vc_memory (bcm2835_get_vc_memory_entries *_entries)
 
int bcm2835_mailbox_get_firmware_revision (bcm2835_mailbox_get_fw_rev_entries *_entries)
 
int bcm2835_mailbox_get_board_model (bcm2835_get_board_spec_entries *_entries)
 
int bcm2835_mailbox_get_board_revision (bcm2835_get_board_spec_entries *_entries)
 
int bcm2835_mailbox_get_board_serial (bcm2835_get_board_serial_entries *_entries)
 
int bcm2835_mailbox_get_clock_rate (bcm2835_get_clock_rate_entries *_entries)
 

Detailed Description

video core support.