Searched refs:mem_desc (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/scsi/esas2r/ |
D | esas2r_init.c | 47 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-v5.10/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 133 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 …]
|
D | omapfb.h | 212 struct omapfb_mem_desc mem_desc; member
|
/Linux-v5.10/drivers/media/platform/qcom/venus/ |
D | hfi_venus.c | 97 struct mem_desc { struct 106 struct mem_desc qmem; argument 125 struct mem_desc ifaceq_table; 126 struct mem_desc sfr; 325 static int venus_alloc(struct venus_hfi_device *hdev, struct mem_desc *desc, in venus_alloc() 341 static void venus_free(struct venus_hfi_device *hdev, struct mem_desc *mem) in venus_free() 708 struct mem_desc desc = {0}; in venus_interface_queues_init()
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 1183 struct cudbg_mem_desc *mem_desc) in cudbg_get_mem_region() argument 1216 memcpy(mem_desc, &meminfo->mem[i], in cudbg_get_mem_region() 1260 struct cudbg_mem_desc mem_desc = { 0 }; in cudbg_get_payload_range() local 1269 &mem_desc); in cudbg_get_payload_range() 1276 payload->start = mem_desc.base; in cudbg_get_payload_range() 1277 payload->end = mem_desc.limit; in cudbg_get_payload_range() 2246 struct cudbg_mem_desc mem_desc; in cudbg_get_ctxt_region_info() local 2259 memset(&mem_desc, 0, sizeof(struct cudbg_mem_desc)); in cudbg_get_ctxt_region_info() 2263 &mem_desc); in cudbg_get_ctxt_region_info() 2267 &mem_desc.base, in cudbg_get_ctxt_region_info() [all …]
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 4498 struct phys_mem_desc *mem_desc = &ilt_pages[page_id]; in qed_ilt_dump_pages_range() local 4518 mem_desc->virt_addr, mem_desc->size); in qed_ilt_dump_pages_range() 4519 offset += BYTES_TO_DWORDS(mem_desc->size); in qed_ilt_dump_pages_range()
|