Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
omapdss.h File Reference
#include <linux/list.h>
#include <linux/kobject.h>
#include <linux/device.h>

Go to the source code of this file.

Data Structures

struct  rfbi_timings
 
struct  omap_dss_dsi_videomode_timings
 
struct  omap_dss_board_info
 
struct  omap_video_timings
 
struct  omap_dss_cpr_coefs
 
struct  omap_overlay_info
 
struct  omap_overlay
 
struct  omap_overlay_manager_info
 
struct  omap_overlay_manager
 
struct  omap_dsi_pin_config
 
struct  omap_dss_writeback_info
 
struct  omap_dss_output
 
struct  omap_dss_device
 
struct  omap_dss_hdmi_data
 
struct  omap_dss_audio
 
struct  omap_dss_driver
 

Macros

#define DISPC_IRQ_FRAMEDONE   (1 << 0)
 
#define DISPC_IRQ_VSYNC   (1 << 1)
 
#define DISPC_IRQ_EVSYNC_EVEN   (1 << 2)
 
#define DISPC_IRQ_EVSYNC_ODD   (1 << 3)
 
#define DISPC_IRQ_ACBIAS_COUNT_STAT   (1 << 4)
 
#define DISPC_IRQ_PROG_LINE_NUM   (1 << 5)
 
#define DISPC_IRQ_GFX_FIFO_UNDERFLOW   (1 << 6)
 
#define DISPC_IRQ_GFX_END_WIN   (1 << 7)
 
#define DISPC_IRQ_PAL_GAMMA_MASK   (1 << 8)
 
#define DISPC_IRQ_OCP_ERR   (1 << 9)
 
#define DISPC_IRQ_VID1_FIFO_UNDERFLOW   (1 << 10)
 
#define DISPC_IRQ_VID1_END_WIN   (1 << 11)
 
#define DISPC_IRQ_VID2_FIFO_UNDERFLOW   (1 << 12)
 
#define DISPC_IRQ_VID2_END_WIN   (1 << 13)
 
#define DISPC_IRQ_SYNC_LOST   (1 << 14)
 
#define DISPC_IRQ_SYNC_LOST_DIGIT   (1 << 15)
 
#define DISPC_IRQ_WAKEUP   (1 << 16)
 
#define DISPC_IRQ_SYNC_LOST2   (1 << 17)
 
#define DISPC_IRQ_VSYNC2   (1 << 18)
 
#define DISPC_IRQ_VID3_END_WIN   (1 << 19)
 
#define DISPC_IRQ_VID3_FIFO_UNDERFLOW   (1 << 20)
 
#define DISPC_IRQ_ACBIAS_COUNT_STAT2   (1 << 21)
 
#define DISPC_IRQ_FRAMEDONE2   (1 << 22)
 
#define DISPC_IRQ_FRAMEDONEWB   (1 << 23)
 
#define DISPC_IRQ_FRAMEDONETV   (1 << 24)
 
#define DISPC_IRQ_WBBUFFEROVERFLOW   (1 << 25)
 
#define DISPC_IRQ_SYNC_LOST3   (1 << 27)
 
#define DISPC_IRQ_VSYNC3   (1 << 28)
 
#define DISPC_IRQ_ACBIAS_COUNT_STAT3   (1 << 29)
 
#define DISPC_IRQ_FRAMEDONE3   (1 << 30)
 
#define OMAP_DSS_MAX_DSI_PINS   22
 
#define for_each_dss_dev(d)   while ((d = omap_dss_get_next_device(d)) != NULL)
 
#define to_dss_driver(x)   container_of((x), struct omap_dss_driver, driver)
 
#define to_dss_device(x)   container_of((x), struct omap_dss_device, dev)
 

Typedefs

typedef void(* omap_dispc_isr_t )(void *arg, u32 mask)
 

Enumerations

enum  omap_display_type {
  OMAP_DISPLAY_TYPE_NONE = 0, OMAP_DISPLAY_TYPE_DPI = 1 << 0, OMAP_DISPLAY_TYPE_DBI = 1 << 1, OMAP_DISPLAY_TYPE_SDI = 1 << 2,
  OMAP_DISPLAY_TYPE_DSI = 1 << 3, OMAP_DISPLAY_TYPE_VENC = 1 << 4, OMAP_DISPLAY_TYPE_HDMI = 1 << 5
}
 
enum  omap_plane {
  OMAP_DSS_GFX = 0, OMAP_DSS_VIDEO1 = 1, OMAP_DSS_VIDEO2 = 2, OMAP_DSS_VIDEO3 = 3,
  OMAP_DSS_WB = 4
}
 
enum  omap_channel { OMAP_DSS_CHANNEL_LCD = 0, OMAP_DSS_CHANNEL_DIGIT = 1, OMAP_DSS_CHANNEL_LCD2 = 2, OMAP_DSS_CHANNEL_LCD3 = 3 }
 
