Linux Kernel
3.7.1
|
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/export.h>
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_edid.h>
#include "intel_drv.h"
#include <drm/i915_drm.h>
#include "i915_drv.h"
#include "intel_sdvo_regs.h"
Go to the source code of this file.
Data Structures | |
struct | intel_sdvo |
struct | intel_sdvo_connector |
struct | _sdvo_cmd_name |
Macros | |
#define | SDVO_TMDS_MASK (SDVO_OUTPUT_TMDS0 | SDVO_OUTPUT_TMDS1) |
#define | SDVO_RGB_MASK (SDVO_OUTPUT_RGB0 | SDVO_OUTPUT_RGB1) |
#define | SDVO_LVDS_MASK (SDVO_OUTPUT_LVDS0 | SDVO_OUTPUT_LVDS1) |
#define | SDVO_TV_MASK (SDVO_OUTPUT_CVBS0 | SDVO_OUTPUT_SVID0 | SDVO_OUTPUT_YPRPB0) |
#define | SDVO_OUTPUT_MASK |
#define | IS_TV(c) (c->output_flag & SDVO_TV_MASK) |
#define | IS_TMDS(c) (c->output_flag & SDVO_TMDS_MASK) |
#define | IS_LVDS(c) (c->output_flag & SDVO_LVDS_MASK) |
#define | IS_TV_OR_LVDS(c) (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK)) |
#define | IS_DIGITAL(c) (c->output_flag & (SDVO_TMDS_MASK | SDVO_LVDS_MASK)) |
#define | TV_FORMAT_NUM (sizeof(tv_format_names) / sizeof(*tv_format_names)) |
#define | SDVO_CMD_NAME_ENTRY(cmd) {cmd, #cmd} |
#define | SDVO_NAME(svdo) ((svdo)->is_sdvob ? "SDVOB" : "SDVOC") |
#define | CHECK_PROPERTY(name, NAME) |
#define | ENHANCEMENT(name, NAME) |
Functions | |
bool | intel_sdvo_init (struct drm_device *dev, uint32_t sdvo_reg, bool is_sdvob) |
Definition at line 2436 of file intel_sdvo.c.
#define IS_DIGITAL | ( | c | ) | (c->output_flag & (SDVO_TMDS_MASK | SDVO_LVDS_MASK)) |
Definition at line 52 of file intel_sdvo.c.
#define IS_LVDS | ( | c | ) | (c->output_flag & SDVO_LVDS_MASK) |
Definition at line 50 of file intel_sdvo.c.
#define IS_TMDS | ( | c | ) | (c->output_flag & SDVO_TMDS_MASK) |
Definition at line 49 of file intel_sdvo.c.
#define IS_TV | ( | c | ) | (c->output_flag & SDVO_TV_MASK) |
Definition at line 48 of file intel_sdvo.c.
#define IS_TV_OR_LVDS | ( | c | ) | (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK)) |
Definition at line 51 of file intel_sdvo.c.
Definition at line 291 of file intel_sdvo.c.
#define SDVO_LVDS_MASK (SDVO_OUTPUT_LVDS0 | SDVO_OUTPUT_LVDS1) |
Definition at line 42 of file intel_sdvo.c.
#define SDVO_NAME | ( | svdo | ) | ((svdo)->is_sdvob ? "SDVOB" : "SDVOC") |
Definition at line 410 of file intel_sdvo.c.
#define SDVO_OUTPUT_MASK |
Definition at line 45 of file intel_sdvo.c.
#define SDVO_RGB_MASK (SDVO_OUTPUT_RGB0 | SDVO_OUTPUT_RGB1) |
Definition at line 41 of file intel_sdvo.c.
#define SDVO_TMDS_MASK (SDVO_OUTPUT_TMDS0 | SDVO_OUTPUT_TMDS1) |
Definition at line 40 of file intel_sdvo.c.
#define SDVO_TV_MASK (SDVO_OUTPUT_CVBS0 | SDVO_OUTPUT_SVID0 | SDVO_OUTPUT_YPRPB0) |
Definition at line 43 of file intel_sdvo.c.
Definition at line 65 of file intel_sdvo.c.
bool intel_sdvo_init | ( | struct drm_device * | dev, |
uint32_t | sdvo_reg, | ||
bool | is_sdvob | ||
) |
Definition at line 2650 of file intel_sdvo.c.