Home
last modified time | relevance | path

Searched refs:eidx (Results 1 – 2 of 2) sorted by relevance

/linux/arch/riscv/kvm/
H A Dvcpu_pmu.c54 static u32 kvm_pmu_get_perf_event_type(unsigned long eidx) in kvm_pmu_get_perf_event_type() argument
56 enum sbi_pmu_event_type etype = get_event_type(eidx); in kvm_pmu_get_perf_event_type()
78 static bool kvm_pmu_is_fw_event(unsigned long eidx) in kvm_pmu_is_fw_event() argument
80 return get_event_type(eidx) == SBI_PMU_EVENT_TYPE_FW; in kvm_pmu_is_fw_event()
120 static u64 kvm_pmu_get_perf_event_config(unsigned long eidx, uint64_t evt_data) in kvm_pmu_get_perf_event_config() argument
122 enum sbi_pmu_event_type etype = get_event_type(eidx); in kvm_pmu_get_perf_event_config()
123 u32 ecode = get_event_code(eidx); in kvm_pmu_get_perf_event_config()
151 static int kvm_pmu_get_fixed_pmc_index(unsigned long eidx) in kvm_pmu_get_fixed_pmc_index() argument
153 u32 etype = kvm_pmu_get_perf_event_type(eidx); in kvm_pmu_get_fixed_pmc_index()
154 u32 ecode = get_event_code(eidx); in kvm_pmu_get_fixed_pmc_index()
167 kvm_pmu_get_programmable_pmc_index(struct kvm_pmu * kvpmu,unsigned long eidx,unsigned long cbase,unsigned long cmask) kvm_pmu_get_programmable_pmc_index() argument
196 pmu_get_pmc_index(struct kvm_pmu * pmu,unsigned long eidx,unsigned long cbase,unsigned long cmask) pmu_get_pmc_index() argument
337 kvm_pmu_create_perf_event(struct kvm_pmc * pmc,struct perf_event_attr * attr,unsigned long flags,unsigned long eidx,unsigned long evtdata) kvm_pmu_create_perf_event() argument
486 u32 eidx, etype; kvm_riscv_vcpu_pmu_event_info() local
742 kvm_riscv_vcpu_pmu_ctr_cfg_match(struct kvm_vcpu * vcpu,unsigned long ctr_base,unsigned long ctr_mask,unsigned long flags,unsigned long eidx,u64 evtdata,struct kvm_vcpu_sbi_return * retdata) kvm_riscv_vcpu_pmu_ctr_cfg_match() argument
[all...]
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dnpc.c1860 int eidx, int prio, in __npc_subbank_contig_alloc() argument
1889 __func__, sidx, eidx, t, b, offset, in __npc_subbank_contig_alloc()
1899 for (k = eidx - b; cnt < count && k >= (sidx - b); k--) { in __npc_subbank_contig_alloc()
1927 int eidx, int prio, in __npc_subbank_non_contig_alloc() argument
1954 for (k = index; cnt < count && k <= (eidx - b); k++) { in __npc_subbank_non_contig_alloc()
1965 for (k = eidx - b; cnt < count && k >= (sidx - b); k--) { in __npc_subbank_non_contig_alloc()
2167 int sidx, eidx; in __npc_subbank_alloc() local
2230 eidx = max_t(int, limit, ref); in __npc_subbank_alloc()
2233 cnt = eidx - sidx + 1; in __npc_subbank_alloc()
2309 sidx, eidx, prio, in __npc_subbank_alloc()
[all …]