enum  omap_color_mode {
  OMAP_DSS_COLOR_CLUT1 = 1 << 0, OMAP_DSS_COLOR_CLUT2 = 1 << 1, OMAP_DSS_COLOR_CLUT4 = 1 << 2, OMAP_DSS_COLOR_CLUT8 = 1 << 3,
  OMAP_DSS_COLOR_RGB12U = 1 << 4, OMAP_DSS_COLOR_ARGB16 = 1 << 5, OMAP_DSS_COLOR_RGB16 = 1 << 6, OMAP_DSS_COLOR_RGB24U = 1 << 7,
  OMAP_DSS_COLOR_RGB24P = 1 << 8, OMAP_DSS_COLOR_YUV2 = 1 << 9, OMAP_DSS_COLOR_UYVY = 1 << 10, OMAP_DSS_COLOR_ARGB32 = 1 << 11,
  OMAP_DSS_COLOR_RGBA32 = 1 << 12, OMAP_DSS_COLOR_RGBX32 = 1 << 13, OMAP_DSS_COLOR_NV12 = 1 << 14, OMAP_DSS_COLOR_RGBA16 = 1 << 15,
  OMAP_DSS_COLOR_RGBX16 = 1 << 16, OMAP_DSS_COLOR_ARGB16_1555 = 1 << 17, OMAP_DSS_COLOR_XRGB16_1555 = 1 << 18
}
 
enum  omap_dss_load_mode { OMAP_DSS_LOAD_CLUT_AND_FRAME = 0, OMAP_DSS_LOAD_CLUT_ONLY = 1, OMAP_DSS_LOAD_FRAME_ONLY = 2, OMAP_DSS_LOAD_CLUT_ONCE_FRAME = 3 }
 
enum  omap_dss_trans_key_type { OMAP_DSS_COLOR_KEY_GFX_DST = 0, OMAP_DSS_COLOR_KEY_VID_SRC = 1 }
 
enum  omap_rfbi_te_mode { OMAP_DSS_RFBI_TE_MODE_1 = 1, OMAP_DSS_RFBI_TE_MODE_2 = 2 }
 
enum  omap_dss_signal_level { OMAPDSS_SIG_ACTIVE_HIGH = 0, OMAPDSS_SIG_ACTIVE_LOW = 1 }
 
enum  omap_dss_signal_edge { OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, OMAPDSS_DRIVE_SIG_RISING_EDGE, OMAPDSS_DRIVE_SIG_FALLING_EDGE }
 
enum  omap_dss_venc_type { OMAP_DSS_VENC_TYPE_COMPOSITE, OMAP_DSS_VENC_TYPE_SVIDEO }
 
enum  omap_dss_dsi_pixel_format { OMAP_DSS_DSI_FMT_RGB888, OMAP_DSS_DSI_FMT_RGB666, OMAP_DSS_DSI_FMT_RGB666_PACKED, OMAP_DSS_DSI_FMT_RGB565 }
 
enum  omap_dss_dsi_mode { OMAP_DSS_DSI_CMD_MODE = 0, OMAP_DSS_DSI_VIDEO_MODE }
 
enum  omap_display_caps { OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE = 1 << 0, OMAP_DSS_DISPLAY_CAP_TEAR_ELIM = 1 << 1 }
 
enum  omap_dss_display_state { OMAP_DSS_DISPLAY_DISABLED = 0, OMAP_DSS_DISPLAY_ACTIVE, OMAP_DSS_DISPLAY_SUSPENDED }
 
enum  omap_dss_audio_state { OMAP_DSS_AUDIO_DISABLED = 0, OMAP_DSS_AUDIO_ENABLED, OMAP_DSS_AUDIO_CONFIGURED, OMAP_DSS_AUDIO_PLAYING }
 
enum  omap_dss_rotation_type { OMAP_DSS_ROT_DMA = 1 << 0, OMAP_DSS_ROT_VRFB = 1 << 1, OMAP_DSS_ROT_TILER = 1 << 2 }
 
enum  omap_dss_rotation_angle { OMAP_DSS_ROT_0 = 0, OMAP_DSS_ROT_90 = 1, OMAP_DSS_ROT_180 = 2, OMAP_DSS_ROT_270 = 3 }
 
enum  omap_overlay_caps {
  OMAP_DSS_OVL_CAP_SCALE = 1 << 0, OMAP_DSS_OVL_CAP_GLOBAL_ALPHA = 1 << 1, OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA = 1 << 2, OMAP_DSS_OVL_CAP_ZORDER = 1 << 3,
  OMAP_DSS_OVL_CAP_POS = 1 << 4, OMAP_DSS_OVL_CAP_REPLICATION = 1 << 5
}
 
enum  omap_overlay_manager_caps { OMAP_DSS_DUMMY_VALUE }
 
enum  omap_dss_clk_source {
  OMAP_DSS_CLK_SRC_FCK = 0, OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC, OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DSI, OMAP_DSS_CLK_SRC_DSI2_PLL_HSDIV_DISPC,
  OMAP_DSS_CLK_SRC_DSI2_PLL_HSDIV_DSI
}
 
enum  omap_hdmi_flags { OMAP_HDMI_SDA_SCL_EXTERNAL_PULLUP = 1 << 0 }
 
enum  omap_dss_output_id {
  OMAP_DSS_OUTPUT_DPI = 1 << 0, OMAP_DSS_OUTPUT_DBI = 1 << 1, OMAP_DSS_OUTPUT_SDI = 1 << 2, OMAP_DSS_OUTPUT_DSI1 = 1 << 3,
  OMAP_DSS_OUTPUT_DSI2 = 1 << 4, OMAP_DSS_OUTPUT_VENC = 1 << 5, OMAP_DSS_OUTPUT_HDMI = 1 << 6
}
 

