Home
last modified time | relevance | path

Searched full:pr (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/linux-6.12.1/drivers/acpi/
Dprocessor_throttling.c39 struct acpi_processor *pr; member
47 static int acpi_processor_get_throttling(struct acpi_processor *pr);
48 static int __acpi_processor_set_throttling(struct acpi_processor *pr,
57 struct acpi_processor *pr, *match_pr; in acpi_processor_update_tsd_coord() local
69 pr = per_cpu(processors, i); in acpi_processor_update_tsd_coord()
70 if (!pr) in acpi_processor_update_tsd_coord()
74 pthrottling = &(pr->throttling); in acpi_processor_update_tsd_coord()
90 pr = per_cpu(processors, i); in acpi_processor_update_tsd_coord()
91 if (!pr) in acpi_processor_update_tsd_coord()
96 pthrottling = &pr->throttling; in acpi_processor_update_tsd_coord()
[all …]
Dprocessor_perflib.c52 static int acpi_processor_get_platform_limit(struct acpi_processor *pr) in acpi_processor_get_platform_limit() argument
60 if (!pr) in acpi_processor_get_platform_limit()
67 status = acpi_evaluate_integer(pr->handle, "_PPC", NULL, &ppc); in acpi_processor_get_platform_limit()
72 acpi_evaluation_failure_warn(pr->handle, "_PPC", status); in acpi_processor_get_platform_limit()
79 if (pr->performance_platform_limit == index || in acpi_processor_get_platform_limit()
80 ppc >= pr->performance->state_count) in acpi_processor_get_platform_limit()
83 pr_debug("CPU %d: _PPC is %d - frequency %s limited\n", pr->id, in acpi_processor_get_platform_limit()
86 pr->performance_platform_limit = index; in acpi_processor_get_platform_limit()
88 if (unlikely(!freq_qos_request_active(&pr->perflib_req))) in acpi_processor_get_platform_limit()
98 qos_value = pr->performance->states[index].core_frequency * 1000; in acpi_processor_get_platform_limit()
[all …]
Dprocessor_thermal.c99 struct acpi_processor *pr; in cpufreq_set_cur_state() local
118 pr = per_cpu(processors, i); in cpufreq_set_cur_state()
120 if (unlikely(!freq_qos_request_active(&pr->thermal_req))) in cpufreq_set_cur_state()
132 ret = freq_qos_update_request(&pr->thermal_req, max_freq); in cpufreq_set_cur_state()
135 pr->id, ret); in cpufreq_set_cur_state()
165 struct acpi_processor *pr = per_cpu(processors, cpu); in acpi_thermal_cpufreq_init() local
168 if (!pr) in acpi_thermal_cpufreq_init()
172 &pr->thermal_req, in acpi_thermal_cpufreq_init()
180 thermal_cooling_device_update(pr->cdev); in acpi_thermal_cpufreq_init()
189 struct acpi_processor *pr = per_cpu(processors, cpu); in acpi_thermal_cpufreq_exit() local
[all …]
Dprocessor_idle.c124 static void lapic_timer_check_state(int state, struct acpi_processor *pr, in lapic_timer_check_state() argument
127 struct acpi_processor_power *pwr = &pr->power; in lapic_timer_check_state()
130 if (cpu_has(&cpu_data(pr->id), X86_FEATURE_ARAT)) in lapic_timer_check_state()
144 pr->power.timer_broadcast_on_state = state; in lapic_timer_check_state()
149 struct acpi_processor *pr = arg; in __lapic_timer_propagate_broadcast() local
151 if (pr->power.timer_broadcast_on_state < INT_MAX) in __lapic_timer_propagate_broadcast()
157 static void lapic_timer_propagate_broadcast(struct acpi_processor *pr) in lapic_timer_propagate_broadcast() argument
159 smp_call_function_single(pr->id, __lapic_timer_propagate_broadcast, in lapic_timer_propagate_broadcast()
160 (void *)pr, 1); in lapic_timer_propagate_broadcast()
164 static bool lapic_timer_needs_broadcast(struct acpi_processor *pr, in lapic_timer_needs_broadcast() argument
[all …]
Dprocessor_driver.c55 struct acpi_processor *pr; in acpi_processor_notify() local
61 pr = acpi_driver_data(device); in acpi_processor_notify()
62 if (!pr) in acpi_processor_notify()
67 saved = pr->performance_platform_limit; in acpi_processor_notify()
68 acpi_processor_ppc_has_changed(pr, 1); in acpi_processor_notify()
69 if (saved == pr->performance_platform_limit) in acpi_processor_notify()
73 pr->performance_platform_limit); in acpi_processor_notify()
76 acpi_processor_power_state_has_changed(pr); in acpi_processor_notify()
81 acpi_processor_tstate_has_changed(pr); in acpi_processor_notify()
86 cpufreq_update_limits(pr->id); in acpi_processor_notify()
[all …]
Dacpi_processor.c40 struct acpi_processor *pr; in acpi_get_processor_handle() local
42 pr = per_cpu(processors, cpu); in acpi_get_processor_handle()
43 if (pr) in acpi_get_processor_handle()
44 return pr->handle; in acpi_get_processor_handle()
199 static int acpi_processor_set_per_cpu(struct acpi_processor *pr, in acpi_processor_set_per_cpu() argument
202 BUG_ON(pr->id >= nr_cpu_ids); in acpi_processor_set_per_cpu()
209 if (per_cpu(processor_device_array, pr->id) != NULL && in acpi_processor_set_per_cpu()
210 per_cpu(processor_device_array, pr->id) != device) { in acpi_processor_set_per_cpu()
213 pr->id); in acpi_processor_set_per_cpu()
220 per_cpu(processor_device_array, pr->id) = device; in acpi_processor_set_per_cpu()
[all …]
/linux-6.12.1/lib/
Dkunit_iov_iter.c80 const struct kvec_test_range *pr) in iov_kunit_load_kvec() argument
85 for (i = 0; i < kvmax; i++, pr++) { in iov_kunit_load_kvec()
86 if (pr->from < 0) in iov_kunit_load_kvec()
88 KUNIT_ASSERT_GE(test, pr->to, pr->from); in iov_kunit_load_kvec()
89 KUNIT_ASSERT_LE(test, pr->to, bufsize); in iov_kunit_load_kvec()
90 kvec[i].iov_base = buffer + pr->from; in iov_kunit_load_kvec()
91 kvec[i].iov_len = pr->to - pr->from; in iov_kunit_load_kvec()
92 size += pr->to - pr->from; in iov_kunit_load_kvec()
104 const struct kvec_test_range *pr; in iov_kunit_copy_to_kvec() local
135 for (pr = kvec_test_ranges; pr->from >= 0; pr++) in iov_kunit_copy_to_kvec()
[all …]
/linux-6.12.1/drivers/net/ethernet/ibm/ehea/
Dehea_main.c194 struct ehea_port_res *pr = &port->port_res[l]; in ehea_update_firmware_handles() local
197 arr[i++].fwh = pr->qp->fw_handle; in ehea_update_firmware_handles()
199 arr[i++].fwh = pr->send_cq->fw_handle; in ehea_update_firmware_handles()
201 arr[i++].fwh = pr->recv_cq->fw_handle; in ehea_update_firmware_handles()
203 arr[i++].fwh = pr->eq->fw_handle; in ehea_update_firmware_handles()
205 arr[i++].fwh = pr->send_mr.handle; in ehea_update_firmware_handles()
207 arr[i++].fwh = pr->recv_mr.handle; in ehea_update_firmware_handles()
383 static void ehea_refill_rq1(struct ehea_port_res *pr, int index, int nr_of_wqes) in ehea_refill_rq1() argument
385 struct sk_buff **skb_arr_rq1 = pr->rq1_skba.arr; in ehea_refill_rq1()
386 struct net_device *dev = pr->port->netdev; in ehea_refill_rq1()
[all …]
/linux-6.12.1/drivers/fpga/
Ddfl-fme-mgr.c25 #include "dfl-fme-pr.h"
36 /* FME PR Control Register Bitfield */
37 #define FME_PR_CTRL_PR_RST BIT_ULL(0) /* Reset PR engine */
38 #define FME_PR_CTRL_PR_RSTACK BIT_ULL(4) /* Ack for PR engine reset */
39 #define FME_PR_CTRL_PR_RGN_ID GENMASK_ULL(9, 7) /* PR Region ID */
40 #define FME_PR_CTRL_PR_START BIT_ULL(12) /* Start to request PR service */
41 #define FME_PR_CTRL_PR_COMPLETE BIT_ULL(13) /* PR data push completion */
43 /* FME PR Status Register Bitfield */
44 /* Number of available entries in HW queue inside the PR engine. */
46 #define FME_PR_STS_PR_STS BIT_ULL(16) /* PR operation status */
[all …]
/linux-6.12.1/drivers/video/
Dscreen_info_pci.c13 static bool __screen_info_relocation_is_valid(const struct screen_info *si, struct resource *pr) in __screen_info_relocation_is_valid() argument
17 if (screen_info_lfb_offset > resource_size(pr)) in __screen_info_relocation_is_valid()
19 if (size > resource_size(pr)) in __screen_info_relocation_is_valid()
21 if (resource_size(pr) - size < screen_info_lfb_offset) in __screen_info_relocation_is_valid()
32 struct resource *pr = &screen_info_lfb_pdev->resource[screen_info_lfb_bar]; in screen_info_apply_fixups() local
34 if (pr->start != screen_info_lfb_res.start) { in screen_info_apply_fixups()
35 if (__screen_info_relocation_is_valid(si, pr)) { in screen_info_apply_fixups()
40 __screen_info_set_lfb_base(si, pr->start + screen_info_lfb_offset); in screen_info_apply_fixups()
41 pr_info("Relocating firmware framebuffer to offset %pa[d] within %pr\n", in screen_info_apply_fixups()
42 &screen_info_lfb_offset, pr); in screen_info_apply_fixups()
[all …]
/linux-6.12.1/include/acpi/
Dprocessor.h184 int (*acpi_processor_get_throttling) (struct acpi_processor * pr);
185 int (*acpi_processor_set_throttling) (struct acpi_processor * pr,
270 extern int acpi_processor_get_performance_info(struct acpi_processor *pr);
320 void acpi_processor_ppc_has_changed(struct acpi_processor *pr, int event_flag);
335 static inline void acpi_processor_ppc_has_changed(struct acpi_processor *pr, in acpi_processor_ppc_has_changed() argument
361 extern int acpi_cppc_processor_probe(struct acpi_processor *pr);
362 extern void acpi_cppc_processor_exit(struct acpi_processor *pr);
364 static inline int acpi_cppc_processor_probe(struct acpi_processor *pr) in acpi_cppc_processor_probe() argument
368 static inline void acpi_cppc_processor_exit(struct acpi_processor *pr) in acpi_cppc_processor_exit() argument
379 int acpi_processor_tstate_has_changed(struct acpi_processor *pr);
[all …]
/linux-6.12.1/drivers/powercap/
Darm_scmi_powercap.c262 static void scmi_powercap_unregister_all_zones(struct scmi_powercap_root *pr) in scmi_powercap_unregister_all_zones() argument
267 for (i = pr->num_zones - 1; i >= 0; i--) { in scmi_powercap_unregister_all_zones()
268 if (!list_empty(&pr->registered_zones[i])) { in scmi_powercap_unregister_all_zones()
271 list_for_each_entry(spz, &pr->registered_zones[i], node) in scmi_powercap_unregister_all_zones()
296 static int scmi_powercap_register_zone(struct scmi_powercap_root *pr, in scmi_powercap_register_zone() argument
314 list_move(&spz->node, &pr->registered_zones[spz->height]); in scmi_powercap_register_zone()
335 * @pr: A reference to the root powercap zones descriptors
367 struct scmi_powercap_root *pr) in scmi_zones_register() argument
373 zones_stack = kcalloc(pr->num_zones, sizeof(spz), GFP_KERNEL); in scmi_zones_register()
377 spz = list_first_entry_or_null(&pr->scmi_zones, in scmi_zones_register()
[all …]
/linux-6.12.1/scripts/coccinelle/misc/
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-6.12.1/arch/sh/kernel/cpu/sh3/
Dentry.S45 * pr
136 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
240 mov.l @r15+, k2 ! original PR
253 lds k2, pr ! restore pr
297 sts pr, k3 ! save original pr value in k3
[all …]
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
/linux-6.12.1/drivers/sh/intc/
Dhandle.c112 struct intc_prio_reg *pr = desc->hw.prio_regs; in _intc_prio_data() local
116 while (pr && enum_id && *reg_idx < desc->hw.nr_prio_regs) { in _intc_prio_data()
117 pr = desc->hw.prio_regs + *reg_idx; in _intc_prio_data()
119 for (; *fld_idx < ARRAY_SIZE(pr->enum_ids); (*fld_idx)++) { in _intc_prio_data()
120 if (pr->enum_ids[*fld_idx] != enum_id) 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()
[all …]
/linux-6.12.1/drivers/char/ipmi/
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-6.12.1/Documentation/devicetree/bindings/fpga/
Dxlnx,pr-decoupler.yaml4 $id: http://devicetree.org/schemas/fpga/xlnx,pr-decoupler.yaml#
16 The Xilinx LogiCORE Partial Reconfig(PR) Decoupler manages one or more
22 is compatible with the Xilinx LogiCORE pr-decoupler. The Dynamic Function
35 - const: xlnx,pr-decoupler-1.00
36 - const: xlnx,pr-decoupler
62 compatible = "xlnx,pr-decoupler-1.00", "xlnx,pr-decoupler";
/linux-6.12.1/drivers/acpi/riscv/
Dcpuidle.c26 struct acpi_processor *pr = per_cpu(processors, cpu); in acpi_cpu_init_idle() local
28 if (unlikely(!pr || !pr->flags.has_lpi)) in acpi_cpu_init_idle()
34 if (pr->power.count <= 1) in acpi_cpu_init_idle()
37 for (i = 1; i < pr->power.count; i++) { in acpi_cpu_init_idle()
40 lpi = &pr->power.lpi_states[i]; in acpi_cpu_init_idle()
/linux-6.12.1/drivers/pci/
Dsetup-res.c143 pci_info(dev, "%s %pR: can't claim; no address assigned\n", in pci_claim_resource()
158 pci_info(dev, "%s %pR: can't claim; no compatible bridge window\n", in pci_claim_resource()
166 pci_info(dev, "%s %pR: can't claim; address conflict with %s %pR\n", in pci_claim_resource()
237 pci_info(dev, "%s: trying firmware assignment %pR\n", res_name, res); in pci_revert_fw_address()
240 pci_info(dev, "%s %pR: conflicts with %s %pR\n", res_name, res, in pci_revert_fw_address()
340 pci_info(dev, "%s %pR: can't assign; bogus alignment\n", in pci_assign_resource()
354 pci_info(dev, "%s %pR: can't assign; no space\n", res_name, res); in pci_assign_resource()
359 pci_info(dev, "%s %pR: failed to assign\n", res_name, res); in pci_assign_resource()
365 pci_info(dev, "%s %pR: assigned\n", res_name, res); in pci_assign_resource()
388 pci_info(dev, "%s %pR: can't reassign; unassigned resource\n", in pci_reassign_resource()
[all …]
/linux-6.12.1/drivers/target/
Dtarget_core_pr.c309 * the active PR reservation holder when a reservation is present.
369 * Referenced from spc4r17 table 45 for *NON* PR holder access in core_scsi3_pr_seq_non_holder()
512 * PR TYPEs to pass for registered and in core_scsi3_pr_seq_non_holder()
657 pr_err("Unable to locate PR deve %s mapped_lun: %llu\n", in __core_scsi3_do_alloc_registration()
688 * Function used for handling PR registrations for ALL_TG_PT=1 and ALL_TG_PT=0
752 * Only perform PR registrations for target ports on in __core_scsi3_alloc_registration()
887 pr_debug("SPC-3 PR APTPL Successfully added registration%s from" in core_scsi3_alloc_aptpl_registration()
906 pr_debug("SPC-3 PR [%s] Service Action: APTPL RESERVE created" in core_scsi3_aptpl_reserve()
911 pr_debug("SPC-3 PR [%s] RESERVE Node: %s%s\n", in core_scsi3_aptpl_reserve()
962 pr_err("Unable to locate PR APTPL %s mapped_lun:" in __core_scsi3_check_aptpl_registration()
[all …]
/linux-6.12.1/drivers/acpi/arm64/
Dcpuidle.c21 struct acpi_processor *pr = per_cpu(processors, cpu); in psci_acpi_cpu_init_idle() local
23 if (unlikely(!pr || !pr->flags.has_lpi)) in psci_acpi_cpu_init_idle()
33 count = pr->power.count - 1; in psci_acpi_cpu_init_idle()
40 lpi = &pr->power.lpi_states[i + 1]; in psci_acpi_cpu_init_idle()
/linux-6.12.1/drivers/ata/pata_parport/
Dpata_parport.c494 struct pi_protocol *pr, int mode, int unit, int delay) in pi_init_one() argument
500 struct pi_device_match match = { .parport = parport, .proto = pr }; in pi_init_one()
523 pi->dev.driver = &pr->driver; in pi_init_one()
533 pi->proto = pr; in pi_init_one()
585 int pata_parport_register_driver(struct pi_protocol *pr) in pata_parport_register_driver() argument
591 pr->driver.bus = &pata_parport_bus_type; in pata_parport_register_driver()
592 pr->driver.name = pr->name; in pata_parport_register_driver()
593 error = driver_register(&pr->driver); in pata_parport_register_driver()
598 error = idr_alloc(&protocols, pr, 0, 0, GFP_KERNEL); in pata_parport_register_driver()
600 driver_unregister(&pr->driver); in pata_parport_register_driver()
[all …]
/linux-6.12.1/arch/powerpc/kvm/
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()
177 * Map guest (vcpu,AS,ID,PR) to physical core shadow id.
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
[all …]
/linux-6.12.1/crypto/async_tx/
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()

12345678910>>...20