Searched refs:pci_base (Results 1 – 2 of 2) sorted by relevance
135 unsigned long base_addr, offset, pci_base; in decode_crb_addr() local139 pci_base = ADDR_ERROR; in decode_crb_addr()145 pci_base = i << 20; in decode_crb_addr()150 if (pci_base == ADDR_ERROR) { in decode_crb_addr()151 return (pci_base); in decode_crb_addr()153 return (pci_base + offset); in decode_crb_addr()
1010 uint32_t base_addr, offset, pci_base; in ql_8021_decode_crb_addr() local1016 pci_base = ADDR_ERROR; in ql_8021_decode_crb_addr()1022 pci_base = i << 20; in ql_8021_decode_crb_addr()1026 if (pci_base == ADDR_ERROR) { in ql_8021_decode_crb_addr()1027 return (pci_base); in ql_8021_decode_crb_addr()1029 return (pci_base + offset); in ql_8021_decode_crb_addr()