Linux Kernel
3.7.1
|
#include <drm/drmP.h>
#include <drm/drm.h>
#include "psb_intel_drv.h"
#include "psb_intel_reg.h"
#include "psb_drv.h"
Go to the source code of this file.
Data Structures | |
struct | intel_range |
struct | oaktrail_hdmi_limit |
struct | oaktrail_hdmi_clock |
Macros | |
#define | HDMI_READ(reg) readl(hdmi_dev->regs + (reg)) |
#define | HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg)) |
#define | HDMI_HCR 0x1000 |
#define | HCR_ENABLE_HDCP (1 << 5) |
#define | HCR_ENABLE_AUDIO (1 << 2) |
#define | HCR_ENABLE_PIXEL (1 << 1) |
#define | HCR_ENABLE_TMDS (1 << 0) |
#define | HDMI_HICR 0x1004 |
#define | HDMI_HSR 0x1008 |
#define | HDMI_HISR 0x100C |
#define | HDMI_DETECT_HDP (1 << 0) |
#define | HDMI_VIDEO_REG 0x3000 |
#define | HDMI_UNIT_EN (1 << 7) |
#define | HDMI_MODE_OUTPUT (1 << 0) |
#define | HDMI_HBLANK_A 0x3100 |
#define | HDMI_AUDIO_CTRL 0x4000 |
#define | HDMI_ENABLE_AUDIO (1 << 0) |
#define | PCH_HTOTAL_B 0x3100 |
#define | PCH_HBLANK_B 0x3104 |
#define | PCH_HSYNC_B 0x3108 |
#define | PCH_VTOTAL_B 0x310C |
#define | PCH_VBLANK_B 0x3110 |
#define | PCH_VSYNC_B 0x3114 |
#define | PCH_PIPEBSRC 0x311C |
#define | PCH_PIPEB_DSL 0x3800 |
#define | PCH_PIPEB_SLC 0x3804 |
#define | PCH_PIPEBCONF 0x3808 |
#define | PCH_PIPEBSTAT 0x3824 |
#define | CDVO_DFT 0x5000 |
#define | CDVO_SLEWRATE 0x5004 |
#define | CDVO_STRENGTH 0x5008 |
#define | CDVO_RCOMP 0x500C |
#define | DPLL_CTRL 0x6000 |
#define | DPLL_PDIV_SHIFT 16 |
#define | DPLL_PDIV_MASK (0xf << 16) |
#define | DPLL_PWRDN (1 << 4) |
#define | DPLL_RESET (1 << 3) |
#define | DPLL_FASTEN (1 << 2) |
#define | DPLL_ENSTAT (1 << 1) |
#define | DPLL_DITHEN (1 << 0) |
#define | DPLL_DIV_CTRL 0x6004 |
#define | DPLL_CLKF_MASK 0xffffffc0 |
#define | DPLL_CLKR_MASK (0x3f) |
#define | DPLL_CLK_ENABLE 0x6008 |
#define | DPLL_EN_DISP (1 << 31) |
#define | DPLL_SEL_HDMI (1 << 8) |
#define | DPLL_EN_HDMI (1 << 1) |
#define | DPLL_EN_VGA (1 << 0) |
#define | DPLL_ADJUST 0x600C |
#define | DPLL_STATUS 0x6010 |
#define | DPLL_UPDATE 0x6014 |
#define | DPLL_DFT 0x6020 |
#define | VCO_MIN 320000 |
#define | VCO_MAX 1650000 |
#define | NP_MIN 1 |
#define | NP_MAX 15 |
#define | NR_MIN 1 |
#define | NR_MAX 64 |
#define | NF_MIN 2 |
#define | NF_MAX 4095 |
Functions | |
void | oaktrail_hdmi_init (struct drm_device *dev, struct psb_intel_mode_device *mode_dev) |
void | oaktrail_hdmi_setup (struct drm_device *dev) |
void | oaktrail_hdmi_teardown (struct drm_device *dev) |
void | oaktrail_hdmi_save (struct drm_device *dev) |
void | oaktrail_hdmi_restore (struct drm_device *dev) |
#define CDVO_DFT 0x5000 |
Definition at line 68 of file oaktrail_hdmi.c.
#define CDVO_RCOMP 0x500C |
Definition at line 71 of file oaktrail_hdmi.c.
#define CDVO_SLEWRATE 0x5004 |
Definition at line 69 of file oaktrail_hdmi.c.
#define CDVO_STRENGTH 0x5008 |
Definition at line 70 of file oaktrail_hdmi.c.
#define DPLL_ADJUST 0x600C |
Definition at line 92 of file oaktrail_hdmi.c.
#define DPLL_CLK_ENABLE 0x6008 |
Definition at line 86 of file oaktrail_hdmi.c.
#define DPLL_CLKF_MASK 0xffffffc0 |
Definition at line 83 of file oaktrail_hdmi.c.
#define DPLL_CLKR_MASK (0x3f) |
Definition at line 84 of file oaktrail_hdmi.c.
#define DPLL_CTRL 0x6000 |
Definition at line 73 of file oaktrail_hdmi.c.
#define DPLL_DFT 0x6020 |
Definition at line 95 of file oaktrail_hdmi.c.
#define DPLL_DITHEN (1 << 0) |
Definition at line 80 of file oaktrail_hdmi.c.
#define DPLL_DIV_CTRL 0x6004 |
Definition at line 82 of file oaktrail_hdmi.c.
#define DPLL_EN_DISP (1 << 31) |
Definition at line 87 of file oaktrail_hdmi.c.
#define DPLL_EN_HDMI (1 << 1) |
Definition at line 89 of file oaktrail_hdmi.c.
#define DPLL_EN_VGA (1 << 0) |
Definition at line 90 of file oaktrail_hdmi.c.
#define DPLL_ENSTAT (1 << 1) |
Definition at line 79 of file oaktrail_hdmi.c.
#define DPLL_FASTEN (1 << 2) |
Definition at line 78 of file oaktrail_hdmi.c.
#define DPLL_PDIV_MASK (0xf << 16) |
Definition at line 75 of file oaktrail_hdmi.c.
#define DPLL_PDIV_SHIFT 16 |
Definition at line 74 of file oaktrail_hdmi.c.
#define DPLL_PWRDN (1 << 4) |
Definition at line 76 of file oaktrail_hdmi.c.
#define DPLL_RESET (1 << 3) |
Definition at line 77 of file oaktrail_hdmi.c.
#define DPLL_SEL_HDMI (1 << 8) |
Definition at line 88 of file oaktrail_hdmi.c.
#define DPLL_STATUS 0x6010 |
Definition at line 93 of file oaktrail_hdmi.c.
#define DPLL_UPDATE 0x6014 |
Definition at line 94 of file oaktrail_hdmi.c.
#define HCR_ENABLE_AUDIO (1 << 2) |
Definition at line 38 of file oaktrail_hdmi.c.
#define HCR_ENABLE_HDCP (1 << 5) |
Definition at line 37 of file oaktrail_hdmi.c.
#define HCR_ENABLE_PIXEL (1 << 1) |
Definition at line 39 of file oaktrail_hdmi.c.
#define HCR_ENABLE_TMDS (1 << 0) |
Definition at line 40 of file oaktrail_hdmi.c.
#define HDMI_AUDIO_CTRL 0x4000 |
Definition at line 52 of file oaktrail_hdmi.c.
#define HDMI_DETECT_HDP (1 << 0) |
Definition at line 45 of file oaktrail_hdmi.c.
#define HDMI_ENABLE_AUDIO (1 << 0) |
Definition at line 53 of file oaktrail_hdmi.c.
#define HDMI_HBLANK_A 0x3100 |
Definition at line 50 of file oaktrail_hdmi.c.
#define HDMI_HCR 0x1000 |
Definition at line 36 of file oaktrail_hdmi.c.
#define HDMI_HICR 0x1004 |
Definition at line 42 of file oaktrail_hdmi.c.
#define HDMI_HISR 0x100C |
Definition at line 44 of file oaktrail_hdmi.c.
#define HDMI_HSR 0x1008 |
Definition at line 43 of file oaktrail_hdmi.c.
#define HDMI_MODE_OUTPUT (1 << 0) |
Definition at line 49 of file oaktrail_hdmi.c.
Definition at line 33 of file oaktrail_hdmi.c.
#define HDMI_UNIT_EN (1 << 7) |
Definition at line 48 of file oaktrail_hdmi.c.
#define HDMI_VIDEO_REG 0x3000 |
Definition at line 47 of file oaktrail_hdmi.c.
Definition at line 34 of file oaktrail_hdmi.c.
#define NF_MAX 4095 |
Definition at line 119 of file oaktrail_hdmi.c.
#define NF_MIN 2 |
Definition at line 118 of file oaktrail_hdmi.c.
#define NP_MAX 15 |
Definition at line 115 of file oaktrail_hdmi.c.
#define NP_MIN 1 |
Definition at line 114 of file oaktrail_hdmi.c.
#define NR_MAX 64 |
Definition at line 117 of file oaktrail_hdmi.c.
#define NR_MIN 1 |
Definition at line 116 of file oaktrail_hdmi.c.
#define PCH_HBLANK_B 0x3104 |
Definition at line 56 of file oaktrail_hdmi.c.
#define PCH_HSYNC_B 0x3108 |
Definition at line 57 of file oaktrail_hdmi.c.
#define PCH_HTOTAL_B 0x3100 |
Definition at line 55 of file oaktrail_hdmi.c.
#define PCH_PIPEB_DSL 0x3800 |
Definition at line 63 of file oaktrail_hdmi.c.
#define PCH_PIPEB_SLC 0x3804 |
Definition at line 64 of file oaktrail_hdmi.c.
#define PCH_PIPEBCONF 0x3808 |
Definition at line 65 of file oaktrail_hdmi.c.
#define PCH_PIPEBSRC 0x311C |
Definition at line 61 of file oaktrail_hdmi.c.
#define PCH_PIPEBSTAT 0x3824 |
Definition at line 66 of file oaktrail_hdmi.c.
#define PCH_VBLANK_B 0x3110 |
Definition at line 59 of file oaktrail_hdmi.c.
#define PCH_VSYNC_B 0x3114 |
Definition at line 60 of file oaktrail_hdmi.c.
#define PCH_VTOTAL_B 0x310C |
Definition at line 58 of file oaktrail_hdmi.c.
#define VCO_MAX 1650000 |
Definition at line 113 of file oaktrail_hdmi.c.
#define VCO_MIN 320000 |
Definition at line 112 of file oaktrail_hdmi.c.
void oaktrail_hdmi_init | ( | struct drm_device * | dev, |
struct psb_intel_mode_device * | mode_dev | ||
) |
Definition at line 315 of file oaktrail_hdmi.c.
void oaktrail_hdmi_restore | ( | struct drm_device * | dev | ) |
Definition at line 484 of file oaktrail_hdmi.c.
void oaktrail_hdmi_save | ( | struct drm_device * | dev | ) |
Definition at line 431 of file oaktrail_hdmi.c.
void oaktrail_hdmi_setup | ( | struct drm_device * | dev | ) |
Definition at line 364 of file oaktrail_hdmi.c.
void oaktrail_hdmi_teardown | ( | struct drm_device * | dev | ) |
Definition at line 414 of file oaktrail_hdmi.c.