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

Go to the source code of this file.

Macros

#define MAX_HBLANK_OSC   20
 
#define MAX_SAMPLE_PAIRS   10
 
#define RGB_TEST_DATA(r, g, b)   (r << 0 | g << 10 | b << 20)
 

Functions

int nv04_dac_output_offset (struct drm_encoder *encoder)
 
uint32_t nv17_dac_sample_load (struct drm_encoder *encoder)
 
void nv04_dac_update_dacclk (struct drm_encoder *encoder, bool enable)
 
bool nv04_dac_in_use (struct drm_encoder *encoder)
 
int nv04_dac_create (struct drm_connector *connector, struct dcb_output *entry)
 

Macro Definition Documentation

#define MAX_HBLANK_OSC   20

Definition at line 58 of file nv04_dac.c.

#define MAX_SAMPLE_PAIRS   10

Definition at line 64 of file nv04_dac.c.

#define RGB_TEST_DATA (   r,
  g,
  b 
)    (r << 0 | g << 10 | b << 20)

Function Documentation

int nv04_dac_create ( struct drm_connector connector,
struct dcb_output entry 
)

Definition at line 527 of file nv04_dac.c.

bool nv04_dac_in_use ( struct drm_encoder encoder)

Definition at line 446 of file nv04_dac.c.

int nv04_dac_output_offset ( struct drm_encoder encoder)

Definition at line 41 of file nv04_dac.c.

void nv04_dac_update_dacclk ( struct drm_encoder encoder,
bool  enable 
)

Definition at line 421 of file nv04_dac.c.

uint32_t nv17_dac_sample_load ( struct drm_encoder encoder)

Definition at line 230 of file nv04_dac.c.