/Linux-v6.1/drivers/acpi/ |
D | processor_throttling.c | 39 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 …]
|
D | processor_perflib.c | 52 static int acpi_processor_get_platform_limit(struct acpi_processor *pr) in acpi_processor_get_platform_limit() argument 58 if (!pr) in acpi_processor_get_platform_limit() 65 status = acpi_evaluate_integer(pr->handle, "_PPC", NULL, &ppc); in acpi_processor_get_platform_limit() 70 acpi_evaluation_failure_warn(pr->handle, "_PPC", status); in acpi_processor_get_platform_limit() 75 pr_debug("CPU %d: _PPC is %d - frequency %s limited\n", pr->id, in acpi_processor_get_platform_limit() 78 pr->performance_platform_limit = (int)ppc; in acpi_processor_get_platform_limit() 80 if (ppc >= pr->performance->state_count || in acpi_processor_get_platform_limit() 81 unlikely(!freq_qos_request_active(&pr->perflib_req))) in acpi_processor_get_platform_limit() 84 ret = freq_qos_update_request(&pr->perflib_req, in acpi_processor_get_platform_limit() 85 pr->performance->states[ppc].core_frequency * 1000); in acpi_processor_get_platform_limit() [all …]
|
D | processor_thermal.c | 88 struct acpi_processor *pr; in cpufreq_set_cur_state() local 107 pr = per_cpu(processors, i); in cpufreq_set_cur_state() 109 if (unlikely(!freq_qos_request_active(&pr->thermal_req))) in cpufreq_set_cur_state() 120 ret = freq_qos_update_request(&pr->thermal_req, max_freq); in cpufreq_set_cur_state() 123 pr->id, ret); in cpufreq_set_cur_state() 134 struct acpi_processor *pr = per_cpu(processors, cpu); in acpi_thermal_cpufreq_init() local 137 if (!pr) in acpi_thermal_cpufreq_init() 141 &pr->thermal_req, in acpi_thermal_cpufreq_init() 154 struct acpi_processor *pr = per_cpu(processors, cpu); in acpi_thermal_cpufreq_exit() local 156 if (pr) in acpi_thermal_cpufreq_exit() [all …]
|
D | processor_idle.c | 125 static void lapic_timer_check_state(int state, struct acpi_processor *pr, in lapic_timer_check_state() argument 128 struct acpi_processor_power *pwr = &pr->power; in lapic_timer_check_state() 131 if (cpu_has(&cpu_data(pr->id), X86_FEATURE_ARAT)) in lapic_timer_check_state() 145 pr->power.timer_broadcast_on_state = state; in lapic_timer_check_state() 150 struct acpi_processor *pr = (struct acpi_processor *) arg; in __lapic_timer_propagate_broadcast() local 152 if (pr->power.timer_broadcast_on_state < INT_MAX) in __lapic_timer_propagate_broadcast() 158 static void lapic_timer_propagate_broadcast(struct acpi_processor *pr) in lapic_timer_propagate_broadcast() argument 160 smp_call_function_single(pr->id, __lapic_timer_propagate_broadcast, in lapic_timer_propagate_broadcast() 161 (void *)pr, 1); in lapic_timer_propagate_broadcast() 165 static bool lapic_timer_needs_broadcast(struct acpi_processor *pr, in lapic_timer_needs_broadcast() argument [all …]
|
D | processor_driver.c | 56 struct acpi_processor *pr; in acpi_processor_notify() local 62 pr = acpi_driver_data(device); in acpi_processor_notify() 63 if (!pr) in acpi_processor_notify() 68 saved = pr->performance_platform_limit; in acpi_processor_notify() 69 acpi_processor_ppc_has_changed(pr, 1); in acpi_processor_notify() 70 if (saved == pr->performance_platform_limit) in acpi_processor_notify() 74 pr->performance_platform_limit); in acpi_processor_notify() 77 acpi_processor_power_state_has_changed(pr); in acpi_processor_notify() 82 acpi_processor_tstate_has_changed(pr); in acpi_processor_notify() 98 struct acpi_processor *pr = per_cpu(processors, cpu); in acpi_soft_cpu_online() local [all …]
|
D | acpi_processor.c | 171 static int acpi_processor_hotadd_init(struct acpi_processor *pr) in acpi_processor_hotadd_init() argument 177 if (invalid_phys_cpuid(pr->phys_id)) in acpi_processor_hotadd_init() 180 status = acpi_evaluate_integer(pr->handle, "_STA", NULL, &sta); in acpi_processor_hotadd_init() 187 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id); in acpi_processor_hotadd_init() 191 ret = arch_register_cpu(pr->id); in acpi_processor_hotadd_init() 193 acpi_unmap_cpu(pr->id); in acpi_processor_hotadd_init() 202 pr_info("CPU%d has been hot-added\n", pr->id); in acpi_processor_hotadd_init() 203 pr->flags.need_hotplug_init = 1; in acpi_processor_hotadd_init() 211 static inline int acpi_processor_hotadd_init(struct acpi_processor *pr) in acpi_processor_hotadd_init() argument 221 struct acpi_processor *pr = acpi_driver_data(device); in acpi_processor_get_info() local [all …]
|
/Linux-v6.1/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 193 struct ehea_port_res *pr = &port->port_res[l]; in ehea_update_firmware_handles() local 196 arr[i++].fwh = pr->qp->fw_handle; in ehea_update_firmware_handles() 198 arr[i++].fwh = pr->send_cq->fw_handle; in ehea_update_firmware_handles() 200 arr[i++].fwh = pr->recv_cq->fw_handle; in ehea_update_firmware_handles() 202 arr[i++].fwh = pr->eq->fw_handle; in ehea_update_firmware_handles() 204 arr[i++].fwh = pr->send_mr.handle; in ehea_update_firmware_handles() 206 arr[i++].fwh = pr->recv_mr.handle; in ehea_update_firmware_handles() 382 static void ehea_refill_rq1(struct ehea_port_res *pr, int index, int nr_of_wqes) in ehea_refill_rq1() argument 384 struct sk_buff **skb_arr_rq1 = pr->rq1_skba.arr; in ehea_refill_rq1() 385 struct net_device *dev = pr->port->netdev; in ehea_refill_rq1() [all …]
|
/Linux-v6.1/drivers/fpga/ |
D | dfl-fme-mgr.c | 25 #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-v6.1/include/acpi/ |
D | processor.h | 184 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-v6.1/arch/ia64/lib/ |
D | xor.S | 18 .save pr, r29 19 mov r29 = pr 31 mov pr.rot = 1 << 16 44 mov pr = r29, -1 56 .save pr, r29 57 mov r29 = pr 70 mov pr.rot = 1 << 16 85 mov pr = r29, -1 97 .save pr, r29 98 mov r29 = pr [all …]
|
/Linux-v6.1/scripts/coccinelle/misc/ |
D | doubleinit.cocci | 37 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-v6.1/arch/sh/kernel/cpu/sh3/ |
D | entry.S | 45 * 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 …]
|
D | swsusp.S | 66 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-v6.1/drivers/sh/intc/ |
D | handle.c | 112 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-v6.1/drivers/char/ipmi/ |
D | ipmi_plat_data.c | 17 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-v6.1/Documentation/devicetree/bindings/fpga/ |
D | xilinx-pr-decoupler.txt | 11 Softcore is compatible with the Xilinx LogiCORE pr-decoupler. 19 The Driver supports only MMIO handling. A PR region can have multiple 20 PR Decouplers which can be handled independently or chained via decouple/ 24 - compatible : Should contain "xlnx,pr-decoupler-1.00" followed by 25 "xlnx,pr-decoupler" or 38 compatible = "xlnx,pr-decoupler-1.00", 39 "xlnx-pr-decoupler";
|
/Linux-v6.1/drivers/pci/ |
D | setup-res.c | 141 pci_info(dev, "can't claim BAR %d %pR: no address assigned\n", in pci_claim_resource() 156 pci_info(dev, "can't claim BAR %d %pR: no compatible bridge window\n", in pci_claim_resource() 164 pci_info(dev, "can't claim BAR %d %pR: address conflict with %s %pR\n", in pci_claim_resource() 234 pci_info(dev, "BAR %d: trying firmware assignment %pR\n", in pci_revert_fw_address() 238 pci_info(dev, "BAR %d: %pR conflicts with %s %pR\n", in pci_revert_fw_address() 337 pci_info(dev, "BAR %d: can't assign %pR (bogus alignment)\n", in pci_assign_resource() 351 pci_info(dev, "BAR %d: no space for %pR\n", resno, res); in pci_assign_resource() 356 pci_info(dev, "BAR %d: failed to assign %pR\n", resno, res); in pci_assign_resource() 362 pci_info(dev, "BAR %d: assigned %pR\n", resno, res); in pci_assign_resource() 384 pci_info(dev, "BAR %d: can't reassign an unassigned resource %pR\n", in pci_reassign_resource() [all …]
|
/Linux-v6.1/drivers/dax/hmem/ |
D | device.c | 41 pr_err("memregion allocation failure for %pr\n", &res); in hmem_register_device() 47 pr_err("hmem device allocation failure for %pr\n", &res); in hmem_register_device() 53 dev_dbg(&pdev->dev, "hmem range %pr already active\n", &res); in hmem_register_device() 63 pr_err("hmem memregion_info allocation failure for %pr\n", &res); in hmem_register_device() 69 pr_err("hmem resource allocation failure for %pr\n", &res); in hmem_register_device() 75 dev_err(&pdev->dev, "device add failed for %pr\n", &res); in hmem_register_device()
|
/Linux-v6.1/arch/arm64/kernel/ |
D | cpuidle.c | 26 struct acpi_processor *pr = per_cpu(processors, cpu); in psci_acpi_cpu_init_idle() local 28 if (unlikely(!pr || !pr->flags.has_lpi)) in psci_acpi_cpu_init_idle() 38 count = pr->power.count - 1; in psci_acpi_cpu_init_idle() 45 lpi = &pr->power.lpi_states[i + 1]; in psci_acpi_cpu_init_idle()
|
/Linux-v6.1/drivers/target/ |
D | target_core_pr.c | 309 * 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() 511 * PR TYPEs to pass for registered and in core_scsi3_pr_seq_non_holder() 656 pr_err("Unable to locate PR deve %s mapped_lun: %llu\n", in __core_scsi3_do_alloc_registration() 687 * Function used for handling PR registrations for ALL_TG_PT=1 and ALL_TG_PT=0 751 * Only perform PR registrations for target ports on in __core_scsi3_alloc_registration() 886 pr_debug("SPC-3 PR APTPL Successfully added registration%s from" in core_scsi3_alloc_aptpl_registration() 905 pr_debug("SPC-3 PR [%s] Service Action: APTPL RESERVE created" in core_scsi3_aptpl_reserve() 910 pr_debug("SPC-3 PR [%s] RESERVE Node: %s%s\n", in core_scsi3_aptpl_reserve() 961 pr_err("Unable to locate PR APTPL %s mapped_lun:" in __core_scsi3_check_aptpl_registration() [all …]
|
/Linux-v6.1/arch/sh/kernel/ |
D | signal_32.c | 129 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() 326 pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", 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() [all …]
|
/Linux-v6.1/arch/powerpc/kvm/ |
D | e500.c | 161 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-v6.1/arch/microblaze/pci/ |
D | pci-common.c | 549 * Reparent resource children of pr that conflict with res 622 struct resource *res, *pr; in pcibios_allocate_bus_resources() local 632 pr = (res->flags & IORESOURCE_IO) ? in pcibios_allocate_bus_resources() 641 pr = pci_find_parent_resource(bus->self, res); in pcibios_allocate_bus_resources() 642 if (pr == res) { in pcibios_allocate_bus_resources() 658 pr, (pr && pr->name) ? pr->name : "nil"); in pcibios_allocate_bus_resources() 660 if (pr && !(pr->flags & IORESOURCE_UNSET)) { in pcibios_allocate_bus_resources() 663 if (request_resource(pr, res) == 0) in pcibios_allocate_bus_resources() 670 if (reparent_resources(pr, res) == 0) in pcibios_allocate_bus_resources() 691 struct resource *pr, *r = &dev->resource[idx]; in alloc_resource() local [all …]
|
/Linux-v6.1/crypto/async_tx/ |
D | raid6test.c | 15 #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-v6.1/arch/powerpc/kernel/ |
D | pci-common.c | 910 pr_debug("PCI:%s Resource %d %pR is unassigned\n", in pcibios_fixup_resources() 918 pr_debug("PCI:%s Resource %d %pR\n", pci_name(dev), i, res); in pcibios_fixup_resources() 1022 pr_debug("PCI:%s Bus rsrc %d %pR\n", pci_name(dev), i, res); in pcibios_fixup_bridge() 1152 * Reparent resource children of pr that conflict with res 1180 pr_debug("PCI: Reparented %s %pR under %s\n", in reparent_resources() 1223 struct resource *res, *pr; in pcibios_allocate_bus_resources() local 1237 pr = (res->flags & IORESOURCE_IO) ? in pcibios_allocate_bus_resources() 1240 pr = pci_find_parent_resource(bus->self, res); in pcibios_allocate_bus_resources() 1241 if (pr == res) { in pcibios_allocate_bus_resources() 1250 pr_debug("PCI: %s (bus %d) bridge rsrc %d: %pR, parent %p (%s)\n", in pcibios_allocate_bus_resources() [all …]
|