Functions

void omap_rfbi_write_command (const void *buf, u32 len)
 
void omap_rfbi_read_data (void *buf, u32 len)
 
void omap_rfbi_write_data (const void *buf, u32 len)
 
void omap_rfbi_write_pixels (const void __iomem *buf, int scr_width, u16 x, u16 y, u16 w, u16 h)
 
int omap_rfbi_enable_te (bool enable, unsigned line)
 
int omap_rfbi_setup_te (enum omap_rfbi_te_mode mode, unsigned hs_pulse_time, unsigned vs_pulse_time, int hs_pol_inv, int vs_pol_inv, int extif_div)
 
void rfbi_bus_lock (void)
 
void rfbi_bus_unlock (void)
 
void dsi_bus_lock (struct omap_dss_device *dssdev)
 
void dsi_bus_unlock (struct omap_dss_device *dssdev)
 
int dsi_vc_dcs_write (struct omap_dss_device *dssdev, int channel, u8 *data, int len)
 
int dsi_vc_generic_write (struct omap_dss_device *dssdev, int channel, u8 *data, int len)
 
int dsi_vc_dcs_write_0 (struct omap_dss_device *dssdev, int channel, u8 dcs_cmd)
 
int dsi_vc_generic_write_0 (struct omap_dss_device *dssdev, int channel)
 
int dsi_vc_dcs_write_1 (struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, u8 param)
 
int dsi_vc_generic_write_1 (struct omap_dss_device *dssdev, int channel, u8 param)
 
int dsi_vc_generic_write_2 (struct omap_dss_device *dssdev, int channel, u8 param1, u8 param2)
 
int dsi_vc_dcs_write_nosync (struct omap_dss_device *dssdev, int channel, u8 *data, int len)
 
int dsi_vc_generic_write_nosync (struct omap_dss_device *dssdev, int channel, u8 *data, int len)
 
int dsi_vc_dcs_read (struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, u8 *buf, int buflen)
 
int dsi_vc_generic_read_0 (struct omap_dss_device *dssdev, int channel, u8 *buf, int buflen)
 
int dsi_vc_generic_read_1 (struct omap_dss_device *dssdev, int channel, u8 param, u8 *buf, int buflen)
 
int dsi_vc_generic_read_2 (struct omap_dss_device *dssdev, int channel, u8 param1, u8 param2, u8 *buf, int buflen)
 
int dsi_vc_set_max_rx_packet_size (struct omap_dss_device *dssdev, int channel, u16 len)
 
int dsi_vc_send_null (struct omap_dss_device *dssdev, int channel)
 
int dsi_vc_send_bta_sync (struct omap_dss_device *dssdev, int channel)
 
int dsi_enable_video_output (struct omap_dss_device *dssdev, int channel)
 
void dsi_disable_video_output (struct omap_dss_device *dssdev, int channel)
 
int omap_display_init (struct omap_dss_board_info *board_data)
 
int omap_hdmi_init (enum omap_hdmi_flags flags)
 
int omap_dss_register_driver (struct omap_dss_driver *)
 
void omap_dss_unregister_driver (struct omap_dss_driver *)
 
void omap_dss_get_device (struct omap_dss_device *dssdev)
 
void omap_dss_put_device (struct omap_dss_device *dssdev)
 
struct omap_dss_deviceomap_dss_get_next_device (struct omap_dss_device *from)
 
struct omap_dss_deviceomap_dss_find_device (void *data, int(*match)(struct omap_dss_device *dssdev, void *data))
 
int omap_dss_start_device (struct omap_dss_device *dssdev)
 
void omap_dss_stop_device (struct omap_dss_device *dssdev)
 
int omap_dss_get_num_overlay_managers (void)
 
struct omap_overlay_manageromap_dss_get_overlay_manager (int num)
 
int omap_dss_get_num_overlays (void)
 
struct omap_overlayomap_dss_get_overlay (int num)
 
struct omap_dss_outputomap_dss_get_output (enum omap_dss_output_id id)
 
int omapdss_output_set_device (struct omap_dss_output *out, struct omap_dss_device *dssdev)
 
int omapdss_output_unset_device (struct omap_dss_output *out)
 
void omapdss_default_get_resolution (struct omap_dss_device *dssdev, u16 *xres, u16 *yres)
 
int omapdss_default_get_recommended_bpp (struct omap_dss_device *dssdev)
 
void omapdss_default_get_timings (struct omap_dss_device *dssdev, struct omap_video_timings *timings)
 
int omap_dispc_register_isr (omap_dispc_isr_t isr, void *arg, u32 mask)
 
int omap_dispc_unregister_isr (omap_dispc_isr_t isr, void *arg, u32 mask)
 
int omap_dispc_wait_for_irq_timeout (u32 irqmask, unsigned long timeout)
 
int omap_dispc_wait_for_irq_interruptible_timeout (u32 irqmask, unsigned long timeout)
 
void omapdss_dsi_vc_enable_hs (struct omap_dss_device *dssdev, int channel, bool enable)
 
int omapdss_dsi_enable_te (struct omap_dss_device *dssdev, bool enable)
 
void omapdss_dsi_set_timings (struct omap_dss_device *dssdev, struct omap_video_timings *timings)
 
