Searched refs:p_mem_area (Results 1 – 1 of 1) sorted by relevance
46 u16 hpios_locked_mem_alloc(struct consistent_dma_area *p_mem_area, u32 size, in hpios_locked_mem_alloc() argument50 p_mem_area->vaddr = in hpios_locked_mem_alloc()51 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, in hpios_locked_mem_alloc()54 if (p_mem_area->vaddr) { in hpios_locked_mem_alloc()56 size, (unsigned int)p_mem_area->dma_handle, in hpios_locked_mem_alloc()57 p_mem_area->vaddr); in hpios_locked_mem_alloc()58 p_mem_area->pdev = &pdev->dev; in hpios_locked_mem_alloc()59 p_mem_area->size = size; in hpios_locked_mem_alloc()64 p_mem_area->size = 0; in hpios_locked_mem_alloc()69 u16 hpios_locked_mem_free(struct consistent_dma_area *p_mem_area) in hpios_locked_mem_free() argument[all …]