Home
last modified time | relevance | path

Searched refs:pcie_bar (Results 1 – 5 of 5) sorted by relevance

/drivers/misc/habanalabs/common/pci/
Dpci.c44 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()
/drivers/misc/habanalabs/goya/
Dgoya.c496 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_pci_bars_map()
2431 dst = hdev->pcie_bar[DDR_BAR_ID] + LINUX_FW_OFFSET; in goya_load_firmware_to_device()
2448 dst = hdev->pcie_bar[SRAM_CFG_BAR_ID] + BOOT_FIT_SRAM_OFFSET; in goya_load_boot_fit_to_device()
2941 base = (__force void *) hdev->pcie_bar[SRAM_CFG_BAR_ID]; in goya_get_int_queue_base()
4198 *val = readl(hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_debugfs_read32()
4208 *val = readl(hdev->pcie_bar[DDR_BAR_ID] + in goya_debugfs_read32()
4258 writel(val, hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_debugfs_write32()
4268 writel(val, hdev->pcie_bar[DDR_BAR_ID] + in goya_debugfs_write32()
4306 *val = readq(hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_debugfs_read64()
4317 *val = readq(hdev->pcie_bar[DDR_BAR_ID] + in goya_debugfs_read64()
[all …]
/drivers/misc/habanalabs/common/
Dfirmware_if.c1191 hdev->pcie_bar[fw_loader->sram_bar_id] + ver_off, in hl_fw_static_read_device_fw_version()
1772 src = hdev->pcie_bar[region->bar_id] + region->offset_in_bar + in hl_fw_dynamic_read_and_validate_descriptor()
1876 dest = hdev->pcie_bar[region->bar_id] + region->offset_in_bar + in hl_fw_dynamic_copy_image()
1908 dest = hdev->pcie_bar[region->bar_id] + region->offset_in_bar + in hl_fw_dynamic_copy_msg()
Dhabanalabs.h2468 void __iomem *pcie_bar[HL_PCI_NUM_BARS]; member
/drivers/misc/habanalabs/gaudi/
Dgaudi.c677 hdev->rmmio = hdev->pcie_bar[CFG_BAR_ID] + in gaudi_pci_bars_map()
2700 writeq(0, hdev->pcie_bar[SRAM_BAR_ID] + i); in gaudi_init_golden_registers()
3941 dst = hdev->pcie_bar[HBM_BAR_ID] + LINUX_FW_OFFSET; in gaudi_load_firmware_to_device()
3950 dst = hdev->pcie_bar[SRAM_BAR_ID] + BOOT_FIT_SRAM_OFFSET; in gaudi_load_boot_fit_to_device()
6177 *val = readl(hdev->pcie_bar[SRAM_BAR_ID] + in gaudi_debugfs_read32()
6185 *val = readl(hdev->pcie_bar[HBM_BAR_ID] + in gaudi_debugfs_read32()
6228 writel(val, hdev->pcie_bar[SRAM_BAR_ID] + in gaudi_debugfs_write32()
6236 writel(val, hdev->pcie_bar[HBM_BAR_ID] + in gaudi_debugfs_write32()
6282 *val = readq(hdev->pcie_bar[SRAM_BAR_ID] + in gaudi_debugfs_read64()
6291 *val = readq(hdev->pcie_bar[HBM_BAR_ID] + in gaudi_debugfs_read64()
[all …]