Home
last modified time | relevance | path

Searched refs:pir (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.10/drivers/net/ethernet/mscc/
Docelot_police.c27 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 …]
Docelot_police.h28 u32 pir; /* PIR in kbps/fps */ member
/Linux-v5.10/arch/x86/kvm/vmx/
Dposted_intr.h10 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/
Didle.c81 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 …]
Dopal-core.c111 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()
Dopal-fadump.h59 __be32 pir; member
Dopal-hmi.c80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason()
Dopal-fadump.c454 thread_pir = be32_to_cpu(thdr->pir); in opal_fadump_build_cpu_notes()
/Linux-v5.10/arch/powerpc/kvm/
De500_emulate.c67 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()
Dbooke.c1510 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/
Dkvm_para.h59 __u32 pir; member
Dkvm.h210 __u32 pir; /* read-only */ member
/Linux-v5.10/arch/powerpc/platforms/85xx/
Dsmp.c40 u32 pir; member
250 out_be32(&spin_table->pir, hw_cpu); in smp_85xx_start_cpu()
/Linux-v5.10/arch/x86/kvm/
Dlapic.h93 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);
Dlapic.c418 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/
Dqos_conf.c48 __be32 pir; member
123 config->pir = cpu_to_be32(rate); in nfp_flower_install_rate_limiter()
/Linux-v5.10/arch/powerpc/sysdev/
Dmpic.c1908 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/
Denetc_cbdr.c57 enetc_wr_reg(ring->pir, i); in enetc_send_cmd()
Denetc.h99 void __iomem *pir; member
/Linux-v5.10/arch/powerpc/kernel/
Dsysfs.c582 SYSFS_SPRSETUP(pir, SPRN_PIR);
592 static DEVICE_ATTR(pir, 0400, show_pir, NULL);
Dkvm.c527 kvm_patch_ins_lwz(inst, magic_var(pir), inst_rt); in kvm_check_ins()
/Linux-v5.10/tools/arch/powerpc/include/uapi/asm/
Dkvm.h210 __u32 pir; /* read-only */ member
/Linux-v5.10/drivers/net/ethernet/renesas/
Dsh_eth.c1172 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/
Dopal-api.h636 __be32 pir; /* for CHECKSTOP_TYPE_CORE */ member
/Linux-v5.10/drivers/net/can/
Dgrcan.c55 u32 pir; /* 0x10C */ member
991 grcan_read_reg(&regs->pir); in grcan_start()

12