void omapdss_dsi_set_size (struct omap_dss_device *dssdev, u16 w, u16 h)
 
void omapdss_dsi_set_pixel_format (struct omap_dss_device *dssdev, enum omap_dss_dsi_pixel_format fmt)
 
void omapdss_dsi_set_operation_mode (struct omap_dss_device *dssdev, enum omap_dss_dsi_mode mode)
 
void omapdss_dsi_set_videomode_timings (struct omap_dss_device *dssdev, struct omap_dss_dsi_videomode_timings *timings)
 
int omap_dsi_update (struct omap_dss_device *dssdev, int channel, void(*callback)(int, void *), void *data)
 
int omap_dsi_request_vc (struct omap_dss_device *dssdev, int *channel)
 
int omap_dsi_set_vc_id (struct omap_dss_device *dssdev, int channel, int vc_id)
 
void omap_dsi_release_vc (struct omap_dss_device *dssdev, int channel)
 
int omapdss_dsi_configure_pins (struct omap_dss_device *dssdev, const struct omap_dsi_pin_config *pin_cfg)
 
int omapdss_dsi_set_clocks (struct omap_dss_device *dssdev, unsigned long ddr_clk, unsigned long lp_clk)
 
int omapdss_dsi_display_enable (struct omap_dss_device *dssdev)
 
void omapdss_dsi_display_disable (struct omap_dss_device *dssdev, bool disconnect_lanes, bool enter_ulps)
 
int omapdss_dpi_display_enable (struct omap_dss_device *dssdev)
 
void omapdss_dpi_display_disable (struct omap_dss_device *dssdev)
 
void omapdss_dpi_set_timings (struct omap_dss_device *dssdev, struct omap_video_timings *timings)
 
int dpi_check_timings (struct omap_dss_device *dssdev, struct omap_video_timings *timings)
 
void omapdss_dpi_set_data_lines (struct omap_dss_device *dssdev, int data_lines)
 
int omapdss_sdi_display_enable (struct omap_dss_device *dssdev)
 
void omapdss_sdi_display_disable (struct omap_dss_device *dssdev)
 
void omapdss_sdi_set_timings (struct omap_dss_device *dssdev, struct omap_video_timings *timings)
 
void omapdss_sdi_set_datapairs (struct omap_dss_device *dssdev, int datapairs)
 
int omapdss_rfbi_display_enable (struct omap_dss_device *dssdev)
 
void omapdss_rfbi_display_disable (struct omap_dss_device *dssdev)
 
int omap_rfbi_update (struct omap_dss_device *dssdev, void(*callback)(void *), void *data)
 
int omap_rfbi_configure (struct omap_dss_device *dssdev)
 
void omapdss_rfbi_set_size (struct omap_dss_device *dssdev, u16 w, u16 h)
 
void omapdss_rfbi_set_pixel_size (struct omap_dss_device *dssdev, int pixel_size)
 
void omapdss_rfbi_set_data_lines (struct omap_dss_device *dssdev, int data_lines)
 
void omapdss_rfbi_set_interface_timings (struct omap_dss_device *dssdev, struct rfbi_timings *timings)
 

Macro Definition Documentation

#define DISPC_IRQ_ACBIAS_COUNT_STAT   (1 << 4)

Definition at line 29 of file omapdss.h.

#define DISPC_IRQ_ACBIAS_COUNT_STAT2   (1 << 21)

Definition at line 46 of file omapdss.h.

#define DISPC_IRQ_ACBIAS_COUNT_STAT3   (1 << 29)

Definition at line 53 of file omapdss.h.

#define DISPC_IRQ_EVSYNC_EVEN   (1 << 2)

Definition at line 27 of file omapdss.h.

#define DISPC_IRQ_EVSYNC_ODD   (1 << 3)

Definition at line 28 of file omapdss.h.

#define DISPC_IRQ_FRAMEDONE   (1 << 0)

Definition at line 25 of file omapdss.h.

#define DISPC_IRQ_FRAMEDONE2   (1 << 22)

Definition at line 47 of file omapdss.h.

#define DISPC_IRQ_FRAMEDONE3   (1 << 30)

Definition at line 54 of file omapdss.h.

#define DISPC_IRQ_FRAMEDONETV   (1 << 24)

Definition at line 49 of file omapdss.h.

#define DISPC_IRQ_FRAMEDONEWB   (1 << 23)

Definition at line 48 of file omapdss.h.

#define DISPC_IRQ_GFX_END_WIN   (1 << 7)

Definition at line 32 of file omapdss.h.

#define DISPC_IRQ_GFX_FIFO_UNDERFLOW   (1 << 6)

Definition at line 31 of file omapdss.h.

#define DISPC_IRQ_OCP_ERR   (1 << 9)

Definition at line 34 of file omapdss.h.

#define DISPC_IRQ_PAL_GAMMA_MASK   (1 << 8)

Definition at line 33 of file omapdss.h.

#define DISPC_IRQ_PROG_LINE_NUM   (1 << 5)

Definition at line 30 of file omapdss.h.

#define DISPC_IRQ_SYNC_LOST   (1 << 14)

Definition at line 39 of file omapdss.h.

#define DISPC_IRQ_SYNC_LOST2   (1 << 17)

