Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef __MATROXFB_MISC_H__ |
3 | #define __MATROXFB_MISC_H__ | |
4 | ||
5 | #include "matroxfb_base.h" | |
6 | ||
7 | /* also for modules */ | |
8 | int matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax, | |
9 | unsigned int* in, unsigned int* feed, unsigned int* post); | |
316b4d64 JD |
10 | static inline int PLL_calcclock(const struct matrox_fb_info *minfo, |
11 | unsigned int freq, unsigned int fmax, | |
12 | unsigned int *in, unsigned int *feed, | |
13 | unsigned int *post) | |
14 | { | |
fc2d10dd | 15 | return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); |
1da177e4 LT |
16 | } |
17 | ||
316b4d64 JD |
18 | int matroxfb_vgaHWinit(struct matrox_fb_info *minfo, struct my_timming* m); |
19 | void matroxfb_vgaHWrestore(struct matrox_fb_info *minfo); | |
20 | void matroxfb_read_pins(struct matrox_fb_info *minfo); | |
1da177e4 LT |
21 | |
22 | #endif /* __MATROXFB_MISC_H__ */ |