Searched refs:mem_desc (Results 1 – 4 of 4) sorted by relevance
/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 …]
|
/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 150 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 …]
|
D | omapfb.h | 225 struct omapfb_mem_desc mem_desc; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_debugfs.c | 2693 struct mem_desc { struct 2701 return ((const struct mem_desc *)a)->base - in mem_desc_cmp() argument 2702 ((const struct mem_desc *)b)->base; in mem_desc_cmp() 2731 struct mem_desc avail[4]; in meminfo_show() 2732 struct mem_desc mem[ARRAY_SIZE(region) + 3]; /* up to 3 holes */ in meminfo_show() 2733 struct mem_desc *md = mem; in meminfo_show() 2788 sort(avail, i, sizeof(struct mem_desc), mem_desc_cmp, NULL); in meminfo_show() 2888 sort(mem, n, sizeof(struct mem_desc), mem_desc_cmp, NULL); in meminfo_show()
|