linux/drivers/video/fbdev/via/via_clock.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
 * Copyright 2011 Florian Tobias Schandinat <[email protected]>
 */
/*
 * clock and PLL management functions
 */

#ifndef __VIA_CLOCK_H__
#define __VIA_CLOCK_H__

#include <linux/types.h>

enum via_clksrc {};

struct via_pll_config {};

struct via_clock {};


static inline u32 get_pll_internal_frequency(u32 ref_freq,
	struct via_pll_config pll)
{}

static inline u32 get_pll_output_frequency(u32 ref_freq,
	struct via_pll_config pll)
{}

void via_clock_init(struct via_clock *clock, int gfx_chip);

#endif /* __VIA_CLOCK_H__ */