Linux Kernel
3.7.1
|
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <video/cirrus.h>
#include "cirrus_drv.h"
Go to the source code of this file.
Macros | |
#define | CIRRUS_LUT_SIZE 256 |
#define | PALETTE_INDEX 0x8 |
#define | PALETTE_DATA 0x9 |
Functions | |
void | cirrus_set_start_address (struct drm_crtc *crtc, unsigned offset) |
void | cirrus_crtc_fb_gamma_set (struct drm_crtc *crtc, u16 red, u16 green, u16 blue, int regno) |
void | cirrus_crtc_fb_gamma_get (struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, int regno) |
void | cirrus_encoder_destroy (struct drm_encoder *encoder) |
int | cirrus_vga_get_modes (struct drm_connector *connector) |
struct drm_encoder * | cirrus_connector_best_encoder (struct drm_connector *connector) |
int | cirrus_modeset_init (struct cirrus_device *cdev) |
void | cirrus_modeset_fini (struct cirrus_device *cdev) |
Variables | |
struct drm_connector_helper_funcs | cirrus_vga_connector_helper_funcs |
struct drm_connector_funcs | cirrus_vga_connector_funcs |
#define CIRRUS_LUT_SIZE 256 |
Definition at line 24 of file cirrus_mode.c.
#define PALETTE_DATA 0x9 |
Definition at line 27 of file cirrus_mode.c.
#define PALETTE_INDEX 0x8 |
Definition at line 26 of file cirrus_mode.c.
|
read |
Definition at line 513 of file cirrus_mode.c.
void cirrus_crtc_fb_gamma_get | ( | struct drm_crtc * | crtc, |
u16 * | red, | ||
u16 * | green, | ||
u16 * | blue, | ||
int | regno | ||
) |
Gets the color ramps on behalf of fbcon
Definition at line 419 of file cirrus_mode.c.
Sets the color ramps on behalf of fbcon
Definition at line 408 of file cirrus_mode.c.
void cirrus_encoder_destroy | ( | struct drm_encoder * | encoder | ) |
Definition at line 456 of file cirrus_mode.c.
void cirrus_modeset_fini | ( | struct cirrus_device * | cdev | ) |
Definition at line 620 of file cirrus_mode.c.
int cirrus_modeset_init | ( | struct cirrus_device * | cdev | ) |
Definition at line 578 of file cirrus_mode.c.
Definition at line 105 of file cirrus_mode.c.
int cirrus_vga_get_modes | ( | struct drm_connector * | connector | ) |
Definition at line 495 of file cirrus_mode.c.
struct drm_connector_funcs cirrus_vga_connector_funcs |
Definition at line 551 of file cirrus_mode.c.
struct drm_connector_helper_funcs cirrus_vga_connector_helper_funcs |
Definition at line 545 of file cirrus_mode.c.