Lines Matching defs:address

253  * @q_idx: queue id is used to extract fence register address
274 * @phys_addr: physical address of the pgt.
275 * @virt_addr: host virtual address of the pgt (see above device/host resident).
300 * @PCI_ADDRESS_MATCH_MODE: address match mode
372 * @addr: region target address
374 * @offset_in_bar: offset within bar (address match mode)
387 * @addr: region target address
411 * @sob_addr: the sob offset from the base address.
436 * Otherwise, a CB address must be provided.
454 * @VM_TYPE_USERPTR: mapping of user memory to device virtual address.
455 * @VM_TYPE_PHYS_PACK: mapping of DRAM memory to device virtual address.
492 * struct hl_mmu_properties - ASIC specific MMU address translation properties.
493 * @start_addr: virtual start address of the memory region.
494 * @end_addr: virtual end address of the memory region.
525 * @start_addr: start address of the va range.
526 * @end_addr: end address of the va range.
542 * @dmmu: DRAM MMU address translation properties.
543 * @pmmu: PCI (host) MMU address translation properties.
544 * @pmmu_huge: PCI (host) MMU address translation properties for memory
550 * @sram_base_address: SRAM physical start address.
551 * @sram_end_address: SRAM physical end address.
552 * @sram_user_base_address - SRAM physical start address for user access.
553 * @dram_base_address: DRAM physical start address.
554 * @dram_end_address: DRAM physical end address.
555 * @dram_user_base_address: DRAM physical start address for user access.
562 * @pcie_dbi_base_address: Base address of the PCIE_DBI block.
564 * @mmu_pgt_addr: base physical address in DRAM of MMU page tables.
565 * @mmu_dram_default_page_addr: DRAM default page physical address.
572 * @cfg_base_address: config space base address.
573 * @mmu_cache_mng_addr: address of the MMU cache.
577 * @host_base_address: host physical start address for host DMA from device
578 * @host_end_address: host physical end address for host DMA from device
580 * @engine_core_interrupt_reg_addr: interrupt register address for engine core to use
869 * @kernel_buff_address: Holds the internal buffer's kernel virtual address.
870 * @user_buff_address: Holds the user buffer's kernel virtual address.
943 * @kernel_address: Holds the CB's kernel virtual address.
944 * @virtual_addr: Holds the CB's virtual address.
945 * @bus_address: Holds the CB's DMA address.
1042 * @kernel_address: holds the queue's kernel virtual address.
1043 * @bus_address: holds the queue's DMA address.
1074 * @kernel_address: holds the queue's kernel virtual address
1075 * @bus_address: holds the queue's DMA address
1147 * @timestamp_kernel_addr: timestamp handle address, where to set timestamp
1169 * @cq_kernel_addr: CQ kernel address, to be used in the cq interrupt
1183 * @kernel_address: holds the queue's kernel virtual address
1184 * @bus_address: holds the queue's DMA address
1206 * @base_addr: base address of the decoder.
1289 * @region_base: region base address
1309 * @kmd_msg_to_cpu_reg: register address for KDM->CPU messages
1310 * @cpu_cmd_status_to_host_reg: register address for CPU command status response
1369 * @cpu_boot_status_reg: cpu_boot_status register address
1370 * @sts_boot_dev_sts0_reg: sts_boot_dev_sts0 register address
1371 * @sts_boot_dev_sts1_reg: sts_boot_dev_sts1 register address
1372 * @boot_err0_reg: boot_err0 register address
1373 * @boot_err1_reg: boot_err1 register address
1475 * @get_int_queue_base: get the internal queue base address.
1539 * @get_dec_base_addr: get the base address of a given decoder.
1540 * @scramble_addr: Routine to scramble the address prior of mapping it
1542 * @descramble_addr: Routine to de-scramble the address prior of
1561 * @get_sob_addr: get SOB base address offset.
1723 * enum hl_va_range_type - virtual address range type.
1739 * @start_addr: range start address.
1740 * @end_addr: range end address.
1776 * @device_address: physical address of the device's memory. Relevant only
1777 * if phys_pg_pack is NULL (dma-buf was exported from address).
1824 * @mem_hash: holds mapping from virtual address to virtual memory area
1826 * @mmu_shadow_hash: holds a mapping from shadow address to pgt_info structure.
1828 * MMU-hop-page physical address to its host-resident
1846 * @cb_va_pool_base: the base address for the device VA pool
1861 * @asid: context's unique address space ID in the device's MMU.
1917 * @addr: user-space virtual address of the start of the memory area.
1960 * @sob_addr_offset: sob offset from the configuration base address.
2037 * otherwise (SRAM/DRAM/host address).
2081 * otherwise (SRAM/DRAM/host address).
2111 * struct hl_vm_hash_node - hash element from virtual address to virtual
2115 * @vaddr: key virtual address.
2129 * struct hl_vm_hw_block_list_node - list element from user virtual address to
2133 * @vaddr: virtual address of the HW block.
2163 * @created_from_userptr: is product of host virtual address.
2185 * @start: virtual range start address.
2186 * @end: virtual range end address.
2332 * @addr: next address to read/write from/to in read/write32.
2333 * @mmu_addr: next virtual address to translate to physical address in mmu_show.
2339 * @i2c_addr: generic u8 debugfs file for address value to use in i2c_data_read.
2431 * @wr_addr_low: address monitor will write to, low bits
2432 * @wr_addr_high: address monitor will write to, high bits
2658 * address in this macro points always to a memory location in the
2700 p->address = base; \
2762 * that was created in order to translate a virtual address to a
2764 * @hop_addr: The address of the hop.
2765 * @hop_pte_addr: The address of the hop entry.
2776 * hop-entries that were created in order to translate a virtual address to a
2778 * @scrambled_vaddr: The value of the virtual address after scrambling. This
2779 * address replaces the original virtual-address when mapped
2781 * @unscrambled_paddr: The un-scrambled physical address.
2784 * @range_type: virtual address range type.
2816 * @map: maps a virtual address to physical address for a context.
2817 * @unmap: unmap a virtual address of a context.
2822 * created in order to translate the giver virtual address to a
2845 * @va: virtual address to pre-fetch.
2936 * @address: physical HW block address
2940 u32 address;
2965 * @cq_addr: the address of the current handled command buffer
3119 * (required only for PCI address match mode)
3121 * @rmmio: configuration area address on SRAM.
3160 * @cpu_accessible_dma_mem: Host <-> CPU-CP shared memory CPU address.
3161 * @cpu_accessible_dma_address: Host <-> CPU-CP shared memory DMA address.
3183 * @internal_cb_pool_virt_addr: internal command buffer pool virtual address.
3184 * @internal_cb_pool_dma_addr: internal command buffer pool dma address.
3186 * @internal_cb_va_base: internal cb pool mmu virtual address base
3222 * @dram_pci_bar_start: start bus address of PCIe bar towards DRAM.
3549 * hl_get_sg_info() - get number of pages and the DMA address from SG list.
3551 * @dma_addr: pointer to DMA address to return.
3554 * offset of the address in the first page, add to it the length and round it up
3566 * hl_mem_area_inside_range() - Checks whether address+size are inside a range.
3567 * @address: The start address of the area we want to validate.
3569 * @range_start_address: The start address of the valid range.
3570 * @range_end_address: The end address of the valid range.
3574 static inline bool hl_mem_area_inside_range(u64 address, u64 size,
3577 u64 end_address = address + size;
3579 if ((address >= range_start_address) &&
3581 (end_address > address))
3588 * hl_mem_area_crosses_range() - Checks whether address+size crossing a range.
3589 * @address: The start address of the area we want to validate.
3591 * @range_start_address: The start address of the valid range.
3592 * @range_end_address: The end address of the valid range.
3597 static inline bool hl_mem_area_crosses_range(u64 address, u32 size,
3600 u64 end_address = address + size - 1;
3602 return ((address <= range_end_address) && (range_start_address <= end_address));