Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
via_mm.c File Reference
#include <drm/drmP.h>
#include <drm/via_drm.h>
#include "via_drv.h"

Go to the source code of this file.

Data Structures

struct  via_memblock
 

Macros

#define VIA_MM_ALIGN_SHIFT   4
 
#define VIA_MM_ALIGN_MASK   ((1 << VIA_MM_ALIGN_SHIFT) - 1)
 

Functions

int via_agp_init (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int via_fb_init (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int via_final_context (struct drm_device *dev, int context)
 
void via_lastclose (struct drm_device *dev)
 
int via_mem_alloc (struct drm_device *dev, void *data, struct drm_file *file)
 
int via_mem_free (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
void via_reclaim_buffers_locked (struct drm_device *dev, struct drm_file *file)
 

Macro Definition Documentation

#define VIA_MM_ALIGN_MASK   ((1 << VIA_MM_ALIGN_SHIFT) - 1)

Definition at line 33 of file via_mm.c.

#define VIA_MM_ALIGN_SHIFT   4

Definition at line 32 of file via_mm.c.

Function Documentation

int via_agp_init ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 40 of file via_mm.c.

int via_fb_init ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 56 of file via_mm.c.

int via_final_context ( struct drm_device dev,
int  context 
)

Definition at line 74 of file via_mm.c.

void via_lastclose ( struct drm_device dev)

Definition at line 91 of file via_mm.c.

int via_mem_alloc ( struct drm_device dev,
void data,
struct drm_file *  file 
)

Definition at line 110 of file via_mm.c.

int via_mem_free ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 187 of file via_mm.c.

void via_reclaim_buffers_locked ( struct drm_device dev,
struct drm_file *  file 
)

Definition at line 212 of file via_mm.c.