Searched refs:pcibar (Results 1 – 4 of 4) sorted by relevance
/drivers/scsi/pm8001/ |
D | pm8001_chips.h | 73 static inline u32 get_pci_bar_index(u32 pcibar) in get_pci_bar_index() argument 75 switch (pcibar) { in get_pci_bar_index()
|
D | pm80xx_hwi.c | 794 u32 pcibar; in init_pci_device_addresses() local 804 pcibar = get_pci_bar_index(pcilogic); in init_pci_device_addresses() 806 pm8001_printk("Scratchpad 0 PCI BAR: %d\n", pcibar)); in init_pci_device_addresses() 808 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses() 810 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x18) & in init_pci_device_addresses() 813 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x1C) & in init_pci_device_addresses() 816 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x20) & in init_pci_device_addresses() 819 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x8C) & in init_pci_device_addresses() 822 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x90) & in init_pci_device_addresses() 825 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0xA0) & in init_pci_device_addresses() [all …]
|
D | pm8001_hwi.c | 615 u32 pcibar; in init_pci_device_addresses() local 623 pcibar = get_pci_bar_index(pcilogic); in init_pci_device_addresses() 625 pm8001_printk("Scratchpad 0 PCI BAR: %d\n", pcibar)); in init_pci_device_addresses() 627 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses() 629 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x18); in init_pci_device_addresses() 631 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x1C); in init_pci_device_addresses() 633 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x20); in init_pci_device_addresses()
|
/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 811 const int pcibar = 1; /* PCI base address register */ in natsemi_probe1() local 837 iostart = pci_resource_start(pdev, pcibar); in natsemi_probe1() 838 iosize = pci_resource_len(pdev, pcibar); in natsemi_probe1()
|