Home
last modified time | relevance | path

Searched refs:pr (Results 1 – 25 of 165) sorted by relevance

1234567

/linux/drivers/acpi/
A Dprocessor_throttling.c70 if (!pr) in acpi_processor_update_tsd_coord()
91 if (!pr) in acpi_processor_update_tsd_coord()
172 if (!pr) in acpi_processor_update_tsd_coord()
211 if (!pr) { in acpi_processor_throttling_notifier()
271 if (!pr) in acpi_processor_get_platform_limit()
651 if (!pr) in acpi_processor_get_throttling_fadt()
852 if (!pr) in acpi_processor_get_throttling_ptc()
888 if (!pr) in acpi_processor_get_throttling()
947 if (!pr) in acpi_processor_set_throttling_fadt()
1047 struct acpi_processor *pr = arg->pr; in acpi_processor_throttling_fn() local
[all …]
A Dprocessor_driver.c63 if (!pr) in acpi_processor_notify()
101 if (!pr || acpi_bus_get_device(pr->handle, &device)) in acpi_soft_cpu_online()
111 pr->id); in acpi_soft_cpu_online()
130 if (!pr || acpi_bus_get_device(pr->handle, &device)) in acpi_soft_cpu_dead()
148 pr->flags.limit = 1; in acpi_pss_perf_init()
152 if (IS_ERR(pr->cdev)) { in acpi_pss_perf_init()
158 pr->cdev->id); in acpi_pss_perf_init()
191 if (pr->cdev) { in acpi_pss_perf_exit()
195 pr->cdev = NULL; in acpi_pss_perf_exit()
215 if (!pr) in __acpi_processor_start()
[all …]
A Dprocessor_perflib.c58 if (!pr) in acpi_processor_get_platform_limit()
143 if (!pr || !pr->performance || !pr->performance->state_count) in acpi_processor_get_bios_limit()
165 if (!pr) in acpi_processor_ppc_init()
184 if (pr) in acpi_processor_ppc_exit()
396 if (!pr || !pr->performance || !pr->handle) in acpi_processor_get_performance_info()
591 if (!pr) { in acpi_processor_preregister_performance()
610 if (!pr) in acpi_processor_preregister_performance()
629 if (!pr) in acpi_processor_preregister_performance()
700 if (!pr || !pr->performance) in acpi_processor_preregister_performance()
731 if (!pr) { in acpi_processor_register_performance()
[all …]
A Dprocessor_idle.c158 (void *)pr, 1); in lapic_timer_propagate_broadcast()
165 return cx - pr->power.states >= pr->power.timer_broadcast_on_state; in lapic_timer_needs_broadcast()
211 if (!pr->pblk) in acpi_processor_get_power_info_fadt()
229 pr->power.states[ACPI_STATE_C2].address = pr->pblk + 4; in acpi_processor_get_power_info_fadt()
230 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; in acpi_processor_get_power_info_fadt()
296 ret = acpi_processor_evaluate_cst(pr->handle, pr->id, &pr->power); in acpi_processor_get_power_info_cst()
333 acpi_processor_power_init_bm_check(&(pr->flags), pr->id); in acpi_processor_power_verify_c3()
475 memset(pr->power.states, 0, sizeof(pr->power.states)); in acpi_processor_get_cstate_info()
486 pr->power.count = acpi_processor_power_verify(pr); in acpi_processor_get_cstate_info()
1214 if (!pr->flags.power_setup_done || !pr->flags.power) in acpi_processor_setup_cpuidle_states()
[all …]
A Dprocessor_thermal.c81 struct acpi_processor *pr; in cpufreq_set_cur_state() local
116 pr->id, ret); in cpufreq_set_cur_state()
130 if (!pr) in acpi_thermal_cpufreq_init()
134 &pr->thermal_req, in acpi_thermal_cpufreq_init()
149 if (pr) in acpi_thermal_cpufreq_exit()
181 if (pr->flags.throttling) in acpi_processor_max_state()
197 if (!pr) in processor_get_max_state()
215 if (!pr) in processor_get_cur_state()
219 if (pr->flags.throttling) in processor_get_cur_state()
237 if (!pr) in processor_set_cur_state()
[all …]
A Dacpi_processor.c187 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id); in acpi_processor_hotadd_init()
277 pr->phys_id = acpi_get_phys_id(pr->handle, device_declaration, in acpi_processor_get_info()
282 pr->id = acpi_map_cpuid(pr->phys_id, pr->acpi_id); in acpi_processor_get_info()
290 pr->id = 0; in acpi_processor_get_info()
301 if (invalid_logical_cpuid(pr->id) || !cpu_present(pr->id)) { in acpi_processor_get_info()
361 if (!pr) in acpi_processor_add()
389 pr->id); in acpi_processor_add()
398 per_cpu(processors, pr->id) = pr; in acpi_processor_add()
410 pr->dev = dev; in acpi_processor_add()
424 kfree(pr); in acpi_processor_add()
[all …]
/linux/drivers/net/ethernet/ibm/ehea/
A Dehea_main.c516 return ehea_refill_rq_def(pr, &pr->rq2_skba, 2, in ehea_refill_rq2()
524 return ehea_refill_rq_def(pr, &pr->rq3_skba, 3, in ehea_refill_rq3()
557 skb_record_rx_queue(skb, pr - &pr->port->port_res[0]); in ehea_fill_skb()
808 pr - &pr->port->port_res[0]); in ehea_proc_cqes()
1253 ehea_init_fill_rq1(pr, pr->rq1_skba.len); in ehea_fill_port_res()
1292 0, pr->int_send_name, pr); in ehea_reg_interrupts()
1330 ibmebus_free_irq(pr->eq->attr.ist1, pr); in ehea_free_interrupts()
1570 if (pr->qp) in ehea_clean_portres()
2055 pr->sq_skba.arr[pr->sq_skba.index] = skb; in ehea_start_xmit()
2058 pr->sq_skba.index &= (pr->sq_skba.len - 1); in ehea_start_xmit()
[all …]
/linux/include/acpi/
A Dprocessor.h179 int (*acpi_processor_get_throttling) (struct acpi_processor * pr);
180 int (*acpi_processor_set_throttling) (struct acpi_processor * pr,
356 extern int acpi_cppc_processor_probe(struct acpi_processor *pr);
357 extern void acpi_cppc_processor_exit(struct acpi_processor *pr);
374 int acpi_processor_tstate_has_changed(struct acpi_processor *pr);
375 int acpi_processor_get_throttling_info(struct acpi_processor *pr);
376 extern int acpi_processor_set_throttling(struct acpi_processor *pr,
412 int acpi_processor_power_init(struct acpi_processor *pr);
413 int acpi_processor_power_exit(struct acpi_processor *pr);
415 int acpi_processor_hotplug(struct acpi_processor *pr);
[all …]
/linux/drivers/sh/intc/
A Dhandle.c117 pr = desc->hw.prio_regs + *reg_idx; in _intc_prio_data()
123 if (pr->set_reg && pr->clr_reg) { in _intc_prio_data()
126 reg_e = pr->set_reg; in _intc_prio_data()
127 reg_d = pr->clr_reg; in _intc_prio_data()
131 if (!pr->set_reg) in _intc_prio_data()
133 reg_e = pr->set_reg; in _intc_prio_data()
134 reg_d = pr->set_reg; in _intc_prio_data()
137 fn += (pr->reg_width >> 3) - 1; in _intc_prio_data()
140 BUG_ON(n * pr->field_width > pr->reg_width); in _intc_prio_data()
142 bit = pr->reg_width - (n * pr->field_width); in _intc_prio_data()
[all …]
/linux/arch/ia64/lib/
A Dxor.S18 .save pr, r29
19 mov r29 = pr
44 mov pr = r29, -1
56 .save pr, r29
57 mov r29 = pr
85 mov pr = r29, -1
97 .save pr, r29
98 mov r29 = pr
129 mov pr = r29, -1
141 .save pr, r29
[all …]
A Dcopy_user.S94 .save pr, saved_pr
95 mov saved_pr=pr // preserve predicates
101 mov pr.rot=1<<16 // p16=true all others are false
120 mov pr=saved_pr,0xffffffffffff0000
313 mov pr=saved_pr,0xffffffffffff0000
406 mov pr=saved_pr,0xffffffffffff0000
446 mov pr=saved_pr,0xffffffffffff0000
557 mov pr=saved_pr,0xffffffffffff0000
586 mov pr=saved_pr,0xffffffffffff0000
597 mov pr=saved_pr,0xffffffffffff0000
[all …]
/linux/drivers/char/ipmi/
A Dipmi_plat_data.c17 struct property_entry pr[6]; in ipmi_platform_add() local
21 memset(pr, 0, sizeof(pr)); in ipmi_platform_add()
35 pr[pidx++] = PROPERTY_ENTRY_U8("ipmi-type", p->type); in ipmi_platform_add()
37 pr[pidx++] = PROPERTY_ENTRY_U16("i2c-addr", p->addr); in ipmi_platform_add()
41 pr[pidx++] = PROPERTY_ENTRY_U8("slave-addr", p->slave_addr); in ipmi_platform_add()
42 pr[pidx++] = PROPERTY_ENTRY_U8("addr-source", p->addr_source); in ipmi_platform_add()
44 pr[pidx++] = PROPERTY_ENTRY_U8("reg-shift", p->regshift); in ipmi_platform_add()
45 pr[pidx++] = PROPERTY_ENTRY_U8("reg-size", p->regsize); in ipmi_platform_add()
105 rv = device_create_managed_software_node(&pdev->dev, pr, NULL); in ipmi_platform_add()
/linux/scripts/coccinelle/misc/
A Ddoubleinit.cocci37 pr << r.p;
40 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
43 cocci.print_secs("r",pr)
49 pr << r.p;
52 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
53 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
/linux/arch/powerpc/kvm/
A De500.c161 int as, int pid, int pr) in kvmppc_e500_id_table_reset_one() argument
167 BUG_ON(pr >= 2); in kvmppc_e500_id_table_reset_one()
169 idt->id[as][pid][pr].val = 0; in kvmppc_e500_id_table_reset_one()
170 idt->id[as][pid][pr].pentry = NULL; in kvmppc_e500_id_table_reset_one()
187 unsigned int pr, int avoid_recursion) in kvmppc_e500_get_sid() argument
194 BUG_ON(pr >= 2); in kvmppc_e500_get_sid()
196 sid = local_sid_lookup(&idt->id[as][gid][pr]); in kvmppc_e500_get_sid()
200 sid = local_sid_setup_one(&idt->id[as][gid][pr]); in kvmppc_e500_get_sid()
236 unsigned int pr, tid, ts; in kvmppc_e500_tlbil_one() local
247 for (pr = 0; pr < 2; pr++) { in kvmppc_e500_tlbil_one()
[all …]
/linux/arch/arm64/kernel/
A Dcpuidle.c55 struct acpi_processor *pr = per_cpu(processors, cpu); in psci_acpi_cpu_init_idle() local
64 if (unlikely(!pr || !pr->flags.has_lpi)) in psci_acpi_cpu_init_idle()
67 count = pr->power.count - 1; in psci_acpi_cpu_init_idle()
74 lpi = &pr->power.lpi_states[i + 1]; in psci_acpi_cpu_init_idle()
/linux/crypto/async_tx/
A Draid6test.c15 #undef pr
16 #define pr(fmt, args...) pr_info("raid6test: " fmt, ##args) macro
119 pr("%s: timeout! (faila: %d failb: %d disks: %d)\n", in raid6_dual_recov()
123 pr("%s: validation failure! faila: %d failb: %d sum_check_flags: %x\n", in raid6_dual_recov()
142 pr("%s(%d, %d): faila=%3d(%c) failb=%3d(%c) %s\n", in test_disks()
177 pr("error: initial gen_syndrome(%d) timed out\n", disks); in test()
181 pr("testing the %d-disk case...\n", disks); in test()
229 pr("\n"); in raid6_test()
230 pr("complete (%d tests, %d failure%s)\n", in raid6_test()
/linux/fs/ext4/
A Dextents_status.c1142 if (lclu < pr->lclu) in __pr_tree_search()
1147 return pr; in __pr_tree_search()
1149 if (pr && lclu < pr->lclu) in __pr_tree_search()
1150 return pr; in __pr_tree_search()
1151 if (pr && lclu > pr->lclu) { in __pr_tree_search()
1274 while (pr && pr->lclu <= last_lclu) { in get_rsvd()
1849 if (lclu < pr->lclu) in __get_pending()
1854 return pr; in __get_pending()
1896 if (pr == NULL) { in __insert_pending()
1900 pr->lclu = lclu; in __insert_pending()
[all …]
/linux/arch/x86/mm/
A Ddump_pagetables.c179 static void printk_prot(struct seq_file *m, pgprotval_t pr, int level, bool dmsg) in printk_prot() argument
184 if (!(pr & _PAGE_PRESENT)) { in printk_prot()
188 if (pr & _PAGE_USER) in printk_prot()
192 if (pr & _PAGE_RW) in printk_prot()
196 if (pr & _PAGE_PWT) in printk_prot()
200 if (pr & _PAGE_PCD) in printk_prot()
206 if (level <= 3 && pr & _PAGE_PSE) in printk_prot()
210 if ((level == 4 && pr & _PAGE_PAT) || in printk_prot()
211 ((level == 3 || level == 2) && pr & _PAGE_PAT_LARGE)) in printk_prot()
215 if (pr & _PAGE_GLOBAL) in printk_prot()
[all …]
/linux/arch/sh/kernel/
A Dsignal_32.c129 COPY(macl); COPY(pr); in restore_sigcontext()
233 COPY(macl); COPY(pr); in setup_sigcontext()
286 regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; in setup_frame()
289 regs->pr = VDSO_SYM(&__kernel_sigreturn); in setup_frame()
301 regs->pr = (unsigned long) frame->retcode; in setup_frame()
302 flush_icache_range(regs->pr, regs->pr + sizeof(frame->retcode)); in setup_frame()
327 current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); in setup_frame()
356 regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame()
359 regs->pr = VDSO_SYM(&__kernel_rt_sigreturn); in setup_rt_frame()
371 regs->pr = (unsigned long) frame->retcode; in setup_rt_frame()
[all …]
/linux/arch/microblaze/pci/
A Dpci-common.c671 struct resource *res, *pr; in pcibios_allocate_bus_resources() local
691 if (pr == res) { in pcibios_allocate_bus_resources()
707 pr, (pr && pr->name) ? pr->name : "nil"); in pcibios_allocate_bus_resources()
709 if (pr && !(pr->flags & IORESOURCE_UNSET)) { in pcibios_allocate_bus_resources()
749 if (!pr || (pr->flags & IORESOURCE_UNSET) || in alloc_resource()
750 request_resource(pr, r) < 0) { in alloc_resource()
753 if (pr) in alloc_resource()
755 pr, in alloc_resource()
756 (unsigned long long)pr->start, in alloc_resource()
757 (unsigned long long)pr->end, in alloc_resource()
[all …]
/linux/drivers/block/paride/
A Dparide.c210 int paride_register(PIP * pr) in paride_register() argument
215 if (protocols[k] && !strcmp(pr->name, protocols[k]->name)) { in paride_register()
217 pr->name); in paride_register()
227 protocols[k] = pr; in paride_register()
228 pr->index = k; in paride_register()
229 printk("paride: %s registered as protocol %d\n", pr->name, k); in paride_register()
235 void paride_unregister(PIP * pr) in paride_unregister() argument
237 if (!pr) in paride_unregister()
239 if (protocols[pr->index] != pr) { in paride_unregister()
240 printk("paride: %s not registered\n", pr->name); in paride_unregister()
[all …]
/linux/drivers/extcon/
A Dextcon-usbc-cros-ec.c29 bool pr; /* power role (true if VBUS enabled) */ member
253 bool pr = false; in extcon_cros_ec_detect_cable() local
277 pr = (role & PD_CTRL_RESP_ROLE_POWER); in extcon_cros_ec_detect_cable()
288 role, power_type, dr, pr, polarity, mux, dp, hpd); in extcon_cros_ec_detect_cable()
299 if (force || info->dr != dr || info->pr != pr || info->dp != dp || in extcon_cros_ec_detect_cable()
307 info->pr = pr; in extcon_cros_ec_detect_cable()
322 (union extcon_property_value)(int)pr); in extcon_cros_ec_detect_cable()
325 (union extcon_property_value)(int)pr); in extcon_cros_ec_detect_cable()
455 info->pr = false; in extcon_cros_ec_probe()
/linux/arch/sh/kernel/cpu/sh3/
A Dswsusp.S66 lds k2, pr
94 sts pr, r0 ! save pr in r0
117 stc r0_bank, k3 ! fetch old pr from r0_bank0
124 lds r0, pr ! restore old pr
132 lds r0, pr ! restore old pr
A Dentry.S136 sts pr, r10
142 lds r10, pr
155 lds r1, pr
193 lds k2, pr ! restore pr
209 ! - restore spc, pr*, ssr, gbr, mach, macl, skip default tra
210 ! k2 returns original pr
253 lds k2, pr ! restore pr
297 sts pr, k3 ! save original pr value in k3
/linux/drivers/staging/media/av7110/
A Ddvb_filter.c21 int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr) in dvb_filter_get_ac3info() argument
40 if (pr) in dvb_filter_get_ac3info()
52 if (pr) in dvb_filter_get_ac3info()
58 if (pr) in dvb_filter_get_ac3info()
64 if (pr) in dvb_filter_get_ac3info()

Completed in 57 milliseconds

1234567