Home
last modified time | relevance | path

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

/arch/mips/pci/
Dops-bonito64.c32 void *addrp; in bonito64_pcibios_config_access() local
59 addrp = CFG_SPACE_REG(addr & 0xffff); in bonito64_pcibios_config_access()
61 writel(cpu_to_le32(*data), addrp); in bonito64_pcibios_config_access()
65 *data = le32_to_cpu(readl(addrp)); in bonito64_pcibios_config_access()
Dops-loongson2.c40 void *addrp; in loongson_pcibios_config_access() local
91 addrp = CFG_SPACE_REG(addr & 0xffff); in loongson_pcibios_config_access()
93 writel(cpu_to_le32(*data), addrp); in loongson_pcibios_config_access()
95 *data = le32_to_cpu(readl(addrp)); in loongson_pcibios_config_access()
/arch/powerpc/kernel/
Dlegacy_serial.c166 const __be32 *addrp; in add_legacy_soc_port() local
184 addrp = of_get_address(soc_dev, 0, NULL, NULL); in add_legacy_soc_port()
185 if (addrp == NULL) in add_legacy_soc_port()
188 addr = of_translate_address(soc_dev, addrp); in add_legacy_soc_port()
256 const __be32 *addrp; in add_legacy_pci_port() local
273 addrp = of_get_pci_address(pci_dev, 0, NULL, &flags); in add_legacy_pci_port()
274 if (addrp == NULL) in add_legacy_pci_port()
279 addr = of_translate_address(pci_dev, addrp); in add_legacy_pci_port()
289 base = of_read_number(&addrp[2], 1); in add_legacy_pci_port()
/arch/powerpc/platforms/powernv/
Dopal-prd.c58 const __be32 *addrp; in opal_prd_range_is_valid() local
61 addrp = of_get_address(node, 0, &range_size, NULL); in opal_prd_range_is_valid()
63 range_addr = of_read_number(addrp, 2); in opal_prd_range_is_valid()
/arch/powerpc/platforms/pseries/
Dsetup.c186 const u32 *addrp; in pseries_setup_i8259_cascade() local
216 addrp = of_get_property(np, "8259-interrupt-acknowledge", NULL); in pseries_setup_i8259_cascade()
217 if (addrp == NULL) in pseries_setup_i8259_cascade()
220 intack = addrp[naddr-1]; in pseries_setup_i8259_cascade()
222 intack |= ((unsigned long)addrp[naddr-2]) << 32; in pseries_setup_i8259_cascade()
/arch/powerpc/platforms/chrp/
Dsetup.c482 const unsigned int *addrp = of_get_property(np, in chrp_find_8259() local
485 if (addrp == NULL) in chrp_find_8259()
487 chrp_int_ack = addrp[of_n_addr_cells(np)-1]; in chrp_find_8259()
/arch/powerpc/platforms/powermac/
Dlow_i2c.c488 const u32 *psteps, *prate, *addrp; in kw_i2c_host_init() local
502 addrp = of_get_property(np, "AAPL,address", NULL); in kw_i2c_host_init()
503 if (addrp == NULL) { in kw_i2c_host_init()
538 host->base = ioremap((*addrp), 0x1000); in kw_i2c_host_init()
558 *addrp, host->irq, np); in kw_i2c_host_init()
Dfeature.c2549 const u32 *addrp; in probe_uninorth() local
2572 addrp = of_get_property(uninorth_node, "reg", NULL); in probe_uninorth()
2573 if (addrp == NULL) in probe_uninorth()
2575 address = of_translate_address(uninorth_node, addrp); in probe_uninorth()
2620 const u32 *addrp, *revp; in probe_one_macio() local
2644 addrp = of_get_pci_address(node, 0, &size, NULL); in probe_one_macio()
2645 if (addrp == NULL) { in probe_one_macio()
2650 addr = of_translate_address(node, addrp); in probe_one_macio()
/arch/mips/kernel/
Dptrace.c1079 void __user *addrp = (void __user *) addr; in arch_ptrace() local
1294 ret = ptrace_get_watch_regs(child, addrp); in arch_ptrace()
1298 ret = ptrace_set_watch_regs(child, addrp); in arch_ptrace()
/arch/powerpc/perf/
Dcore-book3s.c104 static inline void perf_get_data_addr(struct perf_event *event, struct pt_regs *regs, u64 *addrp) {… in perf_get_data_addr() argument
186 static inline void perf_get_data_addr(struct perf_event *event, struct pt_regs *regs, u64 *addrp) in perf_get_data_addr() argument
209 *addrp = mfspr(SPRN_SDAR); in perf_get_data_addr()
212 *addrp = 0; in perf_get_data_addr()
/arch/arm/mach-omap2/
Domap_hwmod.c706 const __be32 *addrp; in _setup_clkctrl_provider() local
733 addrp = of_get_address(np, i, &size, NULL); in _setup_clkctrl_provider()
734 provider->addr[i] = (u32)of_translate_address(np, addrp); in _setup_clkctrl_provider()