Home
last modified time | relevance | path

Searched refs:mem_desc (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/scsi/esas2r/
Desas2r_init.c47 struct esas2r_mem_desc *mem_desc, in esas2r_initmem_alloc() argument
50 mem_desc->esas2r_param = mem_desc->size + align; in esas2r_initmem_alloc()
51 mem_desc->virt_addr = NULL; in esas2r_initmem_alloc()
52 mem_desc->phys_addr = 0; in esas2r_initmem_alloc()
53 mem_desc->esas2r_data = dma_alloc_coherent(&a->pcid->dev, in esas2r_initmem_alloc()
54 (size_t)mem_desc-> in esas2r_initmem_alloc()
56 (dma_addr_t *)&mem_desc-> in esas2r_initmem_alloc()
60 if (mem_desc->esas2r_data == NULL) { in esas2r_initmem_alloc()
65 int)mem_desc->esas2r_param); in esas2r_initmem_alloc()
69 mem_desc->virt_addr = PTR_ALIGN(mem_desc->esas2r_data, align); in esas2r_initmem_alloc()
[all …]
/linux-6.12.1/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c1110 struct dma_memory_desc *mem_desc; in mpi3mr_free_ioctl_dma_memory() local
1117 mem_desc = &mrioc->ioctl_sge[i]; in mpi3mr_free_ioctl_dma_memory()
1118 if (mem_desc->addr) { in mpi3mr_free_ioctl_dma_memory()
1120 mem_desc->addr, in mpi3mr_free_ioctl_dma_memory()
1121 mem_desc->dma_addr); in mpi3mr_free_ioctl_dma_memory()
1122 mem_desc->addr = NULL; in mpi3mr_free_ioctl_dma_memory()
1127 mem_desc = &mrioc->ioctl_chain_sge; in mpi3mr_free_ioctl_dma_memory()
1129 if (mem_desc->addr) { in mpi3mr_free_ioctl_dma_memory()
1130 dma_free_coherent(&mrioc->pdev->dev, mem_desc->size, in mpi3mr_free_ioctl_dma_memory()
1131 mem_desc->addr, mem_desc->dma_addr); in mpi3mr_free_ioctl_dma_memory()
[all …]
/linux-6.12.1/drivers/video/fbdev/omap/
Domapfb_main.c133 fbdev->mem_desc.region[i].size = in ctrl_init()
135 fbdev->mem_desc.region_cnt = i; in ctrl_init()
138 if (!fbdev->mem_desc.region_cnt) { in ctrl_init()
147 fbdev->mem_desc.region_cnt = 1; in ctrl_init()
148 fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); in ctrl_init()
150 r = fbdev->ctrl->init(fbdev, 0, &fbdev->mem_desc); in ctrl_init()
158 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in ctrl_init()
161 fbdev->mem_desc.region[i].paddr, in ctrl_init()
162 fbdev->mem_desc.region[i].vaddr, in ctrl_init()
163 fbdev->mem_desc.region[i].size); in ctrl_init()
[all …]
Domapfb.h214 struct omapfb_mem_desc mem_desc; member
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dhfi_venus.c97 struct mem_desc { struct
106 struct mem_desc qmem; argument
125 struct mem_desc ifaceq_table;
126 struct mem_desc sfr;
334 static int venus_alloc(struct venus_hfi_device *hdev, struct mem_desc *desc, in venus_alloc()
350 static void venus_free(struct venus_hfi_device *hdev, struct mem_desc *mem) in venus_free()
782 struct mem_desc desc = {0}; in venus_interface_queues_init()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1184 struct cudbg_mem_desc *mem_desc) in cudbg_get_mem_region() argument
1217 memcpy(mem_desc, &meminfo->mem[i], in cudbg_get_mem_region()
1261 struct cudbg_mem_desc mem_desc = { 0 }; in cudbg_get_payload_range() local
1270 &mem_desc); in cudbg_get_payload_range()
1277 payload->start = mem_desc.base; in cudbg_get_payload_range()
1278 payload->end = mem_desc.limit; in cudbg_get_payload_range()
2262 struct cudbg_mem_desc mem_desc; in cudbg_get_ctxt_region_info() local
2275 memset(&mem_desc, 0, sizeof(struct cudbg_mem_desc)); in cudbg_get_ctxt_region_info()
2279 &mem_desc); in cudbg_get_ctxt_region_info()
2283 &mem_desc.base, in cudbg_get_ctxt_region_info()
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_debug.c4580 struct phys_mem_desc *mem_desc = NULL; in qed_ilt_dump_pages_range() local
4590 mem_desc = &ilt_pages[page_id]; in qed_ilt_dump_pages_range()
4609 (offset + BYTES_TO_DWORDS(mem_desc->size) > in qed_ilt_dump_pages_range()
4611 if (offset + BYTES_TO_DWORDS(mem_desc->size) > in qed_ilt_dump_pages_range()
4616 mem_desc->virt_addr, in qed_ilt_dump_pages_range()
4626 mem_desc->virt_addr, mem_desc->size); in qed_ilt_dump_pages_range()
4627 offset += BYTES_TO_DWORDS(mem_desc->size); in qed_ilt_dump_pages_range()