/* * broadsheetfb.h - definitions for the broadsheet framebuffer driver * * Copyright (C) 2008 by Jaya Kumar * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * more details. * */ #ifndef _LINUX_BROADSHEETFB_H_ #define _LINUX_BROADSHEETFB_H_ /* Broadsheet command defines */ #define BS_CMD_INIT_SYS_RUN 0x06 #define BS_CMD_INIT_DSPE_CFG 0x09 #define BS_CMD_INIT_DSPE_TMG 0x0A #define BS_CMD_INIT_ROTMODE 0x0B #define BS_CMD_RD_REG 0x10 #define BS_CMD_WR_REG 0x11 #define BS_CMD_LD_IMG 0x20 #define BS_CMD_LD_IMG_AREA 0x22 #define BS_CMD_LD_IMG_END 0x23 #define BS_CMD_WAIT_DSPE_TRG 0x28 #define BS_CMD_WAIT_DSPE_FREND 0x29 #define BS_CMD_RD_WFM_INFO 0x30 #define BS_CMD_UPD_INIT 0x32 #define BS_CMD_UPD_FULL 0x33 #define BS_CMD_UPD_GDRV_CLR 0x37 /* Broadsheet register interface defines */ #define BS_REG_REV 0x00 #define BS_REG_PRC 0x02 /* Broadsheet pin interface specific defines */ #define BS_CS 0x01 #define BS_DC 0x02 #define BS_WR 0x03 /* Broadsheet IO interface specific defines */ #define BS_MMIO_CMD 0x01 #define BS_MMIO_DATA 0x02 /* struct used by broadsheet. board specific stuff comes from *board */ struct broadsheetfb_par { struct fb_info *info; struct broadsheet_board *board; void (*write_reg)(struct broadsheetfb_par *, u16 reg, u16 val); u16 (*read_reg)(struct broadsheetfb_par *, u16 reg); wait_queue_head_t waitq; int panel_index; struct mutex io_lock; }; /* board specific routines */ struct broadsheet_board { struct module *owner; int (*init)(struct broadsheetfb_par *); int (*wait_for_rdy)(struct broadsheetfb_par *); void (*cleanup)(struct broadsheetfb_par *); int (*get_panel_type)(void); int (*setup_irq)(struct fb_info *); /* Functions for boards that use GPIO */ void (*set_ctl)(struct broadsheetfb_par *, unsigned char, u8); void (*set_hdb)(struct broadsheetfb_par *, u16); u16 (*get_hdb)(struct broadsheetfb_par *); /* Functions for boards that have specialized MMIO */ void (*mmio_write)(struct broadsheetfb_par *, int type, u16); u16 (*mmio_read)(struct broadsheetfb_par *); }; #endif lude/drm/drm_gem.h'>
path: root/include/drm/drm_gem.h
ad3ce'>logplain
AgeCommit message (Expand)AuthorFilesLines
d---------bridge111logplain
-rw-r--r--drmP.h25758logplain
-rw-r--r--drm_agpsupport.h3867logplain
-rw-r--r--drm_atomic.h14443logplain
-rw-r--r--drm_atomic_helper.h10607logplain
-rw-r--r--drm_auth.h2260logplain
-rw-r--r--drm_blend.h2700logplain
-rw-r--r--drm_bridge.h7977logplain
-rw-r--r--drm_cache.h1763logplain
-rw-r--r--drm_color_mgmt.h2166logplain
-rw-r--r--drm_connector.h28613logplain
-rw-r--r--drm_crtc.h28999logplain
-rw-r--r--drm_crtc_helper.h3301logplain
-rw-r--r--drm_debugfs_crc.h2670logplain
-rw-r--r--drm_displayid.h2850logplain
-rw-r--r--drm_dp_dual_mode_helper.h4532logplain
-rw-r--r--drm_dp_helper.h30638logplain
-rw-r--r--drm_dp_mst_helper.h16260logplain
-rw-r--r--drm_drv.h14861logplain
-rw-r--r--drm_edid.h14335logplain
-rw-r--r--drm_encoder.h8160logplain
-rw-r--r--drm_encoder_slave.h6583logplain
-rw-r--r--drm_fb_cma_helper.h1929logplain
-rw-r--r--drm_fb_helper.h15125logplain
-rw-r--r--drm_fixed.h4825logplain
-rw-r--r--drm_flip_work.h3071logplain
-rw-r--r--drm_fourcc.h2748logplain
-rw-r--r--drm_framebuffer.h9623logplain
-rw-r--r--drm_gem.h8052logplain
-rw-r--r--drm_gem_cma_helper.h2286logplain
-rw-r--r--drm_global.h2011logplain
-rw-r--r--drm_hashtab.h3139logplain
-rw-r--r--drm_irq.h6323logplain
-rw-r--r--drm_legacy.h6933logplain
-rw-r--r--drm_mem_util.h2468logplain
-rw-r--r--drm_mipi_dsi.h10327logplain
-rw-r--r--drm_mm.h11462logplain
-rw-r--r--drm_mode_config.h23728logplain
-rw-r--r--drm_mode_object.h4911logplain
-rw-r--r--drm_modes.h17078logplain
-rw-r--r--drm_modeset_helper.h1576logplain
-rw-r--r--drm_modeset_helper_vtables.h41180logplain
-rw-r--r--drm_modeset_lock.h4241logplain
-rw-r--r--drm_of.h2034logplain
-rw-r--r--drm_os_linux.h2230logplain
-rw-r--r--drm_panel.h7079logplain
-rw-r--r--drm_pciids.h68035logplain
-rw-r--r--drm_plane.h19435logplain
-rw-r--r--drm_plane_helper.h3186logplain
-rw-r--r--drm_print.h3232logplain
-rw-r--r--drm_property.h11460logplain
-rw-r--r--drm_rect.h5103logplain
-rw-r--r--drm_simple_kms_helper.h4090logplain
-rw-r--r--drm_sysfs.h300logplain
-rw-r--r--drm_vma_manager.h7840logplain
-rw-r--r--gma_drm.h1033logplain
d---------i2c109logplain