Home
last modified time | relevance | path

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

/drivers/accel/habanalabs/common/pci/
Dpci.c46 hdev->pcie_bar[bar] = is_wc[i] ? in hl_pci_bars_map()
49 if (!hdev->pcie_bar[bar]) { in hl_pci_bars_map()
62 if (hdev->pcie_bar[bar]) in hl_pci_bars_map()
63 iounmap(hdev->pcie_bar[bar]); in hl_pci_bars_map()
84 iounmap(hdev->pcie_bar[bar]); in hl_pci_bars_unmap()
/drivers/accel/habanalabs/common/
Dfirmware_if.c1595 hdev->pcie_bar[fw_loader->sram_bar_id] + ver_off, in hl_fw_static_read_device_fw_version()
2203 src = hdev->pcie_bar[region->bar_id] + region->offset_in_bar + in hl_fw_dynamic_read_and_validate_descriptor()
2338 dest = hdev->pcie_bar[region->bar_id] + region->offset_in_bar + in hl_fw_dynamic_copy_image()
2370 dest = hdev->pcie_bar[region->bar_id] + region->offset_in_bar + in hl_fw_dynamic_copy_msg()
Ddevice.c80 acc_addr = hdev->pcie_bar[region->bar_id] + region->offset_in_bar + in hl_access_sram_dram_region()
Dhabanalabs.h3311 void __iomem *pcie_bar[HL_PCI_NUM_BARS]; member
/drivers/accel/habanalabs/goya/
Dgoya.c520 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_pci_bars_map()
2506 dst = hdev->pcie_bar[DDR_BAR_ID] + LINUX_FW_OFFSET; in goya_load_firmware_to_device()
2523 dst = hdev->pcie_bar[SRAM_CFG_BAR_ID] + BOOT_FIT_SRAM_OFFSET; in goya_load_boot_fit_to_device()
3025 base = (__force void *) hdev->pcie_bar[SRAM_CFG_BAR_ID]; in goya_get_int_queue_base()
4220 return readq(hdev->pcie_bar[DDR_BAR_ID] + in goya_read_pte()
4231 writeq(val, hdev->pcie_bar[DDR_BAR_ID] + in goya_write_pte()
/drivers/accel/habanalabs/gaudi/
Dgaudi.c717 hdev->rmmio = hdev->pcie_bar[CFG_BAR_ID] + in gaudi_pci_bars_map()
2536 writeq(0, hdev->pcie_bar[SRAM_BAR_ID] + i); in gaudi_init_golden_registers()
3692 dst = hdev->pcie_bar[HBM_BAR_ID] + LINUX_FW_OFFSET; in gaudi_load_firmware_to_device()
3701 dst = hdev->pcie_bar[SRAM_BAR_ID] + BOOT_FIT_SRAM_OFFSET; in gaudi_load_boot_fit_to_device()
6035 return readq(hdev->pcie_bar[HBM_BAR_ID] + in gaudi_read_pte()
6046 writeq(val, hdev->pcie_bar[HBM_BAR_ID] + in gaudi_write_pte()
/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c2478 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + (CFG_BASE - STM_FLASH_BASE_ADDR); in gaudi2_pci_bars_map()