Home
last modified time | relevance | path

Searched refs:pd_addr (Results 1 – 25 of 64) sorted by relevance

123

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.c114 u64 *pd_addr; in i40e_add_pd_table_entry() local
151 pd_addr = (u64 *)pd_table->pd_page_addr.va; in i40e_add_pd_table_entry()
152 pd_addr += rel_pd_idx; in i40e_add_pd_table_entry()
155 memcpy(pd_addr, &page_desc, sizeof(u64)); in i40e_add_pd_table_entry()
190 u64 *pd_addr; in i40e_remove_pd_bp() local
216 pd_addr = (u64 *)pd_table->pd_page_addr.va; in i40e_remove_pd_bp()
217 pd_addr += rel_pd_idx; in i40e_remove_pd_bp()
218 memset(pd_addr, 0, sizeof(u64)); in i40e_remove_pd_bp()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dvcn_sw_ring.c66 uint32_t vmid, uint64_t pd_addr) in vcn_dec_sw_ring_emit_vm_flush() argument
71 pd_addr = amdgpu_gmc_emit_flush_gpu_tlb(ring, vmid, pd_addr); in vcn_dec_sw_ring_emit_vm_flush()
75 data1 = lower_32_bits(pd_addr); in vcn_dec_sw_ring_emit_vm_flush()
H A Damdgpu_trace.h228 __field(u64, pd_addr)
237 __entry->pd_addr = job->vm_pd_addr;
242 __entry->vm_hub, __entry->pd_addr, __entry->needs_flush)
418 uint64_t pd_addr),
419 TP_ARGS(ring, vmid, pd_addr),
424 __field(u64, pd_addr)
431 __entry->pd_addr = pd_addr;
435 __entry->vm_hub, __entry->pd_addr)
H A Dvcn_v2_0.h37 unsigned vmid, uint64_t pd_addr);
50 unsigned int vmid, uint64_t pd_addr);
H A Dvcn_sw_ring.h40 uint32_t vmid, uint64_t pd_addr);
H A Djpeg_v4_0_3.h58 unsigned int vmid, uint64_t pd_addr);
H A Djpeg_v2_0.h60 unsigned vmid, uint64_t pd_addr);
H A Djpeg_v1_0.c384 unsigned vmid, uint64_t pd_addr) in jpeg_v1_0_decode_ring_emit_vm_flush() argument
389 pd_addr = amdgpu_gmc_emit_flush_gpu_tlb(ring, vmid, pd_addr); in jpeg_v1_0_decode_ring_emit_vm_flush()
393 data1 = lower_32_bits(pd_addr); in jpeg_v1_0_decode_ring_emit_vm_flush()
H A Djpeg_v2_0.c616 unsigned vmid, uint64_t pd_addr) in jpeg_v2_0_dec_ring_emit_vm_flush() argument
621 pd_addr = amdgpu_gmc_emit_flush_gpu_tlb(ring, vmid, pd_addr); in jpeg_v2_0_dec_ring_emit_vm_flush()
625 data1 = lower_32_bits(pd_addr); in jpeg_v2_0_dec_ring_emit_vm_flush()
H A Dgmc_v11_0.c340 unsigned int vmid, uint64_t pd_addr) in gmc_v11_0_emit_flush_gpu_tlb() argument
363 lower_32_bits(pd_addr)); in gmc_v11_0_emit_flush_gpu_tlb()
367 upper_32_bits(pd_addr)); in gmc_v11_0_emit_flush_gpu_tlb()
384 return pd_addr; in gmc_v11_0_emit_flush_gpu_tlb()
H A Dgmc_v12_0.c360 unsigned vmid, uint64_t pd_addr) in gmc_v12_0_emit_flush_gpu_tlb() argument
383 lower_32_bits(pd_addr)); in gmc_v12_0_emit_flush_gpu_tlb()
387 upper_32_bits(pd_addr)); in gmc_v12_0_emit_flush_gpu_tlb()
404 return pd_addr; in gmc_v12_0_emit_flush_gpu_tlb()
H A Damdgpu_gmc.c130 uint64_t pd_addr; in amdgpu_gmc_pd_addr() local
136 amdgpu_gmc_get_pde_for_bo(bo, -1, &pd_addr, &flags); in amdgpu_gmc_pd_addr()
137 pd_addr |= flags; in amdgpu_gmc_pd_addr()
139 pd_addr = amdgpu_bo_gpu_offset(bo); in amdgpu_gmc_pd_addr()
141 return pd_addr; in amdgpu_gmc_pd_addr()
H A Dgmc_v10_0.c375 unsigned int vmid, uint64_t pd_addr) in gmc_v10_0_emit_flush_gpu_tlb() argument
398 lower_32_bits(pd_addr)); in gmc_v10_0_emit_flush_gpu_tlb()
402 upper_32_bits(pd_addr)); in gmc_v10_0_emit_flush_gpu_tlb()
419 return pd_addr; in gmc_v10_0_emit_flush_gpu_tlb()
H A Duvd_v7_0.c1403 unsigned vmid, uint64_t pd_addr) in uvd_v7_0_ring_emit_vm_flush() argument
1408 pd_addr = amdgpu_gmc_emit_flush_gpu_tlb(ring, vmid, pd_addr); in uvd_v7_0_ring_emit_vm_flush()
1412 data1 = lower_32_bits(pd_addr); in uvd_v7_0_ring_emit_vm_flush()
1446 unsigned int vmid, uint64_t pd_addr) in uvd_v7_0_enc_ring_emit_vm_flush() argument
1450 pd_addr = amdgpu_gmc_emit_flush_gpu_tlb(ring, vmid, pd_addr); in uvd_v7_0_enc_ring_emit_vm_flush()
1455 lower_32_bits(pd_addr), 0xffffffff); in uvd_v7_0_enc_ring_emit_vm_flush()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_trace.h108 TP_PROTO(uint64_t pd_addr, unsigned ring, unsigned id),
109 TP_ARGS(pd_addr, ring, id),
111 __field(u64, pd_addr)
117 __entry->pd_addr = pd_addr;
122 __entry->pd_addr, __entry->ring, __entry->id)
H A Dsi_dma.c187 unsigned vm_id, uint64_t pd_addr) in si_dma_vm_flush() argument
196 radeon_ring_write(ring, pd_addr >> 12); in si_dma_vm_flush()
H A Dradeon_vm.c241 uint64_t pd_addr = radeon_bo_gpu_offset(vm->page_directory); in radeon_vm_flush() local
244 if (pd_addr != vm_id->pd_gpu_addr || !vm_id->flushed_updates || in radeon_vm_flush()
247 trace_radeon_vm_flush(pd_addr, ring, vm->ids[ring].id); in radeon_vm_flush()
250 vm_id->pd_gpu_addr = pd_addr; in radeon_vm_flush()
644 uint64_t pd_addr = radeon_bo_gpu_offset(pd); in radeon_vm_update_page_directory() local
679 pde = pd_addr + pt_idx * 8; in radeon_vm_update_page_directory()
H A Dni_dma.c449 unsigned vm_id, uint64_t pd_addr) in cayman_dma_vm_flush() argument
453 radeon_ring_write(ring, pd_addr >> 12); in cayman_dma_vm_flush()
H A Dradeon_asic.h614 unsigned vm_id, uint64_t pd_addr);
640 unsigned vm_id, uint64_t pd_addr);
722 unsigned vm_id, uint64_t pd_addr);
745 unsigned vm_id, uint64_t pd_addr);
829 unsigned vm_id, uint64_t pd_addr);
848 unsigned vm_id, uint64_t pd_addr);
/linux/drivers/infiniband/hw/irdma/
H A Dhmc.c552 u64 *pd_addr; in irdma_add_pd_table_entry() local
586 pd_addr = pd_table->pd_page_addr.va; in irdma_add_pd_table_entry()
587 pd_addr += rel_pd_idx; in irdma_add_pd_table_entry()
588 memcpy(pd_addr, &page_desc, sizeof(*pd_addr)); in irdma_add_pd_table_entry()
622 u64 *pd_addr; in irdma_remove_pd_bp() local
640 pd_addr = pd_table->pd_page_addr.va; in irdma_remove_pd_bp()
641 pd_addr += rel_pd_idx; in irdma_remove_pd_bp()
642 memset(pd_addr, 0, sizeof(u64)); in irdma_remove_pd_bp()
/linux/drivers/clk/mediatek/
H A Dclk-pll.c102 val = readl(pll->pd_addr); in mtk_pll_set_rate_regs()
107 if (pll->pd_addr != pll->pcw_addr) { in mtk_pll_set_rate_regs()
108 writel(val, pll->pd_addr); in mtk_pll_set_rate_regs()
194 postdiv = (readl(pll->pd_addr) >> pll->data->pd_shift) & POSTDIV_MASK; in mtk_pll_recalc_rate()
297 pll->pd_addr = base + data->pd_reg; in mtk_clk_register_pll_ops()
H A Dclk-fhctl.c165 regval = readl(pll->pd_addr) >> pll->data->pd_shift; in __get_postdiv()
175 regval = readl(pll->pd_addr); in __set_postdiv()
178 writel(regval, pll->pd_addr); in __set_postdiv()
H A Dclk-pll.h64 void __iomem *pd_addr; member
/linux/drivers/gpu/drm/i915/gt/
H A Dgen6_ppgtt.h18 gen6_pte_t __iomem *pd_addr; member
H A Dgen6_ppgtt.c27 ppgtt->pd_addr + pde); in gen6_write_pde()
165 ioread32(ppgtt->pd_addr + pde - 1); in gen6_flush_pd()
291 ppgtt->pd_addr = (gen6_pte_t __iomem *)ggtt->gsm + ggtt_offset; in pd_vma_bind()

123