Lines Matching refs:inbound_region
2514 struct hl_inbound_pci_region inbound_region;
2526 inbound_region.mode = PCI_BAR_MATCH_MODE;
2527 inbound_region.bar = SRAM_CFG_BAR_ID;
2529 inbound_region.addr = STM_FLASH_BASE_ADDR - STM_FLASH_ALIGNED_OFF;
2530 rc = hl_pci_set_inbound_region(hdev, 0, &inbound_region);
2541 inbound_region.mode = PCI_ADDRESS_MATCH_MODE;
2542 inbound_region.bar = SRAM_CFG_BAR_ID;
2543 inbound_region.offset_in_bar = 0;
2544 inbound_region.addr = STM_FLASH_BASE_ADDR;
2545 inbound_region.size = CFG_REGION_SIZE;
2546 rc = hl_pci_set_inbound_region(hdev, 0, &inbound_region);
2551 inbound_region.mode = PCI_ADDRESS_MATCH_MODE;
2552 inbound_region.bar = SRAM_CFG_BAR_ID;
2553 inbound_region.offset_in_bar = CFG_REGION_SIZE;
2554 inbound_region.addr = BAR0_RSRVD_BASE_ADDR;
2555 inbound_region.size = BAR0_RSRVD_SIZE + SRAM_SIZE;
2556 rc = hl_pci_set_inbound_region(hdev, 1, &inbound_region);
2561 inbound_region.mode = PCI_BAR_MATCH_MODE;
2562 inbound_region.bar = DRAM_BAR_ID;
2563 inbound_region.addr = DRAM_PHYS_BASE;
2564 rc = hl_pci_set_inbound_region(hdev, 2, &inbound_region);