/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_object.c | 160 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()
|
D | qxl_drv.h | 84 void *kptr; member
|
D | qxl_cmd.c | 399 DRM_DEBUG_DRIVER("mem = %llx, from %p\n", create->mem, bo->kptr); in qxl_io_create_primary()
|
D | qxl_display.c | 1160 qdev->monitors_config = qdev->monitors_config_bo->kptr; in qxl_create_monitors_object()
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
D | mptctl.c | 95 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/ |
D | radeon_object.c | 281 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()
|
D | radeon_fb.c | 264 memset_io(rbo->kptr, 0x0, radeon_bo_size(rbo)); in radeonfb_create() 271 info->screen_base = rbo->kptr; in radeonfb_create()
|
D | radeon.h | 501 void *kptr; member
|
/kernel/linux/linux-5.10/drivers/android/ |
D | binder_alloc.c | 1177 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/ |
D | cgs_common.h | 77 void *kptr; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cgs.c | 230 info->kptr = ucode->kaddr; in amdgpu_cgs_get_firmware_info() 473 info->kptr = (void *)src; in amdgpu_cgs_get_firmware_info()
|
D | amdgpu_ucode.c | 470 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
|
D | amdgpu_object.c | 781 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()
|
D | amdgpu_cs.c | 742 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()
|
D | amdgpu_amdkfd.h | 260 struct kgd_mem *mem, void **kptr, uint64_t *size);
|
D | amdgpu_amdkfd_gpuvm.c | 1581 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/ |
D | vmac.c | 402 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/ |
D | kfd_process.c | 655 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/ |
D | vega10_smumgr.c | 216 if (ret || !info.kptr) in vega10_smu_init()
|
D | vega12_smumgr.c | 222 if (ret || !info.kptr) in vega12_smu_init()
|
D | smu7_smumgr.c | 487 …result = smu7_upload_smc_firmware_data(hwmgr, info.image_size, (uint32_t *)info.kptr, SMU7_SMC_SIZ… in smu7_upload_smu_firmware_image()
|
D | vega20_smumgr.c | 432 if (ret || !info.kptr) in vega20_smu_init()
|
D | iceland_smumgr.c | 222 (uint8_t *)info.kptr, ICELAND_SMC_SIZE, in iceland_smu_upload_firmware_image()
|
D | ci_smumgr.c | 2324 src = (uint8_t *)info.kptr; in ci_load_smc_ucode()
|