Searched refs:cpuaddr (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/arch/ia64/sn/pci/ |
H A D | pci_dma.c | 82 void *cpuaddr; sn_dma_alloc_coherent() local 99 cpuaddr = page_address(p); sn_dma_alloc_coherent() 103 cpuaddr = (void *)__get_free_pages(flags, get_order(size)); sn_dma_alloc_coherent() 105 if (unlikely(!cpuaddr)) sn_dma_alloc_coherent() 108 memset(cpuaddr, 0x0, size); sn_dma_alloc_coherent() 111 phys_addr = __pa(cpuaddr); sn_dma_alloc_coherent() 123 free_pages((unsigned long)cpuaddr, get_order(size)); sn_dma_alloc_coherent() 127 return cpuaddr; sn_dma_alloc_coherent()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
H A D | gk20a.c | 67 void *cpuaddr; member in struct:gk20a_instobj_dma 151 if (unlikely(!node->cpuaddr)) gk20a_instobj_dtor_dma() 154 dma_free_attrs(dev, _node->mem->size << PAGE_SHIFT, node->cpuaddr, gk20a_instobj_dtor_dma() 218 node->cpuaddr = dma_alloc_attrs(dev, npages << PAGE_SHIFT, gk20a_instobj_ctor_dma() 221 if (!node->cpuaddr) { gk20a_instobj_ctor_dma()
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pci-mvebu.c | 842 #define DT_CPUADDR_TO_TARGET(cpuaddr) (((cpuaddr) >> 56) & 0xFF) 843 #define DT_CPUADDR_TO_ATTR(cpuaddr) (((cpuaddr) >> 48) & 0xFF) 868 u64 cpuaddr = of_read_number(range + na, pna); mvebu_get_tgt_attr() local 879 *tgt = DT_CPUADDR_TO_TARGET(cpuaddr); mvebu_get_tgt_attr() 880 *attr = DT_CPUADDR_TO_ATTR(cpuaddr); mvebu_get_tgt_attr()
|
/linux-4.1.27/arch/s390/kvm/ |
H A D | interrupt.c | 2223 int cpuaddr; kvm_s390_get_irq_state() local 2245 for_each_set_bit(cpuaddr, sigp_emerg_pending, KVM_MAX_VCPUS) { for_each_set_bit() 2250 irq.u.emerg.code = cpuaddr; for_each_set_bit()
|
Completed in 349 milliseconds