/linux-2.4.37.9/drivers/video/matrox/ |
D | g450_pll.c | 37 return g450_vco2f(mnp, g450_mnp2vco(PMINFO mnp)); in g450_mnp2f() 124 return g450_nextpll(PMINFO pi, vco, 0xFF0000 | p); in g450_firstpll() 130 matroxfb_DAC_out(PMINFO M1064_XPIXPLLAM, mnp >> 16); in g450_setpll() 131 matroxfb_DAC_out(PMINFO M1064_XPIXPLLAN, mnp >> 8); in g450_setpll() 132 matroxfb_DAC_out(PMINFO M1064_XPIXPLLAP, mnp); in g450_setpll() 136 matroxfb_DAC_out(PMINFO M1064_XPIXPLLBM, mnp >> 16); in g450_setpll() 137 matroxfb_DAC_out(PMINFO M1064_XPIXPLLBN, mnp >> 8); in g450_setpll() 138 matroxfb_DAC_out(PMINFO M1064_XPIXPLLBP, mnp); in g450_setpll() 142 matroxfb_DAC_out(PMINFO M1064_XPIXPLLCM, mnp >> 16); in g450_setpll() 143 matroxfb_DAC_out(PMINFO M1064_XPIXPLLCN, mnp >> 8); in g450_setpll() [all …]
|
D | matroxfb_Ti3026.c | 289 …outTi3026(PMINFO TVP3026_XCURCTRL, inTi3026(PMINFO TVP3026_XCURCTRL) ^ TVP3026_XCURCTRL_DIS ^ TVP3… in matroxfb_ti3026_flashcursor() 307 matroxfb_createcursorshape(PMINFO p, p->var.vmode); in matroxfb_ti3026_createcursor() 363 outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL])); in matroxfb_ti3026_cursor() 369 matroxfb_ti3026_createcursor(PMINFO p); in matroxfb_ti3026_cursor() 383 outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL])); in matroxfb_ti3026_cursor() 392 …outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL]) | TVP3026_XCURCTRL_X… in matroxfb_ti3026_cursor() 417 fvco = PLL_calcclock(PMINFO freq, fmax, &lin, &lfeed, &lpost); in Ti3026_calcclock() 431 f_pll = Ti3026_calcclock(PMINFO clk, ACCESS_FBINFO(max_pixel_clock), &pixin, &pixfeed, &pixpost); in Ti3026_setpclk() 546 if (matroxfb_vgaHWinit(PMINFO m, p)) return 1; in Ti3026_init() 575 Ti3026_setpclk(PMINFO m->pixclock, p); in Ti3026_init() [all …]
|
D | matroxfb_DAC1064.c | 43 …outDAC1064(PMINFO M1064_XCURCTRL, inDAC1064(PMINFO M1064_XCURCTRL) ^ M1064_XCURCTRL_DIS ^ M1064_XC… in matroxfb_DAC1064_flashcursor() 60 matroxfb_createcursorshape(PMINFO p, p->var.vmode); in matroxfb_DAC1064_createcursor() 114 outDAC1064(PMINFO M1064_XCURCTRL, M1064_XCURCTRL_DIS); in matroxfb_DAC1064_cursor() 120 matroxfb_DAC1064_createcursor(PMINFO p); in matroxfb_DAC1064_cursor() 134 outDAC1064(PMINFO M1064_XCURCTRL, M1064_XCURCTRL_DIS); in matroxfb_DAC1064_cursor() 143 outDAC1064(PMINFO M1064_XCURCTRL, M1064_XCURCTRL_XGA); in matroxfb_DAC1064_cursor() 167 fvco = PLL_calcclock(PMINFO freq, fmax, in, feed, &p); in DAC1064_calcclock() 211 DAC1064_calcclock(PMINFO fout, ACCESS_FBINFO(max_pixel_clock), &m, &n, &p); in DAC1064_setpclk() 225 hw->DACclk[3] = inDAC1064(PMINFO DAC1064_XSYSPLLM); in DAC1064_setmclk() 226 hw->DACclk[4] = inDAC1064(PMINFO DAC1064_XSYSPLLN); in DAC1064_setmclk() [all …]
|
D | matroxfb_g450.c | 95 *get_ctrl_ptr(PMINFO i) = g450_controls[i].desc.default_value; in tvo_fill_defaults() 104 matroxfb_DAC_out(PMINFO 0x87, reg); in cve2_get_reg() 105 val = matroxfb_DAC_in(PMINFO 0x88); in cve2_get_reg() 114 matroxfb_DAC_out(PMINFO 0x87, reg); in cve2_set_reg() 115 matroxfb_DAC_out(PMINFO 0x88, val); in cve2_set_reg() 123 matroxfb_DAC_out(PMINFO 0x87, reg); in cve2_set_reg10() 124 matroxfb_DAC_out(PMINFO 0x88, val >> 2); in cve2_set_reg10() 125 matroxfb_DAC_out(PMINFO 0x87, reg + 1); in cve2_set_reg10() 126 matroxfb_DAC_out(PMINFO 0x88, val & 3); in cve2_set_reg10() 169 if (p->value == *get_ctrl_ptr(PMINFO i)) return 0; in g450_set_ctrl() [all …]
|
D | i2c-matroxfb.c | 44 v = matroxfb_DAC_in(PMINFO DAC_XGENIODATA); in matroxfb_read_gpio() 54 v = (matroxfb_DAC_in(PMINFO DAC_XGENIOCTRL) & mask) | val; in matroxfb_set_gpio() 55 matroxfb_DAC_out(PMINFO DAC_XGENIOCTRL, v); in matroxfb_set_gpio() 57 matroxfb_DAC_out(PMINFO DAC_XGENIODATA, 0x00); in matroxfb_set_gpio() 163 matroxfb_DAC_out(PMINFO DAC_XGENIODATA, 0xFF); in i2c_matroxfb_probe() 164 matroxfb_DAC_out(PMINFO DAC_XGENIOCTRL, 0x00); in i2c_matroxfb_probe()
|
D | matroxfb_base.c | 294 ret = matroxfb_enable_irq(PMINFO 0); in matroxfb_wait_for_sync() 306 matroxfb_enable_irq(PMINFO 1); in matroxfb_wait_for_sync() 345 vbl = (var->activate & FB_ACTIVATE_VBL) && (matroxfb_enable_irq(PMINFO 0) == 0); in matrox_pan_var() 433 matroxfb_remove(PMINFO 0); in matroxfb_release() 457 matrox_pan_var(PMINFO var); in matroxfb_pan_display() 469 matrox_pan_var(PMINFO &fb_display[con].var); in matroxfb_updatevar() 533 if ((*width >= xres) && (matroxfb_test_and_set_rounding(PMINFO *width, bpp) == *width)) { in matroxfb_pitch_adjust() 540 xres_new = matroxfb_test_and_set_rounding(PMINFO xres, bpp); in matroxfb_pitch_adjust() 652 var->xres_virtual = matroxfb_pitch_adjust(PMINFO var->xres_virtual, bpp); in matroxfb_decode_var() 686 matrox_text_round(PMINFO var, p); in matroxfb_decode_var() [all …]
|
D | matroxfb_accel.c | 956 matroxfb_createcursorshape(PMINFO p, 0); in matrox_text_createcursor() 988 matrox_text_createcursor(PMINFO p); in matrox_text_cursor() 1044 matrox_text_round(PMINFO &p->var, p); in matrox_text_setfont() 1048 matrox_text_createcursor(PMINFO p); in matrox_text_setfont() 1228 ACCESS_FBINFO(hw_switch)->selhwcursor(PMINFO p); in initMatrox() 1239 matrox_text_createcursor(PMINFO p); in matrox_init_putc() 1240 matrox_text_loadfont(PMINFO p); in matrox_init_putc() 1243 dac_createcursor(PMINFO p); in matrox_init_putc() 1244 i = matroxfb_fastfont_tryset(PMINFO p); in matrox_init_putc()
|
D | matroxfb_misc.c | 970 return parse_pins1(PMINFO bd); in matroxfb_set_limits() 972 return parse_pins2(PMINFO bd); in matroxfb_set_limits() 974 return parse_pins3(PMINFO bd); in matroxfb_set_limits() 976 return parse_pins4(PMINFO bd); in matroxfb_set_limits() 978 return parse_pins5(PMINFO bd); in matroxfb_set_limits() 1021 matroxfb_set_limits(PMINFO &ACCESS_FBINFO(bios)); in matroxfb_read_pins()
|
D | matroxfb_crtc2.c | 577 matroxfb_enable_irq(PMINFO 0); in matroxfb_dh_get_vblank() 627 return matroxfb_wait_for_sync(PMINFO 1); in matroxfb_dh_ioctl() 884 if (matroxfb_dh_regit(PMINFO m2info)) { in matroxfb_dh_registerfb()
|
D | matroxfb_base.h | 690 #define PMINFO PMINFO2 , macro 713 #define PMINFO macro
|