Searched refs:pcibar (Results 1 – 3 of 3) sorted by relevance
73 static inline u32 get_pci_bar_index(u32 pcibar) in get_pci_bar_index() argument75 switch (pcibar) { in get_pci_bar_index()
564 u32 pcibar; in init_pci_device_addresses() local572 pcibar = get_pci_bar_index(pcilogic); in init_pci_device_addresses()574 pm8001_printk("Scratchpad 0 PCI BAR: %d \n", pcibar)); in init_pci_device_addresses()576 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses()578 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x18); in init_pci_device_addresses()580 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x1C); in init_pci_device_addresses()582 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x20); in init_pci_device_addresses()
807 const int pcibar = 1; /* PCI base address register */ in natsemi_probe1() local833 iostart = pci_resource_start(pdev, pcibar); in natsemi_probe1()834 iosize = pci_resource_len(pdev, pcibar); in natsemi_probe1()