Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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-6.6.21/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 …]
Dqos.c211 cfg->lvl = parent->level; in otx2_qos_txschq_set_parent_topology()
457 int lvl; in otx2_qos_alloc_txschq_node() local
460 for (lvl = node->level - 1; lvl >= NIX_TXSCH_LVL_MDQ; lvl--) { in otx2_qos_alloc_txschq_node()
466 txschq_node->level = lvl; in otx2_qos_alloc_txschq_node()
609 req->lvl = node->level; in otx2_qos_txschq_config()
625 int lvl, rc, schq; in otx2_qos_txschq_alloc() local
634 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc()
635 req->schq[lvl] = cfg->schq[lvl]; in otx2_qos_txschq_alloc()
636 req->schq_contig[lvl] = cfg->schq_contig[lvl]; in otx2_qos_txschq_alloc()
653 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc()
[all …]
Dotx2_common.c605 int otx2_txschq_config(struct otx2_nic *pfvf, int lvl, int prio, bool txschq_for_pfc) in otx2_txschq_config() argument
619 req->lvl = lvl; in otx2_txschq_config()
628 schq = schq_list[lvl][prio]; in otx2_txschq_config()
630 if (lvl == NIX_TXSCH_LVL_SMQ) { in otx2_txschq_config()
648 } else if (lvl == NIX_TXSCH_LVL_TL4) { in otx2_txschq_config()
655 } else if (lvl == NIX_TXSCH_LVL_TL3) { in otx2_txschq_config()
662 if (lvl == hw->txschq_link_cfg_lvl) { in otx2_txschq_config()
670 } else if (lvl == NIX_TXSCH_LVL_TL2) { in otx2_txschq_config()
679 if (lvl == hw->txschq_link_cfg_lvl) { in otx2_txschq_config()
687 } else if (lvl == NIX_TXSCH_LVL_TL1) { in otx2_txschq_config()
[all …]
/linux-6.6.21/tools/perf/util/
Dmem-events.c353 int lvl; in perf_mem__lvl_scnprintf() local
369 lvl = data_src.mem_lvl_num; in perf_mem__lvl_scnprintf()
370 if (lvl && lvl != PERF_MEM_LVLNUM_NA) { in perf_mem__lvl_scnprintf()
379 if (mem_lvlnum[lvl]) in perf_mem__lvl_scnprintf()
380 l += scnprintf(out + l, sz - l, mem_lvlnum[lvl]); in perf_mem__lvl_scnprintf()
382 l += scnprintf(out + l, sz - l, "L%d", lvl); in perf_mem__lvl_scnprintf()
388 lvl = data_src.mem_lvl; in perf_mem__lvl_scnprintf()
389 if (!lvl) in perf_mem__lvl_scnprintf()
392 lvl &= ~(PERF_MEM_LVL_NA | PERF_MEM_LVL_HIT | PERF_MEM_LVL_MISS); in perf_mem__lvl_scnprintf()
393 if (!lvl) in perf_mem__lvl_scnprintf()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c139 #define gen8_pd_shift(lvl) ((lvl) * ilog2(GEN8_PDES)) argument
140 #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl)) argument
141 #define __gen8_pte_shift(lvl) (GEN8_PTE_SHIFT + gen8_pd_shift(lvl)) argument
142 #define __gen8_pte_index(a, lvl) i915_pde_index((a), __gen8_pte_shift(lvl)) argument
147 gen8_pd_range(u64 start, u64 end, int lvl, unsigned int *idx) in gen8_pd_range() argument
149 const int shift = gen8_pd_shift(lvl); in gen8_pd_range()
150 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_range()
162 static bool gen8_pd_contains(u64 start, u64 end, int lvl) in gen8_pd_contains() argument
164 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_contains()
205 int count, int lvl) in __gen8_ppgtt_cleanup() argument
[all …]
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dtrace_dbg.h50 #define __hfi1_trace_def(lvl) \ argument
51 void __printf(2, 3) __hfi1_trace_##lvl(const char *funct, char *fmt, ...); \
53 DEFINE_EVENT(hfi1_trace_template, hfi1_ ##lvl, \
57 #define __hfi1_trace_fn(lvl) \ argument
58 void __printf(2, 3) __hfi1_trace_##lvl(const char *func, char *fmt, ...)\
67 trace_hfi1_ ##lvl(func, &vaf); \
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c271 int lvl, u16 pcifunc, u16 schq) in is_valid_txschq() argument
282 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()
292 if (lvl >= hw->cap.nix_tx_aggr_lvl) { in is_valid_txschq()
1636 int lvl, u64 reg, u64 regval) in handle_txschq_shaper_update() argument
1648 switch (lvl) { in handle_txschq_shaper_update()
1711 nixlf, schq, lvl); in handle_txschq_shaper_update()
1725 int lvl, int schq) in nix_reset_tx_schedule() argument
1729 switch (lvl) { in nix_reset_tx_schedule()
1764 int nixlf, int lvl, int schq) in nix_reset_tx_shaping() argument
1770 switch (lvl) { in nix_reset_tx_shaping()
[all …]
/linux-6.6.21/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-6.6.21/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.c60 unsigned int a, b, c, d, lvl; in arch_get_tsc_freq() local
69 get_cpuid_0(vendor, &lvl); in arch_get_tsc_freq()
77 if (lvl < 0x15) { in arch_get_tsc_freq()
/linux-6.6.21/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-6.6.21/tools/lib/bpf/
Dbtf_dump.c28 static const char *pfx(int lvl) in pfx() argument
30 return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; in pfx()
622 const struct btf_type *t, int lvl);
627 const struct btf_type *t, int lvl);
633 const struct btf_type *t, int lvl);
642 const char *fname, int lvl);
645 const char *fname, int lvl);
862 bool in_bitfield, int lvl) in btf_dump_emit_bit_padding() argument
917 btf_dump_printf(d, "\n%s%s: %d;", pfx(lvl), pad_type, in btf_dump_emit_bit_padding()
931 btf_dump_printf(d, "\n%s%s: %d;", pfx(lvl), pad_type, pad_bits); in btf_dump_emit_bit_padding()
[all …]
/linux-6.6.21/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>;
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/fs/btrfs/
Dmessages.c215 char lvl[PRINTK_MAX_SINGLE_HEADER_LEN + 1] = "\0"; in _btrfs_printk() local
232 memcpy(lvl, fmt, size); in _btrfs_printk()
233 lvl[size] = '\0'; in _btrfs_printk()
248 _printk("%sBTRFS %s (device %s%s): %pV\n", lvl, type, in _btrfs_printk()
251 _printk("%sBTRFS %s: %pV\n", lvl, type, &vaf); in _btrfs_printk()
/linux-6.6.21/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-6.6.21/tools/testing/selftests/timens/
Dlog.h6 #define pr_msg(fmt, lvl, ...) \ argument
8 lvl, __FILE__, __LINE__, ##__VA_ARGS__)
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_log.h46 #define usnic_printk(lvl, args...) \ argument
48 printk(lvl "%s:%s:%d: ", DRV_NAME, __func__, \
/linux-6.6.21/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-6.6.21/Documentation/devicetree/bindings/phy/
Dhisilicon,hi3670-usb3.yaml39 hisilicon,tx-vboost-lvl:
49 - hisilicon,tx-vboost-lvl
63 hisilicon,tx-vboost-lvl = <0x5>;

1234567