Home
last modified time | relevance | path

Searched refs:cpu_accessible_dma_address (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/accel/habanalabs/goya/
Dgoya.c996 &hdev->cpu_accessible_dma_address, in goya_sw_init()
1005 &hdev->cpu_accessible_dma_address); in goya_sw_init()
1049 hdev->cpu_accessible_dma_address); in goya_sw_init()
1071 hdev->cpu_accessible_dma_address); in goya_sw_fini()
3275 *dma_handle = (*dma_handle) - hdev->cpu_accessible_dma_address + in goya_cpu_accessible_dma_pool_alloc()
4909 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_add_mappings_for_device_cpu()
4912 hdev->cpu_accessible_dma_address, in goya_mmu_add_mappings_for_device_cpu()
4925 hdev->cpu_accessible_dma_address + cpu_off, in goya_mmu_add_mappings_for_device_cpu()
4983 if (!(hdev->cpu_accessible_dma_address & (PAGE_SIZE_2MB - 1))) { in goya_mmu_remove_device_cpu_mappings()
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c1732 hdev->cpu_accessible_dma_address = dma_addr_arr[i]; in gaudi_alloc_cpu_accessible_dma_mem()
1734 GAUDI_CPU_PCI_MSB_ADDR(hdev->cpu_accessible_dma_address); in gaudi_alloc_cpu_accessible_dma_mem()
1737 GAUDI_PCI_TO_CPU_ADDR(hdev->cpu_accessible_dma_address); in gaudi_alloc_cpu_accessible_dma_mem()
1932 GAUDI_CPU_TO_PCI_ADDR(hdev->cpu_accessible_dma_address, in gaudi_sw_init()
1935 hdev->cpu_accessible_dma_address); in gaudi_sw_init()
1952 GAUDI_CPU_TO_PCI_ADDR(hdev->cpu_accessible_dma_address, in gaudi_sw_fini()
1956 hdev->cpu_accessible_dma_address); in gaudi_sw_fini()
3841 lower_32_bits(hdev->cpu_accessible_dma_address)); in gaudi_init_cpu_queues()
3843 upper_32_bits(hdev->cpu_accessible_dma_address)); in gaudi_init_cpu_queues()
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c3473 hdev->cpu_accessible_dma_address = dma_addr_arr[i]; in gaudi2_alloc_cpu_accessible_dma_mem()
3811 hdev->cpu_accessible_dma_address); in gaudi2_sw_init()
3833 hdev->cpu_accessible_dma_address); in gaudi2_sw_fini()
4971 WREG32(mmCPU_IF_CQ_BASE_ADDR_LOW, lower_32_bits(hdev->cpu_accessible_dma_address)); in gaudi2_init_cpu_queues()
4972 WREG32(mmCPU_IF_CQ_BASE_ADDR_HIGH, upper_32_bits(hdev->cpu_accessible_dma_address)); in gaudi2_init_cpu_queues()
/linux-6.12.1/drivers/accel/habanalabs/common/
Dfirmware_if.c635 *dma_handle = hdev->cpu_accessible_dma_address + in hl_fw_cpu_accessible_dma_pool_alloc()
Dhabanalabs.h3449 dma_addr_t cpu_accessible_dma_address; member