Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/mscc/
A Docelot_police.c33 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()
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()
89 pir *= 3; /* 1/3 fps */ in qos_policer_conf_set()
98 pir = GENMASK(15, 0); in qos_policer_conf_set()
104 if (pir > GENMASK(15, 0)) { in qos_policer_conf_set()
[all …]
A Docelot_police.h28 u32 pir; /* PIR in kbps/fps */ member
/linux/arch/x86/kvm/vmx/
A 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/arch/powerpc/platforms/powernv/
A Didle.c82 uint64_t pir = get_hard_smp_processor_id(cpu); in pnv_save_sprs_for_deep_states() local
85 rc = opal_slw_set_reg(pir, SPRN_HSPRG0, hsprg0_val); in pnv_save_sprs_for_deep_states()
89 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states()
98 rc = opal_slw_set_reg(pir, in pnv_save_sprs_for_deep_states()
108 rc = opal_slw_set_reg(pir, SPRN_HMEER, hmeer_val); in pnv_save_sprs_for_deep_states()
112 rc = opal_slw_set_reg(pir, SPRN_HID0, hid0_val); in pnv_save_sprs_for_deep_states()
122 rc = opal_slw_set_reg(pir, SPRN_HID1, hid1_val); in pnv_save_sprs_for_deep_states()
126 rc = opal_slw_set_reg(pir, SPRN_HID4, hid4_val); in pnv_save_sprs_for_deep_states()
130 rc = opal_slw_set_reg(pir, SPRN_HID5, hid5_val); in pnv_save_sprs_for_deep_states()
1042 u64 pir = get_hard_smp_processor_id(cpu); in pnv_program_cpu_hotplug_lpcr() local
[all …]
A Dopal-core.c111 static void fill_prstatus(struct elf_prstatus *prstatus, int pir, in fill_prstatus() argument
122 prstatus->common.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()
A Dopal-fadump.h59 __be32 pir; member
A Dopal-hmi.c80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason()
A Dopal-fadump.c454 thread_pir = be32_to_cpu(thdr->pir); in opal_fadump_build_cpu_notes()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc_cbdr.c28 cbdr->pir = hw->reg + ENETC_SICBDRPIR; in enetc_setup_cbdr()
40 enetc_wr_reg(cbdr->pir, cbdr->next_to_clean); in enetc_setup_cbdr()
111 enetc_wr_reg(ring->pir, i); in enetc_send_cmd()
A Denetc.h147 void __iomem *pir; member
/linux/arch/powerpc/kvm/
A 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()
A Dbooke.c1550 sregs->u.e.pir = vcpu->vcpu_id; in get_sregs_arch206()
1563 if (sregs->u.e.pir != vcpu->vcpu_id) in set_sregs_arch206()
2132 vcpu->arch.shared->pir = vcpu->vcpu_id; in kvmppc_core_vcpu_create()
/linux/arch/powerpc/include/uapi/asm/
A Dkvm_para.h59 __u32 pir; member
A Dkvm.h210 __u32 pir; /* read-only */ member
/linux/arch/powerpc/platforms/85xx/
A Dsmp.c40 u32 pir; member
250 out_be32(&spin_table->pir, hw_cpu); in smp_85xx_start_cpu()
/linux/arch/x86/kvm/
A Dlapic.h95 bool __kvm_apic_update_irr(u32 *pir, void *regs, int *max_irr);
96 bool kvm_apic_update_irr(struct kvm_vcpu *vcpu, u32 *pir, int *max_irr);
A Dlapic.c425 bool __kvm_apic_update_irr(u32 *pir, void *regs, int *max_irr) in __kvm_apic_update_irr() argument
435 pir_val = READ_ONCE(pir[i]); in __kvm_apic_update_irr()
439 irr_val |= xchg(&pir[i], 0); in __kvm_apic_update_irr()
455 bool kvm_apic_update_irr(struct kvm_vcpu *vcpu, u32 *pir, int *max_irr) in kvm_apic_update_irr() argument
459 return __kvm_apic_update_irr(pir, apic->regs, max_irr); in kvm_apic_update_irr()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dqos_conf.c58 __be32 pir; member
186 config->pir = cpu_to_be32(rate); in nfp_flower_install_rate_limiter()
/linux/arch/powerpc/sysdev/
A 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/arch/powerpc/kernel/
A Dsysfs.c582 SYSFS_SPRSETUP(pir, SPRN_PIR);
592 static DEVICE_ATTR(pir, 0400, show_pir, NULL);
A Dkvm.c527 kvm_patch_ins_lwz(inst, magic_var(pir), inst_rt); in kvm_check_ins()
/linux/tools/arch/powerpc/include/uapi/asm/
A Dkvm.h210 __u32 pir; /* read-only */ member
/linux/drivers/net/ethernet/renesas/
A Dsh_eth.c1181 u32 pir; in sh_mdio_ctrl() local
1186 pir = ioread32(bitbang->addr); in sh_mdio_ctrl()
1188 pir |= mask; in sh_mdio_ctrl()
1190 pir &= ~mask; in sh_mdio_ctrl()
1191 iowrite32(pir, bitbang->addr); in sh_mdio_ctrl()
/linux/arch/powerpc/include/asm/
A Dopal-api.h636 __be32 pir; /* for CHECKSTOP_TYPE_CORE */ member
/linux/drivers/net/can/
A Dgrcan.c55 u32 pir; /* 0x10C */ member
991 grcan_read_reg(&regs->pir); in grcan_start()

Completed in 69 milliseconds

12