Home
last modified time | relevance | path

Searched refs:dmem (Results 1 – 25 of 33) sorted by relevance

12

/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c112 struct nouveau_dmem *dmem = chunk->drm->dmem; in nouveau_dmem_page_free() local
114 spin_lock(&dmem->lock); in nouveau_dmem_page_free()
115 page->zone_device_data = dmem->free_pages; in nouveau_dmem_page_free()
116 dmem->free_pages = page; in nouveau_dmem_page_free()
124 spin_unlock(&dmem->lock); in nouveau_dmem_page_free()
164 if (drm->dmem->migrate.copy_func(drm, 1, NOUVEAU_APER_HOST, *dma_addr, in nouveau_dmem_fault_copy_one()
183 struct nouveau_dmem *dmem = drm->dmem; in nouveau_dmem_migrate_to_ram() local
212 nouveau_fence_new(dmem->migrate.chan, false, &fence); in nouveau_dmem_migrate_to_ram()
274 mutex_lock(&drm->dmem->mutex); in nouveau_dmem_chunk_alloc()
275 list_add(&chunk->list, &drm->dmem->chunks); in nouveau_dmem_chunk_alloc()
[all …]
Dnouveau_drv.h227 struct nouveau_dmem *dmem; member
/drivers/staging/media/atomisp/pci/css_2400_system/hive/
Dia_css_isp_configs.c39 size = binary->info->mem_offsets.offsets.config->dmem.iterator.size; in ia_css_configure_iterator()
40 offset = binary->info->mem_offsets.offsets.config->dmem.iterator.offset; in ia_css_configure_iterator()
67 size = binary->info->mem_offsets.offsets.config->dmem.copy_output.size; in ia_css_configure_copy_output()
68 offset = binary->info->mem_offsets.offsets.config->dmem.copy_output.offset; in ia_css_configure_copy_output()
95 size = binary->info->mem_offsets.offsets.config->dmem.crop.size; in ia_css_configure_crop()
96 offset = binary->info->mem_offsets.offsets.config->dmem.crop.offset; in ia_css_configure_crop()
123 size = binary->info->mem_offsets.offsets.config->dmem.fpn.size; in ia_css_configure_fpn()
124 offset = binary->info->mem_offsets.offsets.config->dmem.fpn.offset; in ia_css_configure_fpn()
151 size = binary->info->mem_offsets.offsets.config->dmem.dvs.size; in ia_css_configure_dvs()
152 offset = binary->info->mem_offsets.offsets.config->dmem.dvs.offset; in ia_css_configure_dvs()
[all …]
Dia_css_isp_params.c75 stage->binary->info->mem_offsets.offsets.param->dmem.aa.size; in ia_css_process_aa()
77 stage->binary->info->mem_offsets.offsets.param->dmem.aa.offset; in ia_css_process_aa()
101 stage->binary->info->mem_offsets.offsets.param->dmem.anr.size; in ia_css_process_anr()
104 stage->binary->info->mem_offsets.offsets.param->dmem.anr.offset; in ia_css_process_anr()
171 stage->binary->info->mem_offsets.offsets.param->dmem.bh.size; in ia_css_process_bh()
174 stage->binary->info->mem_offsets.offsets.param->dmem.bh.offset; in ia_css_process_bh()
218 stage->binary->info->mem_offsets.offsets.param->dmem.cnr.size; in ia_css_process_cnr()
221 stage->binary->info->mem_offsets.offsets.param->dmem.cnr.offset; in ia_css_process_cnr()
253 stage->binary->info->mem_offsets.offsets.param->dmem.crop.size; in ia_css_process_crop()
256 stage->binary->info->mem_offsets.offsets.param->dmem.crop.offset; in ia_css_process_crop()
[all …]
Dia_css_isp_states.c150 unsigned int size = binary->info->mem_offsets.offsets.state->dmem.tnr.size; in ia_css_initialize_tnr_state()
152 unsigned int offset = binary->info->mem_offsets.offsets.state->dmem.tnr.offset; in ia_css_initialize_tnr_state()
174 unsigned int size = binary->info->mem_offsets.offsets.state->dmem.ref.size; in ia_css_initialize_ref_state()
176 unsigned int offset = binary->info->mem_offsets.offsets.state->dmem.ref.offset; in ia_css_initialize_ref_state()
/drivers/staging/media/atomisp/pci/css_2401_system/hive/
Dia_css_isp_configs.c39 size = binary->info->mem_offsets.offsets.config->dmem.iterator.size; in ia_css_configure_iterator()
40 offset = binary->info->mem_offsets.offsets.config->dmem.iterator.offset; in ia_css_configure_iterator()
67 size = binary->info->mem_offsets.offsets.config->dmem.copy_output.size; in ia_css_configure_copy_output()
68 offset = binary->info->mem_offsets.offsets.config->dmem.copy_output.offset; in ia_css_configure_copy_output()
95 size = binary->info->mem_offsets.offsets.config->dmem.crop.size; in ia_css_configure_crop()
96 offset = binary->info->mem_offsets.offsets.config->dmem.crop.offset; in ia_css_configure_crop()
123 size = binary->info->mem_offsets.offsets.config->dmem.fpn.size; in ia_css_configure_fpn()
124 offset = binary->info->mem_offsets.offsets.config->dmem.fpn.offset; in ia_css_configure_fpn()
151 size = binary->info->mem_offsets.offsets.config->dmem.dvs.size; in ia_css_configure_dvs()
152 offset = binary->info->mem_offsets.offsets.config->dmem.dvs.offset; in ia_css_configure_dvs()
[all …]
Dia_css_isp_params.c76 stage->binary->info->mem_offsets.offsets.param->dmem.aa.size; in ia_css_process_aa()
78 stage->binary->info->mem_offsets.offsets.param->dmem.aa.offset; in ia_css_process_aa()
99 stage->binary->info->mem_offsets.offsets.param->dmem.anr.size; in ia_css_process_anr()
102 stage->binary->info->mem_offsets.offsets.param->dmem.anr.offset; in ia_css_process_anr()
169 stage->binary->info->mem_offsets.offsets.param->dmem.bh.size; in ia_css_process_bh()
172 stage->binary->info->mem_offsets.offsets.param->dmem.bh.offset; in ia_css_process_bh()
216 stage->binary->info->mem_offsets.offsets.param->dmem.cnr.size; in ia_css_process_cnr()
219 stage->binary->info->mem_offsets.offsets.param->dmem.cnr.offset; in ia_css_process_cnr()
251 stage->binary->info->mem_offsets.offsets.param->dmem.crop.size; in ia_css_process_crop()
254 stage->binary->info->mem_offsets.offsets.param->dmem.crop.offset; in ia_css_process_crop()
[all …]
Dia_css_isp_states.c150 unsigned int size = binary->info->mem_offsets.offsets.state->dmem.tnr.size; in ia_css_initialize_tnr_state()
152 unsigned int offset = binary->info->mem_offsets.offsets.state->dmem.tnr.offset; in ia_css_initialize_tnr_state()
174 unsigned int size = binary->info->mem_offsets.offsets.state->dmem.ref.size; in ia_css_initialize_ref_state()
176 unsigned int offset = binary->info->mem_offsets.offsets.state->dmem.ref.offset; in ia_css_initialize_ref_state()
/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c53 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem() argument
56 dmem->q_len = q_len; in nicvf_alloc_q_desc_mem()
57 dmem->size = (desc_size * q_len) + align_bytes; in nicvf_alloc_q_desc_mem()
59 dmem->unalign_base = dma_alloc_coherent(&nic->pdev->dev, dmem->size, in nicvf_alloc_q_desc_mem()
60 &dmem->dma, GFP_KERNEL); in nicvf_alloc_q_desc_mem()
61 if (!dmem->unalign_base) in nicvf_alloc_q_desc_mem()
65 dmem->phys_base = NICVF_ALIGNED_ADDR((u64)dmem->dma, align_bytes); in nicvf_alloc_q_desc_mem()
66 dmem->base = dmem->unalign_base + (dmem->phys_base - dmem->dma); in nicvf_alloc_q_desc_mem()
71 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem() argument
73 if (!dmem) in nicvf_free_q_desc_mem()
[all …]
Dnicvf_queues.h229 struct q_desc_mem dmem; member
260 struct q_desc_mem dmem; member
284 struct q_desc_mem dmem; member
/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/yuv444_io_ls/
Dia_css_yuv444_io.host.c43 size_get = binary->info->mem_offsets.offsets.param->dmem.get.size; in ia_css_yuv444_io_config()
44 offset = binary->info->mem_offsets.offsets.param->dmem.get.offset; in ia_css_yuv444_io_config()
69 size_put = binary->info->mem_offsets.offsets.param->dmem.put.size; in ia_css_yuv444_io_config()
70 offset = binary->info->mem_offsets.offsets.param->dmem.put.offset; in ia_css_yuv444_io_config()
/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/bayer_io_ls/
Dia_css_bayer_io.host.c43 size_get = binary->info->mem_offsets.offsets.param->dmem.get.size; in ia_css_bayer_io_config()
44 offset = binary->info->mem_offsets.offsets.param->dmem.get.offset; in ia_css_bayer_io_config()
69 size_put = binary->info->mem_offsets.offsets.param->dmem.put.size; in ia_css_bayer_io_config()
70 offset = binary->info->mem_offsets.offsets.param->dmem.put.offset; in ia_css_bayer_io_config()
/drivers/usb/host/
Dimx21-dbg.c200 struct imx21_dmem_area *dmem; in debug_status_show() local
215 list_for_each_entry(dmem, &imx21->dmem_list, list) { in debug_status_show()
216 dmem_bytes += dmem->size; in debug_status_show()
253 struct imx21_dmem_area *dmem; in debug_dmem_show() local
259 list_for_each_entry(dmem, &imx21->dmem_list, list) in debug_dmem_show()
263 dmem->offset, dmem->size, in debug_dmem_show()
264 format_ep(dmem->ep, ep_text, sizeof(ep_text))); in debug_dmem_show()
/drivers/memory/
Dbrcmstb_dpfe.c184 void __iomem *dmem; member
408 ptr = priv->dmem + offset; in get_msg_ptr()
571 u32 __iomem *dmem = priv->dmem; in __verify_fw_checksum() local
588 sum += readl_relaxed(dmem + i); in __verify_fw_checksum()
627 const u32 *dmem, *imem; in brcmstb_dpfe_download_firmware() local
679 dmem = fw_blob + imem_size; in brcmstb_dpfe_download_firmware()
681 ret = __write_firmware(priv->dmem, dmem, dmem_size, is_big_endian); in brcmstb_dpfe_download_firmware()
882 priv->dmem = devm_ioremap_resource(dev, res); in brcmstb_dpfe_probe()
883 if (IS_ERR(priv->dmem)) { in brcmstb_dpfe_probe()
/drivers/staging/media/ipu3/
Dipu3-css-fw.h45 } dmem; member
58 } dmem; member
66 } dmem; member
Dipu3-css.c737 &cofs->dmem.iterator, in imgu_css_pipeline_init()
786 &cofs->dmem.ref, in imgu_css_pipeline_init()
816 &cofs->dmem.dvs, sizeof(*cfg_dvs), in imgu_css_pipeline_init()
832 &cofs->dmem.tnr3, in imgu_css_pipeline_init()
863 &sofs->dmem.ref, in imgu_css_pipeline_init()
876 &sofs->dmem.tnr3, in imgu_css_pipeline_init()
1935 abi_buf->payload.s3a.data.dmem.s3a_tbl = b->daddr; in imgu_css_buf_queue()
/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/
Dia_css_sc.host.c42 size = binary->info->mem_offsets.offsets.config->dmem.sc.size; in ia_css_configure_sc()
43 offset = binary->info->mem_offsets.offsets.config->dmem.sc.offset; in ia_css_configure_sc()
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Disp_local.h48 bool dmem; member
Dsp.c75 stall->dmem = in sp_get_state()
Dsp_local.h43 bool dmem; member
Disp.c68 stall->dmem = in isp_get_state()
/drivers/staging/media/atomisp/pci/
Dia_css_isp_states.h60 } dmem; member
Dia_css_3a.h43 } dmem; member
Dia_css_isp_configs.h84 } dmem; member
Dia_css_isp_params.h116 } dmem; member

12