| /* linux/include/soc/samsung/exynos-mcinfo.h |
| * |
| * Copyright (C) 2016 Samsung Electronics Co., Ltd. |
| * http://www.samsung.com |
| * |
| * Header file for external APIs |
| * To get information about exynos memory controller |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| */ |
| |
| #ifndef __EXYNOS_MCINFO_H |
| #define __EXYNOS_MCINFO_H |
| |
| #if defined(CONFIG_EXYNOS_MCINFO) |
| unsigned int get_mcinfo_base_count(void); |
| void get_refresh_rate(unsigned int *result); |
| #else |
| static inline |
| unsigned int get_mcinfo_base_count(void) |
| { |
| return 0; |
| } |
| static inline |
| void get_refresh_rate(unsigned int *result) |
| { |
| return; |
| } |
| #endif |
| |
| #endif /* __EXYNOS_MCINFO_H */ |