Home
last modified time | relevance | path

Searched refs:cpu_addr (Results 1 – 25 of 26) sorted by relevance

12

/arch/s390/kvm/
Dsigp.c46 static int __sigp_sense(struct kvm_vcpu *vcpu, u16 cpu_addr, in __sigp_sense() argument
52 if (cpu_addr >= KVM_MAX_VCPUS) in __sigp_sense()
56 if (fi->local_int[cpu_addr] == NULL) in __sigp_sense()
58 else if (atomic_read(fi->local_int[cpu_addr]->cpuflags) in __sigp_sense()
69 VCPU_EVENT(vcpu, 4, "sensed status of cpu %x rc %x", cpu_addr, rc); in __sigp_sense()
73 static int __sigp_emergency(struct kvm_vcpu *vcpu, u16 cpu_addr) in __sigp_emergency() argument
80 if (cpu_addr >= KVM_MAX_VCPUS) in __sigp_emergency()
90 li = fi->local_int[cpu_addr]; in __sigp_emergency()
106 VCPU_EVENT(vcpu, 4, "sent sigp emerg to cpu %x", cpu_addr); in __sigp_emergency()
110 static int __sigp_stop(struct kvm_vcpu *vcpu, u16 cpu_addr, int store) in __sigp_stop() argument
[all …]
/arch/s390/include/asm/
Dsigp.h72 signal_processor(__u16 cpu_addr, sigp_order_code order_code) in signal_processor() argument
82 : "d" (reg1), "d" (__cpu_logical_map[cpu_addr]), in signal_processor()
91 signal_processor_p(__u32 parameter, __u16 cpu_addr, sigp_order_code order_code) in signal_processor_p() argument
101 : "d" (reg1), "d" (__cpu_logical_map[cpu_addr]), in signal_processor_p()
110 signal_processor_ps(__u32 *statusptr, __u32 parameter, __u16 cpu_addr, in signal_processor_ps() argument
121 : "d" (__cpu_logical_map[cpu_addr]), "a" (order_code) in signal_processor_ps()
Dlowcore.h216 __u16 cpu_addr; /* 0x084 */ member
301 __u16 cpu_addr; /* 0x084 */
Dprocessor.h48 __u16 cpu_addr; member
/arch/avr32/mm/
Ddma-coherent.c109 void *cpu_addr, dma_addr_t handle) in dma_free_coherent() argument
111 void *addr = phys_to_cached(uncached_to_phys(cpu_addr)); in dma_free_coherent()
115 cpu_addr, (unsigned long)handle, (unsigned)size); in dma_free_coherent()
141 void *cpu_addr, dma_addr_t handle) in dma_free_writecombine() argument
145 iounmap(cpu_addr); in dma_free_writecombine()
/arch/ia64/include/asm/
Ddma-mapping.h68 dma_free_noncoherent(struct device *dev, size_t size, void *cpu_addr, in dma_free_noncoherent() argument
71 dma_free_coherent(dev, size, cpu_addr, dma_handle); in dma_free_noncoherent()
74 static inline dma_addr_t dma_map_single(struct device *dev, void *cpu_addr, in dma_map_single() argument
77 return dma_map_single_attrs(dev, cpu_addr, size, dir, NULL); in dma_map_single()
86 static inline void dma_unmap_single(struct device *dev, dma_addr_t cpu_addr, in dma_unmap_single() argument
89 return dma_unmap_single_attrs(dev, cpu_addr, size, dir, NULL); in dma_unmap_single()
/arch/sparc/include/asm/
Ddma-mapping_64.h13 void *cpu_addr, dma_addr_t dma_handle);
14 dma_addr_t (*map_single)(struct device *dev, void *cpu_addr,
44 void *cpu_addr, dma_addr_t dma_handle) in dma_free_coherent() argument
46 dma_ops->free_coherent(dev, size, cpu_addr, dma_handle); in dma_free_coherent()
49 static inline dma_addr_t dma_map_single(struct device *dev, void *cpu_addr, in dma_map_single() argument
53 return dma_ops->map_single(dev, cpu_addr, size, direction); in dma_map_single()
Ddma-mapping_32.h17 void *cpu_addr, dma_addr_t dma_handle);
18 extern dma_addr_t dma_map_single(struct device *dev, void *cpu_addr,
/arch/arm/include/asm/
Ddma-mapping.h116 void *cpu_addr, dma_addr_t handle) in dma_free_noncoherent() argument
178 #define dma_free_writecombine(dev,size,cpu_addr,handle) \ argument
179 dma_free_coherent(dev,size,cpu_addr,handle)
288 static inline dma_addr_t dma_map_single(struct device *dev, void *cpu_addr, in dma_map_single() argument
294 dma_cache_maint(cpu_addr, size, dir); in dma_map_single()
296 return virt_to_dma(dev, cpu_addr); in dma_map_single()
/arch/avr32/include/asm/
Ddma-mapping.h71 void *cpu_addr, dma_addr_t handle);
101 void *cpu_addr, dma_addr_t handle);
117 dma_map_single(struct device *dev, void *cpu_addr, size_t size, in dma_map_single() argument
120 dma_cache_sync(dev, cpu_addr, size, direction); in dma_map_single()
121 return virt_to_bus(cpu_addr); in dma_map_single()
/arch/arm/mm/
Ddma-mapping.c311 void *cpu_addr, dma_addr_t dma_addr, size_t size) in dma_mmap() argument
320 c = arm_vm_region_find(&consistent_head, (unsigned long)cpu_addr); in dma_mmap()
341 void *cpu_addr, dma_addr_t dma_addr, size_t size) in dma_mmap_coherent() argument
344 return dma_mmap(dev, vma, cpu_addr, dma_addr, size); in dma_mmap_coherent()
349 void *cpu_addr, dma_addr_t dma_addr, size_t size) in dma_mmap_writecombine() argument
352 return dma_mmap(dev, vma, cpu_addr, dma_addr, size); in dma_mmap_writecombine()
360 void dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t handle) in dma_free_coherent() argument
370 if (dma_release_from_coherent(dev, get_order(size), cpu_addr)) in dma_free_coherent()
374 kfree(cpu_addr); in dma_free_coherent()
381 c = arm_vm_region_find(&consistent_head, (unsigned long)cpu_addr); in dma_free_coherent()
[all …]
/arch/sparc/kernel/
Ddma.c50 void *cpu_addr, dma_addr_t dma_handle) in dma_free_coherent() argument
55 cpu_addr, dma_handle); in dma_free_coherent()
59 sbus_free_consistent(dev, size, cpu_addr, dma_handle); in dma_free_coherent()
63 dma_addr_t dma_map_single(struct device *dev, void *cpu_addr, in dma_map_single() argument
68 return pci_map_single(to_pci_dev(dev), cpu_addr, in dma_map_single()
71 return sbus_map_single(dev, cpu_addr, size, (int)direction); in dma_map_single()
/arch/alpha/kernel/
Dpci_iommu.c230 pci_map_single_1(struct pci_dev *pdev, void *cpu_addr, size_t size, in pci_map_single_1() argument
242 paddr = __pa(cpu_addr); in pci_map_single_1()
251 cpu_addr, size, ret, __builtin_return_address(0)); in pci_map_single_1()
262 cpu_addr, size, ret, __builtin_return_address(0)); in pci_map_single_1()
300 ret += (unsigned long)cpu_addr & ~PAGE_MASK; in pci_map_single_1()
303 cpu_addr, size, npages, ret, __builtin_return_address(0)); in pci_map_single_1()
309 pci_map_single(struct pci_dev *pdev, void *cpu_addr, size_t size, int dir) in pci_map_single() argument
317 return pci_map_single_1(pdev, cpu_addr, size, dac_allowed); in pci_map_single()
419 void *cpu_addr; in __pci_alloc_consistent() local
425 cpu_addr = (void *)__get_free_pages(gfp, order); in __pci_alloc_consistent()
[all …]
Dpci-noop.c119 pci_free_consistent(struct pci_dev *pdev, size_t size, void *cpu_addr, in pci_free_consistent() argument
125 pci_map_single(struct pci_dev *pdev, void *cpu_addr, size_t size, in pci_map_single() argument
/arch/powerpc/include/asm/
Ddma-mapping.h167 void *cpu_addr, in dma_map_single_attrs() argument
176 return dma_ops->map_page(dev, virt_to_page(cpu_addr), in dma_map_single_attrs()
177 (unsigned long)cpu_addr % PAGE_SIZE, size, in dma_map_single_attrs()
252 void *cpu_addr, dma_addr_t dma_handle) in dma_free_coherent() argument
257 dma_ops->free_coherent(dev, size, cpu_addr, dma_handle); in dma_free_coherent()
260 static inline dma_addr_t dma_map_single(struct device *dev, void *cpu_addr, in dma_map_single() argument
264 return dma_map_single_attrs(dev, cpu_addr, size, direction, NULL); in dma_map_single()
/arch/powerpc/kernel/
Dpci-common.c681 unsigned long long pci_addr, cpu_addr, pci_next, cpu_next, size; in pci_process_bridge_OF_ranges() local
698 cpu_addr = of_translate_address(dev, ranges + 3); in pci_process_bridge_OF_ranges()
707 if (cpu_addr == OF_BAD_ADDR || size == 0) in pci_process_bridge_OF_ranges()
718 cpu_next != cpu_addr + size) in pci_process_bridge_OF_ranges()
729 cpu_addr, cpu_addr + size - 1, pci_addr); in pci_process_bridge_OF_ranges()
743 hose->io_base_virt = ioremap(cpu_addr, size); in pci_process_bridge_OF_ranges()
754 hose->io_base_phys = cpu_addr - pci_addr; in pci_process_bridge_OF_ranges()
765 cpu_addr, cpu_addr + size - 1, pci_addr, in pci_process_bridge_OF_ranges()
776 isa_mb = cpu_addr; in pci_process_bridge_OF_ranges()
779 isa_mem_base = cpu_addr; in pci_process_bridge_OF_ranges()
[all …]
/arch/s390/hypfs/
Dhypfs_diag.c169 __u16 cpu_addr; member
179 __u16 cpu_addr; member
218 return ((struct cpu_info *)hdr)->cpu_addr; in cpu_info__cpu_addr()
220 return ((struct x_cpu_info *)hdr)->cpu_addr; in cpu_info__cpu_addr()
283 __u16 cpu_addr; member
292 __u16 cpu_addr; member
311 return ((struct phys_cpu *)hdr)->cpu_addr; in phys_cpu__cpu_addr()
313 return ((struct x_phys_cpu *)hdr)->cpu_addr; in phys_cpu__cpu_addr()
/arch/um/include/asm/
Ddma-mapping.h29 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in dma_free_coherent() argument
36 dma_map_single(struct device *dev, void *cpu_addr, size_t size, in dma_map_single() argument
/arch/ia64/sn/pci/
Dpci_dma.c139 void sn_dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in sn_dma_free_coherent() argument
148 free_pages((unsigned long)cpu_addr, get_order(size)); in sn_dma_free_coherent()
176 dma_addr_t sn_dma_map_single_attrs(struct device *dev, void *cpu_addr, in sn_dma_map_single_attrs() argument
190 phys_addr = __pa(cpu_addr); in sn_dma_map_single_attrs()
/arch/s390/kernel/
Dprocessor.c24 cpuinfo->cpu_nr, cpuinfo->cpu_addr, cpuinfo->cpu_id.ident); in print_cpu_info()
Dsmp.c378 u16 boot_cpu_addr, cpu_addr; in smp_detect_cpus() local
382 boot_cpu_addr = S390_lowcore.cpu_data.cpu_addr; in smp_detect_cpus()
413 cpu_addr = info->cpu[cpu].address; in smp_detect_cpus()
414 if (cpu_addr == boot_cpu_addr) in smp_detect_cpus()
416 __cpu_logical_map[CPU_INIT_NO] = cpu_addr; in smp_detect_cpus()
421 smp_get_save_area(c_cpus, cpu_addr); in smp_detect_cpus()
Dsetup.c118 S390_lowcore.cpu_data.cpu_addr = addr; in cpu_init()
819 __cpu_logical_map[0] = S390_lowcore.cpu_data.cpu_addr; in setup_arch()
/arch/cris/include/asm/
Ddma-mapping.h34 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in dma_free_coherent() argument
/arch/powerpc/platforms/cell/
Diommu.c902 u64 cpu_addr, size, best_size, dev_addr = OF_BAD_ADDR; in cell_iommu_get_fixed_address() local
938 cpu_addr = of_translate_dma_address(np, ranges + i + naddr); in cell_iommu_get_fixed_address()
941 if (cpu_addr == 0 && size > best_size) { in cell_iommu_get_fixed_address()
/arch/powerpc/sysdev/
Dppc4xx_pci.c116 u64 cpu_addr = of_translate_dma_address(hose->dn, ranges + 3); in ppc4xx_parse_dma_ranges() local
119 if (cpu_addr == OF_BAD_ADDR || size == 0) in ppc4xx_parse_dma_ranges()
129 if (cpu_addr != 0 || pci_addr > 0xffffffff) { in ppc4xx_parse_dma_ranges()
133 pci_addr, pci_addr + size - 1, cpu_addr); in ppc4xx_parse_dma_ranges()

12