Home
last modified time | relevance | path

Searched refs:hl_mem_area_inside_range (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/accel/habanalabs/common/mmu/
Dmmu.c33 return hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in hl_is_dram_va()
392 if (hl_mem_area_inside_range(virt_addr, size, in hl_mmu_map_contiguous()
395 else if (hl_mem_area_inside_range(virt_addr, size, in hl_mmu_map_contiguous()
398 else if (hl_mem_area_inside_range(virt_addr, size, in hl_mmu_map_contiguous()
452 if (hl_mem_area_inside_range(virt_addr, size, in hl_mmu_unmap_contiguous()
455 else if (hl_mem_area_inside_range(virt_addr, size, in hl_mmu_unmap_contiguous()
458 else if (hl_mem_area_inside_range(virt_addr, size, in hl_mmu_unmap_contiguous()
564 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in hl_mmu_get_tlb_info()
Dmmu_v2_hr.c341 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in hl_mmu_v2_hr_get_tlb_mapping_params()
344 is_pmmu_addr = hl_mem_area_inside_range(virt_addr, prop->pmmu.page_size, in hl_mmu_v2_hr_get_tlb_mapping_params()
347 is_pmmu_h_addr = hl_mem_area_inside_range(virt_addr, in hl_mmu_v2_hr_get_tlb_mapping_params()
Dmmu_v1.c462 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in hl_mmu_v1_get_tlb_info()
465 is_pmmu_addr = hl_mem_area_inside_range(virt_addr, prop->pmmu.page_size, in hl_mmu_v1_get_tlb_info()
468 is_pmmu_h_addr = hl_mem_area_inside_range(virt_addr, in hl_mmu_v1_get_tlb_info()
Dmmu_v2.c253 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in hl_mmu_v2_get_tlb_info()
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi_coresight.c555 hl_mem_area_inside_range(addr, size, in gaudi_etr_validate_address()
562 if (hl_mem_area_inside_range(addr, size, in gaudi_etr_validate_address()
567 if (hl_mem_area_inside_range(addr, size, in gaudi_etr_validate_address()
Dgaudi.c5481 if (hl_mem_area_inside_range((u64) (uintptr_t) parser->user_cb, in gaudi_parse_cb_no_ext_queue()
5487 if (hl_mem_area_inside_range((u64) (uintptr_t) parser->user_cb, in gaudi_parse_cb_no_ext_queue()
5494 if (hl_mem_area_inside_range((u64) (uintptr_t) parser->user_cb, in gaudi_parse_cb_no_ext_queue()
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/
Dgaudi2_coresight.c2160 if (hl_mem_area_inside_range(addr, size, in gaudi2_etr_validate_address()
2165 if (hl_mem_area_inside_range(addr, size, in gaudi2_etr_validate_address()
2170 if (hl_mem_area_inside_range(addr, size, in gaudi2_etr_validate_address()
2175 if (hl_mem_area_inside_range(addr, size, in gaudi2_etr_validate_address()
2181 if (hl_mem_area_inside_range(addr, size, in gaudi2_etr_validate_address()
Dgaudi2.c6783 if (hl_mem_area_inside_range((u64) (uintptr_t) parser->user_cb, in gaudi2_validate_cb_address()
6789 if (hl_mem_area_inside_range((u64) (uintptr_t) parser->user_cb, in gaudi2_validate_cb_address()
6796 hl_mem_area_inside_range((u64) (uintptr_t) parser->user_cb, in gaudi2_validate_cb_address()
6803 if (hl_mem_area_inside_range((u64) (uintptr_t) parser->user_cb, in gaudi2_validate_cb_address()
6807 hl_mem_area_inside_range( in gaudi2_validate_cb_address()
11164 if (hl_mem_area_inside_range(raw_addr, sizeof(raw_addr), DRAM_PHYS_BASE, in gaudi2_mmu_scramble_addr()
11184 if (hl_mem_area_inside_range(scrambled_addr, sizeof(scrambled_addr), DRAM_PHYS_BASE, in gaudi2_mmu_descramble_addr()
/linux-6.12.1/drivers/accel/habanalabs/goya/
Dgoya.c3434 if (!hl_mem_area_inside_range(device_memory_addr, in goya_validate_dma_pkt_host()
3446 if (!hl_mem_area_inside_range(device_memory_addr, in goya_validate_dma_pkt_host()
3498 if (!hl_mem_area_inside_range(sram_memory_addr, in goya_validate_dma_pkt_no_host()
3507 if (!hl_mem_area_inside_range(dram_memory_addr, in goya_validate_dma_pkt_no_host()
3575 hl_mem_area_inside_range(le64_to_cpu(user_dma_pkt->src_addr), in goya_validate_dma_pkt_mmu()
4107 if (hl_mem_area_inside_range( in goya_parse_cb_no_ext_queue()
4114 if (hl_mem_area_inside_range( in goya_parse_cb_no_ext_queue()
Dgoya_coresight.c382 return hl_mem_area_inside_range(addr, size, range_start, range_end); in goya_etr_validate_address()
/linux-6.12.1/drivers/accel/habanalabs/common/
Ddebugfs.c671 if (hl_mem_area_inside_range(addr, size, dram_start_addr, in hl_is_device_internal_memory_va()
675 if (hl_mem_area_inside_range(addr, size, prop->sram_base_address, in hl_is_device_internal_memory_va()
Dmemory.c779 if (hl_mem_area_inside_range(address, size, in hl_get_va_range_type()
Dhabanalabs.h3674 static inline bool hl_mem_area_inside_range(u64 address, u64 size, in hl_mem_area_inside_range() function