Lines Matching defs:pcib
226 unsigned pchb, pcib, dev11, dev12, dev13, dev15, dev16, val;
253 if (pcifinddev(0x10ad, 0x0565, &pcib) == 0) {
257 else if (pcifinddev(0x1106, 0x0686, &pcib) == 0) {
407 unsigned ac97, ide, pcib, pmgt, usb12, usb34, val;
418 pcib = pcimaketag(0, 22, 0);
429 val = pcicfgread(pcib, 0x84);
431 pcicfgwrite(pcib, 0x84, val);
433 val = pcicfgread(pcib, 0x84);
435 pcicfgwrite(pcib, 0x84, val);
438 val = pcicfgread(pcib, 0x54);
440 pcicfgwrite(pcib, 0x54, val);
443 val = pcicfgread(pcib, 0x44);
445 pcicfgwrite(pcib, 0x44, val);
469 unsigned ide, irq, net, pcib, steer, val;
472 pcib = pcimaketag(0, 22, 0);
480 val = pcicfgread(pcib, 0x54); /* Dx CB Ax xs */
543 * - disable USB #0 and #1 (pcib 0x48 and 0x85)
544 * - disable AC97 audio and MC97 modem (pcib 0x85)
547 /* pcib: 0x48 - disable USB #0 at function 2 */
548 val = pcicfgread(pcib, 0x48);
549 pcicfgwrite(pcib, 0x48, val | 04);
551 /* pcib: 0x85 - disable USB #1 at function 3 */
552 /* pcib: 0x85 - disable AC97/MC97 at function 5/6 */
553 val = pcicfgread(pcib, 0x84);
554 pcicfgwrite(pcib, 0x84, val | 0x1c00);
596 unsigned ide, net, pcib, steer, val;
599 pcib = pcimaketag(0, 11, 0);
608 if (pcicfgread(pcib, 0x40) & 0x20) {
609 steer = pcicfgread(pcib, 0x60);
625 * - don't use ISA IRQ14/15 (pcib 0x43)
635 /* pcib: 0x43 - IDE interrupt routing */
636 val = pcicfgread(pcib, 0x40) & 0x00ffffff;
637 pcicfgwrite(pcib, 0x40, val);
639 /* pcib: 0x45/44 - PCI interrupt routing */
640 val = pcicfgread(pcib, 0x44) & 0xffff0000;
641 pcicfgwrite(pcib, 0x44, val);
656 * - IDE primary/secondary interrupt routing (pcib 0x43)
657 * - PCI interrupt routing (pcib 0x45/44)
665 /* pcib: 0x43 - IDE interrupt routing */
666 val = pcicfgread(pcib, 0x40) & 0x00ffffff;
667 pcicfgwrite(pcib, 0x40, val | (0xee << 24));