Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ctvmem.c File Reference
#include "ctvmem.h"
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/io.h>
#include <sound/pcm.h>

Go to the source code of this file.

Macros

#define CT_PTES_PER_PAGE   (CT_PAGE_SIZE / sizeof(void *))
 
#define CT_ADDRS_PER_PAGE   (CT_PTES_PER_PAGE * CT_PAGE_SIZE)
 

Functions

int ct_vm_create (struct ct_vm **rvm, struct pci_dev *pci)
 
void ct_vm_destroy (struct ct_vm *vm)
 

Macro Definition Documentation

#define CT_ADDRS_PER_PAGE   (CT_PTES_PER_PAGE * CT_PAGE_SIZE)

Definition at line 25 of file ctvmem.c.

#define CT_PTES_PER_PAGE   (CT_PAGE_SIZE / sizeof(void *))

Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.

This source file is released under GPL v2 license (no other versions). See the COPYING file included in the main directory of this source distribution for the license terms and conditions.

ctvmem.c

This file contains the implementation of virtual memory management object for card device.

Liu Chun Apr 1 2008

Definition at line 24 of file ctvmem.c.

Function Documentation

int ct_vm_create ( struct ct_vm **  rvm,
struct pci_dev pci 
)

Definition at line 174 of file ctvmem.c.

void ct_vm_destroy ( struct ct_vm vm)

Definition at line 220 of file ctvmem.c.