Searched refs:pci_region (Results 1 – 7 of 7) sorted by relevance
/drivers/misc/habanalabs/common/pci/ |
D | pci.c | 259 struct hl_inbound_pci_region *pci_region) in hl_pci_set_inbound_region() argument 269 if (pci_region->mode == PCI_ADDRESS_MATCH_MODE) { in hl_pci_set_inbound_region() 270 bar_phys_base = hdev->pcie_bar_phys[pci_region->bar]; in hl_pci_set_inbound_region() 271 region_base = bar_phys_base + pci_region->offset_in_bar; in hl_pci_set_inbound_region() 272 region_end_address = region_base + pci_region->size - 1; in hl_pci_set_inbound_region() 284 lower_32_bits(pci_region->addr)); in hl_pci_set_inbound_region() 286 upper_32_bits(pci_region->addr)); in hl_pci_set_inbound_region() 292 pci_region->mode); in hl_pci_set_inbound_region() 295 if (pci_region->mode == PCI_BAR_MATCH_MODE) in hl_pci_set_inbound_region() 297 pci_region->bar); in hl_pci_set_inbound_region() [all …]
|
/drivers/acpi/acpica/ |
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()
|
D | achware.h | 121 acpi_handle root_pci_device, acpi_handle pci_region); 125 acpi_handle pci_region) in acpi_hw_derive_pci_id() argument
|
/drivers/misc/habanalabs/common/ |
D | habanalabs.h | 918 enum pci_region { enum 2930 struct hl_inbound_pci_region *pci_region); 2932 struct hl_outbound_pci_region *pci_region); 2933 enum pci_region hl_get_pci_memory_region(struct hl_device *hdev, u64 addr);
|
D | firmware_if.c | 1634 enum pci_region region_id; in hl_fw_dynamic_validate_descriptor() 1746 enum pci_region region_id; in hl_fw_dynamic_read_and_validate_descriptor()
|
/drivers/misc/habanalabs/goya/ |
D | goya.c | 505 struct hl_inbound_pci_region pci_region; in goya_set_ddr_bar_base() local 513 pci_region.mode = PCI_BAR_MATCH_MODE; in goya_set_ddr_bar_base() 514 pci_region.bar = DDR_BAR_ID; in goya_set_ddr_bar_base() 515 pci_region.addr = addr; in goya_set_ddr_bar_base() 516 rc = hl_pci_set_inbound_region(hdev, 1, &pci_region); in goya_set_ddr_bar_base()
|
/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 686 struct hl_inbound_pci_region pci_region; in gaudi_set_hbm_bar_base() local 697 pci_region.mode = PCI_BAR_MATCH_MODE; in gaudi_set_hbm_bar_base() 698 pci_region.bar = HBM_BAR_ID; in gaudi_set_hbm_bar_base() 699 pci_region.addr = addr; in gaudi_set_hbm_bar_base() 700 rc = hl_pci_set_inbound_region(hdev, 2, &pci_region); in gaudi_set_hbm_bar_base()
|