Home
last modified time | relevance | path

Searched full:dmem (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_dmem.c122 struct nouveau_dmem *dmem = chunk->drm->dmem; in nouveau_dmem_folio_free() local
124 spin_lock(&dmem->lock); in nouveau_dmem_folio_free()
126 page->zone_device_data = dmem->free_folios; in nouveau_dmem_folio_free()
127 dmem->free_folios = folio; in nouveau_dmem_folio_free()
129 page->zone_device_data = dmem->free_pages; in nouveau_dmem_folio_free()
130 dmem->free_pages = page; in nouveau_dmem_folio_free()
139 spin_unlock(&dmem->lock); in nouveau_dmem_folio_free()
171 if (drm->dmem->migrate.copy_func(drm, folio_nr_pages(sfolio), in nouveau_dmem_copy_folio()
186 struct nouveau_dmem *dmem = drm->dmem; in nouveau_dmem_migrate_to_ram() local
267 nouveau_fence_new(&fence, dmem->migrate.chan); in nouveau_dmem_migrate_to_ram()
[all …]
/linux/drivers/staging/media/ipu3/
H A Dipu3-css-fw.h49 } dmem; member
62 } dmem; member
70 } dmem; member
106 u32 init_dmem_data; /* data sect config, stored to dmem */
107 u32 per_frame_data; /* Per frame data, stored to dmem */
109 u32 output; /* SP output data, loaded by dmem */
125 u32 ddr_parameter_address; /* acc param ddrptr, sp dmem */
126 u32 ddr_parameter_size; /* acc param size, sp dmem */
H A Dipu3-abi.h1523 u32 data_target; /* Start of data in SP dmem */
1526 u32 bss_target; /* Start position of bss in SP dmem */
1598 u32 isp_addresses; /* Address in ISP dmem */
1600 u32 in_frame; /* Address in ISP dmem */
1601 u32 out_frame; /* Address in ISP dmem */
1602 u32 in_data; /* Address in ISP dmem */
1603 u32 out_data; /* Address in ISP dmem */
1604 u32 sh_dma_cmd_ptr; /* In ISP dmem */
1938 } dmem; member
2004 u32 dmem_data_addr; /* data segment address in dmem */
[all …]
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c54 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem() argument
57 dmem->q_len = q_len; in nicvf_alloc_q_desc_mem()
58 dmem->size = (desc_size * q_len) + align_bytes; in nicvf_alloc_q_desc_mem()
60 dmem->unalign_base = dma_alloc_coherent(&nic->pdev->dev, dmem->size, in nicvf_alloc_q_desc_mem()
61 &dmem->dma, GFP_KERNEL); in nicvf_alloc_q_desc_mem()
62 if (!dmem->unalign_base) in nicvf_alloc_q_desc_mem()
66 dmem->phys_base = NICVF_ALIGNED_ADDR((u64)dmem->dma, align_bytes); in nicvf_alloc_q_desc_mem()
67 dmem->base = dmem->unalign_base + (dmem->phys_base - dmem->dma); in nicvf_alloc_q_desc_mem()
72 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem() argument
74 if (!dmem) in nicvf_free_q_desc_mem()
[all …]
H A Dnicvf_queues.h229 struct q_desc_mem dmem; member
260 struct q_desc_mem dmem; member
284 struct q_desc_mem dmem; member
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/yuv444_io_ls/
H A Dia_css_yuv444_io.host.c33 size_get = binary->info->mem_offsets.offsets.param->dmem.get.size; in ia_css_yuv444_io_config()
34 offset = binary->info->mem_offsets.offsets.param->dmem.get.offset; in ia_css_yuv444_io_config()
62 size_put = binary->info->mem_offsets.offsets.param->dmem.put.size; in ia_css_yuv444_io_config()
63 offset = binary->info->mem_offsets.offsets.param->dmem.put.offset; in ia_css_yuv444_io_config()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/bayer_io_ls/
H A Dia_css_bayer_io.host.c32 size_get = binary->info->mem_offsets.offsets.param->dmem.get.size; in ia_css_bayer_io_config()
33 offset = binary->info->mem_offsets.offsets.param->dmem.get.offset; in ia_css_bayer_io_config()
60 size_put = binary->info->mem_offsets.offsets.param->dmem.put.size; in ia_css_bayer_io_config()
61 offset = binary->info->mem_offsets.offsets.param->dmem.put.offset; in ia_css_bayer_io_config()
/linux/arch/arm/boot/dts/st/
H A Dstih418-b2264.dts25 /* u-boot puts hpen in SBC dmem at 0xb8 offset */
30 /* u-boot puts hpen in SBC dmem at 0xb8 offset */
35 /* u-boot puts hpen in SBC dmem at 0xb8 offset */
40 /* u-boot puts hpen in SBC dmem at 0xb8 offset */
/linux/drivers/memory/
H A Dbrcmstb_dpfe.c151 * 4 DMEM byte size
153 * DMEM
183 void __iomem *dmem; member
407 ptr = priv->dmem + offset; in get_msg_ptr()
570 u32 __iomem *dmem = priv->dmem; in __verify_fw_checksum() local
587 sum += readl_relaxed(dmem + i); in __verify_fw_checksum()
626 const u32 *dmem, *imem; in brcmstb_dpfe_download_firmware() local
677 /* DMEM follows after IMEM. */ in brcmstb_dpfe_download_firmware()
678 dmem = fw_blob + imem_size; in brcmstb_dpfe_download_firmware()
680 ret = __write_firmware(priv->dmem, dmem, dmem_size, is_big_endian); in brcmstb_dpfe_download_firmware()
[all …]
/linux/Documentation/gpu/nova/core/
H A Dfalcon.rst21 Falcons have separate instruction and data memories (IMEM/DMEM) and provide a
62 memory into the Falcon's IMEM/DMEM. Once the HS ucode is loaded, it is verified
94 Falcons have separate instruction and data memories (IMEM/DMEM)
96 DMA transfers to/from the IMEM/DMEM memory inside the Falcon via the FBIF
153 | | | IMEM | | DMEM | |<-----+
H A Dfwsec.rst34 of headers, data sections (DMEM) and instruction code sections (IMEM). All these
107 | | | DMEM Section (Data) | | | |
140 | | | | DMEM Mapper (ID 4) |<|----+-----+ |
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dbrcm,dpfe-cpu.yaml30 - const: dpfe-dmem
47 reg-names = "dpfe-cpu", "dpfe-dmem", "dpfe-imem";
/linux/Documentation/devicetree/bindings/dma/
H A Dst_fdma.txt15 - reg-names : Must contain "slimcore", "dmem", "peripherals", "imem" entries
31 reg-names = "slimcore", "dmem", "peripherals", "imem";
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dfalcon.h8 DMEM, enumerator
17 case DMEM: return "dmem"; in nvkm_falcon_mem()
/linux/tools/testing/selftests/vfio/lib/drivers/nv_falcon/
H A Dhw.h24 /* DMEM Control Register Flags */
28 /* Falcon DMEM port offsets (for port 0) */
88 /* EMEM Control Register Flags (same as DMEM) */
/linux/drivers/remoteproc/
H A Dst_slim_rproc.c33 /* DMEM registers */
53 [ST_SLIM_DMEM] = "dmem",
247 /* get imem and dmem */ in st_slim_rproc_alloc()
/linux/rust/kernel/
H A Ddma.rs393 /// let mut dmem: CoherentBox<u64> = CoherentBox::zeroed(dev, GFP_KERNEL)?;
394 /// *dmem = 42;
395 /// let dmem: Coherent<u64> = dmem.into();
413 /// let mut dmem: CoherentBox<[u64]> = CoherentBox::zeroed_slice(dev, 4, GFP_KERNEL)?;
414 /// dmem.fill(42);
415 /// let dmem: Coherent<[u64]> = dmem.into(); in zeroed_slice_with_attrs()
750 let dmem = Self::alloc_with_attrs(dev, gfp_flags, dma_attrs)?;
751 let ptr = dmem
789 let dmem = Self::alloc_with_attrs(dev, gfp_flags, dma_attrs)?; init_with_attrs() localVariable
[all...]
/linux/Documentation/core-api/
H A Dcgroup.rst7 .. kernel-doc:: kernel/cgroup/dmem.c
/linux/kernel/cgroup/
H A DMakefile10 obj-$(CONFIG_CGROUP_DMEM) += dmem.o
/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dbase.c49 case DMEM: return falcon->func->dmem_dma; in nvkm_falcon_dma()
69 if (mem_type == DMEM) { in nvkm_falcon_dma_wr()
126 case DMEM: in nvkm_falcon_pio()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dfwsec.c92 const u8 *dmem = fw->fw.img + fw->dmem_base_img; in nvkm_gsp_fwsec_patch() local
106 dmemmap = (void *)(dmem + app->v1.dmem_base); in nvkm_gsp_fwsec_patch()
109 frtscmd = (void *)(dmem + dmemmap->v3.cmd_in_buffer_offset); in nvkm_gsp_fwsec_patch()
/linux/include/linux/
H A Dcgroup_subsys.h69 SUBSYS(dmem)
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dfw.c245 /* Polling DMEM code done */ in _rtl92s_firmware_checkready()
254 pr_err("Polling DMEM code done fail ! cpustatus(%#x)\n", in _rtl92s_firmware_checkready()
260 "DMEM code download success, cpustatus(%#x)\n", in _rtl92s_firmware_checkready()
/linux/arch/arm/mach-sti/
H A Dplatsmp.c82 * cpu-release-addr is usually configured in SBC DMEM but can in sti_smp_prepare_cpus()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dgp108.c47 return nvkm_falcon_pio_wr(fw->falcon, (u8 *)&hsdesc, 0, 0, DMEM, 0, sizeof(hsdesc), 0, 0); in gp108_acr_hsfw_load_bld()

12