/linux/drivers/net/ethernet/mscc/ |
A D | ocelot_police.c | 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() 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 D | ocelot_police.h | 28 u32 pir; /* PIR in kbps/fps */ member
|
/linux/arch/x86/kvm/vmx/ |
A 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/arch/powerpc/platforms/powernv/ |
A D | idle.c | 82 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 D | opal-core.c | 111 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 D | opal-fadump.h | 59 __be32 pir; member
|
A D | opal-hmi.c | 80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason()
|
A D | opal-fadump.c | 454 thread_pir = be32_to_cpu(thdr->pir); in opal_fadump_build_cpu_notes()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_cbdr.c | 28 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 D | enetc.h | 147 void __iomem *pir; member
|
/linux/arch/powerpc/kvm/ |
A 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()
|
A D | booke.c | 1550 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 D | kvm_para.h | 59 __u32 pir; member
|
A D | kvm.h | 210 __u32 pir; /* read-only */ member
|
/linux/arch/powerpc/platforms/85xx/ |
A D | smp.c | 40 u32 pir; member 250 out_be32(&spin_table->pir, hw_cpu); in smp_85xx_start_cpu()
|
/linux/arch/x86/kvm/ |
A D | lapic.h | 95 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 D | lapic.c | 425 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 D | qos_conf.c | 58 __be32 pir; member 186 config->pir = cpu_to_be32(rate); in nfp_flower_install_rate_limiter()
|
/linux/arch/powerpc/sysdev/ |
A 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/arch/powerpc/kernel/ |
A D | sysfs.c | 582 SYSFS_SPRSETUP(pir, SPRN_PIR); 592 static DEVICE_ATTR(pir, 0400, show_pir, NULL);
|
A D | kvm.c | 527 kvm_patch_ins_lwz(inst, magic_var(pir), inst_rt); in kvm_check_ins()
|
/linux/tools/arch/powerpc/include/uapi/asm/ |
A D | kvm.h | 210 __u32 pir; /* read-only */ member
|
/linux/drivers/net/ethernet/renesas/ |
A D | sh_eth.c | 1181 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 D | opal-api.h | 636 __be32 pir; /* for CHECKSTOP_TYPE_CORE */ member
|
/linux/drivers/net/can/ |
A D | grcan.c | 55 u32 pir; /* 0x10C */ member 991 grcan_read_reg(®s->pir); in grcan_start()
|