Definition at line 42 of file omapdss.h.

#define DISPC_IRQ_SYNC_LOST3   (1 << 27)

Definition at line 51 of file omapdss.h.

#define DISPC_IRQ_SYNC_LOST_DIGIT   (1 << 15)

Definition at line 40 of file omapdss.h.

#define DISPC_IRQ_VID1_END_WIN   (1 << 11)

Definition at line 36 of file omapdss.h.

#define DISPC_IRQ_VID1_FIFO_UNDERFLOW   (1 << 10)

Definition at line 35 of file omapdss.h.

#define DISPC_IRQ_VID2_END_WIN   (1 << 13)

Definition at line 38 of file omapdss.h.

#define DISPC_IRQ_VID2_FIFO_UNDERFLOW   (1 << 12)

Definition at line 37 of file omapdss.h.

#define DISPC_IRQ_VID3_END_WIN   (1 << 19)

Definition at line 44 of file omapdss.h.

#define DISPC_IRQ_VID3_FIFO_UNDERFLOW   (1 << 20)

Definition at line 45 of file omapdss.h.

#define DISPC_IRQ_VSYNC   (1 << 1)

Definition at line 26 of file omapdss.h.

#define DISPC_IRQ_VSYNC2   (1 << 18)

Definition at line 43 of file omapdss.h.

#define DISPC_IRQ_VSYNC3   (1 << 28)

Definition at line 52 of file omapdss.h.

#define DISPC_IRQ_WAKEUP   (1 << 16)

Definition at line 41 of file omapdss.h.

#define DISPC_IRQ_WBBUFFEROVERFLOW   (1 << 25)

Definition at line 50 of file omapdss.h.

#define for_each_dss_dev (   d)    while ((d = omap_dss_get_next_device(d)) != NULL)

Definition at line 739 of file omapdss.h.

#define OMAP_DSS_MAX_DSI_PINS   22

Definition at line 499 of file omapdss.h.

#define to_dss_device (   x)    container_of((x), struct omap_dss_device, dev)

Definition at line 773 of file omapdss.h.

#define to_dss_driver (   x)    container_of((x), struct omap_dss_driver, driver)

Definition at line 772 of file omapdss.h.

Typedef Documentation

typedef void(* omap_dispc_isr_t)(void *arg, u32 mask)

Definition at line 764 of file omapdss.h.

Enumeration Type Documentation

Enumerator:
OMAP_DSS_CHANNEL_LCD 
OMAP_DSS_CHANNEL_DIGIT 
OMAP_DSS_CHANNEL_LCD2 
OMAP_DSS_CHANNEL_LCD3 

Definition at line 79 of file omapdss.h.

Enumerator:
OMAP_DSS_COLOR_CLUT1 
OMAP_DSS_COLOR_CLUT2 
OMAP_DSS_COLOR_CLUT4 
OMAP_DSS_COLOR_CLUT8 
OMAP_DSS_COLOR_RGB12U 
OMAP_DSS_COLOR_ARGB16 
OMAP_DSS_COLOR_RGB16 
OMAP_DSS_COLOR_RGB24U 
OMAP_DSS_COLOR_RGB24P 
OMAP_DSS_COLOR_YUV2 
OMAP_DSS_COLOR_UYVY 
OMAP_DSS_COLOR_ARGB32 
OMAP_DSS_COLOR_RGBA32 
OMAP_DSS_COLOR_RGBX32 
OMAP_DSS_COLOR_NV12 
OMAP_DSS_COLOR_RGBA16 
OMAP_DSS_COLOR_RGBX16 
OMAP_DSS_COLOR_ARGB16_1555 
OMAP_DSS_COLOR_XRGB16_1555 

Definition at line 86 of file omapdss.h.

Enumerator:
OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE 
OMAP_DSS_DISPLAY_CAP_TEAR_ELIM 

Definition at line 153 of file omapdss.h.

Enumerator:
OMAP_DISPLAY_TYPE_NONE 
OMAP_DISPLAY_TYPE_DPI 
OMAP_DISPLAY_TYPE_DBI 
OMAP_DISPLAY_TYPE_SDI 
OMAP_DISPLAY_TYPE_DSI 
OMAP_DISPLAY_TYPE_VENC 
OMAP_DISPLAY_TYPE_HDMI 

Definition at line 61 of file omapdss.h.

Enumerator:
OMAP_DSS_AUDIO_DISABLED 
OMAP_DSS_AUDIO_ENABLED 
OMAP_DSS_AUDIO_CONFIGURED 
OMAP_DSS_AUDIO_PLAYING 

Definition at line 164 of file omapdss.h.

Enumerator:
OMAP_DSS_CLK_SRC_FCK 
OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC 
OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DSI 
OMAP_DSS_CLK_SRC_DSI2_PLL_HSDIV_DISPC 
OMAP_DSS_CLK_SRC_DSI2_PLL_HSDIV_DSI 

Definition at line 198 of file omapdss.h.

Enumerator:
OMAP_DSS_DISPLAY_DISABLED 
OMAP_DSS_DISPLAY_ACTIVE 
OMAP_DSS_DISPLAY_SUSPENDED 

Definition at line 158 of file omapdss.h.

Enumerator:
OMAP_DSS_DSI_CMD_MODE 
OMAP_DSS_DSI_VIDEO_MODE 

