/linux-6.1.9/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() 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_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_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 = (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 | 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-6.1.9/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-6.1.9/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.1.9/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.1.9/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.1.9/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 …]
|
D | copy_user.S | 94 .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 193 mov pr.rot=1<<16 // p16=true all others are false 220 mov pr.rot=1<<16 // p16=true all others are false 304 mov pr.rot=1<<16 // p16=true all others are false 313 mov pr=saved_pr,0xffffffffffff0000 406 mov pr=saved_pr,0xffffffffffff0000 446 mov pr=saved_pr,0xffffffffffff0000 [all …]
|
/linux-6.1.9/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.1.9/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-6.1.9/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.1.9/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.1.9/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.1.9/drivers/staging/media/deprecated/saa7146/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.1.9/arch/microblaze/pci/ |
D | pci-common.c | 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 699 pr = pci_find_parent_resource(dev, r); in alloc_resource() [all …]
|
/linux-6.1.9/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() 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-6.1.9/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
|
D | entry.S | 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 253 lds k2, pr ! restore pr 297 sts pr, k3 ! save original pr value in k3
|
/linux-6.1.9/fs/ext4/ |
D | extents_status.c | 1137 struct pending_reservation *pr = NULL; in __pr_tree_search() local 1140 pr = rb_entry(node, struct pending_reservation, rb_node); in __pr_tree_search() 1141 if (lclu < pr->lclu) in __pr_tree_search() 1143 else if (lclu > pr->lclu) in __pr_tree_search() 1146 return pr; in __pr_tree_search() 1148 if (pr && lclu < pr->lclu) in __pr_tree_search() 1149 return pr; in __pr_tree_search() 1150 if (pr && lclu > pr->lclu) { in __pr_tree_search() 1151 node = rb_next(&pr->rb_node); in __pr_tree_search() 1179 struct pending_reservation *pr; in get_rsvd() local [all …]
|
/linux-6.1.9/drivers/block/paride/ |
D | paride.c | 210 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-6.1.9/drivers/extcon/ |
D | extcon-usbc-cros-ec.c | 29 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()
|