diff options
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r-- | drivers/video/via/hw.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h index 8858593405aa..c7239eb83bae 100644 --- a/drivers/video/via/hw.h +++ b/drivers/video/via/hw.h | |||
@@ -732,20 +732,13 @@ struct _lcd_scaling_factor { | |||
732 | struct _lcd_ver_scaling_factor lcd_ver_scaling_factor; | 732 | struct _lcd_ver_scaling_factor lcd_ver_scaling_factor; |
733 | }; | 733 | }; |
734 | 734 | ||
735 | struct pll_config { | 735 | struct pll_limit { |
736 | u16 multiplier; | 736 | u16 multiplier_min; |
737 | u16 multiplier_max; | ||
737 | u8 divisor; | 738 | u8 divisor; |
738 | u8 rshift; | 739 | u8 rshift; |
739 | }; | 740 | }; |
740 | 741 | ||
741 | struct pll_map { | ||
742 | u32 clk; | ||
743 | struct pll_config cle266_pll; | ||
744 | struct pll_config k800_pll; | ||
745 | struct pll_config cx700_pll; | ||
746 | struct pll_config vx855_pll; | ||
747 | }; | ||
748 | |||
749 | struct rgbLUT { | 742 | struct rgbLUT { |
750 | u8 red; | 743 | u8 red; |
751 | u8 green; | 744 | u8 green; |
@@ -910,7 +903,6 @@ struct via_device_mapping { | |||
910 | const char *name; | 903 | const char *name; |
911 | }; | 904 | }; |
912 | 905 | ||
913 | extern unsigned int viafb_second_virtual_xres; | ||
914 | extern int viafb_SAMM_ON; | 906 | extern int viafb_SAMM_ON; |
915 | extern int viafb_dual_fb; | 907 | extern int viafb_dual_fb; |
916 | extern int viafb_LCD2_ON; | 908 | extern int viafb_LCD2_ON; |
@@ -936,7 +928,6 @@ void viafb_lock_crt(void); | |||
936 | void viafb_unlock_crt(void); | 928 | void viafb_unlock_crt(void); |
937 | void viafb_load_fetch_count_reg(int h_addr, int bpp_byte, int set_iga); | 929 | void viafb_load_fetch_count_reg(int h_addr, int bpp_byte, int set_iga); |
938 | void viafb_write_regx(struct io_reg RegTable[], int ItemNum); | 930 | void viafb_write_regx(struct io_reg RegTable[], int ItemNum); |
939 | u32 viafb_get_clk_value(int clk); | ||
940 | void viafb_load_FIFO_reg(int set_iga, int hor_active, int ver_active); | 931 | void viafb_load_FIFO_reg(int set_iga, int hor_active, int ver_active); |
941 | void viafb_set_dpa_gfx(int output_interface, struct GFX_DPA_SETTING\ | 932 | void viafb_set_dpa_gfx(int output_interface, struct GFX_DPA_SETTING\ |
942 | *p_gfx_dpa_setting); | 933 | *p_gfx_dpa_setting); |