Definition at line 148 of file omapdss.h.

Enumerator:
OMAP_DSS_DSI_FMT_RGB888 
OMAP_DSS_DSI_FMT_RGB666 
OMAP_DSS_DSI_FMT_RGB666_PACKED 
OMAP_DSS_DSI_FMT_RGB565 

Definition at line 141 of file omapdss.h.

Enumerator:
OMAP_DSS_LOAD_CLUT_AND_FRAME 
OMAP_DSS_LOAD_CLUT_ONLY 
OMAP_DSS_LOAD_FRAME_ONLY 
OMAP_DSS_LOAD_CLUT_ONCE_FRAME 

Definition at line 108 of file omapdss.h.

Enumerator:
OMAP_DSS_OUTPUT_DPI 
OMAP_DSS_OUTPUT_DBI 
OMAP_DSS_OUTPUT_SDI 
OMAP_DSS_OUTPUT_DSI1 
OMAP_DSS_OUTPUT_DSI2 
OMAP_DSS_OUTPUT_VENC 
OMAP_DSS_OUTPUT_HDMI 

Definition at line 213 of file omapdss.h.

Enumerator:
OMAP_DSS_ROT_0 
OMAP_DSS_ROT_90 
OMAP_DSS_ROT_180 
OMAP_DSS_ROT_270 

Definition at line 178 of file omapdss.h.

Enumerator:
OMAP_DSS_ROT_DMA 
OMAP_DSS_ROT_VRFB 
OMAP_DSS_ROT_TILER 

Definition at line 171 of file omapdss.h.

Enumerator:
OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES 
OMAPDSS_DRIVE_SIG_RISING_EDGE 
OMAPDSS_DRIVE_SIG_FALLING_EDGE 

Definition at line 130 of file omapdss.h.

Enumerator:
OMAPDSS_SIG_ACTIVE_HIGH 
OMAPDSS_SIG_ACTIVE_LOW 

Definition at line 125 of file omapdss.h.

Enumerator:
OMAP_DSS_COLOR_KEY_GFX_DST 
OMAP_DSS_COLOR_KEY_VID_SRC 

Definition at line 115 of file omapdss.h.

Enumerator:
OMAP_DSS_VENC_TYPE_COMPOSITE 
OMAP_DSS_VENC_TYPE_SVIDEO 

Definition at line 136 of file omapdss.h.

Enumerator:
OMAP_HDMI_SDA_SCL_EXTERNAL_PULLUP 

Definition at line 209 of file omapdss.h.

Enumerator:
OMAP_DSS_OVL_CAP_SCALE 
OMAP_DSS_OVL_CAP_GLOBAL_ALPHA 
OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA 
OMAP_DSS_OVL_CAP_ZORDER 
OMAP_DSS_OVL_CAP_POS 
OMAP_DSS_OVL_CAP_REPLICATION 

Definition at line 185 of file omapdss.h.

Enumerator:
OMAP_DSS_DUMMY_VALUE 

Definition at line 194 of file omapdss.h.

enum omap_plane
Enumerator:
OMAP_DSS_GFX 
OMAP_DSS_VIDEO1 
OMAP_DSS_VIDEO2 
OMAP_DSS_VIDEO3 
OMAP_DSS_WB 

Definition at line 71 of file omapdss.h.

Enumerator:
OMAP_DSS_RFBI_TE_MODE_1 
OMAP_DSS_RFBI_TE_MODE_2 

Definition at line 120 of file omapdss.h.

Function Documentation

int dpi_check_timings ( struct omap_dss_device dssdev,
struct omap_video_timings timings 
)

Definition at line 304 of file dpi.c.

void dsi_bus_lock ( struct omap_dss_device dssdev)

Definition at line 400 of file dsi.c.

void dsi_bus_unlock ( struct omap_dss_device dssdev)

Definition at line 409 of file dsi.c.

void dsi_disable_video_output ( struct omap_dss_device dssdev,
int  channel 
)

Definition at line 4399 of file dsi.c.

int dsi_enable_video_output ( struct omap_dss_device dssdev,
int  channel 
)

Definition at line 4341 of file dsi.c.

int dsi_vc_dcs_read ( struct omap_dss_device dssdev,
int  channel,
u8  dcs_cmd,
u8 buf,
int  buflen 
)

Definition at line 3460 of file dsi.c.

int dsi_vc_dcs_write ( struct omap_dss_device dssdev,
int  channel,
u8 data,
int  len 
)

Definition at line 3240 of file dsi.c.

int dsi_vc_dcs_write_0 ( struct omap_dss_device dssdev,
int  channel,
u8  dcs_cmd 
)

Definition at line 3256 of file dsi.c.

int dsi_vc_dcs_write_1 ( struct omap_dss_device dssdev,
int  channel,
u8  dcs_cmd,
u8  param 
)

Definition at line 3268 of file dsi.c.

int dsi_vc_dcs_write_nosync ( struct omap_dss_device dssdev,
int  channel,
u8 data,
int  len 
)

Definition at line 3191 of file dsi.c.

int dsi_vc_generic_read_0 ( struct omap_dss_device dssdev,
int  channel,
u8 buf,
int  buflen 
)

Definition at line 3518 of file dsi.c.

