Searched refs:pcibar (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/scsi/pm8001/ |
H A 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()
|
H A D | pm80xx_hwi.c | 1101 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 D | pm8001_hwi.c | 624 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 D | natsemi.c | 811 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()
|