Lines Matching defs:bar
150 // bar 0 and 1 - logical BAR0
151 // bar 2 and 3 - logical BAR1
154 // Skiping the assignments for bar 1 and bar 3 (making bar 0, 2 64-bit):
155 U32 bar;
157 for (bar = 0; bar < PCI_NUMBER_BARS; bar++) {
158 if ((bar==1) || (bar==3))
160 thisCardInst->pciMemBaseRIDSpc[lBar] = PCIR_BAR(bar);
178 AGTIAPI_PRINTK( "agtiapi_InitResource: PCI: bar %d, lBar %d "
179 "VirtAddr=%lx, len=%d\n", bar, lBar,
588 U32 bar = 0;
594 for (bar=0; bar < PCI_NUMBER_BARS; bar++) { // clean up PCI resource
595 tmpRid = pCardInfo->pciMemBaseRIDSpc[bar];
596 tmpRsc = pCardInfo->pciMemBaseRscSpc[bar];