Searched refs:pcie_bar (Results 1 – 4 of 4) sorted by relevance
44 hdev->pcie_bar[bar] = is_wc[i] ? in hl_pci_bars_map()47 if (!hdev->pcie_bar[bar]) { in hl_pci_bars_map()60 if (hdev->pcie_bar[bar]) in hl_pci_bars_map()61 iounmap(hdev->pcie_bar[bar]); in hl_pci_bars_map()82 iounmap(hdev->pcie_bar[bar]); in hl_pci_bars_unmap()
1599 void __iomem *pcie_bar[HL_PCI_NUM_BARS]; member
481 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_pci_bars_map()2316 dst = hdev->pcie_bar[DDR_BAR_ID] + LINUX_FW_OFFSET; in goya_load_firmware_to_device()2333 dst = hdev->pcie_bar[SRAM_CFG_BAR_ID] + BOOT_FIT_SRAM_OFFSET; in goya_load_boot_fit_to_device()2368 memcpy_fromio(dest, hdev->pcie_bar[SRAM_CFG_BAR_ID] + ver_off, in goya_read_device_fw_version()2803 base = (void *) hdev->pcie_bar[SRAM_CFG_BAR_ID]; in goya_get_int_queue_base()4056 *val = readl(hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_debugfs_read32()4066 *val = readl(hdev->pcie_bar[DDR_BAR_ID] + in goya_debugfs_read32()4112 writel(val, hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_debugfs_write32()4122 writel(val, hdev->pcie_bar[DDR_BAR_ID] + in goya_debugfs_write32()4156 *val = readq(hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_debugfs_read64()[all …]
492 hdev->rmmio = hdev->pcie_bar[CFG_BAR_ID] + in gaudi_pci_bars_map()1823 writeq(0, hdev->pcie_bar[SRAM_BAR_ID] + i); in gaudi_init_golden_registers()2749 dst = hdev->pcie_bar[HBM_BAR_ID] + LINUX_FW_OFFSET; in gaudi_load_firmware_to_device()2758 dst = hdev->pcie_bar[SRAM_BAR_ID] + BOOT_FIT_SRAM_OFFSET; in gaudi_load_boot_fit_to_device()2789 memcpy_fromio(dest, hdev->pcie_bar[SRAM_BAR_ID] + ver_off, in gaudi_read_device_fw_version()4550 *val = readl(hdev->pcie_bar[SRAM_BAR_ID] + in gaudi_debugfs_read32()4558 *val = readl(hdev->pcie_bar[HBM_BAR_ID] + in gaudi_debugfs_read32()4597 writel(val, hdev->pcie_bar[SRAM_BAR_ID] + in gaudi_debugfs_write32()4605 writel(val, hdev->pcie_bar[HBM_BAR_ID] + in gaudi_debugfs_write32()4647 *val = readq(hdev->pcie_bar[SRAM_BAR_ID] + in gaudi_debugfs_read64()[all …]