Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mga_warp.c File Reference
#include <linux/firmware.h>
#include <linux/ihex.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/mga_drm.h>
#include "mga_drv.h"

Go to the source code of this file.

Macros

#define FIRMWARE_G200   "matrox/g200_warp.fw"
 
#define FIRMWARE_G400   "matrox/g400_warp.fw"
 
#define MGA_WARP_CODE_ALIGN   256 /* in bytes */
 
#define WARP_UCODE_SIZE(size)   ALIGN(size, MGA_WARP_CODE_ALIGN)
 
#define WMISC_EXPECTED   (MGA_WUCODECACHE_ENABLE | MGA_WMASTER_ENABLE)
 

Functions

 MODULE_FIRMWARE (FIRMWARE_G200)
 
 MODULE_FIRMWARE (FIRMWARE_G400)
 
int mga_warp_install_microcode (drm_mga_private_t *dev_priv)
 
int mga_warp_init (drm_mga_private_t *dev_priv)
 

Macro Definition Documentation

#define FIRMWARE_G200   "matrox/g200_warp.fw"

Definition at line 39 of file mga_warp.c.

#define FIRMWARE_G400   "matrox/g400_warp.fw"

Definition at line 40 of file mga_warp.c.

#define MGA_WARP_CODE_ALIGN   256 /* in bytes */

Definition at line 45 of file mga_warp.c.

#define WARP_UCODE_SIZE (   size)    ALIGN(size, MGA_WARP_CODE_ALIGN)

Definition at line 47 of file mga_warp.c.

#define WMISC_EXPECTED   (MGA_WUCODECACHE_ENABLE | MGA_WMASTER_ENABLE)

Definition at line 134 of file mga_warp.c.

Function Documentation

int mga_warp_init ( drm_mga_private_t dev_priv)

Definition at line 136 of file mga_warp.c.

int mga_warp_install_microcode ( drm_mga_private_t dev_priv)

Definition at line 49 of file mga_warp.c.

MODULE_FIRMWARE ( FIRMWARE_G200  )
MODULE_FIRMWARE ( FIRMWARE_G400  )