Home
last modified time | relevance | path

Searched refs:cpuaddr (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/ia64/sn/io/machvec/
Dpci_dma.c147 void *cpuaddr; in sn_pci_alloc_consistent() local
172 if(!(cpuaddr = (void *)__get_free_pages(GFP_ATOMIC, get_order(size)))) in sn_pci_alloc_consistent()
176 phys_addr = __pa(cpuaddr); in sn_pci_alloc_consistent()
193 free_pages((unsigned long) cpuaddr, get_order(size)); in sn_pci_alloc_consistent()
215 return cpuaddr; in sn_pci_alloc_consistent()
/linux-2.4.37.9/drivers/sound/
Dvia82cxxx_audio.c252 void *cpuaddr; member
824 chan->pgtbl[i].cpuaddr = pci_alloc_consistent (card->pdev, PAGE_SIZE, in via_chan_buffer_init()
827 if (!chan->pgtbl[i].cpuaddr) { in via_chan_buffer_init()
833 memset (chan->pgtbl[i].cpuaddr, 0xBC, chan->frag_size); in via_chan_buffer_init()
839 virt_to_phys(chan->pgtbl[i].cpuaddr), in via_chan_buffer_init()
840 chan->pgtbl[i].cpuaddr); in via_chan_buffer_init()
939 if (chan->pgtbl[i].cpuaddr) { in via_chan_buffer_free()
941 chan->pgtbl[i].cpuaddr, in via_chan_buffer_free()
943 chan->pgtbl[i].cpuaddr = NULL; in via_chan_buffer_free()
2153 assert ((((unsigned long)chan->pgtbl[pgoff].cpuaddr) % PAGE_SIZE) == 0); in via_mm_nopage()
[all …]
/linux-2.4.37.9/drivers/atm/
Dhe.c807 void *cpuaddr; in he_init_group() local
810 cpuaddr = pci_pool_alloc(he_dev->rbps_pool, SLAB_KERNEL|SLAB_DMA, &dma_handle); in he_init_group()
811 if (cpuaddr == NULL) in he_init_group()
814 cpuaddr = he_dev->rbps_pages + (i * CONFIG_RBPS_BUFSIZE); in he_init_group()
818 he_dev->rbps_virt[i].virt = cpuaddr; in he_init_group()
871 void *cpuaddr; in he_init_group() local
874 cpuaddr = pci_pool_alloc(he_dev->rbpl_pool, SLAB_KERNEL|SLAB_DMA, &dma_handle); in he_init_group()
875 if (cpuaddr == NULL) in he_init_group()
878 cpuaddr = he_dev->rbpl_pages + (i * CONFIG_RBPL_BUFSIZE); in he_init_group()
882 he_dev->rbpl_virt[i].virt = cpuaddr; in he_init_group()
[all …]