/linux-6.12.1/drivers/accel/habanalabs/common/mmu/ |
D | mmu.c | 33 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()
|
D | mmu_v2_hr.c | 341 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()
|
D | mmu_v1.c | 462 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()
|
D | mmu_v2.c | 253 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/ |
D | gaudi_coresight.c | 555 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()
|
D | gaudi.c | 5481 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/ |
D | gaudi2_coresight.c | 2160 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()
|
D | gaudi2.c | 6783 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/ |
D | goya.c | 3434 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()
|
D | goya_coresight.c | 382 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/ |
D | debugfs.c | 671 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()
|
D | memory.c | 779 if (hl_mem_area_inside_range(address, size, in hl_get_va_range_type()
|
D | habanalabs.h | 3674 static inline bool hl_mem_area_inside_range(u64 address, u64 size, in hl_mem_area_inside_range() function
|