Lines Matching defs:dcp
725 struct tga_devconfig *dcp = &tga_console_dc;
728 tga_init(memt, pc, pci_make_tag(pc, bus, device, function), dcp);
731 if (dcp->dc_vaddr == 0)
734 if (dcp->dc_tgaconf == NULL)
743 if (dcp->dc_tga2) {
744 if (dcp->dc_tgaconf->ramdac_funcs == bt485_funcs)
745 bt485_cninit(dcp, tga_sched_update, tga2_ramdac_wr,
748 ibm561_cninit(dcp, tga_sched_update, tga2_ramdac_wr,
749 tga2_ramdac_rd, tga_getdotclock(dcp));
751 if (dcp->dc_tgaconf->ramdac_funcs == bt485_funcs)
752 bt485_cninit(dcp, tga_sched_update, tga_ramdac_wr,
755 bt463_cninit(dcp, tga_sched_update, tga_bt463_wr,
759 dcp->dc_rinfo.ri_ops.allocattr(&dcp->dc_rinfo, 0, 0, 0, &defattr);
760 wsdisplay_cnattach(&tga_stdscreen, &dcp->dc_rinfo, 0, 0, defattr);