Lines Matching defs:pci_func
203 int pci_func = adapter->ahw.pci_func;
204 pmac16 += (4 * pci_func);
205 crbaddr = CRB_MAC_BLOCK_START + (4 * ((pci_func/2) * 3)) +
206 (4 * (pci_func & 1));
209 if (pci_func & 1) {
325 hwcontext->pci_func = (reg_options[0] >> 8) & 0x7;
373 legacy_intrp = &legacy_intr[hwcontext->pci_func];
945 (adapter->ahw.pci_func * 0x20);
946 if (adapter->ahw.pci_func < 4)
948 (adapter->ahw.pci_func * 0x20);
951 0xA0 + ((adapter->ahw.pci_func - 4) * 0x10);
1133 p = (unsigned char *)&mac_addr[adapter->ahw.pci_func];
1194 adapter->portnum = (int8_t)adapter->ahw.pci_func;
1224 if (adapter->ahw.pci_func >= 2) {
1225 adapter->portnum = adapter->ahw.pci_func - 2;
1234 if (adapter->ahw.pci_func == 0)