Home
last modified time | relevance | path

Searched refs:lvl (Results 1 – 25 of 147) sorted by relevance

123456

/Linux-v6.1/drivers/iommu/
Dio-pgtable-arm-v7s.c51 #define _ARM_V7S_LVL_BITS(lvl, cfg) ((lvl) == 1 ? ((cfg)->ias - 20) : 8) argument
52 #define ARM_V7S_LVL_SHIFT(lvl) ((lvl) == 1 ? 20 : 12) argument
55 #define ARM_V7S_PTES_PER_LVL(lvl, cfg) (1 << _ARM_V7S_LVL_BITS(lvl, cfg)) argument
56 #define ARM_V7S_TABLE_SIZE(lvl, cfg) \ argument
57 (ARM_V7S_PTES_PER_LVL(lvl, cfg) * sizeof(arm_v7s_iopte))
59 #define ARM_V7S_BLOCK_SIZE(lvl) (1UL << ARM_V7S_LVL_SHIFT(lvl)) argument
60 #define ARM_V7S_LVL_MASK(lvl) ((u32)(~0U << ARM_V7S_LVL_SHIFT(lvl))) argument
62 #define _ARM_V7S_IDX_MASK(lvl, cfg) (ARM_V7S_PTES_PER_LVL(lvl, cfg) - 1) argument
63 #define ARM_V7S_LVL_IDX(addr, lvl, cfg) ({ \ argument
64 int _l = lvl; \
[all …]
Dio-pgtable-arm.c153 static inline bool iopte_leaf(arm_lpae_iopte pte, int lvl, in iopte_leaf() argument
156 if (lvl == (ARM_LPAE_MAX_LEVELS - 1) && fmt != ARM_MALI_LPAE) in iopte_leaf()
256 int lvl, arm_lpae_iopte *ptep);
260 int lvl, int num_entries, arm_lpae_iopte *ptep) in __arm_lpae_init_pte() argument
264 size_t sz = ARM_LPAE_BLOCK_SIZE(lvl, data); in __arm_lpae_init_pte()
267 if (data->iop.fmt != ARM_MALI_LPAE && lvl == ARM_LPAE_MAX_LEVELS - 1) in __arm_lpae_init_pte()
281 arm_lpae_iopte prot, int lvl, int num_entries, in arm_lpae_init_pte() argument
287 if (iopte_leaf(ptep[i], lvl, data->iop.fmt)) { in arm_lpae_init_pte()
297 size_t sz = ARM_LPAE_BLOCK_SIZE(lvl, data); in arm_lpae_init_pte()
299 tblp = ptep - ARM_LPAE_LVL_IDX(iova, lvl, data); in arm_lpae_init_pte()
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c31 int prio, lvl, err; in otx2_pfc_txschq_config() local
44 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_pfc_txschq_config()
45 err = otx2_txschq_config(pfvf, lvl, prio, true); in otx2_pfc_txschq_config()
49 __func__, lvl, prio); in otx2_pfc_txschq_config()
62 int lvl, rc; in otx2_pfc_txschq_alloc_one() local
73 for (lvl = 0; lvl < pfvf->hw.txschq_link_cfg_lvl; lvl++) in otx2_pfc_txschq_alloc_one()
74 req->schq[lvl] = 1; in otx2_pfc_txschq_alloc_one()
86 for (lvl = 0; lvl < pfvf->hw.txschq_link_cfg_lvl; lvl++) { in otx2_pfc_txschq_alloc_one()
87 if (!rsp->schq[lvl]) in otx2_pfc_txschq_alloc_one()
90 pfvf->pfc_schq_list[lvl][prio] = rsp->schq_list[lvl][0]; in otx2_pfc_txschq_alloc_one()
[all …]
Dotx2_common.c589 int otx2_txschq_config(struct otx2_nic *pfvf, int lvl, int prio, bool txschq_for_pfc) in otx2_txschq_config() argument
603 req->lvl = lvl; in otx2_txschq_config()
612 schq = schq_list[lvl][prio]; in otx2_txschq_config()
614 if (lvl == NIX_TXSCH_LVL_SMQ) { in otx2_txschq_config()
628 } else if (lvl == NIX_TXSCH_LVL_TL4) { in otx2_txschq_config()
635 } else if (lvl == NIX_TXSCH_LVL_TL3) { in otx2_txschq_config()
642 if (lvl == hw->txschq_link_cfg_lvl) { in otx2_txschq_config()
650 } else if (lvl == NIX_TXSCH_LVL_TL2) { in otx2_txschq_config()
659 if (lvl == hw->txschq_link_cfg_lvl) { in otx2_txschq_config()
667 } else if (lvl == NIX_TXSCH_LVL_TL1) { in otx2_txschq_config()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c110 #define gen8_pd_shift(lvl) ((lvl) * ilog2(GEN8_PDES)) argument
111 #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl)) argument
112 #define __gen8_pte_shift(lvl) (GEN8_PTE_SHIFT + gen8_pd_shift(lvl)) argument
113 #define __gen8_pte_index(a, lvl) i915_pde_index((a), __gen8_pte_shift(lvl)) argument
118 gen8_pd_range(u64 start, u64 end, int lvl, unsigned int *idx) in gen8_pd_range() argument
120 const int shift = gen8_pd_shift(lvl); in gen8_pd_range()
121 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_range()
133 static bool gen8_pd_contains(u64 start, u64 end, int lvl) in gen8_pd_contains() argument
135 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_contains()
176 int count, int lvl) in __gen8_ppgtt_cleanup() argument
[all …]
/Linux-v6.1/tools/perf/util/
Dmem-events.c387 int lvl = mem_info->data_src.mem_lvl_num; in perf_mem__lvl_scnprintf() local
392 if (mem_lvlnum[lvl]) in perf_mem__lvl_scnprintf()
393 l += scnprintf(out + l, sz - l, mem_lvlnum[lvl]); in perf_mem__lvl_scnprintf()
395 l += scnprintf(out + l, sz - l, "L%d", lvl); in perf_mem__lvl_scnprintf()
529 u64 lvl = data_src->mem_lvl; in c2c_decode_stats() local
575 if (lvl & P(LVL, HIT)) { in c2c_decode_stats()
576 if (lvl & P(LVL, UNC)) stats->ld_uncache++; in c2c_decode_stats()
577 if (lvl & P(LVL, IO)) stats->ld_io++; in c2c_decode_stats()
578 if (lvl & P(LVL, LFB)) stats->ld_fbhit++; in c2c_decode_stats()
579 if (lvl & P(LVL, L1 )) stats->ld_l1hit++; in c2c_decode_stats()
[all …]
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dtrace_dbg.h43 #define __hfi1_trace_def(lvl) \ argument
44 void __printf(2, 3) __hfi1_trace_##lvl(const char *funct, char *fmt, ...); \
46 DEFINE_EVENT(hfi1_trace_template, hfi1_ ##lvl, \
50 #define __hfi1_trace_fn(lvl) \ argument
51 void __printf(2, 3) __hfi1_trace_##lvl(const char *func, char *fmt, ...)\
60 trace_hfi1_ ##lvl(func, &vaf); \
/Linux-v6.1/net/netlabel/
Dnetlabel_cipso_v4.c173 doi_def->map.std->lvl.local_size) in netlbl_cipsov4_add_std()
174 doi_def->map.std->lvl.local_size = in netlbl_cipsov4_add_std()
182 doi_def->map.std->lvl.cipso_size) in netlbl_cipsov4_add_std()
183 doi_def->map.std->lvl.cipso_size = in netlbl_cipsov4_add_std()
188 doi_def->map.std->lvl.local = kcalloc(doi_def->map.std->lvl.local_size, in netlbl_cipsov4_add_std()
191 if (doi_def->map.std->lvl.local == NULL) { in netlbl_cipsov4_add_std()
195 doi_def->map.std->lvl.cipso = kcalloc(doi_def->map.std->lvl.cipso_size, in netlbl_cipsov4_add_std()
198 if (doi_def->map.std->lvl.cipso == NULL) { in netlbl_cipsov4_add_std()
202 for (iter = 0; iter < doi_def->map.std->lvl.local_size; iter++) in netlbl_cipsov4_add_std()
203 doi_def->map.std->lvl.local[iter] = CIPSO_V4_INV_LVL; in netlbl_cipsov4_add_std()
[all …]
/Linux-v6.1/tools/perf/arch/x86/util/
Dheader.c14 void get_cpuid_0(char *vendor, unsigned int *lvl) in get_cpuid_0() argument
18 cpuid(0, 0, lvl, &b, &c, &d); in get_cpuid_0()
28 unsigned int a, b, c, d, lvl; in __get_cpuid() local
33 get_cpuid_0(vendor, &lvl); in __get_cpuid()
35 if (lvl >= 1) { in __get_cpuid()
Dtsc.c59 unsigned int a, b, c, d, lvl; in arch_get_tsc_freq() local
68 get_cpuid_0(vendor, &lvl); in arch_get_tsc_freq()
76 if (lvl < 0x15) { in arch_get_tsc_freq()
/Linux-v6.1/drivers/pcmcia/
Dsoc_common.h52 int lvl, const char *fmt, ...);
54 #define debug(skt, lvl, fmt, arg...) \ argument
55 soc_pcmcia_debug(skt, __func__, lvl, fmt , ## arg)
58 #define debug(skt, lvl, fmt, arg...) do { } while (0) argument
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c258 int lvl, u16 pcifunc, u16 schq) in is_valid_txschq() argument
269 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()
279 if (lvl >= hw->cap.nix_tx_aggr_lvl) { in is_valid_txschq()
1592 int lvl, u64 reg, u64 regval) in handle_txschq_shaper_update() argument
1604 switch (lvl) { in handle_txschq_shaper_update()
1667 nixlf, schq, lvl); in handle_txschq_shaper_update()
1684 int nixlf, int lvl, int schq) in nix_reset_tx_shaping() argument
1690 switch (lvl) { in nix_reset_tx_shaping()
1717 lvl, cir_reg, 0); in nix_reset_tx_shaping()
1720 lvl, pir_reg, 0); in nix_reset_tx_shaping()
[all …]
/Linux-v6.1/arch/s390/kernel/
Dsysinfo.c27 static inline int __stsi(void *sysinfo, int fc, int sel1, int sel2, int *lvl) in __stsi() argument
45 *lvl = ((unsigned int) r0) >> 28; in __stsi()
57 int lvl, rc; in stsi() local
59 rc = __stsi(sysinfo, fc, sel1, sel2, &lvl); in stsi()
62 return fc ? 0 : lvl; in stsi()
241 static void print_ext_name(struct seq_file *m, int lvl, in print_ext_name() argument
244 size_t len = sizeof(info->ext_names[lvl]); in print_ext_name()
246 if (!convert_ext_name(info->vm[lvl].evmne, info->ext_names[lvl], len)) in print_ext_name()
248 seq_printf(m, "VM%02d Extended Name: %-.256s\n", lvl, in print_ext_name()
249 info->ext_names[lvl]); in print_ext_name()
[all …]
/Linux-v6.1/tools/lib/bpf/
Dbtf_dump.c27 static const char *pfx(int lvl) in pfx() argument
29 return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; in pfx()
610 const struct btf_type *t, int lvl);
615 const struct btf_type *t, int lvl);
621 const struct btf_type *t, int lvl);
630 const char *fname, int lvl);
633 const char *fname, int lvl);
857 int align, int lvl) in btf_dump_emit_bit_padding() argument
886 btf_dump_printf(d, "\n%s%s: %d;", pfx(lvl), pad_type, pad_bits); in btf_dump_emit_bit_padding()
903 int lvl) in btf_dump_emit_struct_def() argument
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmm.c77 u16 max, lvl; member
100 int lvl; in nvkm_vmm_trace() local
101 for (lvl = it->max; lvl >= 0; lvl--) { in nvkm_vmm_trace()
102 if (lvl >= it->lvl) in nvkm_vmm_trace()
103 buf += sprintf(buf, "%05x:", it->pte[lvl]); in nvkm_vmm_trace()
122 it->flush = min(it->flush, it->max - it->lvl); in nvkm_vmm_flush_mark()
141 const int type = desc[it->lvl].type == SPT; in nvkm_vmm_unref_pdes()
142 struct nvkm_vmm_pt *pgd = it->pt[it->lvl + 1]; in nvkm_vmm_unref_pdes()
143 struct nvkm_vmm_pt *pgt = it->pt[it->lvl]; in nvkm_vmm_unref_pdes()
146 u32 pdei = it->pte[it->lvl + 1]; in nvkm_vmm_unref_pdes()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dda7213.txt13 - dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
15 - dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
39 dlg,micbias1-lvl = <2500>;
40 dlg,micbias2-lvl = <2500>;
Dda7219.txt32 - dlg,micbias-lvl : Voltage (mV) for Mic Bias
38 - dlg,ldo-lvl : Required internal LDO voltage (mV) level for digital engine
46 - dlg,micbias-pulse-lvl : Mic bias higher voltage pulse level (mV).
93 dlg,ldo-lvl = <1200>;
94 dlg,micbias-lvl = <2600>;
/Linux-v6.1/arch/sparc/mm/
Dleon_mm.c42 unsigned int lvl, pte, paddrbase; in leon_swprobe() local
74 lvl = 3; in leon_swprobe()
97 lvl = 2; in leon_swprobe()
125 lvl = 1; in leon_swprobe()
148 lvl = 0; in leon_swprobe()
158 switch (lvl) { in leon_swprobe()
/Linux-v6.1/fs/xfs/
Dxfs_error.h28 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument
29 xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address)
30 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument
31 xfs_corruption_error(e, lvl, mp, buf, bufsize, \
/Linux-v6.1/arch/sparc/include/asm/
Dttable.h104 #define TRAP_UTRAP(handler,lvl) \ argument
107 mov lvl, %g4; \
170 #define BTRAP(lvl) TRAP_ARG(bad_trap, lvl) argument
172 #define BTRAPTL1(lvl) TRAPTL1_ARG(bad_trap_tl1, lvl) argument
185 #define KPROBES_TRAP(lvl) TRAP_IRQ(kprobe_trap, lvl) argument
187 #define KPROBES_TRAP(lvl) TRAP_ARG(bad_trap, lvl) argument
191 #define UPROBES_TRAP(lvl) TRAP_ARG(uprobe_trap, lvl) argument
193 #define UPROBES_TRAP(lvl) TRAP_ARG(bad_trap, lvl) argument
197 #define KGDB_TRAP(lvl) TRAP_IRQ(kgdb_trap, lvl) argument
199 #define KGDB_TRAP(lvl) TRAP_ARG(bad_trap, lvl) argument
/Linux-v6.1/tools/testing/selftests/timens/
Dlog.h6 #define pr_msg(fmt, lvl, ...) \ argument
8 lvl, __FILE__, __LINE__, ##__VA_ARGS__)
/Linux-v6.1/drivers/infiniband/hw/usnic/
Dusnic_log.h46 #define usnic_printk(lvl, args...) \ argument
48 printk(lvl "%s:%s:%d: ", DRV_NAME, __func__, \
/Linux-v6.1/drivers/media/tuners/
Dtda18271-priv.h135 #define tda_printk(st, lvl, fmt, arg...) \ argument
136 _tda_printk(st, lvl, __func__, fmt, ##arg)
138 #define tda_dprintk(st, lvl, fmt, arg...) \ argument
140 if (tda18271_debug & lvl) \
/Linux-v6.1/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.c476 u8 pgsz, lvl; in bnxt_qplib_init_rcfw() local
497 lvl = ctx->qpc_tbl.level; in bnxt_qplib_init_rcfw()
500 lvl; in bnxt_qplib_init_rcfw()
501 lvl = ctx->mrw_tbl.level; in bnxt_qplib_init_rcfw()
504 lvl; in bnxt_qplib_init_rcfw()
505 lvl = ctx->srqc_tbl.level; in bnxt_qplib_init_rcfw()
508 lvl; in bnxt_qplib_init_rcfw()
509 lvl = ctx->cq_tbl.level; in bnxt_qplib_init_rcfw()
512 lvl; in bnxt_qplib_init_rcfw()
513 lvl = ctx->tim_tbl.level; in bnxt_qplib_init_rcfw()
[all …]
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/
Dpower.c143 enum iwl_power_level lvl, int period) in iwl_static_sleep_cmd() argument
165 if (WARN_ON(lvl < 0 || lvl >= IWL_POWER_NUM)) in iwl_static_sleep_cmd()
168 *cmd = table[lvl].cmd; in iwl_static_sleep_cmd()
177 skip = table[lvl].no_dtim; in iwl_static_sleep_cmd()
240 IWL_DEBUG_POWER(priv, "Sleep command for index %d\n", lvl + 1); in iwl_static_sleep_cmd()

123456