Searched refs:pci_region (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/accel/habanalabs/common/pci/ |
A D | pci.c | 246 struct hl_inbound_pci_region *pci_region) in hl_pci_set_inbound_region() argument 256 if (pci_region->mode == PCI_ADDRESS_MATCH_MODE) { in hl_pci_set_inbound_region() 257 bar_phys_base = hdev->pcie_bar_phys[pci_region->bar]; in hl_pci_set_inbound_region() 258 region_base = bar_phys_base + pci_region->offset_in_bar; in hl_pci_set_inbound_region() 259 region_end_address = region_base + pci_region->size - 1; in hl_pci_set_inbound_region() 281 if (pci_region->mode == PCI_BAR_MATCH_MODE) in hl_pci_set_inbound_region() 294 pci_region->bar, pci_region->addr); in hl_pci_set_inbound_region() 309 struct hl_outbound_pci_region *pci_region) in hl_pci_set_outbound_region() argument 317 pci_region->addr + pci_region->size - 1; in hl_pci_set_outbound_region() 319 lower_32_bits(pci_region->addr)); in hl_pci_set_outbound_region() [all …]
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | hwpci.c | 32 acpi_handle pci_region, 87 acpi_handle root_pci_device, acpi_handle pci_region) in acpi_hw_derive_pci_id() argument 101 acpi_hw_build_pci_list(root_pci_device, pci_region, &list_head); in acpi_hw_derive_pci_id() 137 acpi_handle pci_region, in acpi_hw_build_pci_list() argument 151 current_device = pci_region; in acpi_hw_build_pci_list()
|
A D | achware.h | 123 acpi_handle root_pci_device, acpi_handle pci_region); 127 acpi_handle pci_region) in acpi_hw_derive_pci_id() argument
|
/linux-6.3-rc2/drivers/accel/habanalabs/common/ |
A D | habanalabs.h | 1276 enum pci_region { enum 1699 int (*access_dev_mem)(struct hl_device *hdev, enum pci_region region_type, 3556 enum debugfs_access_type acc_type, enum pci_region region_type, bool set_dram_bar); 3559 int hl_access_dev_mem(struct hl_device *hdev, enum pci_region region_type, 3804 struct hl_inbound_pci_region *pci_region); 3806 struct hl_outbound_pci_region *pci_region); 3807 enum pci_region hl_get_pci_memory_region(struct hl_device *hdev, u64 addr);
|
A D | device.c | 69 enum debugfs_access_type acc_type, enum pci_region region_type, bool set_dram_bar) in hl_access_sram_dram_region() 282 int hl_access_dev_mem(struct hl_device *hdev, enum pci_region region_type, in hl_access_dev_mem()
|
A D | firmware_if.c | 1926 enum pci_region region_id; in hl_fw_dynamic_validate_descriptor() 2063 enum pci_region region_id; in hl_fw_dynamic_read_and_validate_descriptor()
|
/linux-6.3-rc2/drivers/accel/habanalabs/goya/ |
A D | goya.c | 527 struct hl_inbound_pci_region pci_region; in goya_set_ddr_bar_base() local 535 pci_region.mode = PCI_BAR_MATCH_MODE; in goya_set_ddr_bar_base() 536 pci_region.bar = DDR_BAR_ID; in goya_set_ddr_bar_base() 537 pci_region.addr = addr; in goya_set_ddr_bar_base() 538 rc = hl_pci_set_inbound_region(hdev, 1, &pci_region); in goya_set_ddr_bar_base()
|
/linux-6.3-rc2/drivers/accel/habanalabs/gaudi/ |
A D | gaudi.c | 728 struct hl_inbound_pci_region pci_region; in gaudi_set_hbm_bar_base() local 739 pci_region.mode = PCI_BAR_MATCH_MODE; in gaudi_set_hbm_bar_base() 740 pci_region.bar = HBM_BAR_ID; in gaudi_set_hbm_bar_base() 741 pci_region.addr = addr; in gaudi_set_hbm_bar_base() 742 rc = hl_pci_set_inbound_region(hdev, 2, &pci_region); in gaudi_set_hbm_bar_base()
|
/linux-6.3-rc2/drivers/accel/habanalabs/gaudi2/ |
A D | gaudi2.c | 2149 struct hl_inbound_pci_region pci_region; in gaudi2_set_hbm_bar_base() local 2160 pci_region.mode = PCI_BAR_MATCH_MODE; in gaudi2_set_hbm_bar_base() 2161 pci_region.bar = DRAM_BAR_ID; in gaudi2_set_hbm_bar_base() 2162 pci_region.addr = addr; in gaudi2_set_hbm_bar_base() 2163 rc = hl_pci_set_inbound_region(hdev, 2, &pci_region); in gaudi2_set_hbm_bar_base()
|
Completed in 84 milliseconds