Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/video/fbdev/omap/
Domapfb_main.c150 fbdev->mem_desc.region[i].size = in ctrl_init()
152 fbdev->mem_desc.region_cnt = i; in ctrl_init()
155 if (!fbdev->mem_desc.region_cnt) { in ctrl_init()
164 fbdev->mem_desc.region_cnt = 1; in ctrl_init()
165 fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); in ctrl_init()
167 r = fbdev->ctrl->init(fbdev, 0, &fbdev->mem_desc); in ctrl_init()
175 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in ctrl_init()
178 fbdev->mem_desc.region[i].paddr, in ctrl_init()
179 fbdev->mem_desc.region[i].vaddr, in ctrl_init()
180 fbdev->mem_desc.region[i].size); in ctrl_init()
[all …]
Domapfb.h225 struct omapfb_mem_desc mem_desc; member
/Linux-v4.19/drivers/media/platform/qcom/venus/
Dhfi_venus.c111 struct mem_desc { struct
120 struct mem_desc qmem; argument
139 struct mem_desc ifaceq_table;
140 struct mem_desc sfr;
339 static int venus_alloc(struct venus_hfi_device *hdev, struct mem_desc *desc, in venus_alloc()
355 static void venus_free(struct venus_hfi_device *hdev, struct mem_desc *mem) in venus_free()
722 struct mem_desc desc = {0}; in venus_interface_queues_init()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c787 struct cudbg_mem_desc *mem_desc) in cudbg_get_mem_region() argument
826 memcpy(mem_desc, &meminfo->mem[i], in cudbg_get_mem_region()
870 struct cudbg_mem_desc mem_desc = { 0 }; in cudbg_get_payload_range() local
879 &mem_desc); in cudbg_get_payload_range()
886 payload->start = mem_desc.base; in cudbg_get_payload_range()
887 payload->end = mem_desc.limit; in cudbg_get_payload_range()
1832 struct cudbg_mem_desc mem_desc; in cudbg_get_ctxt_region_info() local
1845 memset(&mem_desc, 0, sizeof(struct cudbg_mem_desc)); in cudbg_get_ctxt_region_info()
1849 &mem_desc); in cudbg_get_ctxt_region_info()
1853 &mem_desc.base, in cudbg_get_ctxt_region_info()
[all …]