⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 w100fb.h

📁 Linux环境下视频显示卡设备的驱动程序源代码
💻 H
📖 第 1 页 / 共 2 页
字号:
	u32 active_v_end    : 10;	u32                 : 6;} __attribute__((packed));union active_v_disp_u {	u32 val : 32;	struct active_v_disp_t f;} __attribute__((packed));struct graphic_h_disp_t {	u32 graphic_h_start : 10;	u32                 : 6;	u32 graphic_h_end   : 10;	u32                 : 6;} __attribute__((packed));union graphic_h_disp_u {	u32 val : 32;	struct graphic_h_disp_t f;} __attribute__((packed));struct graphic_v_disp_t {	u32 graphic_v_start : 10;	u32                 : 6;	u32 graphic_v_end   : 10;	u32                 : 6;} __attribute__((packed));union graphic_v_disp_u{	u32 val : 32;	struct graphic_v_disp_t f;} __attribute__((packed));struct graphic_ctrl_t_w100 {	u32 color_depth       : 3;	u32 portrait_mode     : 2;	u32 low_power_on      : 1;	u32 req_freq          : 4;	u32 en_crtc           : 1;	u32 en_graphic_req    : 1;	u32 en_graphic_crtc   : 1;	u32 total_req_graphic : 9;	u32 lcd_pclk_on       : 1;	u32 lcd_sclk_on       : 1;	u32 pclk_running      : 1;	u32 sclk_running      : 1;	u32                   : 6;} __attribute__((packed));struct graphic_ctrl_t_w32xx {	u32 color_depth       : 3;	u32 portrait_mode     : 2;	u32 low_power_on      : 1;	u32 req_freq          : 4;	u32 en_crtc           : 1;	u32 en_graphic_req    : 1;	u32 en_graphic_crtc   : 1;	u32 total_req_graphic : 10;	u32 lcd_pclk_on       : 1;	u32 lcd_sclk_on       : 1;	u32 pclk_running      : 1;	u32 sclk_running      : 1;	u32                   : 5;} __attribute__((packed));union graphic_ctrl_u {	u32 val : 32;	struct graphic_ctrl_t_w100 f_w100;	struct graphic_ctrl_t_w32xx f_w32xx;} __attribute__((packed));struct video_ctrl_t {	u32 video_mode       : 1;	u32 keyer_en         : 1;	u32 en_video_req     : 1;	u32 en_graphic_req_video  : 1;	u32 en_video_crtc    : 1;	u32 video_hor_exp    : 2;	u32 video_ver_exp    : 2;	u32 uv_combine       : 1;	u32 total_req_video  : 9;	u32 video_ch_sel     : 1;	u32 video_portrait   : 2;	u32 yuv2rgb_en       : 1;	u32 yuv2rgb_option   : 1;	u32 video_inv_hor    : 1;	u32 video_inv_ver    : 1;	u32 gamma_sel        : 2;	u32 dis_limit        : 1;	u32 en_uv_hblend     : 1;	u32 rgb_gamma_sel    : 2;} __attribute__((packed));union video_ctrl_u {	u32 val : 32;	struct video_ctrl_t f;} __attribute__((packed));struct disp_db_buf_cntl_rd_t {	u32 en_db_buf           : 1;	u32 update_db_buf_done  : 1;	u32 db_buf_cntl         : 6;	u32                     : 24;} __attribute__((packed));union disp_db_buf_cntl_rd_u {	u32 val : 32;	struct disp_db_buf_cntl_rd_t f;} __attribute__((packed));struct disp_db_buf_cntl_wr_t {	u32 en_db_buf      : 1;	u32 update_db_buf  : 1;	u32 db_buf_cntl    : 6;	u32                : 24;} __attribute__((packed));union disp_db_buf_cntl_wr_u {	u32 val : 32;	struct disp_db_buf_cntl_wr_t f;} __attribute__((packed));struct gamma_value1_t {	u32 gamma1   : 8;	u32 gamma2   : 8;	u32 gamma3   : 8;	u32 gamma4   : 8;} __attribute__((packed));union gamma_value1_u {	u32 val : 32;	struct gamma_value1_t f;} __attribute__((packed));struct gamma_value2_t {	u32 gamma5   : 8;	u32 gamma6   : 8;	u32 gamma7   : 8;	u32 gamma8   : 8;} __attribute__((packed));union gamma_value2_u {	u32 val : 32;	struct gamma_value2_t f;} __attribute__((packed));struct gamma_slope_t {	u32 slope1   : 3;	u32 slope2   : 3;	u32 slope3   : 3;	u32 slope4   : 3;	u32 slope5   : 3;	u32 slope6   : 3;	u32 slope7   : 3;	u32 slope8   : 3;	u32          : 8;} __attribute__((packed));union gamma_slope_u {	u32 val : 32;	struct gamma_slope_t f;} __attribute__((packed));struct mc_ext_mem_location_t {	u32 mc_ext_mem_start : 16;	u32 mc_ext_mem_top   : 16;} __attribute__((packed));union mc_ext_mem_location_u {	u32 val : 32;	struct mc_ext_mem_location_t f;} __attribute__((packed));struct mc_fb_location_t {	u32 mc_fb_start      : 16;	u32 mc_fb_top        : 16;} __attribute__((packed));union mc_fb_location_u {	u32 val : 32;	struct mc_fb_location_t f;} __attribute__((packed));struct clk_pin_cntl_t {	u32 osc_en           : 1;	u32 osc_gain         : 5;	u32 dont_use_xtalin  : 1;	u32 xtalin_pm_en     : 1;	u32 xtalin_dbl_en    : 1;	u32                  : 7;	u32 cg_debug         : 16;} __attribute__((packed));union clk_pin_cntl_u {	u32 val : 32;	struct clk_pin_cntl_t f;} __attribute__((packed));struct pll_ref_fb_div_t {	u32 pll_ref_div      : 4;	u32                  : 4;	u32 pll_fb_div_int   : 6;	u32                  : 2;	u32 pll_fb_div_frac  : 3;	u32                  : 1;	u32 pll_reset_time   : 4;	u32 pll_lock_time    : 8;} __attribute__((packed));union pll_ref_fb_div_u {	u32 val : 32;	struct pll_ref_fb_div_t f;} __attribute__((packed));struct pll_cntl_t {	u32 pll_pwdn        : 1;	u32 pll_reset       : 1;	u32 pll_pm_en       : 1;	u32 pll_mode        : 1;	u32 pll_refclk_sel  : 1;	u32 pll_fbclk_sel   : 1;	u32 pll_tcpoff      : 1;	u32 pll_pcp         : 3;	u32 pll_pvg         : 3;	u32 pll_vcofr       : 1;	u32 pll_ioffset     : 2;	u32 pll_pecc_mode   : 2;	u32 pll_pecc_scon   : 2;	u32 pll_dactal      : 4;	u32 pll_cp_clip     : 2;	u32 pll_conf        : 3;	u32 pll_mbctrl      : 2;	u32 pll_ring_off    : 1;} __attribute__((packed));union pll_cntl_u {	u32 val : 32;	struct pll_cntl_t f;} __attribute__((packed));struct sclk_cntl_t {	u32 sclk_src_sel         : 2;	u32                      : 2;	u32 sclk_post_div_fast   : 4;	u32 sclk_clkon_hys       : 3;	u32 sclk_post_div_slow   : 4;	u32 disp_cg_ok2switch_en : 1;	u32 sclk_force_reg       : 1;	u32 sclk_force_disp      : 1;	u32 sclk_force_mc        : 1;	u32 sclk_force_extmc     : 1;	u32 sclk_force_cp        : 1;	u32 sclk_force_e2        : 1;	u32 sclk_force_e3        : 1;	u32 sclk_force_idct      : 1;	u32 sclk_force_bist      : 1;	u32 busy_extend_cp       : 1;	u32 busy_extend_e2       : 1;	u32 busy_extend_e3       : 1;	u32 busy_extend_idct     : 1;	u32                      : 3;} __attribute__((packed));union sclk_cntl_u {	u32 val : 32;	struct sclk_cntl_t f;} __attribute__((packed));struct pclk_cntl_t {	u32 pclk_src_sel     : 2;	u32                  : 2;	u32 pclk_post_div    : 4;	u32                  : 8;	u32 pclk_force_disp  : 1;	u32                  : 15;} __attribute__((packed));union pclk_cntl_u {	u32 val : 32;	struct pclk_cntl_t f;} __attribute__((packed));#define TESTCLK_SRC_PLL   0x01#define TESTCLK_SRC_SCLK  0x02#define TESTCLK_SRC_PCLK  0x03/* 4 and 5 seem to by XTAL/M */#define TESTCLK_SRC_XTAL  0x06struct clk_test_cntl_t {	u32 testclk_sel      : 4;	u32                  : 3;	u32 start_check_freq : 1;	u32 tstcount_rst     : 1;	u32                  : 15;	u32 test_count       : 8;} __attribute__((packed));union clk_test_cntl_u {	u32 val : 32;	struct clk_test_cntl_t f;} __attribute__((packed));struct pwrmgt_cntl_t {	u32 pwm_enable           : 1;	u32                      : 1;	u32 pwm_mode_req         : 2;	u32 pwm_wakeup_cond      : 2;	u32 pwm_fast_noml_hw_en  : 1;	u32 pwm_noml_fast_hw_en  : 1;	u32 pwm_fast_noml_cond   : 4;	u32 pwm_noml_fast_cond   : 4;	u32 pwm_idle_timer       : 8;	u32 pwm_busy_timer       : 8;} __attribute__((packed));union pwrmgt_cntl_u {	u32 val : 32;	struct pwrmgt_cntl_t f;} __attribute__((packed));#define SRC_DATATYPE_EQU_DST	3#define ROP3_SRCCOPY	0xcc#define ROP3_PATCOPY	0xf0#define GMC_BRUSH_SOLID_COLOR	13#define GMC_BRUSH_NONE			15#define DP_SRC_MEM_RECTANGULAR	2#define DP_OP_ROP	0struct dp_gui_master_cntl_t {	u32 gmc_src_pitch_offset_cntl : 1;	u32 gmc_dst_pitch_offset_cntl : 1;	u32 gmc_src_clipping          : 1;	u32 gmc_dst_clipping          : 1;	u32 gmc_brush_datatype        : 4;	u32 gmc_dst_datatype          : 4;	u32 gmc_src_datatype          : 3;	u32 gmc_byte_pix_order        : 1;	u32 gmc_default_sel           : 1;	u32 gmc_rop3                  : 8;	u32 gmc_dp_src_source         : 3;	u32 gmc_clr_cmp_fcn_dis       : 1;	u32                           : 1;	u32 gmc_wr_msk_dis            : 1;	u32 gmc_dp_op                 : 1;} __attribute__((packed));union dp_gui_master_cntl_u {	u32 val : 32;	struct dp_gui_master_cntl_t f;} __attribute__((packed));struct rbbm_status_t {	u32 cmdfifo_avail   : 7;	u32                 : 1;	u32 hirq_on_rbb     : 1;	u32 cprq_on_rbb     : 1;	u32 cfrq_on_rbb     : 1;	u32 hirq_in_rtbuf   : 1;	u32 cprq_in_rtbuf   : 1;	u32 cfrq_in_rtbuf   : 1;	u32 cf_pipe_busy    : 1;	u32 eng_ev_busy     : 1;	u32 cp_cmdstrm_busy : 1;	u32 e2_busy         : 1;	u32 rb2d_busy       : 1;	u32 rb3d_busy       : 1;	u32 se_busy         : 1;	u32 re_busy         : 1;	u32 tam_busy        : 1;	u32 tdm_busy        : 1;	u32 pb_busy         : 1;	u32                 : 6;	u32 gui_active      : 1;} __attribute__((packed));union rbbm_status_u {	u32 val : 32;	struct rbbm_status_t f;} __attribute__((packed));struct dp_datatype_t {	u32 dp_dst_datatype   : 4;	u32                   : 4;	u32 dp_brush_datatype : 4;	u32 dp_src2_type      : 1;	u32 dp_src2_datatype  : 3;	u32 dp_src_datatype   : 3;	u32                   : 11;	u32 dp_byte_pix_order : 1;	u32                   : 1;} __attribute__((packed));union dp_datatype_u {	u32 val : 32;	struct dp_datatype_t f;} __attribute__((packed));struct dp_mix_t {	u32                : 8;	u32 dp_src_source  : 3;	u32 dp_src2_source : 3;	u32                : 2;	u32 dp_rop3        : 8;	u32 dp_op          : 1;	u32                : 7;} __attribute__((packed));union dp_mix_u {	u32 val : 32;	struct dp_mix_t f;} __attribute__((packed));struct eng_cntl_t {	u32 erc_reg_rd_ws            : 1;	u32 erc_reg_wr_ws            : 1;	u32 erc_idle_reg_wr          : 1;	u32 dis_engine_triggers      : 1;	u32 dis_rop_src_uses_dst_w_h : 1;	u32 dis_src_uses_dst_dirmaj  : 1;	u32                          : 6;	u32 force_3dclk_when_2dclk   : 1;	u32                          : 19;} __attribute__((packed));union eng_cntl_u {	u32 val : 32;	struct eng_cntl_t f;} __attribute__((packed));struct dp_cntl_t {	u32 dst_x_dir   : 1;	u32 dst_y_dir   : 1;	u32 src_x_dir   : 1;	u32 src_y_dir   : 1;	u32 dst_major_x : 1;	u32 src_major_x : 1;	u32             : 26;} __attribute__((packed));union dp_cntl_u {	u32 val : 32;	struct dp_cntl_t f;} __attribute__((packed));struct dp_cntl_dst_dir_t {	u32           : 15;	u32 dst_y_dir : 1;	u32           : 15;	u32 dst_x_dir : 1;} __attribute__((packed));union dp_cntl_dst_dir_u {	u32 val : 32;	struct dp_cntl_dst_dir_t f;} __attribute__((packed));#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -