Home
last modified time | relevance | path

Searched refs:pci_base (Results 1 – 11 of 11) sorted by relevance

/linux/arch/arm/mach-mvebu/
H A Dmvebu-soc-id.c59 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 Dcs5530.c57 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 Dpci-v3-semi.c597 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 Dvme_tsi148.c468 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 Dqlcnic_init.c270 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 Dnetxen_nic_init.c302 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 Dmvumi.h485 u32 pci_base[MAX_BASE_ADDRESS]; member
H A Dmvumi.c636 &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 Dqla_nx.c793 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 Dql4_nx.c850 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 Dt4_hw.c772 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()