Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
radeon_atombios.c File Reference
#include <drm/drmP.h>
#include <drm/radeon_drm.h>
#include "radeon.h"
#include "atom.h"
#include "atom-bits.h"

Go to the source code of this file.

Data Structures

union  atom_supported_devices
 
struct  bios_connector
 
union  firmware_info
 
union  igp_info
 
union  asic_ss_info
 
union  lvds_info
 
union  power_info
 
union  pplib_clock_info
 
union  pplib_power_state
 
union  set_voltage
 

Functions

uint32_t radeon_get_encoder_enum (struct drm_device *dev, uint32_t supported_device, uint8_t dac)
 
void radeon_link_encoder_connector (struct drm_device *dev)
 
void radeon_add_atom_encoder (struct drm_device *dev, uint32_t encoder_enum, uint32_t supported_device, u16 caps)
 
void radeon_add_atom_connector (struct drm_device *dev, uint32_t connector_id, uint32_t supported_device, int connector_type, struct radeon_i2c_bus_rec *i2c_bus, uint32_t igp_lane_info, uint16_t connector_object_id, struct radeon_hpd *hpd, struct radeon_router *router)
 
void radeon_add_legacy_encoder (struct drm_device *dev, uint32_t encoder_enum, uint32_t supported_device)
 
void radeon_atombios_i2c_init (struct radeon_device *rdev)
 
bool radeon_get_atom_connector_info_from_object_table (struct drm_device *dev)
 
bool radeon_get_atom_connector_info_from_supported_devices_table (struct drm_device *dev)
 
bool radeon_atom_get_clock_info (struct drm_device *dev)
 
bool radeon_atombios_sideport_present (struct radeon_device *rdev)
 
bool radeon_atombios_get_tmds_info (struct radeon_encoder *encoder, struct radeon_encoder_int_tmds *tmds)
 
bool radeon_atombios_get_ppll_ss_info (struct radeon_device *rdev, struct radeon_atom_ss *ss, int id)
 
bool radeon_atombios_get_asic_ss_info (struct radeon_device *rdev, struct radeon_atom_ss *ss, int id, u32 clock)
 
struct radeon_encoder_atom_digradeon_atombios_get_lvds_info (struct radeon_encoder *encoder)
 
struct radeon_encoder_primary_dacradeon_atombios_get_primary_dac_info (struct radeon_encoder *encoder)
 
bool radeon_atom_get_tv_timings (struct radeon_device *rdev, int index, struct drm_display_mode *mode)
 
enum radeon_tv_std radeon_atombios_get_tv_info (struct radeon_device *rdev)
 
struct radeon_encoder_tv_dacradeon_atombios_get_tv_dac_info (struct radeon_encoder *encoder)
 
void radeon_atombios_get_power_modes (struct radeon_device *rdev)
 
void radeon_atom_set_clock_gating (struct radeon_device *rdev, int enable)
 
uint32_t radeon_atom_get_engine_clock (struct radeon_device *rdev)
 
uint32_t radeon_atom_get_memory_clock (struct radeon_device *rdev)
 
void radeon_atom_set_engine_clock (struct radeon_device *rdev, uint32_t eng_clock)
 
void radeon_atom_set_memory_clock (struct radeon_device *rdev, uint32_t mem_clock)
 
void radeon_atom_set_voltage (struct radeon_device *rdev, u16 voltage_level, u8 voltage_type)
 
void radeon_atom_initialize_bios_scratch_regs (struct drm_device *dev)
 
void radeon_save_bios_scratch_regs (struct radeon_device *rdev)
 
void radeon_restore_bios_scratch_regs (struct radeon_device *rdev)
 
void radeon_atom_output_lock (struct drm_encoder *encoder, bool lock)
 
void radeon_atombios_connected_scratch_regs (struct drm_connector *connector, struct drm_encoder *encoder, bool connected)
 
void radeon_atombios_encoder_crtc_scratch_regs (struct drm_encoder *encoder, int crtc)
 
void radeon_atombios_encoder_dpms_scratch_regs (struct drm_encoder *encoder, bool on)
 

Variables

const int supported_devices_connector_convert []
 
const uint16_t supported_devices_connector_object_id_convert []
 
const int object_connector_convert []
 

Function Documentation

void radeon_add_atom_connector ( struct drm_device dev,
uint32_t  connector_id,
uint32_t  supported_device,
int  connector_type,
struct radeon_i2c_bus_rec i2c_bus,
uint32_t  igp_lane_info,
uint16_t  connector_object_id,
struct radeon_hpd hpd,
struct radeon_router router 
)

Definition at line 1491 of file radeon_connectors.c.

void radeon_add_atom_encoder ( struct drm_device dev,
uint32_t  encoder_enum,
uint32_t  supported_device,
u16  caps 
)

Definition at line 2540 of file atombios_encoders.c.

