Staging: hv: mousevsc: Cleanup alloc_input_device()
[zen-stable.git] / arch / arm / plat-s5p / include / plat / mfc.h
blob6697f8cb29499ef0089d057409797fcabd7c853c
1 /*
2 * Copyright (C) 2011 Samsung Electronics Co.Ltd
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 */
10 #ifndef __PLAT_S5P_MFC_H
11 #define __PLAT_S5P_MFC_H
13 /**
14 * s5p_mfc_reserve_mem - function to early reserve memory for MFC driver
15 * @rbase: base address for MFC 'right' memory interface
16 * @rsize: size of the memory reserved for MFC 'right' interface
17 * @lbase: base address for MFC 'left' memory interface
18 * @lsize: size of the memory reserved for MFC 'left' interface
20 * This function reserves system memory for both MFC device memory
21 * interfaces and registers it to respective struct device entries as
22 * coherent memory.
24 void __init s5p_mfc_reserve_mem(phys_addr_t rbase, unsigned int rsize,
25 phys_addr_t lbase, unsigned int lsize);
27 #endif /* __PLAT_S5P_MFC_H */