Home
last modified time | relevance | path

Searched refs:kptr (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_object.c160 if (bo->kptr) { in qxl_bo_kmap()
162 *ptr = bo->kptr; in qxl_bo_kmap()
169 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in qxl_bo_kmap()
171 *ptr = bo->kptr; in qxl_bo_kmap()
194 if (bo->kptr) { in qxl_bo_kmap_atomic_page()
195 rptr = bo->kptr + (page_offset * PAGE_SIZE); in qxl_bo_kmap_atomic_page()
209 if (bo->kptr == NULL) in qxl_bo_kunmap()
214 bo->kptr = NULL; in qxl_bo_kunmap()
Dqxl_drv.h84 void *kptr; member
Dqxl_cmd.c399 DRM_DEBUG_DRIVER("mem = %llx, from %p\n", create->mem, bo->kptr); in qxl_io_create_primary()
Dqxl_display.c1160 qdev->monitors_config = qdev->monitors_config_bo->kptr; in qxl_create_monitors_object()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptctl.c95 u8 *kptr; member
908 if (copy_from_user(bl->kptr, ufwbuf+fw_bytes_copied, bl->len)) { in mptctl_do_fw_download()
1067 buflist[buflist_ent].kptr = pci_alloc_consistent(ioc->pcidev, in kbuf_alloc_2_sgl()
1070 if (buflist[buflist_ent].kptr == NULL) { in kbuf_alloc_2_sgl()
1086 buflist[buflist_ent].kptr, this_alloc, dir); in kbuf_alloc_2_sgl()
1135 u8 *kptr; in kbuf_alloc_2_sgl() local
1142 kptr = buflist[i].kptr; in kbuf_alloc_2_sgl()
1145 pci_free_consistent(ioc->pcidev, len, kptr, dma_addr); in kbuf_alloc_2_sgl()
1178 void *kptr; in kfree_sgl() local
1182 kptr = bl->kptr; in kfree_sgl()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_object.c281 if (bo->kptr) { in radeon_bo_kmap()
283 *ptr = bo->kptr; in radeon_bo_kmap()
291 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in radeon_bo_kmap()
293 *ptr = bo->kptr; in radeon_bo_kmap()
301 if (bo->kptr == NULL) in radeon_bo_kunmap()
303 bo->kptr = NULL; in radeon_bo_kunmap()
Dradeon_fb.c264 memset_io(rbo->kptr, 0x0, radeon_bo_size(rbo)); in radeonfb_create()
271 info->screen_base = rbo->kptr; in radeonfb_create()
Dradeon.h501 void *kptr; member
/kernel/linux/linux-5.10/drivers/android/
Dbinder_alloc.c1177 void *kptr; in binder_alloc_clear_buf() local
1182 kptr = kmap(page) + pgoff; in binder_alloc_clear_buf()
1183 memset(kptr, 0, size); in binder_alloc_clear_buf()
1217 void *kptr; in binder_alloc_copy_user_to_buffer() local
1222 kptr = kmap(page) + pgoff; in binder_alloc_copy_user_to_buffer()
1223 ret = copy_from_user(kptr, from, size); in binder_alloc_copy_user_to_buffer()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Dcgs_common.h77 void *kptr; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cgs.c230 info->kptr = ucode->kaddr; in amdgpu_cgs_get_firmware_info()
473 info->kptr = (void *)src; in amdgpu_cgs_get_firmware_info()
Damdgpu_ucode.c470 uint64_t mc_addr, void *kptr) in amdgpu_ucode_init_single_fw() argument
482 ucode->kaddr = kptr; in amdgpu_ucode_init_single_fw()
585 uint64_t mc_addr, void *kptr) in amdgpu_ucode_patch_jt() argument
Damdgpu_object.c781 void *kptr; in amdgpu_bo_kmap() local
787 kptr = amdgpu_bo_kptr(bo); in amdgpu_bo_kmap()
788 if (kptr) { in amdgpu_bo_kmap()
790 *ptr = kptr; in amdgpu_bo_kmap()
Damdgpu_cs.c742 uint8_t *kptr; in amdgpu_cs_vm_handling() local
765 r = amdgpu_bo_kmap(aobj, (void **)&kptr); in amdgpu_cs_vm_handling()
771 kptr += va_start - offset; in amdgpu_cs_vm_handling()
774 memcpy(ib->ptr, kptr, chunk_ib->ib_bytes); in amdgpu_cs_vm_handling()
781 ib->ptr = (uint32_t *)kptr; in amdgpu_cs_vm_handling()
Damdgpu_amdkfd.h260 struct kgd_mem *mem, void **kptr, uint64_t *size);
Damdgpu_amdkfd_gpuvm.c1581 struct kgd_mem *mem, void **kptr, uint64_t *size) in amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel() argument
1608 ret = amdgpu_bo_kmap(bo, kptr); in amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel()
/kernel/linux/linux-5.10/crypto/
Dvmac.c402 const u64 *kptr = tctx->nhkey; in vhash_blocks() local
411 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_blocks()
419 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_blocks()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c655 uint32_t flags, void **kptr) in kfd_process_alloc_gpuvm() argument
689 if (kptr) { in kfd_process_alloc_gpuvm()
691 (struct kgd_mem *)mem, kptr, NULL); in kfd_process_alloc_gpuvm()
710 *kptr = NULL; in kfd_process_alloc_gpuvm()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvega10_smumgr.c216 if (ret || !info.kptr) in vega10_smu_init()
Dvega12_smumgr.c222 if (ret || !info.kptr) in vega12_smu_init()
Dsmu7_smumgr.c487 …result = smu7_upload_smc_firmware_data(hwmgr, info.image_size, (uint32_t *)info.kptr, SMU7_SMC_SIZ… in smu7_upload_smu_firmware_image()
Dvega20_smumgr.c432 if (ret || !info.kptr) in vega20_smu_init()
Diceland_smumgr.c222 (uint8_t *)info.kptr, ICELAND_SMC_SIZE, in iceland_smu_upload_firmware_image()
Dci_smumgr.c2324 src = (uint8_t *)info.kptr; in ci_load_smc_ucode()