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.c52 static u32 kvm_pmu_get_perf_event_type(unsigned long eidx) in kvm_pmu_get_perf_event_type() argument
54 enum sbi_pmu_event_type etype = get_event_type(eidx); in kvm_pmu_get_perf_event_type()
76 static bool kvm_pmu_is_fw_event(unsigned long eidx) in kvm_pmu_is_fw_event() argument
78 return get_event_type(eidx) == SBI_PMU_EVENT_TYPE_FW; in kvm_pmu_is_fw_event()
118 static u64 kvm_pmu_get_perf_event_config(unsigned long eidx, uint64_t evt_data) in kvm_pmu_get_perf_event_config() argument
120 enum sbi_pmu_event_type etype = get_event_type(eidx); in kvm_pmu_get_perf_event_config()
121 u32 ecode = get_event_code(eidx); in kvm_pmu_get_perf_event_config()
149 static int kvm_pmu_get_fixed_pmc_index(unsigned long eidx) in kvm_pmu_get_fixed_pmc_index() argument
151 u32 etype = kvm_pmu_get_perf_event_type(eidx); in kvm_pmu_get_fixed_pmc_index()
152 u32 ecode = get_event_code(eidx); in kvm_pmu_get_fixed_pmc_index()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dnpc.c1860 int eidx, int prio, in __npc_subbank_contig_alloc()
1876 /* Find an area of size 'count' from sidx to eidx */ in __npc_subbank_contig_alloc()
1888 "%s: sidx=%d eidx=%d t=%d b=%d offset=%d count=%d delta=%d\n", in __npc_subbank_contig_alloc()
1889 __func__, sidx, eidx, t, b, offset, in __npc_subbank_contig_alloc()
1898 /* Find an area of 'count' from eidx to sidx */ 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()
1941 /* Find an area of size 'count' from sidx to eidx */ in __npc_subbank_non_contig_alloc()
1954 for (k = index; cnt < count && k <= (eidx - b); k++) { in __npc_subbank_non_contig_alloc()
1963 /* Find an area of 'count' from eidx t in __npc_subbank_non_contig_alloc()
1837 __npc_subbank_contig_alloc(struct rvu * rvu,struct npc_subbank * sb,int key_type,int sidx,int eidx,int prio,int count,int t,int b,unsigned long * bmap,u16 * save) __npc_subbank_contig_alloc() argument
1904 __npc_subbank_non_contig_alloc(struct rvu * rvu,struct npc_subbank * sb,int key_type,int sidx,int eidx,int prio,int t,int b,unsigned long * bmap,int count,u16 * save,bool max_alloc,int * alloc_cnt) __npc_subbank_non_contig_alloc() argument
2144 int sidx, eidx; __npc_subbank_alloc() local
3179 int i, eidx, rc, bd; npc_cn20k_ref_idx_alloc() local
4300 int ret, eidx, i, k, pf, cnt; npc_cn20k_dft_rules_alloc() local
[all...]