/* * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef _LINUX_CLK_SUNXI_NG_H_ #define _LINUX_CLK_SUNXI_NG_H_ #include <linux/errno.h> #ifdef CONFIG_SUNXI_CCU int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode); int sunxi_ccu_get_mmc_timing_mode(struct clk *clk); #else static inline int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode) { return -ENOTSUPP; } static inline int sunxi_ccu_get_mmc_timing_mode(struct clk *clk) { return -ENOTSUPP; } #endif #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
at91_pmc.h | File | 11.32 KB | 0644 |
|
clk-conf.h | File | 588 B | 0644 |
|
mmp.h | File | 475 B | 0644 |
|
mxs.h | File | 360 B | 0644 |
|
renesas.h | File | 1.19 KB | 0644 |
|
sunxi-ng.h | File | 974 B | 0644 |
|
tegra.h | File | 3.19 KB | 0644 |
|
ti.h | File | 11.07 KB | 0644 |
|
zynq.h | File | 1.06 KB | 0644 |
|