Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hw.c File Reference
#include <linux/via-core.h>
#include <asm/olpc.h>
#include "global.h"
#include "via_clock.h"

Go to the source code of this file.

Functions

void viafb_lock_crt (void)
 
void viafb_unlock_crt (void)
 
void viafb_set_iga_path (void)
 
void viafb_set_primary_color_register (u8 index, u8 red, u8 green, u8 blue)
 
void viafb_set_secondary_color_register (u8 index, u8 red, u8 green, u8 blue)
 
void via_set_source (u32 devices, u8 iga)
 
void via_set_state (u32 devices, u8 state)
 
void via_set_sync_polarity (u32 devices, u8 polarity)
 
u32 via_parse_odev (char *input, char **end)
 
void via_odev_to_seq (struct seq_file *m, u32 odev)
 
void viafb_load_reg (int timing_value, int viafb_load_reg_num, struct io_register *reg, int io_type)
 
void viafb_write_regx (struct io_reg RegTable[], int ItemNum)
 
void viafb_load_fetch_count_reg (int h_addr, int bpp_byte, int set_iga)
 
void viafb_load_FIFO_reg (int set_iga, int hor_active, int ver_active)
 
void viafb_set_vclock (u32 clk, int set_iga)
 
struct display_timing var_to_timing (const struct fb_var_screeninfo *var, u16 cxres, u16 cyres)
 
void viafb_fill_crtc_timing (const struct fb_var_screeninfo *var, u16 cxres, u16 cyres, int iga)
 
void __devinit viafb_init_chip_info (int chip_type)
 
void viafb_update_device_setting (int hres, int vres, int bpp, int flag)
 
void __devinit viafb_init_dac (int set_iga)
 
int viafb_setmode (void)
 
int viafb_get_refresh (int hres, int vres, u32 long_refresh)
 
void viafb_set_dpa_gfx (int output_interface, struct GFX_DPA_SETTING *p_gfx_dpa_setting)
 
void viafb_fill_var_timing_info (struct fb_var_screeninfo *var, const struct fb_videomode *mode)
 

Function Documentation

struct display_timing var_to_timing ( const struct fb_var_screeninfo var,
u16  cxres,
u16  cyres 
)
read

Definition at line 1470 of file hw.c.

void via_odev_to_seq ( struct seq_file m,
u32  odev 
)

Definition at line 938 of file hw.c.

u32 via_parse_odev ( char input,
char **  end 
)

Definition at line 912 of file hw.c.

void via_set_source ( u32  devices,
u8  iga 
)

Definition at line 761 of file hw.c.

void via_set_state ( u32  devices,
u8  state 
)

Definition at line 875 of file hw.c.

void via_set_sync_polarity ( u32  devices,
u8  polarity 
)

Definition at line 894 of file hw.c.

void viafb_fill_crtc_timing ( const struct fb_var_screeninfo var,
u16  cxres,
u16  cyres,
int  iga 
)

Definition at line 1491 of file hw.c.

void viafb_fill_var_timing_info ( struct fb_var_screeninfo var,
const struct fb_videomode mode 
)

Definition at line 2121 of file hw.c.

int viafb_get_refresh ( int  hres,
int  vres,
u32  long_refresh 
)

Definition at line 2013 of file hw.c.

void __devinit viafb_init_chip_info ( int  chip_type)

Definition at line 1510 of file hw.c.

void __devinit viafb_init_dac ( int  set_iga)

Definition at line 1675 of file hw.c.

void viafb_load_fetch_count_reg ( int  h_addr,
int  bpp_byte,
int  set_iga 
)

Definition at line 1027 of file hw.c.

void viafb_load_FIFO_reg ( int  set_iga,
int  hor_active,
int  ver_active 
)

Definition at line 1052 of file hw.c.

void viafb_load_reg ( int  timing_value,
int  viafb_load_reg_num,
struct io_register reg,
int  io_type 
)

Definition at line 979 of file hw.c.

void viafb_lock_crt ( void  )

Definition at line 479 of file hw.c.

void viafb_set_dpa_gfx ( int  output_interface,
struct GFX_DPA_SETTING p_gfx_dpa_setting 
)

Definition at line 2061 of file hw.c.

void viafb_set_iga_path ( void  )

Definition at line 559 of file hw.c.

void viafb_set_primary_color_register ( u8  index,
u8  red,
u8  green,
u8  blue 
)

Definition at line 681 of file hw.c.

void viafb_set_secondary_color_register ( u8  index,
u8  red,
u8  green,
u8  blue 
)

Definition at line 687 of file hw.c.

void viafb_set_vclock ( u32  clk,
int  set_iga 
)

Definition at line 1457 of file hw.c.

int viafb_setmode ( void  )

Definition at line 1834 of file hw.c.

void viafb_unlock_crt ( void  )

Definition at line 484 of file hw.c.

void viafb_update_device_setting ( int  hres,
int  vres,
int  bpp,
int  flag 
)

Definition at line 1528 of file hw.c.

void viafb_write_regx ( struct io_reg  RegTable[],
int  ItemNum 
)

Definition at line 1016 of file hw.c.