Searched refs:CFG_BASE (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/accel/habanalabs/goya/ |
H A D | goya.c | 392 prop->cfg_base_address = CFG_BASE; in goya_set_fixed_properties() 465 prop->pcie_aux_dbi_reg_addr = CFG_BASE + mmPCIE_AUX_DBI; in goya_set_fixed_properties() 519 (CFG_BASE - SRAM_BASE_ADDR); in goya_pci_bars_map() 650 rc = hl_pci_elbi_read(hdev, CFG_BASE + mmCPU_BOOT_DEV_STS0, in goya_early_init() 935 region->region_base = CFG_BASE; in goya_set_pci_memory_regions() 937 region->offset_in_bar = CFG_BASE - SRAM_BASE_ADDR; in goya_set_pci_memory_regions() 1091 mtr_base_lo = lower_32_bits(CFG_BASE + mmSYNC_MNGR_MON_PAY_ADDRL_0); in goya_init_dma_qman() 1092 mtr_base_hi = upper_32_bits(CFG_BASE + mmSYNC_MNGR_MON_PAY_ADDRL_0); in goya_init_dma_qman() 1093 so_base_lo = lower_32_bits(CFG_BASE + mmSYNC_MNGR_SOB_OBJ_0); in goya_init_dma_qman() 1094 so_base_hi = upper_32_bits(CFG_BASE + mmSYNC_MNGR_SOB_OBJ_0); in goya_init_dma_qman() [all …]
|
H A D | goya_coresight.c | 241 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in goya_config_stm() 314 base_reg = debug_etf_regs[params->reg_idx] - CFG_BASE; in goya_config_etf() 494 base_reg = debug_funnel_regs[params->reg_idx] - CFG_BASE; in goya_config_funnel() 515 base_reg = debug_bmon_regs[params->reg_idx] - CFG_BASE; in goya_config_bmon() 591 base_reg = debug_spmu_regs[params->reg_idx] - CFG_BASE; in goya_config_spmu()
|
H A D | goya_security.c | 20 u32 pb_addr = base - CFG_BASE + PROT_BITS_OFFS; in goya_pb_set_block()
|
/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 576 prop->cfg_base_address = CFG_BASE; in gaudi_set_fixed_properties() 664 prop->pcie_aux_dbi_reg_addr = CFG_BASE + mmPCIE_AUX_DBI; in gaudi_set_fixed_properties() 721 (CFG_BASE - SPI_FLASH_BASE_ADDR); in gaudi_pci_bars_map() 850 rc = hl_pci_elbi_read(hdev, CFG_BASE + mmCPU_BOOT_DEV_STS0, in gaudi_early_init() 1814 region->region_base = CFG_BASE; in gaudi_set_pci_memory_regions() 1816 region->offset_in_bar = CFG_BASE - SPI_FLASH_BASE_ADDR; in gaudi_set_pci_memory_regions() 2557 mtr_base_en_lo = lower_32_bits(CFG_BASE + in gaudi_init_pci_dma_qman() 2559 mtr_base_en_hi = upper_32_bits(CFG_BASE + in gaudi_init_pci_dma_qman() 2561 so_base_en_lo = lower_32_bits(CFG_BASE + in gaudi_init_pci_dma_qman() 2563 so_base_en_hi = upper_32_bits(CFG_BASE + in gaudi_init_pci_dma_qman() [all …]
|
H A D | gaudi_coresight.c | 403 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in gaudi_config_stm() 431 if ((CFG_BASE + base_reg) >= mmDMA_CH_0_CS_STM_BASE && in gaudi_config_stm() 432 (CFG_BASE + base_reg) <= mmDMA_CH_7_CS_STM_BASE) { in gaudi_config_stm() 481 base_reg = debug_etf_regs[params->reg_idx] - CFG_BASE; in gaudi_config_etf() 708 base_reg = debug_funnel_regs[params->reg_idx] - CFG_BASE; in gaudi_config_funnel() 728 base_reg = debug_bmon_regs[params->reg_idx] - CFG_BASE; in gaudi_config_bmon() 796 base_reg = debug_spmu_regs[params->reg_idx] - CFG_BASE; in gaudi_config_spmu()
|
H A D | gaudi_security.c | 479 u32 pb_addr = base - CFG_BASE + PROT_BITS_OFFS; in gaudi_pb_set_block() 505 WREG32(mmMME0_CTRL_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 506 WREG32(mmMME1_CTRL_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 507 WREG32(mmMME2_CTRL_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 508 WREG32(mmMME3_CTRL_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 510 WREG32(mmMME0_QM_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 511 WREG32(mmMME2_QM_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 1494 WREG32(mmDMA0_QM_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_dma_protection_bits() 1495 WREG32(mmDMA1_QM_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_dma_protection_bits() 1496 WREG32(mmDMA2_QM_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_dma_protection_bits() [all …]
|
H A D | gaudiP.h | 52 #define GAUDI_HBM_CFG_BASE (mmHBM0_BASE - CFG_BASE)
|
/linux/drivers/accel/habanalabs/include/goya/ |
H A D | goya.h | 18 #define CFG_BASE 0x7FFC000000ull macro
|
/linux/drivers/accel/habanalabs/include/gaudi/ |
H A D | gaudi.h | 18 #define CFG_BASE 0x7FFC000000ull macro
|
/linux/drivers/accel/habanalabs/include/gaudi2/ |
H A D | gaudi2.h | 20 #define CFG_BASE 0x1000007FF8000000ull macro
|
/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 2447 prop->cfg_base_address = CFG_BASE; in gaudi2_set_fixed_properties() 2570 prop->pcie_dbi_base_address = CFG_BASE + mmPCIE_DBI_BASE; in gaudi2_set_fixed_properties() 2571 prop->pcie_aux_dbi_reg_addr = CFG_BASE + mmPCIE_AUX_DBI; in gaudi2_set_fixed_properties() 2623 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + (CFG_BASE - STM_FLASH_BASE_ADDR); in gaudi2_pci_bars_map() 3239 CFG_BASE + le32_to_cpu(dyn_regs->eng_arc_irq_ctrl); in gaudi2_init_arcs() 3250 rc = gaudi2_send_job_to_kdma(hdev, 0, CFG_BASE + gaudi2_arc_dccm_bases[cpu_id], in gaudi2_scrub_arc_dccm() 3262 rc = gaudi2_send_job_to_kdma(hdev, 0, CFG_BASE + gaudi2_arc_dccm_bases[cpu_id], in gaudi2_scrub_arc_dccm() 3272 rc = gaudi2_send_job_to_kdma(hdev, 0, CFG_BASE + gaudi2_arc_dccm_bases[cpu_id], in gaudi2_scrub_arc_dccm() 3282 rc = gaudi2_send_job_to_kdma(hdev, 0, CFG_BASE + gaudi2_arc_dccm_bases[cpu_id], in gaudi2_scrub_arc_dccm() 3490 region->region_base = CFG_BASE; in gaudi2_set_pci_memory_regions() [all …]
|
H A D | gaudi2_security.c | 3398 engine_core_intr_reg = (u32) (hdev->asic_prop.engine_core_interrupt_reg_addr - CFG_BASE); in gaudi2_init_protection_bits()
|