p_mem_area 35 sound/pci/asihpi/hpios.c u16 hpios_locked_mem_alloc(struct consistent_dma_area *p_mem_area, u32 size, p_mem_area 39 sound/pci/asihpi/hpios.c p_mem_area->vaddr = p_mem_area 40 sound/pci/asihpi/hpios.c dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, p_mem_area 43 sound/pci/asihpi/hpios.c if (p_mem_area->vaddr) { p_mem_area 45 sound/pci/asihpi/hpios.c size, (unsigned int)p_mem_area->dma_handle, p_mem_area 46 sound/pci/asihpi/hpios.c p_mem_area->vaddr); p_mem_area 47 sound/pci/asihpi/hpios.c p_mem_area->pdev = &pdev->dev; p_mem_area 48 sound/pci/asihpi/hpios.c p_mem_area->size = size; p_mem_area 53 sound/pci/asihpi/hpios.c p_mem_area->size = 0; p_mem_area 58 sound/pci/asihpi/hpios.c u16 hpios_locked_mem_free(struct consistent_dma_area *p_mem_area) p_mem_area 60 sound/pci/asihpi/hpios.c if (p_mem_area->size) { p_mem_area 61 sound/pci/asihpi/hpios.c dma_free_coherent(p_mem_area->pdev, p_mem_area->size, p_mem_area 62 sound/pci/asihpi/hpios.c p_mem_area->vaddr, p_mem_area->dma_handle); p_mem_area 64 sound/pci/asihpi/hpios.c (unsigned long)p_mem_area->size, p_mem_area 65 sound/pci/asihpi/hpios.c (unsigned int)p_mem_area->dma_handle, p_mem_area 66 sound/pci/asihpi/hpios.c p_mem_area->vaddr); p_mem_area 67 sound/pci/asihpi/hpios.c p_mem_area->size = 0;