int dsi_vc_generic_read_1 ( struct omap_dss_device dssdev,
int  channel,
u8  param,
u8 buf,
int  buflen 
)

Definition at line 3533 of file dsi.c.

int dsi_vc_generic_read_2 ( struct omap_dss_device dssdev,
int  channel,
u8  param1,
u8  param2,
u8 buf,
int  buflen 
)

Definition at line 3548 of file dsi.c.

int dsi_vc_generic_write ( struct omap_dss_device dssdev,
int  channel,
u8 data,
int  len 
)

Definition at line 3248 of file dsi.c.

int dsi_vc_generic_write_0 ( struct omap_dss_device dssdev,
int  channel 
)

Definition at line 3262 of file dsi.c.

int dsi_vc_generic_write_1 ( struct omap_dss_device dssdev,
int  channel,
u8  param 
)

Definition at line 3278 of file dsi.c.

int dsi_vc_generic_write_2 ( struct omap_dss_device dssdev,
int  channel,
u8  param1,
u8  param2 
)

Definition at line 3285 of file dsi.c.

int dsi_vc_generic_write_nosync ( struct omap_dss_device dssdev,
int  channel,
u8 data,
int  len 
)

Definition at line 3201 of file dsi.c.

int dsi_vc_send_bta_sync ( struct omap_dss_device dssdev,
int  channel 
)

Definition at line 2983 of file dsi.c.

int dsi_vc_send_null ( struct omap_dss_device dssdev,
int  channel 
)

Definition at line 3152 of file dsi.c.

int dsi_vc_set_max_rx_packet_size ( struct omap_dss_device dssdev,
int  channel,
u16  len 
)

Definition at line 3567 of file dsi.c.

int omap_dispc_register_isr ( omap_dispc_isr_t  isr,
void arg,
u32  mask 
)

Definition at line 3586 of file dispc.c.

int omap_dispc_unregister_isr ( omap_dispc_isr_t  isr,
void arg,
u32  mask 
)

Definition at line 3640 of file dispc.c.

int omap_dispc_wait_for_irq_interruptible_timeout ( u32  irqmask,
unsigned long  timeout 
)

Definition at line 3902 of file dispc.c.

int omap_dispc_wait_for_irq_timeout ( u32  irqmask,
unsigned long  timeout 
)

Definition at line 3873 of file dispc.c.

int omap_display_init ( struct omap_dss_board_info board_data)

Definition at line 287 of file display.c.

void omap_dsi_release_vc ( struct omap_dss_device dssdev,
int  channel 
)

Definition at line 5041 of file dsi.c.

int omap_dsi_request_vc ( struct omap_dss_device dssdev,
int channel 
)

Definition at line 4995 of file dsi.c.

int omap_dsi_set_vc_id ( struct omap_dss_device dssdev,
int  channel,
int  vc_id 
)

Definition at line 5014 of file dsi.c.

int omap_dsi_update ( struct omap_dss_device dssdev,
int  channel,
void(*)(int, void *)  callback,
void data 
)

Definition at line 4559 of file dsi.c.

