/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv.c | 1040 static int kvm_arch_vcpu_yield_to(struct kvm_vcpu *target) argument 1042 struct kvmppc_vcore *vcore = target->arch.vcore; 1057 if (target->arch.state == KVMPPC_VCPU_RUNNABLE && 1060 target = vcore->runner; 1064 return kvm_vcpu_yield_to(target); 1109 unsigned long id, unsigned long target, 1126 /* Support only cores as target */ 1127 if (target != H_RPTI_TARGET_CMMU) 1146 unsigned long target, ret = H_SUCCESS; local 1205 target 1108 kvmppc_h_rpt_invalidate(struct kvm_vcpu *vcpu, unsigned long id, unsigned long target, unsigned long type, unsigned long pg_sizes, unsigned long start, unsigned long end) argument [all...] |
H A D | book3s_hv_builtin.c | 110 long int kvmppc_rm_h_confer(struct kvm_vcpu *vcpu, int target, argument 227 /* Else poke the target with an IPI */ 335 * We will attempt to deliver the IRQ directly to the target VCPU's
|
/linux-master/arch/powerpc/lib/ |
H A D | code-patching.c | 513 int patch_branch(u32 *addr, unsigned long target, int flags) argument 517 if (create_branch(&instr, addr, target, flags)) 546 unsigned long target, int flags) 550 offset = target; 554 /* Check we can represent the target in the instruction format */ 558 /* Mask out the flags and target, so they don't step on each other. */ 621 unsigned long target; local 622 target = branch_target(src); 625 return create_branch(instr, dest, target, 628 return create_cond_branch(instr, dest, target, 545 create_cond_branch(ppc_inst_t *instr, const u32 *addr, unsigned long target, int flags) argument [all...] |
H A D | feature-fixups.c | 55 u32 *target = (u32 *)branch_target(src); local 58 if (target < alt_start || target > alt_end) {
|
/linux-master/arch/powerpc/perf/ |
H A D | 8xx-pmu.c | 100 unsigned long target = patch_site_addr(&patch__itlbmiss_perf); local 102 patch_branch_site(&patch__itlbmiss_exit_1, target, 0); 108 unsigned long target = patch_site_addr(&patch__dtlbmiss_perf); local 110 patch_branch_site(&patch__dtlbmiss_exit_1, target, 0);
|
H A D | core-book3s.c | 466 __u64 target; local 481 target = branch_target(&instr); 482 if ((!target) || (instr & BRANCH_ABSOLUTE)) 483 return target; 485 /* Translate relative branch target from kernel to user address */ 486 return target - (unsigned long)&instr + addr; 527 * 1) a target entry which is the to address of a 530 * corresponding to this target (ie. the actual 533 * target entry proceeds this, then this is the 534 * matching branch for that target [all...] |
H A D | hv-24x7.c | 1675 int target; local 1682 target = cpumask_last(cpu_active_mask); 1684 if (target < 0 || target >= nr_cpu_ids) { 1689 /* Migrate 24x7 events to the new target */ 1690 cpumask_set_cpu(target, &hv_24x7_cpumask); 1691 perf_pmu_migrate_context(&h_24x7_pmu, cpu, target);
|
H A D | hv-gpci.c | 855 int target; local 862 target = cpumask_last(cpu_active_mask); 864 if (target < 0 || target >= nr_cpu_ids) { 869 /* Migrate gpci events to the new target */ 870 cpumask_set_cpu(target, &hv_gpci_cpumask); 871 perf_pmu_migrate_context(&h_gpci_pmu, cpu, target);
|
H A D | imc-pmu.c | 359 int nid, target = -1; local 389 target = cpumask_last(l_cpumask); 392 * If this(target) is the last cpu in the cpumask for this chip, 395 if (unlikely(target == cpu)) 396 target = cpumask_any_but(l_cpumask, cpu); 399 * Update the cpumask with the target cpu and 402 if (target >= 0 && target < nr_cpu_ids) { 403 cpumask_set_cpu(target, &nest_imc_cpumask); 404 nest_change_cpu_context(cpu, target); 983 struct task_struct *target; local [all...] |
/linux-master/arch/powerpc/platforms/86xx/ |
H A D | mpc86xx_smp.c | 60 unsigned long target, flags; local 75 target = (unsigned long) __secondary_start_mpc86xx; 76 patch_branch(vector, target, BRANCH_SET_LINK);
|
/linux-master/arch/powerpc/platforms/8xx/ |
H A D | cpm1.c | 244 int __init cpm1_clk_setup(enum cpm_clk_target target, int clock, int mode) argument 307 switch (target) { 339 printk(KERN_ERR "cpm1_clock_setup: invalid clock target\n"); 344 if (clk_map[i][0] == target && clk_map[i][1] == clock) {
|
/linux-master/arch/powerpc/platforms/book3s/ |
H A D | vas-api.c | 253 dde = &crb->target;
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | spu_manage.c | 425 neighbour_spu(int cbe, struct device_node *target, struct device_node *avoid) argument 438 if (vic_handles[i] == target->phandle)
|
H A D | spu_priv1_mmio.c | 64 u64 target; local 75 target = iic_get_target_id(cpu); 76 route = target << 48 | target << 32 | target << 16;
|
/linux-master/arch/powerpc/platforms/powermac/ |
H A D | pfunc_core.c | 808 static struct pmf_function *__pmf_find_function(struct device_node *target, argument 811 struct device_node *actor = of_node_get(target); 823 prop = of_get_property(target, fname, NULL); 848 if (func->phandle && target->phandle != func->phandle) 862 int pmf_register_irq_client(struct device_node *target, argument 870 func = __pmf_find_function(target, name, PMF_FLAGS_INT_GEN); 993 struct pmf_function *pmf_find_function(struct device_node *target, argument 1000 func = __pmf_find_function(target, name, PMF_FLAGS_ON_DEMAND); 1008 int pmf_call_function(struct device_node *target, const char *name, argument 1011 struct pmf_function *func = pmf_find_function(target, nam [all...] |
H A D | smp.c | 799 unsigned long target, flags; local 816 target = (unsigned long) __secondary_start_pmac_0 + nr * 8; 817 patch_branch(vector, target, BRANCH_SET_LINK);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | cmm.c | 240 signed long active_pages_target, page_loan_request, target; local 249 target = page_loan_request + __loaned_pages; 251 target = KB2PAGES(simulate_loan_target_kb); 252 page_loan_request = target - __loaned_pages; 255 if (target < 0 || total_pages < min_mem_pages) 256 target = 0; 258 if (target > oom_freed_pages) 259 target -= oom_freed_pages; 261 target = 0; 263 active_pages_target = total_pages - target; [all...] |
/linux-master/arch/powerpc/sysdev/ |
H A D | cpm2.c | 135 int __init cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode) argument 202 switch (target) { 232 printk(KERN_ERR "cpm2_clock_setup: invalid clock target\n"); 237 if (clk_map[i][0] == target && clk_map[i][1] == clock) { 261 int __init cpm2_smc_clk_setup(enum cpm_clk_target target, int clock) argument 280 switch (target) { 292 printk(KERN_ERR "cpm2_smc_clock_setup: invalid clock target\n"); 297 if (clk_map[i][0] == target && clk_map[i][1] == clock) {
|
/linux-master/arch/powerpc/sysdev/xive/ |
H A D | common.c | 84 /* An invalid CPU target */ 301 u32 target; local 305 rc = xive_ops->get_irq_config(hw_irq, &target, &prio, &lirq); 311 xmon_printf("IRQ 0x%08x : target=0x%x prio=%02x lirq=0x%x ", 312 hw_irq, target, prio, lirq); 458 * a queue slot on the target queue 499 * Try to chose "cpu" as a new interrupt target. Increments 500 * the queue accounting for that target if it's not already 519 * Un-account an interrupt for a target CPU. We don't directly 539 * to decrement the target queu 633 int target, rc; local 723 u32 target, old_target; local 1753 u32 target; local [all...] |
H A D | native.c | 99 int xive_native_configure_irq(u32 hw_irq, u32 target, u8 prio, u32 sw_irq) argument 104 rc = opal_xive_set_irq_config(hw_irq, target, prio, sw_irq); 113 static int xive_native_get_irq_config(u32 hw_irq, u32 *target, u8 *prio, argument 122 *target = be64_to_cpu(vp);
|
H A D | spapr.c | 210 unsigned long target, 217 pr_debug("H_INT_SET_SOURCE_CONFIG flags=0x%lx lisn=0x%lx target=%ld prio=%ld sw_irq=%ld\n", 218 flags, lisn, target, prio, sw_irq); 223 target, prio, sw_irq); 227 pr_err("H_INT_SET_SOURCE_CONFIG lisn=0x%lx target=%ld prio=%ld failed %ld\n", 228 lisn, target, prio, rc); 237 unsigned long *target, 248 target, prio, sw_irq); 257 *target = retbuf[0]; 261 pr_debug("H_INT_GET_SOURCE_CONFIG target 208 plpar_int_set_source_config(unsigned long flags, unsigned long lisn, unsigned long target, unsigned long prio, unsigned long sw_irq) argument 235 plpar_int_get_source_config(unsigned long flags, unsigned long lisn, unsigned long *target, unsigned long *prio, unsigned long *sw_irq) argument 267 plpar_int_get_queue_info(unsigned long flags, unsigned long target, unsigned long priority, unsigned long *esn_page, unsigned long *esn_size) argument 298 plpar_int_set_queue_config(unsigned long flags, unsigned long target, unsigned long priority, unsigned long qpage, unsigned long qsize) argument 449 xive_spapr_configure_irq(u32 hw_irq, u32 target, u8 prio, u32 sw_irq) argument 459 xive_spapr_get_irq_config(u32 hw_irq, u32 *target, u8 *prio, u32 *sw_irq) argument 478 xive_spapr_configure_queue(u32 target, struct xive_q *q, u8 prio, __be32 *qpage, u32 order) argument [all...] |
H A D | xive-internal.h | 42 int (*configure_irq)(u32 hw_irq, u32 target, u8 prio, u32 sw_irq); 43 int (*get_irq_config)(u32 hw_irq, u32 *target, u8 *prio,
|
/linux-master/arch/riscv/kernel/ |
H A D | cfi.c | 11 * Returns the target address and the expected type when regs->epc points 14 static bool decode_cfi_insn(struct pt_regs *regs, unsigned long *target, argument 21 *target = *type = 0; 35 * We can read the expected type and the target address from the 56 *target = regs_ptr[rs1_num]; 67 unsigned long target; local 73 if (!decode_cfi_insn(regs, &target, &type)) 76 return report_cfi_failure(regs, regs->epc, &target, type);
|
H A D | ftrace.c | 66 static int __ftrace_modify_call(unsigned long hook_pos, unsigned long target, argument 73 make_call_ra(hook_pos, target, call); 75 make_call_t0(hook_pos, target, call);
|
H A D | ptrace.c | 33 static int riscv_gpr_get(struct task_struct *target, argument 37 return membuf_write(&to, task_pt_regs(target), 41 static int riscv_gpr_set(struct task_struct *target, argument 48 regs = task_pt_regs(target); 53 static int riscv_fpr_get(struct task_struct *target, argument 57 struct __riscv_d_ext_state *fstate = &target->thread.fstate; 59 if (target == current) 67 static int riscv_fpr_set(struct task_struct *target, argument 73 struct __riscv_d_ext_state *fstate = &target->thread.fstate; 88 static int riscv_vr_get(struct task_struct *target, argument 121 riscv_vr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 312 compat_riscv_gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 324 compat_riscv_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |