/drivers/acpi/ |
D | nvs.c | 77 void *kaddr; member 137 if (entry->kaddr) { in suspend_nvs_free() 139 iounmap(entry->kaddr); in suspend_nvs_free() 142 acpi_os_unmap_iomem(entry->kaddr, in suspend_nvs_free() 145 entry->kaddr = NULL; in suspend_nvs_free() 181 entry->kaddr = acpi_os_get_iomem(phys, size); in suspend_nvs_save() 182 if (!entry->kaddr) { in suspend_nvs_save() 183 entry->kaddr = acpi_os_ioremap(phys, size); in suspend_nvs_save() 184 entry->unmap = !!entry->kaddr; in suspend_nvs_save() 186 if (!entry->kaddr) { in suspend_nvs_save() [all …]
|
/drivers/tee/optee/ |
D | shm_pool.c | 34 shm->kaddr = page_address(page); in pool_op_alloc() 44 free_pages((unsigned long)shm->kaddr, get_order(shm->size)); in pool_op_free() 45 shm->kaddr = NULL; in pool_op_free()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | cz_smc.c | 493 entry->kaddr = priv->smu_buffer.kaddr + priv->smu_buffer_used_bytes; in cz_smu_populate_single_scratch_entry() 507 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; in cz_smu_populate_single_ucode_load_task() 536 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; in cz_smu_populate_single_scratch_task() 558 (struct cz_ih_meta_data *)priv->scratch_buffer[i].kaddr; in cz_smu_populate_single_scratch_task() 580 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; in cz_smu_construct_toc_for_vddgfx_enter() 596 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; in cz_smu_construct_toc_for_vddgfx_exit() 702 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; in cz_smu_initialize_toc_empty_job_list() 740 *table = (struct SMU8_Fusion_ClkTable *)priv->scratch_buffer[i].kaddr; in cz_smu_download_pptable() 879 priv->toc_buffer.kaddr = toc_buf_ptr; in cz_smu_init() 905 priv->smu_buffer.kaddr = smu_buf_ptr; in cz_smu_init()
|
D | amdgpu_ucode.c | 229 ucode->kaddr = kptr; in amdgpu_ucode_init_single_fw() 232 memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data + in amdgpu_ucode_init_single_fw() 310 ucode->kaddr = NULL; in amdgpu_ucode_fini_bo()
|
D | cz_smumgr.h | 62 void *kaddr; member
|
D | amdgpu_ucode.h | 162 void *kaddr; member
|
/drivers/tee/ |
D | tee_shm_pool.c | 33 shm->kaddr = (void *)va; in pool_op_gen_alloc() 42 gen_pool_free(poolm->private_data, (unsigned long)shm->kaddr, in pool_op_gen_free() 44 shm->kaddr = NULL; in pool_op_gen_free()
|
D | tee_shm.c | 401 if ((char *)va < (char *)shm->kaddr) in tee_shm_va2pa() 403 if ((char *)va >= ((char *)shm->kaddr + shm->size)) in tee_shm_va2pa() 407 shm, (unsigned long)va - (unsigned long)shm->kaddr, pa); in tee_shm_va2pa() 452 return (char *)shm->kaddr + offs; in tee_shm_get_va()
|
/drivers/scsi/isci/ |
D | request.c | 1416 void *kaddr; in sci_stp_request_pio_data_in_copy_data_buffer() local 1430 kaddr = kmap_atomic(page); in sci_stp_request_pio_data_in_copy_data_buffer() 1431 memcpy(kaddr + sg->offset, src_addr, copy_len); in sci_stp_request_pio_data_in_copy_data_buffer() 1432 kunmap_atomic(kaddr); in sci_stp_request_pio_data_in_copy_data_buffer() 1774 void *frame_header, *kaddr; in sci_io_request_frame_handler() local 1780 kaddr = kmap_atomic(sg_page(sg)); in sci_io_request_frame_handler() 1781 rsp = kaddr + sg->offset; in sci_io_request_frame_handler() 1817 kunmap_atomic(kaddr); in sci_io_request_frame_handler() 2922 void *kaddr; in isci_request_io_request_complete() local 2927 kaddr = kmap_atomic(sg_page(sg)); in isci_request_io_request_complete() [all …]
|
/drivers/block/ |
D | nbd.c | 228 void *kaddr = kmap(bvec->bv_page); in sock_send_bvec() local 229 result = sock_xmit(nbd, 1, kaddr + bvec->bv_offset, in sock_send_bvec() 325 void *kaddr = kmap(bvec->bv_page); in sock_recv_bvec() local 326 result = sock_xmit(nbd, 0, kaddr + bvec->bv_offset, bvec->bv_len, in sock_recv_bvec()
|
D | brd.c | 380 void __pmem **kaddr, unsigned long *pfn) in brd_direct_access() argument 390 *kaddr = (void __pmem *)page_address(page); in brd_direct_access()
|
D | rbd.c | 1282 void *kaddr; in zero_pages() local 1287 kaddr = kmap_atomic(*page); in zero_pages() 1288 memset(kaddr + page_offset, 0, length); in zero_pages() 1290 kunmap_atomic(kaddr); in zero_pages()
|
/drivers/nvdimm/ |
D | pmem.c | 104 void __pmem **kaddr, unsigned long *pfn) in pmem_direct_access() argument 109 *kaddr = pmem->virt_addr + offset; in pmem_direct_access()
|
/drivers/s390/block/ |
D | dcssblk.c | 33 void __pmem **kaddr, unsigned long *pfn); 886 void __pmem **kaddr, unsigned long *pfn) in dcssblk_direct_access() argument 899 *kaddr = (void __pmem *) addr; in dcssblk_direct_access()
|
/drivers/staging/lustre/lustre/llite/ |
D | vvp_io.c | 909 char *kaddr = kmap_atomic(cp->cpg_page); in vvp_io_prepare_partial() local 911 memset(kaddr, 0, cl_page_size(obj)); in vvp_io_prepare_partial() 912 kunmap_atomic(kaddr); in vvp_io_prepare_partial()
|
/drivers/md/ |
D | bitmap.c | 907 void *kaddr; in bitmap_file_set_bit() local 916 kaddr = kmap_atomic(page); in bitmap_file_set_bit() 918 set_bit(bit, kaddr); in bitmap_file_set_bit() 920 set_bit_le(bit, kaddr); in bitmap_file_set_bit() 921 kunmap_atomic(kaddr); in bitmap_file_set_bit()
|
/drivers/scsi/ |
D | pmcraid.c | 3339 void *kaddr; in pmcraid_copy_sglist() local 3352 kaddr = kmap(page); in pmcraid_copy_sglist() 3354 rc = __copy_from_user(kaddr, in pmcraid_copy_sglist() 3358 rc = __copy_to_user((void *)buffer, kaddr, bsize_elem); in pmcraid_copy_sglist() 3373 kaddr = kmap(page); in pmcraid_copy_sglist() 3376 rc = __copy_from_user(kaddr, in pmcraid_copy_sglist() 3381 kaddr, in pmcraid_copy_sglist()
|
D | scsi_debug.c | 3382 unsigned char *kaddr, *buf; in resp_xdwriteread() local 3402 kaddr = miter.addr; in resp_xdwriteread() 3404 *(kaddr + j) ^= *(buf + offset + j); in resp_xdwriteread()
|
D | ipr.c | 3834 void *kaddr; in ipr_copy_ucode_buffer() local 3844 kaddr = kmap(page); in ipr_copy_ucode_buffer() 3845 memcpy(kaddr, buffer, bsize_elem); in ipr_copy_ucode_buffer() 3859 kaddr = kmap(page); in ipr_copy_ucode_buffer() 3860 memcpy(kaddr, buffer, len % bsize_elem); in ipr_copy_ucode_buffer()
|