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