struct omap_dss_device* omap_dss_find_device ( void data,
int(*)(struct omap_dss_device *dssdev, void *data match 
)
read

Definition at line 567 of file display.c.

void omap_dss_get_device ( struct omap_dss_device dssdev)

Definition at line 530 of file display.c.

struct omap_dss_device* omap_dss_get_next_device ( struct omap_dss_device from)
read

Definition at line 544 of file display.c.

int omap_dss_get_num_overlay_managers ( void  )

Definition at line 141 of file manager.c.

int omap_dss_get_num_overlays ( void  )

Definition at line 48 of file overlay.c.

struct omap_dss_output* omap_dss_get_output ( enum omap_dss_output_id  id)
read

Definition at line 105 of file output.c.

struct omap_overlay* omap_dss_get_overlay ( int  num)
read

Definition at line 54 of file overlay.c.

struct omap_overlay_manager* omap_dss_get_overlay_manager ( int  num)
read

Definition at line 147 of file manager.c.

void omap_dss_put_device ( struct omap_dss_device dssdev)

Definition at line 536 of file display.c.

int omap_dss_register_driver ( struct omap_dss_driver )

Definition at line 397 of file core.c.

int omap_dss_start_device ( struct omap_dss_device dssdev)

Definition at line 581 of file display.c.

void omap_dss_stop_device ( struct omap_dss_device dssdev)

Definition at line 596 of file display.c.

void omap_dss_unregister_driver ( struct omap_dss_driver )

Definition at line 415 of file core.c.

int omap_hdmi_init ( enum omap_hdmi_flags  flags)

Definition at line 162 of file display.c.

int omap_rfbi_configure ( struct omap_dss_device dssdev)

Definition at line 773 of file rfbi.c.

int omap_rfbi_enable_te ( bool  enable,
unsigned  line 
)

Definition at line 619 of file rfbi.c.

void omap_rfbi_read_data ( void buf,
u32  len 
)

Definition at line 194 of file rfbi.c.

int omap_rfbi_setup_te ( enum omap_rfbi_te_mode  mode,
unsigned  hs_pulse_time,
unsigned  vs_pulse_time,
int  hs_pol_inv,
int  vs_pol_inv,
int  extif_div 
)

Definition at line 577 of file rfbi.c.

int omap_rfbi_update ( struct omap_dss_device dssdev,
void(*)(void *)  callback,
void data 
)

Definition at line 780 of file rfbi.c.

void omap_rfbi_write_command ( const void buf,
u32  len 
)

Definition at line 166 of file rfbi.c.

void omap_rfbi_write_data ( const void buf,
u32  len 
)

Definition at line 226 of file rfbi.c.

void omap_rfbi_write_pixels ( const void __iomem buf,
int  scr_width,
u16  x,
u16  y,
u16  w,
u16  h 
)

Definition at line 255 of file rfbi.c.

int omapdss_default_get_recommended_bpp ( struct omap_dss_device dssdev)

Definition at line 286 of file display.c.

void omapdss_default_get_resolution ( struct omap_dss_device dssdev,
u16 xres,
u16 yres 
)

Definition at line 278 of file display.c.

void omapdss_default_get_timings ( struct omap_dss_device dssdev,
struct omap_video_timings timings 
)

Definition at line 316 of file display.c.

void omapdss_dpi_display_disable ( struct omap_dss_device dssdev)

Definition at line 266 of file dpi.c.

int omapdss_dpi_display_enable ( struct omap_dss_device dssdev)

Definition at line 178 of file dpi.c.

void omapdss_dpi_set_data_lines ( struct omap_dss_device dssdev,
int  data_lines 
)

Definition at line 352 of file dpi.c.

void omapdss_dpi_set_timings ( struct omap_dss_device dssdev,
struct omap_video_timings timings 
)

Definition at line 291 of file dpi.c.

int omapdss_dsi_configure_pins ( struct omap_dss_device dssdev,
const struct omap_dsi_pin_config pin_cfg 
)

Definition at line 4207 of file dsi.c.

void omapdss_dsi_display_disable ( struct omap_dss_device dssdev,
bool  disconnect_lanes,
bool  enter_ulps 
)

Definition at line 4861 of file dsi.c.

int omapdss_dsi_display_enable ( struct omap_dss_device dssdev)

Definition at line 4802 of file dsi.c.

int omapdss_dsi_enable_te ( struct omap_dss_device dssdev,
bool  enable 
)

Definition at line 4891 of file dsi.c.

int omapdss_dsi_set_clocks ( struct omap_dss_device dssdev,
unsigned long  ddr_clk,
unsigned long  lp_clk 
)

Definition at line 4275 of file dsi.c.

void omapdss_dsi_set_operation_mode ( struct omap_dss_device dssdev,
enum omap_dss_dsi_mode  mode 
)

Definition at line 4943 of file dsi.c.

void omapdss_dsi_set_pixel_format ( struct omap_dss_device dssdev,
enum omap_dss_dsi_pixel_format  fmt 
)

Definition at line 4929 of file dsi.c.

void omapdss_dsi_set_size ( struct omap_dss_device dssdev,
u16  w,
u16  h 
)

Definition at line 4915 of file dsi.c.

void omapdss_dsi_set_timings ( struct omap_dss_device dssdev,
struct omap_video_timings timings 
)

Definition at line 4901 of file dsi.c.

void omapdss_dsi_set_videomode_timings ( struct omap_dss_device dssdev,
struct omap_dss_dsi_videomode_timings timings 
)

Definition at line 4957 of file dsi.c.

void omapdss_dsi_vc_enable_hs ( struct omap_dss_device dssdev,
int  channel,
bool  enable 
)

Definition at line 2854 of file dsi.c.

int omapdss_output_set_device ( struct omap_dss_output out,
struct omap_dss_device dssdev 
)

Definition at line 30 of file output.c.

int omapdss_output_unset_device ( struct omap_dss_output out)

Definition at line 63 of file output.c.

void omapdss_rfbi_display_disable ( struct omap_dss_device dssdev)

Definition at line 934 of file rfbi.c.

int omapdss_rfbi_display_enable ( struct omap_dss_device dssdev)

Definition at line 891 of file rfbi.c.

void omapdss_rfbi_set_data_lines ( struct omap_dss_device dssdev,
int  data_lines 
)

Definition at line 800 of file rfbi.c.

void omapdss_rfbi_set_interface_timings ( struct omap_dss_device dssdev,
struct rfbi_timings timings 
)

Definition at line 806 of file rfbi.c.

void omapdss_rfbi_set_pixel_size ( struct omap_dss_device dssdev,
int  pixel_size 
)

Definition at line 794 of file rfbi.c.

void omapdss_rfbi_set_size ( struct omap_dss_device dssdev,
u16  w,
u16  h 
)

Definition at line 787 of file rfbi.c.

void omapdss_sdi_display_disable ( struct omap_dss_device dssdev)

Definition at line 156 of file sdi.c.

int omapdss_sdi_display_enable ( struct omap_dss_device dssdev)

Definition at line 59 of file sdi.c.

void omapdss_sdi_set_datapairs ( struct omap_dss_device dssdev,
int  datapairs 
)

Definition at line 179 of file sdi.c.

void omapdss_sdi_set_timings ( struct omap_dss_device dssdev,
struct omap_video_timings timings 
)

Definition at line 172 of file sdi.c.

void rfbi_bus_lock ( void  )

Definition at line 154 of file rfbi.c.

void rfbi_bus_unlock ( void  )

Definition at line 160 of file rfbi.c.