/Linux-v5.10/drivers/net/ethernet/mscc/ |
D | ocelot_police.c | 27 u32 cir = 0, cbs = 0, pir = 0, pbs = 0; in qos_policer_conf_set() local 33 pir = conf->pir; in qos_policer_conf_set() 60 pir += conf->cir; in qos_policer_conf_set() 63 if (pir == 0 && pbs == 0) { in qos_policer_conf_set() 67 pir = DIV_ROUND_UP(pir, 100); in qos_policer_conf_set() 68 pir *= 3; /* 33 1/3 kbps */ in qos_policer_conf_set() 75 if (pir >= 100) { in qos_policer_conf_set() 77 pir = DIV_ROUND_UP(pir, 100); in qos_policer_conf_set() 78 pir *= 3; /* 33 1/3 fps */ in qos_policer_conf_set() 84 if (pir == 0 && pbs == 0) { in qos_policer_conf_set() [all …]
|
D | ocelot_police.h | 28 u32 pir; /* PIR in kbps/fps */ member
|
/Linux-v5.10/arch/x86/kvm/vmx/ |
D | posted_intr.h | 10 u32 pir[8]; /* Posted interrupt requested */ member 45 return test_and_set_bit(vector, (unsigned long *)pi_desc->pir); in pi_test_and_set_pir() 50 return bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS); in pi_is_pir_empty()
|
/Linux-v5.10/arch/powerpc/platforms/powernv/ |
D | idle.c | 81 uint64_t pir = get_hard_smp_processor_id(cpu); in pnv_save_sprs_for_deep_states() local 84 rc = opal_slw_set_reg(pir, SPRN_HSPRG0, hsprg0_val); in pnv_save_sprs_for_deep_states() 88 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states() 93 rc = opal_slw_set_reg(pir, P9_STOP_SPR_MSR, msr_val); in pnv_save_sprs_for_deep_states() 97 rc = opal_slw_set_reg(pir, in pnv_save_sprs_for_deep_states() 107 rc = opal_slw_set_reg(pir, SPRN_HMEER, hmeer_val); in pnv_save_sprs_for_deep_states() 111 rc = opal_slw_set_reg(pir, SPRN_HID0, hid0_val); in pnv_save_sprs_for_deep_states() 121 rc = opal_slw_set_reg(pir, SPRN_HID1, hid1_val); in pnv_save_sprs_for_deep_states() 125 rc = opal_slw_set_reg(pir, SPRN_HID4, hid4_val); in pnv_save_sprs_for_deep_states() 129 rc = opal_slw_set_reg(pir, SPRN_HID5, hid5_val); in pnv_save_sprs_for_deep_states() [all …]
|
D | opal-core.c | 111 static void fill_prstatus(struct elf_prstatus *prstatus, int pir, in fill_prstatus() argument 122 prstatus->pr_pid = cpu_to_be32(100 + pir); in fill_prstatus() 129 if (pir == oc_conf->crashing_cpu) { in fill_prstatus() 260 thread_pir = be32_to_cpu(thdr->pir); in opalcore_append_cpu_notes()
|
D | opal-fadump.h | 59 __be32 pir; member
|
D | opal-hmi.c | 80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason()
|
D | opal-fadump.c | 454 thread_pir = be32_to_cpu(thdr->pir); in opal_fadump_build_cpu_notes()
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | e500_emulate.c | 67 int pir = param & PPC_DBELL_PIR_MASK; in kvmppc_e500_emul_msgsnd() local 75 int cpir = cvcpu->arch.shared->pir; in kvmppc_e500_emul_msgsnd() 76 if ((param & PPC_DBELL_MSG_BRDCAST) || (cpir == pir)) { in kvmppc_e500_emul_msgsnd()
|
D | booke.c | 1510 sregs->u.e.pir = vcpu->vcpu_id; in get_sregs_arch206() 1523 if (sregs->u.e.pir != vcpu->vcpu_id) in set_sregs_arch206() 2092 vcpu->arch.shared->pir = vcpu->vcpu_id; in kvmppc_core_vcpu_create()
|
/Linux-v5.10/arch/powerpc/include/uapi/asm/ |
D | kvm_para.h | 59 __u32 pir; member
|
D | kvm.h | 210 __u32 pir; /* read-only */ member
|
/Linux-v5.10/arch/powerpc/platforms/85xx/ |
D | smp.c | 40 u32 pir; member 250 out_be32(&spin_table->pir, hw_cpu); in smp_85xx_start_cpu()
|
/Linux-v5.10/arch/x86/kvm/ |
D | lapic.h | 93 bool __kvm_apic_update_irr(u32 *pir, void *regs, int *max_irr); 94 bool kvm_apic_update_irr(struct kvm_vcpu *vcpu, u32 *pir, int *max_irr);
|
D | lapic.c | 418 bool __kvm_apic_update_irr(u32 *pir, void *regs, int *max_irr) in __kvm_apic_update_irr() argument 428 pir_val = READ_ONCE(pir[i]); in __kvm_apic_update_irr() 432 irr_val |= xchg(&pir[i], 0); in __kvm_apic_update_irr() 448 bool kvm_apic_update_irr(struct kvm_vcpu *vcpu, u32 *pir, int *max_irr) in kvm_apic_update_irr() argument 452 return __kvm_apic_update_irr(pir, apic->regs, max_irr); in kvm_apic_update_irr()
|
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | qos_conf.c | 48 __be32 pir; member 123 config->pir = cpu_to_be32(rate); in nfp_flower_install_rate_limiter()
|
/Linux-v5.10/arch/powerpc/sysdev/ |
D | mpic.c | 1908 u32 pir; in mpic_reset_core() local 1913 pir = mpic_read(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT)); in mpic_reset_core() 1914 pir |= (1 << cpuid); in mpic_reset_core() 1915 mpic_write(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT), pir); in mpic_reset_core() 1919 pir &= ~(1 << cpuid); in mpic_reset_core() 1920 mpic_write(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT), pir); in mpic_reset_core()
|
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc_cbdr.c | 57 enetc_wr_reg(ring->pir, i); in enetc_send_cmd()
|
D | enetc.h | 99 void __iomem *pir; member
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | sysfs.c | 582 SYSFS_SPRSETUP(pir, SPRN_PIR); 592 static DEVICE_ATTR(pir, 0400, show_pir, NULL);
|
D | kvm.c | 527 kvm_patch_ins_lwz(inst, magic_var(pir), inst_rt); in kvm_check_ins()
|
/Linux-v5.10/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 210 __u32 pir; /* read-only */ member
|
/Linux-v5.10/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 1172 u32 pir; in sh_mdio_ctrl() local 1177 pir = ioread32(bitbang->addr); in sh_mdio_ctrl() 1179 pir |= mask; in sh_mdio_ctrl() 1181 pir &= ~mask; in sh_mdio_ctrl() 1182 iowrite32(pir, bitbang->addr); in sh_mdio_ctrl()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | opal-api.h | 636 __be32 pir; /* for CHECKSTOP_TYPE_CORE */ member
|
/Linux-v5.10/drivers/net/can/ |
D | grcan.c | 55 u32 pir; /* 0x10C */ member 991 grcan_read_reg(®s->pir); in grcan_start()
|