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

Go to the source code of this file.

Data Structures

struct  _drm_via_descriptor
 

Macros

#define VIA_PGDN(x)   (((unsigned long)(x)) & PAGE_MASK)
 
#define VIA_PGOFF(x)   (((unsigned long)(x)) & ~PAGE_MASK)
 
#define VIA_PFN(x)   ((unsigned long)(x) >> PAGE_SHIFT)
 

Typedefs

typedef struct _drm_via_descriptor drm_via_descriptor_t
 

Functions

void via_dmablit_handler (struct drm_device *dev, int engine, int from_irq)
 
void via_init_dmablit (struct drm_device *dev)
 
int via_dma_blit_sync (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int via_dma_blit (struct drm_device *dev, void *data, struct drm_file *file_priv)
 

Macro Definition Documentation

#define VIA_PFN (   x)    ((unsigned long)(x) >> PAGE_SHIFT)

Definition at line 47 of file via_dmablit.c.

#define VIA_PGDN (   x)    (((unsigned long)(x)) & PAGE_MASK)

Definition at line 45 of file via_dmablit.c.

#define VIA_PGOFF (   x)    (((unsigned long)(x)) & ~PAGE_MASK)

Definition at line 46 of file via_dmablit.c.

Typedef Documentation

Function Documentation

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

Definition at line 800 of file via_dmablit.c.

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

Definition at line 776 of file via_dmablit.c.

void via_dmablit_handler ( struct drm_device dev,
int  engine,
int  from_irq 
)

Definition at line 315 of file via_dmablit.c.

void via_init_dmablit ( struct drm_device dev)

Definition at line 542 of file via_dmablit.c.