/linux-6.6.21/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_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() 149 thermal_cooling_device_update(pr->cdev); in acpi_thermal_cpufreq_init() 158 struct acpi_processor *pr = per_cpu(processors, cpu); in acpi_thermal_cpufreq_exit() local [all …]
|
D | processor_perflib.c | 52 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 …]
|
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 | 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 = 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 | acpi_processor.c | 205 static int acpi_processor_hotadd_init(struct acpi_processor *pr) in acpi_processor_hotadd_init() argument 211 if (invalid_phys_cpuid(pr->phys_id)) in acpi_processor_hotadd_init() 214 status = acpi_evaluate_integer(pr->handle, "_STA", NULL, &sta); in acpi_processor_hotadd_init() 221 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id); in acpi_processor_hotadd_init() 225 ret = arch_register_cpu(pr->id); in acpi_processor_hotadd_init() 227 acpi_unmap_cpu(pr->id); in acpi_processor_hotadd_init() 236 pr_info("CPU%d has been hot-added\n", pr->id); in acpi_processor_hotadd_init() 237 pr->flags.need_hotplug_init = 1; in acpi_processor_hotadd_init() 245 static inline int acpi_processor_hotadd_init(struct acpi_processor *pr) in acpi_processor_hotadd_init() argument 255 struct acpi_processor *pr = acpi_driver_data(device); in acpi_processor_get_info() local [all …]
|
/linux-6.6.21/lib/ |
D | kunit_iov_iter.c | 76 const struct kvec_test_range *pr) in iov_kunit_load_kvec() argument 81 for (i = 0; i < kvmax; i++, pr++) { in iov_kunit_load_kvec() 82 if (pr->from < 0) in iov_kunit_load_kvec() 84 KUNIT_ASSERT_GE(test, pr->to, pr->from); in iov_kunit_load_kvec() 85 KUNIT_ASSERT_LE(test, pr->to, bufsize); in iov_kunit_load_kvec() 86 kvec[i].iov_base = buffer + pr->from; in iov_kunit_load_kvec() 87 kvec[i].iov_len = pr->to - pr->from; in iov_kunit_load_kvec() 88 size += pr->to - pr->from; in iov_kunit_load_kvec() 100 const struct kvec_test_range *pr; in iov_kunit_copy_to_kvec() local 131 for (pr = kvec_test_ranges; pr->from >= 0; pr++) in iov_kunit_copy_to_kvec() [all …]
|
/linux-6.6.21/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 194 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.6.21/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-6.6.21/drivers/powercap/ |
D | arm_scmi_powercap.c | 262 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() 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() 387 ret = scmi_powercap_register_zone(pr, spz, parent); in scmi_zones_register() [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/arch/arm64/kernel/ |
D | cpuidle.c | 24 struct acpi_processor *pr = per_cpu(processors, cpu); in psci_acpi_cpu_init_idle() local 26 if (unlikely(!pr || !pr->flags.has_lpi)) in psci_acpi_cpu_init_idle() 36 count = pr->power.count - 1; in psci_acpi_cpu_init_idle() 43 lpi = &pr->power.lpi_states[i + 1]; in psci_acpi_cpu_init_idle()
|
/linux-6.6.21/fs/ext4/ |
D | extents_status.c | 460 static inline void __free_pending(struct pending_reservation *pr) in __free_pending() argument 462 kmem_cache_free(ext4_pending_cachep, pr); in __free_pending() 857 struct pending_reservation *pr = NULL; in ext4_es_insert_extent() local 895 if ((err1 || err2 || err3) && revise_pending && !pr) in ext4_es_insert_extent() 896 pr = __alloc_pending(true); in ext4_es_insert_extent() 922 err3 = __revise_pending(inode, lblk, len, &pr); in ext4_es_insert_extent() 925 if (pr) { in ext4_es_insert_extent() 926 __free_pending(pr); in ext4_es_insert_extent() 927 pr = NULL; in ext4_es_insert_extent() 1200 struct pending_reservation *pr = NULL; in __pr_tree_search() local [all …]
|
/linux-6.6.21/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-6.6.21/drivers/ata/pata_parport/ |
D | pata_parport.c | 494 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.6.21/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() 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-6.6.21/drivers/md/ |
D | dm.c | 3138 struct dm_pr *pr) in dm_call_pr() argument 3163 ti->type->iterate_devices(ti, fn, pr); in dm_call_pr() 3176 struct dm_pr *pr = data; in __dm_pr_register() local 3181 pr->ret = -EOPNOTSUPP; in __dm_pr_register() 3185 ret = ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register() 3189 if (!pr->ret) in __dm_pr_register() 3190 pr->ret = ret; in __dm_pr_register() 3192 if (pr->fail_early) in __dm_pr_register() 3201 struct dm_pr pr = { in dm_pr_register() local 3210 ret = dm_call_pr(bdev, __dm_pr_register, &pr); in dm_pr_register() [all …]
|
/linux-6.6.21/arch/x86/mm/ |
D | dump_pagetables.c | 179 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-6.6.21/drivers/staging/media/av7110/ |
D | dvb_filter.c | 21 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()
|
/linux-6.6.21/Documentation/devicetree/bindings/fpga/ |
D | xlnx,pr-decoupler.yaml | 4 $id: http://devicetree.org/schemas/fpga/xlnx,pr-decoupler.yaml# 19 is compatible with the Xilinx LogiCORE pr-decoupler. The Dynamic Function 32 - const: xlnx,pr-decoupler-1.00 33 - const: xlnx,pr-decoupler 59 compatible = "xlnx,pr-decoupler-1.00", "xlnx,pr-decoupler";
|
/linux-6.6.21/arch/sh/kernel/ |
D | signal_32.c | 130 COPY(macl); COPY(pr); in restore_sigcontext() 236 COPY(macl); COPY(pr); in setup_sigcontext() 289 regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; in setup_frame() 292 regs->pr = VDSO_SYM(&__kernel_sigreturn); in setup_frame() 304 regs->pr = (unsigned long) frame->retcode; in setup_frame() 305 flush_icache_range(regs->pr, regs->pr + sizeof(frame->retcode)); in setup_frame() 330 current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); in setup_frame() 359 regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame() 362 regs->pr = VDSO_SYM(&__kernel_rt_sigreturn); in setup_rt_frame() 374 regs->pr = (unsigned long) frame->retcode; in setup_rt_frame() [all …]
|
/linux-6.6.21/arch/sh/kernel/cpu/sh3/ |
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
|