Searched refs:p_mem_area (Results 1 – 1 of 1) sorted by relevance
35 u16 hpios_locked_mem_alloc(struct consistent_dma_area *p_mem_area, u32 size, in hpios_locked_mem_alloc() argument39 p_mem_area->vaddr = in hpios_locked_mem_alloc()40 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, in hpios_locked_mem_alloc()43 if (p_mem_area->vaddr) { in hpios_locked_mem_alloc()45 size, (unsigned int)p_mem_area->dma_handle, in hpios_locked_mem_alloc()46 p_mem_area->vaddr); in hpios_locked_mem_alloc()47 p_mem_area->pdev = &pdev->dev; in hpios_locked_mem_alloc()48 p_mem_area->size = size; in hpios_locked_mem_alloc()53 p_mem_area->size = 0; in hpios_locked_mem_alloc()58 u16 hpios_locked_mem_free(struct consistent_dma_area *p_mem_area) in hpios_locked_mem_free() argument[all …]