Home
last modified time | relevance | path

Searched refs:addrp (Results 1 – 11 of 11) sorted by relevance

/arch/mips/pci/
Dops-loongson3.c21 void *addrp; in loongson3_pci_config_access() local
30 addrp = (void *)(TO_UNCAC(HT1LO_PCICFG_BASE) | (addr & 0xffff)); in loongson3_pci_config_access()
34 addrp = (void *)(TO_UNCAC(HT1LO_PCICFG_BASE_TP1) | (addr)); in loongson3_pci_config_access()
39 writel(*data, addrp); in loongson3_pci_config_access()
41 *data = readl(addrp); in loongson3_pci_config_access()
Dops-bonito64.c44 void *addrp; in bonito64_pcibios_config_access() local
71 addrp = CFG_SPACE_REG(addr & 0xffff); in bonito64_pcibios_config_access()
73 writel(cpu_to_le32(*data), addrp); in bonito64_pcibios_config_access()
77 *data = le32_to_cpu(readl(addrp)); in bonito64_pcibios_config_access()
Dops-loongson2.c43 void *addrp; in loongson_pcibios_config_access() local
94 addrp = CFG_SPACE_REG(addr & 0xffff); in loongson_pcibios_config_access()
96 writel(cpu_to_le32(*data), addrp); in loongson_pcibios_config_access()
98 *data = le32_to_cpu(readl(addrp)); in loongson_pcibios_config_access()
/arch/microblaze/kernel/
Dprom.c83 const unsigned int *addrp; in early_init_dt_scan_chosen_serial() local
87 addrp = of_get_flat_dt_prop(node, "reg", &l); in early_init_dt_scan_chosen_serial()
88 return be32_to_cpup(addrp); /* return address */ in early_init_dt_scan_chosen_serial()
/arch/powerpc/kernel/
Dlegacy_serial.c165 const __be32 *addrp; in add_legacy_soc_port() local
183 addrp = of_get_address(soc_dev, 0, NULL, NULL); in add_legacy_soc_port()
184 if (addrp == NULL) in add_legacy_soc_port()
187 addr = of_translate_address(soc_dev, addrp); in add_legacy_soc_port()
254 const __be32 *addrp; in add_legacy_pci_port() local
271 addrp = of_get_pci_address(pci_dev, 0, NULL, &flags); in add_legacy_pci_port()
272 if (addrp == NULL) in add_legacy_pci_port()
277 addr = of_translate_address(pci_dev, addrp); in add_legacy_pci_port()
287 base = of_read_number(&addrp[2], 1); in add_legacy_pci_port()
/arch/powerpc/platforms/pseries/
Dsetup.c129 const u32 *addrp; in pseries_setup_i8259_cascade() local
159 addrp = of_get_property(np, "8259-interrupt-acknowledge", NULL); in pseries_setup_i8259_cascade()
160 if (addrp == NULL) in pseries_setup_i8259_cascade()
163 intack = addrp[naddr-1]; in pseries_setup_i8259_cascade()
165 intack |= ((unsigned long)addrp[naddr-2]) << 32; in pseries_setup_i8259_cascade()
/arch/powerpc/platforms/chrp/
Dsetup.c497 const unsigned int *addrp = of_get_property(np, in chrp_find_8259() local
500 if (addrp == NULL) in chrp_find_8259()
502 chrp_int_ack = addrp[of_n_addr_cells(np)-1]; in chrp_find_8259()
/arch/powerpc/platforms/powermac/
Dlow_i2c.c491 const u32 *psteps, *prate, *addrp; in kw_i2c_host_init() local
505 addrp = of_get_property(np, "AAPL,address", NULL); in kw_i2c_host_init()
506 if (addrp == NULL) { in kw_i2c_host_init()
543 host->base = ioremap((*addrp), 0x1000); in kw_i2c_host_init()
563 *addrp, host->irq, np->full_name); in kw_i2c_host_init()
Dfeature.c2569 const u32 *addrp; in probe_uninorth() local
2592 addrp = of_get_property(uninorth_node, "reg", NULL); in probe_uninorth()
2593 if (addrp == NULL) in probe_uninorth()
2595 address = of_translate_address(uninorth_node, addrp); in probe_uninorth()
2640 const u32 *addrp, *revp; in probe_one_macio() local
2664 addrp = of_get_pci_address(node, 0, &size, NULL); in probe_one_macio()
2665 if (addrp == NULL) { in probe_one_macio()
2670 addr = of_translate_address(node, addrp); in probe_one_macio()
/arch/mips/kernel/
Dptrace.c687 void __user *addrp = (void __user *) addr; in arch_ptrace() local
888 ret = ptrace_get_watch_regs(child, addrp); in arch_ptrace()
892 ret = ptrace_set_watch_regs(child, addrp); in arch_ptrace()
/arch/powerpc/perf/
Dcore-book3s.c97 static inline void perf_get_data_addr(struct pt_regs *regs, u64 *addrp) { } in perf_get_data_addr() argument
172 static inline void perf_get_data_addr(struct pt_regs *regs, u64 *addrp) in perf_get_data_addr() argument
193 *addrp = mfspr(SPRN_SDAR); in perf_get_data_addr()