AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.145.88.104


Current Path : /usr/src/linux-headers-5.15.0-127/include/linux/clk/
Upload File :
Current File : //usr/src/linux-headers-5.15.0-127/include/linux/clk/sunxi-ng.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved.
 */

#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