xref: /kernel/linux/linux-5.10/drivers/video/fbdev/matrox/matroxfb_misc.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __MATROXFB_MISC_H__
38c2ecf20Sopenharmony_ci#define __MATROXFB_MISC_H__
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include "matroxfb_base.h"
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci/* also for modules */
88c2ecf20Sopenharmony_ciint matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax,
98c2ecf20Sopenharmony_ci	unsigned int* in, unsigned int* feed, unsigned int* post);
108c2ecf20Sopenharmony_cistatic inline int PLL_calcclock(const struct matrox_fb_info *minfo,
118c2ecf20Sopenharmony_ci				unsigned int freq, unsigned int fmax,
128c2ecf20Sopenharmony_ci				unsigned int *in, unsigned int *feed,
138c2ecf20Sopenharmony_ci				unsigned int *post)
148c2ecf20Sopenharmony_ci{
158c2ecf20Sopenharmony_ci	return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post);
168c2ecf20Sopenharmony_ci}
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciint matroxfb_vgaHWinit(struct matrox_fb_info *minfo, struct my_timming* m);
198c2ecf20Sopenharmony_civoid matroxfb_vgaHWrestore(struct matrox_fb_info *minfo);
208c2ecf20Sopenharmony_civoid matroxfb_read_pins(struct matrox_fb_info *minfo);
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci#endif	/* __MATROXFB_MISC_H__ */
23

Indexes created Thu Nov 07 10:32:03 CST 2024