| /arch/arm/mach-dove/ |
| A D | pcie.c | 37 struct pcie_port *pp; in dove_pcie_setup() local 43 pp = &pcie_port[nr]; in dove_pcie_setup() 62 snprintf(pp->mem_space_name, sizeof(pp->mem_space_name), in dove_pcie_setup() 64 pp->mem_space_name[sizeof(pp->mem_space_name) - 1] = 0; in dove_pcie_setup() 65 pp->res.name = pp->mem_space_name; in dove_pcie_setup() 66 if (pp->index == 0) { in dove_pcie_setup() 68 pp->res.end = pp->res.start + DOVE_PCIE0_MEM_SIZE - 1; in dove_pcie_setup() 71 pp->res.end = pp->res.start + DOVE_PCIE1_MEM_SIZE - 1; in dove_pcie_setup() 205 pp->index = index; in add_pcie_port() 207 pp->base = base; in add_pcie_port() [all …]
|
| /arch/arm/mach-mv78xx0/ |
| A D | pcie.c | 77 snprintf(pp->mem_space_name, sizeof(pp->mem_space_name), in mv78xx0_pcie_preinit() 78 "PCIe %d.%d MEM", pp->maj, pp->min); in mv78xx0_pcie_preinit() 79 pp->mem_space_name[sizeof(pp->mem_space_name) - 1] = 0; in mv78xx0_pcie_preinit() 80 pp->res.name = pp->mem_space_name; in mv78xx0_pcie_preinit() 90 MV78XX0_MBUS_PCIE_MEM_ATTR(pp->maj, pp->min), in mv78xx0_pcie_preinit() 91 pp->res.start, resource_size(&pp->res)); in mv78xx0_pcie_preinit() 93 MV78XX0_MBUS_PCIE_IO_ATTR(pp->maj, pp->min), in mv78xx0_pcie_preinit() 226 return IRQ_MV78XX0_PCIE_00 + (pp->maj << 2) + pp->min; in mv78xx0_pcie_map_irq() 246 pp->maj = maj; in add_pcie_port() 247 pp->min = min; in add_pcie_port() [all …]
|
| /arch/s390/kernel/ |
| A D | ctlreg.c | 58 struct ctlreg_parms *pp = info; in ctlreg_callback() local 63 regs[pp->cr].val = pp->val; in ctlreg_callback() 65 regs[pp->cr].val &= pp->andval; in ctlreg_callback() 66 regs[pp->cr].val |= pp->orval; in ctlreg_callback() 95 pp.orval = 1UL << data; in system_ctlreg_modify() 96 pp.andval = -1UL; in system_ctlreg_modify() 99 pp.orval = 0; in system_ctlreg_modify() 100 pp.andval = ~(1UL << data); in system_ctlreg_modify() 103 pp.val = data; in system_ctlreg_modify() 116 system_ctlreg_update(&pp); in system_ctlreg_modify() [all …]
|
| /arch/mips/kernel/ |
| A D | pm-cps.c | 211 uasm_build_label(pl, *pp, lbl); in cps_gen_cache_routine() 229 uasm_i_nop(pp); in cps_gen_cache_routine() 280 uasm_i_ehb(pp); in cps_gen_flush_fsb() 282 uasm_i_ehb(pp); in cps_gen_flush_fsb() 288 uasm_build_label(pl, *pp, lbl); in cps_gen_flush_fsb() 306 uasm_i_sync(pp, __SYNC_full); in cps_gen_flush_fsb() 307 uasm_i_ehb(pp); in cps_gen_flush_fsb() 314 uasm_i_nop(pp); in cps_gen_flush_fsb() 318 uasm_i_ehb(pp); in cps_gen_flush_fsb() 320 uasm_i_ehb(pp); in cps_gen_flush_fsb() [all …]
|
| /arch/sparc/kernel/ |
| A D | of_device_64.c | 379 dp = pp; in build_device_resources() 380 pp = dp->parent; in build_device_resources() 381 if (!pp) { in build_device_resources() 468 if (pp->irq_trans) in apply_interrupt_map() 469 return pp; in apply_interrupt_map() 498 if (pp->irq_trans) { in pci_irq_swizzle() 565 pp = dp->parent; in build_one_device_irq() 567 while (pp) { in build_one_device_irq() 608 ip = pp; in build_one_device_irq() 612 dp = pp; in build_one_device_irq() [all …]
|
| A D | leon_kernel.c | 306 struct property *pp; in leon_init_timers() local 333 if (pp) in leon_init_timers() 343 pp = of_find_property(np, "reg", &len); in leon_init_timers() 344 if (!pp) in leon_init_timers() 360 pp = of_find_property(np, "ampopts", &len); in leon_init_timers() 361 if (pp) { in leon_init_timers() 362 ampopts = *(int *)pp->value; in leon_init_timers() 374 pp = of_find_property(np, "reg", &len); in leon_init_timers() 375 if (pp) in leon_init_timers() 377 pp->value; in leon_init_timers() [all …]
|
| A D | of_device_32.c | 226 if (of_property_present(pp, "ranges")) in use_1to1_mapping() 235 if (of_node_name_eq(pp, "dma") || in use_1to1_mapping() 236 of_node_name_eq(pp, "espdma") || in use_1to1_mapping() 237 of_node_name_eq(pp, "ledma") || in use_1to1_mapping() 238 of_node_name_eq(pp, "lebuffer")) in use_1to1_mapping() 279 struct device_node *pp = p_op->dev.of_node; in build_device_resources() local 292 if (use_1to1_mapping(pp)) { in build_device_resources() 302 dp = pp; in build_device_resources() 303 pp = dp->parent; in build_device_resources() 304 if (!pp) { in build_device_resources() [all …]
|
| A D | process_64.c | 311 struct global_pmu_snapshot *pp; in __global_pmu_self() local 317 pp = &global_cpu_snapshot[this_cpu].pmu; in __global_pmu_self() 325 pp->pcr[i] = pcr_ops->read_pcr(i); in __global_pmu_self() 326 pp->pic[i] = pcr_ops->read_pic(i); in __global_pmu_self() 330 static void __global_pmu_poll(struct global_pmu_snapshot *pp) in __global_pmu_poll() argument 334 while (!pp->pcr[0] && ++limit < 100) { in __global_pmu_poll() 356 struct global_pmu_snapshot *pp = &global_cpu_snapshot[cpu].pmu; in pmu_snapshot_all_cpus() local 358 __global_pmu_poll(pp); in pmu_snapshot_all_cpus() 362 pp->pcr[0], pp->pcr[1], pp->pcr[2], pp->pcr[3], in pmu_snapshot_all_cpus() 363 pp->pic[0], pp->pic[1], pp->pic[2], pp->pic[3]); in pmu_snapshot_all_cpus()
|
| A D | leon_smp.c | 276 struct property *pp; in leon_ipi_init() local 284 pp = of_find_property(rootnp, "ipi_num", &len); in leon_ipi_init() 285 if (pp && (*(int *)pp->value)) in leon_ipi_init() 286 leon_ipi_irq = *(int *)pp->value; in leon_ipi_init()
|
| /arch/m68k/include/asm/ |
| A D | nettel.h | 51 volatile unsigned short *pp; in mcf_getppdata() local 52 pp = (volatile unsigned short *) MCFSIM_PADAT; in mcf_getppdata() 53 return((unsigned int) *pp); in mcf_getppdata() 58 volatile unsigned short *pp; in mcf_setppdata() local 59 pp = (volatile unsigned short *) MCFSIM_PADAT; in mcf_setppdata() 61 *pp = ppdata; in mcf_setppdata()
|
| /arch/powerpc/platforms/powermac/ |
| A D | setup.c | 87 const char *pp; in pmac_show_cpuinfo() local 105 pp = of_get_property(np, "model", NULL); in pmac_show_cpuinfo() 106 if (pp != NULL) in pmac_show_cpuinfo() 107 seq_printf(m, "%s\n", pp); in pmac_show_cpuinfo() 111 if (pp != NULL) { in pmac_show_cpuinfo() 114 int l = strlen(pp) + 1; in pmac_show_cpuinfo() 115 seq_printf(m, " %s", pp); in pmac_show_cpuinfo() 117 pp += l; in pmac_show_cpuinfo() 149 pp = of_get_property(np, "ram-type", NULL); in pmac_show_cpuinfo() 150 if (pp) in pmac_show_cpuinfo() [all …]
|
| A D | bootx_init.c | 98 struct bootx_dt_prop *pp = in bootx_early_getprop() local 103 return (void *)((unsigned long)pp->value + base); in bootx_early_getprop() 105 ppp = &pp->next; in bootx_early_getprop() 252 struct bootx_dt_prop *pp = in bootx_scan_dt_build_strings() local 255 namep = pp->name ? (char *)(base + pp->name) : NULL; in bootx_scan_dt_build_strings() 263 ppp = &pp->next; in bootx_scan_dt_build_strings() 311 struct bootx_dt_prop *pp = in bootx_scan_dt_build_struct() local 314 namep = pp->name ? (char *)(base + pp->name) : NULL; in bootx_scan_dt_build_struct() 324 pp->value ? (void *)(base + pp->value): NULL, in bootx_scan_dt_build_struct() 325 pp->length, mem_end); in bootx_scan_dt_build_struct() [all …]
|
| /arch/arm64/kernel/ |
| A D | patching.c | 207 struct aarch64_insn_patch *pp = arg; in aarch64_insn_patch_text_cb() local 210 if (atomic_inc_return(&pp->cpu_count) == num_online_cpus()) { in aarch64_insn_patch_text_cb() 211 for (i = 0; ret == 0 && i < pp->insn_cnt; i++) in aarch64_insn_patch_text_cb() 212 ret = aarch64_insn_patch_text_nosync(pp->text_addrs[i], in aarch64_insn_patch_text_cb() 213 pp->new_insns[i]); in aarch64_insn_patch_text_cb() 215 atomic_inc(&pp->cpu_count); in aarch64_insn_patch_text_cb() 217 while (atomic_read(&pp->cpu_count) <= num_online_cpus()) in aarch64_insn_patch_text_cb()
|
| /arch/mips/include/asm/octeon/ |
| A D | cvmx-pow-defs.h | 66 uint64_t pp:16; member 70 uint64_t pp:16; 77 uint64_t pp:1; member 99 uint64_t pp:1; 106 uint64_t pp:2; member 128 uint64_t pp:2; 166 uint64_t pp:4; member 188 uint64_t pp:4; 226 uint64_t pp:4; member 244 uint64_t pp:4; [all …]
|
| /arch/powerpc/perf/ |
| A D | power5+-pmu.c | 245 int pmc, altpmc, pp, j; in find_alternative_bdecode() local 251 pp = event & PM_PMCSEL_MSK; in find_alternative_bdecode() 253 if (bytedecode_alternatives[pmc - 1][j] == pp) { in find_alternative_bdecode() 261 if (pmc == 1 && (pp == 0x0d || pp == 0x0e)) in find_alternative_bdecode() 263 if (pmc == 3 && (pp == 0x2e || pp == 0x2f)) in find_alternative_bdecode() 267 if (pp == 0x10 || pp == 0x28) in find_alternative_bdecode()
|
| /arch/powerpc/kexec/ |
| A D | core_64.c | 449 struct property *pp; in add_node_props() local 454 for_each_property_of_node(dn, pp) { in add_node_props() 455 ret = fdt_setprop(fdt, node_offset, pp->name, pp->value, pp->length); in add_node_props() 457 pr_err("Unable to add %s property: %s\n", pp->name, fdt_strerror(ret)); in add_node_props()
|
| /arch/powerpc/include/asm/ |
| A D | kvm_book3s_64.h | 384 unsigned long pp = ptel & (HPTE_R_PP0 | HPTE_R_PP); in hpte_is_writable() local 386 return pp != PP_RXRX && pp != PP_RXXX; in hpte_is_writable() 452 static inline bool hpte_read_permission(unsigned long pp, unsigned long key) in hpte_read_permission() argument 455 return PP_RWRX <= pp && pp <= PP_RXRX; in hpte_read_permission() 459 static inline bool hpte_write_permission(unsigned long pp, unsigned long key) in hpte_write_permission() argument 462 return pp == PP_RWRW; in hpte_write_permission() 463 return pp <= PP_RWRW; in hpte_write_permission()
|
| A D | setup.h | 87 unsigned long pp, unsigned long r6,
|
| /arch/powerpc/kvm/ |
| A D | book3s_32_mmu.c | 163 pte->may_read = bat->pp; in kvmppc_mmu_book3s_32_xlate_bat() 164 pte->may_write = bat->pp > 1; in kvmppc_mmu_book3s_32_xlate_bat() 219 u8 pp; in kvmppc_mmu_book3s_32_xlate_pte() local 222 pp = pte1 & 3; in kvmppc_mmu_book3s_32_xlate_pte() 226 pp |= 4; in kvmppc_mmu_book3s_32_xlate_pte() 231 switch (pp) { in kvmppc_mmu_book3s_32_xlate_pte() 246 pte0, pte1, pp); in kvmppc_mmu_book3s_32_xlate_pte()
|
| /arch/powerpc/mm/book3s64/ |
| A D | hash_pgtable.c | 542 unsigned long start, end, pp; in hash__mark_rodata_ro() local 547 pp = htab_convert_pte_flags(pgprot_val(PAGE_KERNEL_ROX), HPTE_USE_KERNEL_KEY); in hash__mark_rodata_ro() 549 WARN_ON(!hash__change_memory_range(start, end, pp)); in hash__mark_rodata_ro() 554 unsigned long start, end, pp; in hash__mark_initmem_nx() local 559 pp = htab_convert_pte_flags(pgprot_val(PAGE_KERNEL), HPTE_USE_KERNEL_KEY); in hash__mark_initmem_nx() 561 WARN_ON(!hash__change_memory_range(start, end, pp)); in hash__mark_initmem_nx()
|
| /arch/powerpc/platforms/pseries/ |
| A D | lpar.c | 89 struct paca_struct *pp; in alloc_dtl_buffers() local 93 pp = paca_ptrs[cpu]; in alloc_dtl_buffers() 94 if (pp->dispatch_log) in alloc_dtl_buffers() 106 pp->dtl_ridx = 0; in alloc_dtl_buffers() 109 pp->dtl_curr = dtl; in alloc_dtl_buffers() 125 pp = paca_ptrs[cpu]; in register_dtl_buffer() 128 pp->dtl_ridx = 0; in register_dtl_buffer() 129 pp->dtl_curr = dtl; in register_dtl_buffer() 191 pp = paca_ptrs[cpu]; in free_dtl_buffers() 195 pp->dtl_ridx = 0; in free_dtl_buffers() [all …]
|
| /arch/powerpc/lib/ |
| A D | rheap.c | 33 unsigned long *pp; in fixup() local 35 pp = (unsigned long *)&l->next; in fixup() 36 if (*pp >= s && *pp < e) in fixup() 37 *pp += d; in fixup() 39 pp = (unsigned long *)&l->prev; in fixup() 40 if (*pp >= s && *pp < e) in fixup() 41 *pp += d; in fixup()
|
| /arch/s390/include/asm/ |
| A D | cpu_mf.h | 164 static inline void lpp(void *pp) in lpp() argument 166 asm volatile("lpp 0(%0)\n" :: "a" (pp) : "memory"); in lpp()
|
| /arch/microblaze/include/asm/ |
| A D | mmu.h | 32 unsigned long pp:2; /* Page protection */ member
|
| /arch/arm64/boot/dts/amlogic/ |
| A D | meson-gxlx-s905l-p271.dts | 36 interrupt-names = "gp", "gpmmu", "pp", "pmu",
|