sys/dev/pci/mgafb.c
136
static void mgafb_dac_write_ind(struct mgafb_softc *, uint8_t, uint8_t);
sys/dev/pci/mgafb.c
1415
mgafb_dac_write_ind(sc, MGA_TVP_COLORMODE, 0x06);
sys/dev/pci/mgafb.c
1416
mgafb_dac_write_ind(sc, MGA_TVP_PIXFMT, 0x80);
sys/dev/pci/mgafb.c
1417
mgafb_dac_write_ind(sc, MGA_TVP_CURCTL,
sys/dev/pci/mgafb.c
1419
mgafb_dac_write_ind(sc, MGA_TVP_MUXCTL, 0x25);
sys/dev/pci/mgafb.c
1420
mgafb_dac_write_ind(sc, MGA_TVP_LUTBYPASS, 0x0C);
sys/dev/pci/mgafb.c
1421
mgafb_dac_write_ind(sc, MGA_TVP_KEY_CTL, 0x00);
sys/dev/pci/mgafb.c
1423
mgafb_dac_write_ind(sc, MGA_TVP_COLORMODE, 0x07);
sys/dev/pci/mgafb.c
1424
mgafb_dac_write_ind(sc, MGA_TVP_PIXFMT, 0x05);
sys/dev/pci/mgafb.c
1425
mgafb_dac_write_ind(sc, MGA_TVP_CURCTL,
sys/dev/pci/mgafb.c
1427
mgafb_dac_write_ind(sc, MGA_TVP_MUXCTL, 0x15);
sys/dev/pci/mgafb.c
1428
mgafb_dac_write_ind(sc, MGA_TVP_LUTBYPASS, 0x24);
sys/dev/pci/mgafb.c
1449
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, 0x2A);
sys/dev/pci/mgafb.c
1450
mgafb_dac_write_ind(sc, MGA_TVP_LOOPPLLDATA, 0x00);
sys/dev/pci/mgafb.c
1451
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, 0x00);
sys/dev/pci/mgafb.c
1454
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR,
sys/dev/pci/mgafb.c
1456
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, 0xC0 | pll_n);
sys/dev/pci/mgafb.c
1457
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, pll_m);
sys/dev/pci/mgafb.c
1458
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, 0xB0 | pll_p);
sys/dev/pci/mgafb.c
1461
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR,
sys/dev/pci/mgafb.c
1501
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLCTRL, 0x30U | lclk_q);
sys/dev/pci/mgafb.c
1502
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLCTRL, 0x38U | lclk_q);
sys/dev/pci/mgafb.c
1505
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR,
sys/dev/pci/mgafb.c
1507
mgafb_dac_write_ind(sc, MGA_TVP_LOOPPLLDATA, 0xC0 | lclk_n);
sys/dev/pci/mgafb.c
1508
mgafb_dac_write_ind(sc, MGA_TVP_LOOPPLLDATA, 61);
sys/dev/pci/mgafb.c
1509
mgafb_dac_write_ind(sc, MGA_TVP_LOOPPLLDATA, 0xF0 | lclk_p);
sys/dev/pci/mgafb.c
1512
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR,
sys/dev/pci/mgafb.c
1536
mgafb_dac_write_ind(sc, MGA_IDAC_MUL_CTL, MGA_MULCTL_8BPP);
sys/dev/pci/mgafb.c
1538
mgafb_dac_write_ind(sc, MGA_IDAC_MUL_CTL, MGA_MULCTL_16BPP);
sys/dev/pci/mgafb.c
1540
mgafb_dac_write_ind(sc, MGA_IDAC_MISC_CTL, 0x00);
sys/dev/pci/mgafb.c
1541
mgafb_dac_write_ind(sc, MGA_IDAC_VREF_CTL, 0x03);
sys/dev/pci/mgafb.c
1559
mgafb_dac_write_ind(sc, MGA_IDAC_PIX_CLK_CTL,
sys/dev/pci/mgafb.c
1563
mgafb_dac_write_ind(sc, MGA_IDAC_PIX_PLLC_M, pll_m);
sys/dev/pci/mgafb.c
1564
mgafb_dac_write_ind(sc, MGA_IDAC_PIX_PLLC_N, pll_n);
sys/dev/pci/mgafb.c
1565
mgafb_dac_write_ind(sc, MGA_IDAC_PIX_PLLC_P, pll_p);
sys/dev/pci/mgafb.c
1582
mgafb_dac_write_ind(sc, MGA_IDAC_PIX_CLK_CTL, MGA_PIXCLK_SRC_PLL);
sys/dev/pci/mgafb.c
1612
mgafb_dac_write_ind(sc, MGA_TVP_VSYNCPOL, vsyncpol);
sys/dev/pci/mgafb.c
2183
mgafb_dac_write_ind(sc, MGA_TVP_CURCTL_IND, v);
sys/dev/pci/mgafb.c
2238
mgafb_dac_write_ind(sc, MGA_TVP_CURCTL_IND, v);
sys/dev/pci/mgafb.c
2283
mgafb_dac_write_ind(sc, MGA_TVP_CURCTL_IND, v);
sys/dev/pci/mgafb.c
478
mgafb_dac_write_ind(sc, MGA_TVP_GEN_IO_CTL, sc->sc_ddc_ctl);
sys/dev/pci/mgafb.c
481
mgafb_dac_write_ind(sc, MGA_TVP_GEN_IO_DATA,
sys/dev/pci/mgafb.c
537
mgafb_dac_write_ind(sc, MGA_TVP_GEN_IO_CTL, sc->sc_ddc_ctl);
sys/dev/pci/mgafb.c
785
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLCTRL,
sys/dev/pci/mgafb.c
856
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_PCLK_N);
sys/dev/pci/mgafb.c
858
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_PCLK_M);
sys/dev/pci/mgafb.c
860
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_PCLK_STOP);
sys/dev/pci/mgafb.c
864
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_PCLK_STOP);
sys/dev/pci/mgafb.c
865
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, 0x00);
sys/dev/pci/mgafb.c
868
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_PCLK_START);
sys/dev/pci/mgafb.c
869
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, 0xC0 | n); /* N at 0x00 */
sys/dev/pci/mgafb.c
870
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, m); /* M at 0x01 */
sys/dev/pci/mgafb.c
871
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, 0xB0 | p); /* P at 0x02; PLL restarts */
sys/dev/pci/mgafb.c
874
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_ALL_STATUS);
sys/dev/pci/mgafb.c
893
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLCTRL,
sys/dev/pci/mgafb.c
895
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLCTRL,
sys/dev/pci/mgafb.c
901
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_MCLK_STOP);
sys/dev/pci/mgafb.c
902
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLDATA, 0x00);
sys/dev/pci/mgafb.c
906
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_MCLK_START);
sys/dev/pci/mgafb.c
907
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLDATA, 0xC0 | n);
sys/dev/pci/mgafb.c
908
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLDATA, m);
sys/dev/pci/mgafb.c
909
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLDATA, 0xB0 | p);
sys/dev/pci/mgafb.c
915
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR,
sys/dev/pci/mgafb.c
946
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLCTRL,
sys/dev/pci/mgafb.c
948
mgafb_dac_write_ind(sc, MGA_TVP_MEMPLLCTRL,
sys/dev/pci/mgafb.c
953
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_PCLK_STOP);
sys/dev/pci/mgafb.c
954
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, 0x00);
sys/dev/pci/mgafb.c
956
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_PCLK_START);
sys/dev/pci/mgafb.c
957
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, pclk_n); /* N at 0x00 */
sys/dev/pci/mgafb.c
958
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, pclk_m); /* M at 0x01 */
sys/dev/pci/mgafb.c
959
mgafb_dac_write_ind(sc, MGA_TVP_PLLDATA, pclk_p); /* P at 0x02; PLL restarts */
sys/dev/pci/mgafb.c
962
mgafb_dac_write_ind(sc, MGA_TVP_PLLADDR, MGA_TVP_PLLADDR_ALL_STATUS);
sys/dev/pci/mgafb.c
992
mgafb_dac_write_ind(sc, MGA_IDAC_SYS_PLL_M, 0x04);
sys/dev/pci/mgafb.c
993
mgafb_dac_write_ind(sc, MGA_IDAC_SYS_PLL_N, 0x44);
sys/dev/pci/mgafb.c
994
mgafb_dac_write_ind(sc, MGA_IDAC_SYS_PLL_P, 0x18);