Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
s5p-dev-mfc.c File Reference
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/memblock.h>
#include <linux/ioport.h>
#include <mach/map.h>
#include <plat/devs.h>
#include <plat/irqs.h>
#include <plat/mfc.h>

Go to the source code of this file.

Data Structures

struct  s5p_mfc_reserved_mem
 

Functions

void __init s5p_mfc_reserve_mem (phys_addr_t rbase, unsigned int rsize, phys_addr_t lbase, unsigned int lsize)
 
 device_initcall (s5p_mfc_memory_init)
 

Function Documentation

device_initcall ( s5p_mfc_memory_init  )
void __init s5p_mfc_reserve_mem ( phys_addr_t  rbase,
unsigned int  rsize,
phys_addr_t  lbase,
unsigned int  lsize 
)

s5p_mfc_reserve_mem - function to early reserve memory for MFC driver : base address for MFC 'right' memory interface : size of the memory reserved for MFC 'right' interface : base address for MFC 'left' memory interface : size of the memory reserved for MFC 'left' interface

This function reserves system memory for both MFC device memory interfaces and registers it to respective struct device entries as coherent memory.

Definition at line 31 of file s5p-dev-mfc.c.