Home | History | Annotate | Download | only in boot

Lines Matching defs:pslot

122 	struct PCI_cinfo *pslot;
127 pslot = &PCI_slots[slotnum];
129 if (pslot->regs[DEVID] == 0xffffffff ||
130 PCI_MAPREG_TYPE(pslot->regs[BAR_BASE + bar]) != type)
133 return PCI_MAPREG_MEM_ADDR(pslot->regs[BAR_BASE + bar]);
159 struct PCI_cinfo *pslot;
163 pslot = &PCI_slots[slot];
165 pslot->regs[r] = bswap32(pslot->config_addr[r]);
166 if (pslot->regs[DEVID] != 0xffffffff) {
168 if (((pslot->regs[CLASS] & 0xffffff00) ==
170 ((pslot->regs[CLASS] & 0xffffff00) ==
173 if ((pslot->regs[CMD] & 0x03)) {
187 struct PCI_cinfo *pslot = &PCI_slots[slotnum];
189 return (pslot->regs[DEVID] & 0xffff);