Home
last modified time | relevance | path

Searched refs:hl_pci_iatu_write (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/misc/habanalabs/
Dpci.c146 int hl_pci_iatu_write(struct hl_device *hdev, u32 addr, u32 data) in hl_pci_iatu_write() function
225 rc = hl_pci_iatu_write(hdev, offset + 0x14, lower_32_bits(addr)); in hl_pci_set_dram_bar_base()
226 rc |= hl_pci_iatu_write(hdev, offset + 0x18, upper_32_bits(addr)); in hl_pci_set_dram_bar_base()
227 rc |= hl_pci_iatu_write(hdev, offset + 0x0, 0); in hl_pci_set_dram_bar_base()
229 rc |= hl_pci_iatu_write(hdev, offset + 0x4, 0xC0080000 | (bar << 8)); in hl_pci_set_dram_bar_base()
264 rc = hl_pci_iatu_write(hdev, 0x114, lower_32_bits(sram_base_address)); in hl_pci_init_iatu()
265 rc |= hl_pci_iatu_write(hdev, 0x118, upper_32_bits(sram_base_address)); in hl_pci_init_iatu()
266 rc |= hl_pci_iatu_write(hdev, 0x100, 0); in hl_pci_init_iatu()
268 rc |= hl_pci_iatu_write(hdev, 0x104, 0xC0080000); in hl_pci_init_iatu()
280 rc |= hl_pci_iatu_write(hdev, 0x008, in hl_pci_init_iatu()
[all …]
Dhabanalabs.h1548 int hl_pci_iatu_write(struct hl_device *hdev, u32 addr, u32 data);