Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nv04_dfp.c File Reference
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include "nouveau_drm.h"
#include "nouveau_reg.h"
#include "nouveau_encoder.h"
#include "nouveau_connector.h"
#include "nouveau_crtc.h"
#include "nouveau_hw.h"
#include "nvreg.h"
#include <drm/i2c/sil164.h>
#include <subdev/i2c.h>

Go to the source code of this file.

Macros

#define FP_TG_CONTROL_ON
 
#define FP_TG_CONTROL_OFF
 

Functions

int nv04_dfp_get_bound_head (struct drm_device *dev, struct dcb_output *dcbent)
 
void nv04_dfp_bind_head (struct drm_device *dev, struct dcb_output *dcbent, int head, bool dl)
 
void nv04_dfp_disable (struct drm_device *dev, int head)
 
void nv04_dfp_update_fp_control (struct drm_encoder *encoder, int mode)
 
int nv04_dfp_create (struct drm_connector *connector, struct dcb_output *entry)
 

Macro Definition Documentation

#define FP_TG_CONTROL_OFF
Value:
NV_PRAMDAC_FP_TG_CONTROL_HSYNC_DISABLE | \
NV_PRAMDAC_FP_TG_CONTROL_VSYNC_DISABLE)

Definition at line 45 of file nv04_dfp.c.

#define FP_TG_CONTROL_ON
Value:
NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS | \
NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS)

Definition at line 42 of file nv04_dfp.c.

Function Documentation

void nv04_dfp_bind_head ( struct drm_device dev,
struct dcb_output dcbent,
int  head,
bool  dl 
)

Definition at line 68 of file nv04_dfp.c.

int nv04_dfp_create ( struct drm_connector connector,
struct dcb_output entry 
)

Definition at line 679 of file nv04_dfp.c.

void nv04_dfp_disable ( struct drm_device dev,
int  head 
)

Definition at line 93 of file nv04_dfp.c.

int nv04_dfp_get_bound_head ( struct drm_device dev,
struct dcb_output dcbent 
)

Definition at line 55 of file nv04_dfp.c.

void nv04_dfp_update_fp_control ( struct drm_encoder encoder,
int  mode 
)

Definition at line 113 of file nv04_dfp.c.