Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm/mach-mvebu/
Dmvebu-soc-id.c62 void __iomem *pci_base; in get_soc_id_by_pci() local
94 pci_base = of_iomap(child, 0); in get_soc_id_by_pci()
95 if (pci_base == NULL) { in get_soc_id_by_pci()
102 soc_dev_id = readl(pci_base + PCIE_DEV_ID_OFF) >> 16; in get_soc_id_by_pci()
105 soc_rev = readl(pci_base + PCIE_DEV_REV_OFF) & SOC_REV_MASK; in get_soc_id_by_pci()
111 iounmap(pci_base); in get_soc_id_by_pci()
/Linux-v5.10/sound/pci/
Dcs5530.c57 unsigned long pci_base; member
131 chip->pci_base = pci_resource_start(pci, 0); in snd_cs5530_create()
270 sprintf(card->longname, "%s at 0x%lx", card->shortname, chip->pci_base); in snd_cs5530_probe()
/Linux-v5.10/arch/mips/netlogic/xlp/
Dusb-init-xlp2.c143 u64 port_addr, xhci_base, pci_base; in nlm_xlpii_usb_hw_reset() local
180 pci_base = nlm_xlpii_get_usb_pcibase(node, port); in nlm_xlpii_usb_hw_reset()
181 xhci_base = nlm_read_usb_reg(pci_base, 0x4) & ~0xf; in nlm_xlpii_usb_hw_reset()
/Linux-v5.10/drivers/pci/controller/
Dpci-v3-semi.c599 u32 *pci_base, u32 *pci_map) in v3_get_dma_range_config() argument
613 *pci_base = val; in v3_get_dma_range_config()
670 *pci_base, *pci_map); in v3_get_dma_range_config()
685 u32 pci_base, pci_map; in v3_pci_parse_map_dma_ranges() local
687 ret = v3_get_dma_range_config(v3, entry, &pci_base, &pci_map); in v3_pci_parse_map_dma_ranges()
692 writel(pci_base, v3->base + V3_PCI_BASE0); in v3_pci_parse_map_dma_ranges()
695 writel(pci_base, v3->base + V3_PCI_BASE1); in v3_pci_parse_map_dma_ranges()
/Linux-v5.10/drivers/vme/bridges/
Dvme_ca91cx42.c335 dma_addr_t pci_base, u32 aspace, u32 cycle) in ca91cx42_slave_set() argument
380 pci_offset = pci_base - vme_base; in ca91cx42_slave_set()
441 dma_addr_t *pci_base, u32 *aspace, u32 *cycle) in ca91cx42_slave_get() argument
463 *pci_base = (dma_addr_t)*vme_base + pci_offset; in ca91cx42_slave_get()
596 unsigned long long pci_bound, vme_offset, pci_base; in ca91cx42_master_set() local
640 pci_base = (unsigned long long)image->bus_resource.start; in ca91cx42_master_set()
646 pci_bound = pci_base + size; in ca91cx42_master_set()
647 vme_offset = vme_base - pci_base; in ca91cx42_master_set()
723 iowrite32(pci_base, bridge->base + CA91CX42_LSI_BS[i]); in ca91cx42_master_set()
751 unsigned long long pci_base, pci_bound, vme_offset; in __ca91cx42_master_get() local
[all …]
Dvme_tsi148.c473 dma_addr_t pci_base, u32 aspace, u32 cycle) in tsi148_slave_set() argument
521 pci_offset = (unsigned long long)pci_base - vme_base; in tsi148_slave_set()
618 dma_addr_t *pci_base, u32 *aspace, u32 *cycle) in tsi148_slave_get() argument
653 *pci_base = (dma_addr_t)(*vme_base + pci_offset); in tsi148_slave_get()
817 unsigned long long pci_bound, vme_offset, pci_base; in tsi148_master_set() local
859 pci_base = 0; in tsi148_master_set()
865 pci_base = region.start; in tsi148_master_set()
871 pci_bound = pci_base + (size - 0x10000); in tsi148_master_set()
872 vme_offset = vme_base - pci_base; in tsi148_master_set()
876 reg_split(pci_base, &pci_base_high, &pci_base_low); in tsi148_master_set()
[all …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c272 u32 base_addr, offset, pci_base; in qlcnic_decode_crb_addr() local
276 pci_base = QLCNIC_ADDR_ERROR; in qlcnic_decode_crb_addr()
282 pci_base = i << 20; in qlcnic_decode_crb_addr()
286 if (pci_base == QLCNIC_ADDR_ERROR) in qlcnic_decode_crb_addr()
287 return pci_base; in qlcnic_decode_crb_addr()
289 return pci_base + offset; in qlcnic_decode_crb_addr()
/Linux-v5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c304 u32 base_addr, offset, pci_base; in netxen_decode_crb_addr() local
308 pci_base = NETXEN_ADDR_ERROR; in netxen_decode_crb_addr()
314 pci_base = i << 20; in netxen_decode_crb_addr()
318 if (pci_base == NETXEN_ADDR_ERROR) in netxen_decode_crb_addr()
319 return pci_base; in netxen_decode_crb_addr()
321 return pci_base + offset; in netxen_decode_crb_addr()
/Linux-v5.10/drivers/scsi/
Dmvumi.h476 u32 pci_base[MAX_BASE_ADDRESS]; member
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-v5.10/drivers/scsi/qla4xxx/
Dql4_nx.c859 unsigned long base_addr, offset, pci_base; in qla4_82xx_decode_crb_addr() local
864 pci_base = ADDR_ERROR; in qla4_82xx_decode_crb_addr()
870 pci_base = i << 20; in qla4_82xx_decode_crb_addr()
874 if (pci_base == ADDR_ERROR) in qla4_82xx_decode_crb_addr()
875 return pci_base; in qla4_82xx_decode_crb_addr()
877 return pci_base + offset; in qla4_82xx_decode_crb_addr()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_nx.c796 unsigned long base_addr, offset, pci_base; in qla82xx_decode_crb_addr() local
801 pci_base = ADDR_ERROR; in qla82xx_decode_crb_addr()
807 pci_base = i << 20; in qla82xx_decode_crb_addr()
811 if (pci_base == ADDR_ERROR) in qla82xx_decode_crb_addr()
812 return pci_base; in qla82xx_decode_crb_addr()
813 return pci_base + offset; in qla82xx_decode_crb_addr()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
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()