Home
last modified time | relevance | path

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

/arch/mips/pci/
Dops-loongson3.c24 void *addrp; in loongson3_pci_config_access() local
32 addrp = (void *)TO_UNCAC(HT1LO_PCICFG_BASE | addr); in loongson3_pci_config_access()
34 addrp = (void *)TO_UNCAC(HT1LO_PCICFG_BASE_TP1 | addr); in loongson3_pci_config_access()
48 addrp = (void *)TO_UNCAC(addr); in loongson3_pci_config_access()
54 writel(*data, addrp); in loongson3_pci_config_access()
56 *data = readl(addrp); in loongson3_pci_config_access()
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.c179 const u32 *addrp; in pseries_setup_i8259_cascade() local
209 addrp = of_get_property(np, "8259-interrupt-acknowledge", NULL); in pseries_setup_i8259_cascade()
210 if (addrp == NULL) in pseries_setup_i8259_cascade()
213 intack = addrp[naddr-1]; in pseries_setup_i8259_cascade()
215 intack |= ((unsigned long)addrp[naddr-2]) << 32; in pseries_setup_i8259_cascade()
/arch/powerpc/platforms/chrp/
Dsetup.c490 const unsigned int *addrp = of_get_property(np, in chrp_find_8259() local
493 if (addrp == NULL) in chrp_find_8259()
495 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.c1168 void __user *addrp = (void __user *) addr; in arch_ptrace() local
1383 ret = ptrace_get_watch_regs(child, addrp); in arch_ptrace()
1387 ret = ptrace_set_watch_regs(child, addrp); in arch_ptrace()
/arch/powerpc/perf/
Dcore-book3s.c99 static inline void perf_get_data_addr(struct perf_event *event, struct pt_regs *regs, u64 *addrp) {… in perf_get_data_addr() argument
185 static inline void perf_get_data_addr(struct perf_event *event, struct pt_regs *regs, u64 *addrp) in perf_get_data_addr() argument
208 *addrp = mfspr(SPRN_SDAR); in perf_get_data_addr()
211 *addrp = 0; in perf_get_data_addr()
/arch/arm/mach-omap2/
Domap_hwmod.c739 const __be32 *addrp; in _setup_clkctrl_provider() local
766 addrp = of_get_address(np, i, &size, NULL); in _setup_clkctrl_provider()
767 provider->addr[i] = (u32)of_translate_address(np, addrp); in _setup_clkctrl_provider()