/linux/arch/arm/mach-mvebu/ |
H A D | mvebu-soc-id.c | 59 void __iomem *pci_base; in get_soc_id_by_pci() local 91 pci_base = of_iomap(child, 0); in get_soc_id_by_pci() 92 if (pci_base == NULL) { in get_soc_id_by_pci() 99 soc_dev_id = readl(pci_base + PCIE_DEV_ID_OFF) >> 16; in get_soc_id_by_pci() 102 soc_rev = readl(pci_base + PCIE_DEV_REV_OFF) & SOC_REV_MASK; in get_soc_id_by_pci() 108 iounmap(pci_base); in get_soc_id_by_pci()
|
/linux/sound/pci/ |
H A D | cs5530.c | 57 unsigned long pci_base; member 97 chip->pci_base = pci_resource_start(pci, 0); in snd_cs5530_create() 213 sprintf(card->longname, "%s at 0x%lx", card->shortname, chip->pci_base); in snd_cs5530_probe()
|
/linux/drivers/pci/controller/ |
H A D | pci-v3-semi.c | 597 u32 *pci_base, u32 *pci_map) in v3_get_dma_range_config() argument 611 *pci_base = val; in v3_get_dma_range_config() 668 *pci_base, *pci_map); in v3_get_dma_range_config() 683 u32 pci_base, pci_map; in v3_pci_parse_map_dma_ranges() local 685 ret = v3_get_dma_range_config(v3, entry, &pci_base, &pci_map); in v3_pci_parse_map_dma_ranges() 690 writel(pci_base, v3->base + V3_PCI_BASE0); in v3_pci_parse_map_dma_ranges() 693 writel(pci_base, v3->base + V3_PCI_BASE1); in v3_pci_parse_map_dma_ranges()
|
/linux/drivers/staging/vme_user/ |
H A D | vme_tsi148.c | 468 dma_addr_t pci_base, u32 aspace, u32 cycle) in tsi148_slave_set() argument 515 pci_offset = (unsigned long long)pci_base - vme_base; in tsi148_slave_set() 611 dma_addr_t *pci_base, u32 *aspace, u32 *cycle) in tsi148_slave_get() argument 646 *pci_base = (dma_addr_t)(*vme_base + pci_offset); in tsi148_slave_get() 808 unsigned long long pci_bound, vme_offset, pci_base; in tsi148_master_set() local 847 pci_base = 0; in tsi148_master_set() 853 pci_base = region.start; in tsi148_master_set() 859 pci_bound = pci_base + (size - 0x10000); in tsi148_master_set() 860 vme_offset = vme_base - pci_base; in tsi148_master_set() 864 reg_split(pci_base, &pci_base_high, &pci_base_low); in tsi148_master_set() [all …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_init.c | 270 u32 base_addr, offset, pci_base; in qlcnic_decode_crb_addr() local 274 pci_base = QLCNIC_ADDR_ERROR; in qlcnic_decode_crb_addr() 280 pci_base = i << 20; in qlcnic_decode_crb_addr() 284 if (pci_base == QLCNIC_ADDR_ERROR) in qlcnic_decode_crb_addr() 285 return pci_base; in qlcnic_decode_crb_addr() 287 return pci_base + offset; in qlcnic_decode_crb_addr()
|
/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_init.c | 302 u32 base_addr, offset, pci_base; in netxen_decode_crb_addr() local 306 pci_base = NETXEN_ADDR_ERROR; in netxen_decode_crb_addr() 312 pci_base = i << 20; in netxen_decode_crb_addr() 316 if (pci_base == NETXEN_ADDR_ERROR) in netxen_decode_crb_addr() 317 return pci_base; in netxen_decode_crb_addr() 319 return pci_base + offset; in netxen_decode_crb_addr()
|
/linux/drivers/scsi/ |
H A D | mvumi.h | 485 u32 pci_base[MAX_BASE_ADDRESS]; member
|
H A D | mvumi.c | 636 &mhba->pci_base[i]); in mvumi_backup_bar_addr() 645 if (mhba->pci_base[i]) in mvumi_restore_bar_addr() 647 mhba->pci_base[i]); in mvumi_restore_bar_addr()
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_nx.c | 793 unsigned long base_addr, offset, pci_base; in qla82xx_decode_crb_addr() local 798 pci_base = ADDR_ERROR; in qla82xx_decode_crb_addr() 804 pci_base = i << 20; in qla82xx_decode_crb_addr() 808 if (pci_base == ADDR_ERROR) in qla82xx_decode_crb_addr() 809 return pci_base; in qla82xx_decode_crb_addr() 810 return pci_base + offset; in qla82xx_decode_crb_addr()
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.c | 850 unsigned long base_addr, offset, pci_base; in qla4_82xx_decode_crb_addr() local 855 pci_base = ADDR_ERROR; in qla4_82xx_decode_crb_addr() 861 pci_base = i << 20; in qla4_82xx_decode_crb_addr() 865 if (pci_base == ADDR_ERROR) in qla4_82xx_decode_crb_addr() 866 return pci_base; in qla4_82xx_decode_crb_addr() 868 return pci_base + offset; in qla4_82xx_decode_crb_addr()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 772 static u32 t4_get_window(struct adapter *adap, u32 pci_base, u64 pci_mask, in t4_get_window() argument 789 bar0 = t4_read_pcie_cfg4(adap, pci_base); in t4_get_window()
|