void radeon_add_legacy_encoder ( struct drm_device dev,
uint32_t  encoder_enum,
uint32_t  supported_device 
)

Definition at line 1729 of file radeon_legacy_encoders.c.

bool radeon_atom_get_clock_info ( struct drm_device dev)

Definition at line 1119 of file radeon_atombios.c.

uint32_t radeon_atom_get_engine_clock ( struct radeon_device rdev)

Definition at line 2667 of file radeon_atombios.c.

uint32_t radeon_atom_get_memory_clock ( struct radeon_device rdev)

Definition at line 2676 of file radeon_atombios.c.

bool radeon_atom_get_tv_timings ( struct radeon_device rdev,
int  index,
struct drm_display_mode mode 
)

Definition at line 1706 of file radeon_atombios.c.

void radeon_atom_initialize_bios_scratch_regs ( struct drm_device dev)

Definition at line 2793 of file radeon_atombios.c.

void radeon_atom_output_lock ( struct drm_encoder encoder,
bool  lock 
)

Definition at line 2850 of file radeon_atombios.c.

void radeon_atom_set_clock_gating ( struct radeon_device rdev,
int  enable 
)

Definition at line 2657 of file radeon_atombios.c.

void radeon_atom_set_engine_clock ( struct radeon_device rdev,
uint32_t  eng_clock 
)

Definition at line 2685 of file radeon_atombios.c.

void radeon_atom_set_memory_clock ( struct radeon_device rdev,
uint32_t  mem_clock 
)

Definition at line 2696 of file radeon_atombios.c.

void radeon_atom_set_voltage ( struct radeon_device rdev,
u16  voltage_level,
u8  voltage_type 
)

Definition at line 2717 of file radeon_atombios.c.

void radeon_atombios_connected_scratch_regs ( struct drm_connector connector,
struct drm_encoder encoder,
bool  connected 
)

Definition at line 2877 of file radeon_atombios.c.

void radeon_atombios_encoder_crtc_scratch_regs ( struct drm_encoder encoder,
int  crtc 
)

Definition at line 3063 of file radeon_atombios.c.

void radeon_atombios_encoder_dpms_scratch_regs ( struct drm_encoder encoder,
bool  on 
)

Definition at line 3118 of file radeon_atombios.c.

bool radeon_atombios_get_asic_ss_info ( struct radeon_device rdev,
struct radeon_atom_ss ss,
int  id,
u32  clock 
)

Definition at line 1458 of file radeon_atombios.c.

struct radeon_encoder_atom_dig* radeon_atombios_get_lvds_info ( struct radeon_encoder encoder)
read

Definition at line 1536 of file radeon_atombios.c.

void radeon_atombios_get_power_modes ( struct radeon_device rdev)

Definition at line 2595 of file radeon_atombios.c.

bool radeon_atombios_get_ppll_ss_info ( struct radeon_device rdev,
struct radeon_atom_ss ss,
int  id 
)

Definition at line 1356 of file radeon_atombios.c.

struct radeon_encoder_primary_dac* radeon_atombios_get_primary_dac_info ( struct radeon_encoder encoder)
read

Definition at line 1676 of file radeon_atombios.c.

bool radeon_atombios_get_tmds_info ( struct radeon_encoder encoder,
struct radeon_encoder_int_tmds tmds 
)

Definition at line 1307 of file radeon_atombios.c.

struct radeon_encoder_tv_dac* radeon_atombios_get_tv_dac_info ( struct radeon_encoder encoder)
read

Definition at line 1860 of file radeon_atombios.c.

enum radeon_tv_std radeon_atombios_get_tv_info ( struct radeon_device rdev)

Definition at line 1802 of file radeon_atombios.c.

void radeon_atombios_i2c_init ( struct radeon_device rdev)

Definition at line 185 of file radeon_atombios.c.

bool radeon_atombios_sideport_present ( struct radeon_device rdev)

Definition at line 1274 of file radeon_atombios.c.

bool radeon_get_atom_connector_info_from_object_table ( struct drm_device dev)

Definition at line 531 of file radeon_atombios.c.

bool radeon_get_atom_connector_info_from_supported_devices_table ( struct drm_device dev)

Definition at line 907 of file radeon_atombios.c.

uint32_t radeon_get_encoder_enum ( struct drm_device dev,
uint32_t  supported_device,
uint8_t  dac 
)

Definition at line 86 of file radeon_encoders.c.

void radeon_link_encoder_connector ( struct drm_device dev)

Definition at line 162 of file radeon_encoders.c.

void radeon_restore_bios_scratch_regs ( struct radeon_device rdev)

Definition at line 2836 of file radeon_atombios.c.

void radeon_save_bios_scratch_regs ( struct radeon_device rdev)

Definition at line 2822 of file radeon_atombios.c.

Variable Documentation

const int object_connector_convert[]
const int supported_devices_connector_convert[]
const uint16_t supported_devices_connector_object_id_convert[]