Lines Matching defs:pslot
101 struct PCI_ConfigInfo *pslot;
105 pslot = &PCI_slots[slt];
107 pslot->regs[r] = bswap32(pslot->config_addr[r]);
114 struct PCI_ConfigInfo *pslot;
120 pslot = &PCI_slots[slt];
121 if (pslot->regs[DEVID] != 0xffffffff) { /* card in slot ? */
122 if (PCI_CLASS(pslot->regs[CLASS]) ==
125 if ((pslot->regs[CMD] & 0x03)) { /* did firmware enable it ? */
159 struct PCI_ConfigInfo *pslot;
161 pslot = &PCI_slots[slotnum];
163 return pslot->regs[DEVID] & 0xffff;
170 struct PCI_ConfigInfo *pslot;
175 pslot = &PCI_slots[slotnum];
177 if (pslot->regs[DEVID] == 0xffffffff ||
178 PCI_MAPREG_TYPE(pslot->regs[BAR_BASE + bar]) != type)
181 return PCI_MAPREG_MEM_ADDR(pslot->regs[BAR_BASE + bar]);