Searched refs:bar_address (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | memory.c | 1515 static int set_dma_sg(struct scatterlist *sg, u64 bar_address, u64 chunk_size, in set_dma_sg() argument 1521 addr = dma_map_resource(dev, bar_address, chunk_size, dir, in set_dma_sg() 1539 left_size_in_dma_seg, device_address, bar_address, start_page; in alloc_sgt_from_device_pages() local 1619 bar_address = hdev->dram_pci_bar_start + (device_address - prop->dram_base_address); in alloc_sgt_from_device_pages() 1661 rc = set_dma_sg(sg, bar_address, chunk_size, dev, dir); in alloc_sgt_from_device_pages() 1931 u64 bar_address; in validate_export_params_no_mmu() local 1947 bar_address = hdev->dram_pci_bar_start + (device_addr - prop->dram_base_address); in validate_export_params_no_mmu() 1949 if ((bar_address + size) > (hdev->dram_pci_bar_start + prop->dram_pci_bar_size) || in validate_export_params_no_mmu() 1950 (bar_address + size) < bar_address) { in validate_export_params_no_mmu() 1964 u64 bar_address; in validate_export_params() local [all …]
|