Home
last modified time | relevance | path

Searched refs:pcibar (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/scsi/pm8001/
H A Dpm8001_chips.h73 static inline u32 get_pci_bar_index(u32 pcibar) in get_pci_bar_index() argument
75 switch (pcibar) { in get_pci_bar_index()
H A Dpm80xx_hwi.c1101 u32 pcibar; in init_pci_device_addresses() local
1119 pcibar = get_pci_bar_index(pcilogic); in init_pci_device_addresses()
1120 pm8001_dbg(pm8001_ha, INIT, "Scratchpad 0 PCI BAR: %d\n", pcibar); in init_pci_device_addresses()
1125 if (offset > pm8001_ha->io_mem[pcibar].memsize) { in init_pci_device_addresses()
1128 offset, pm8001_ha->io_mem[pcibar].memsize); in init_pci_device_addresses()
1132 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses()
1148 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x18) & in init_pci_device_addresses()
1151 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x1C) & in init_pci_device_addresses()
1154 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x20) & in init_pci_device_addresses()
1157 base_addr + (pm8001_cr32(pm8001_ha, pcibar, offset + 0x8C) & in init_pci_device_addresses()
[all …]
H A Dpm8001_hwi.c624 u32 pcibar; in init_pci_device_addresses() local
631 pcibar = get_pci_bar_index(pcilogic); in init_pci_device_addresses()
632 pm8001_dbg(pm8001_ha, INIT, "Scratchpad 0 PCI BAR: %d\n", pcibar); in init_pci_device_addresses()
634 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses()
636 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x18); in init_pci_device_addresses()
638 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x1C); in init_pci_device_addresses()
640 base_addr + pm8001_cr32(pm8001_ha, pcibar, offset + 0x20); in init_pci_device_addresses()
/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c811 const int pcibar = 1; /* PCI base address register */ in natsemi_probe1() local
838 iostart = pci_resource_start(pdev, pcibar); in natsemi_probe1()
839 iosize = pci_resource_len(pdev, pcibar); in natsemi_probe1()