/linux/drivers/iommu/ |
A D | io-pgtable-arm-v7s.c | 52 #define ARM_V7S_LVL_SHIFT(lvl) ((lvl) == 1 ? 20 : 12) argument 59 #define ARM_V7S_BLOCK_SIZE(lvl) (1UL << ARM_V7S_LVL_SHIFT(lvl)) argument 88 #define ARM_V7S_ATTR_XN(lvl) BIT(4 * (2 - (lvl))) argument 102 #define ARM_V7S_ATTR_SHIFT(lvl) (16 - (lvl) * 6) argument 244 if (lvl == 1) in __arm_v7s_alloc_table() 267 if (lvl == 2) in __arm_v7s_alloc_table() 275 if (lvl == 1) in __arm_v7s_alloc_table() 292 if (lvl == 1) in __arm_v7s_free_table() 370 if (lvl == 1) { in arm_v7s_pte_to_cont() 403 if (lvl == 1 && !ARM_V7S_PTE_IS_TABLE(pte, lvl)) in arm_v7s_pte_is_cont() [all …]
|
A D | io-pgtable-arm.c | 260 int lvl, arm_lpae_iopte *ptep); 305 lvl, tblp) != sz) { in arm_lpae_init_pte() 483 int ret, lvl = data->start_level; in arm_lpae_map_pages() local 524 if (lvl == data->start_level) in __arm_lpae_free_pgtable() 532 if (lvl == ARM_LPAE_MAX_LEVELS - 1) in __arm_lpae_free_pgtable() 571 if (WARN_ON(lvl == ARM_LPAE_MAX_LEVELS)) in arm_lpae_split_blk_unmap() 620 int lvl, arm_lpae_iopte *ptep) in __arm_lpae_unmap() argument 627 if (WARN_ON(lvl == ARM_LPAE_MAX_LEVELS)) in __arm_lpae_unmap() 668 lvl + 1, ptep, pgcount); in __arm_lpae_unmap() 708 int lvl = data->start_level; in arm_lpae_iova_to_phys() local [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | gen8_ppgtt.c | 110 #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 176 int count, int lvl) in __gen8_ppgtt_cleanup() argument 178 if (lvl) { in __gen8_ppgtt_cleanup() 231 if (lvl) { in __gen8_ppgtt_clear() 255 free_px(vm, pt, lvl); in __gen8_ppgtt_clear() 302 pt = stash->pt[!!lvl]; in __gen8_ppgtt_alloc() 318 if (lvl) { in __gen8_ppgtt_alloc() [all …]
|
/linux/tools/perf/util/ |
A D | mem-events.c | 358 if (mem_lvlnum[lvl]) in perf_mem__lvl_scnprintf() 480 u64 lvl = data_src->mem_lvl; in c2c_decode_stats() local 519 if (lvl & P(LVL, HIT)) { in c2c_decode_stats() 525 if (lvl & P(LVL, L3 )) { in c2c_decode_stats() 532 if (lvl & P(LVL, LOC_RAM)) { in c2c_decode_stats() 540 if ((lvl & P(LVL, REM_RAM1)) || in c2c_decode_stats() 551 if ((lvl & P(LVL, REM_CCE1)) || in c2c_decode_stats() 552 (lvl & P(LVL, REM_CCE2)) || in c2c_decode_stats() 560 if ((lvl & P(LVL, MISS))) in c2c_decode_stats() 572 if (lvl & P(LVL, HIT)) { in c2c_decode_stats() [all …]
|
/linux/net/netlabel/ |
A D | netlabel_cipso_v4.c | 173 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() 517 iter < doi_def->map.std->lvl.local_size; in netlbl_cipsov4_list() 519 if (doi_def->map.std->lvl.local[iter] == in netlbl_cipsov4_list() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | trace_dbg.h | 47 #define __hfi1_trace_def(lvl) \ argument 48 void __printf(2, 3) __hfi1_trace_##lvl(const char *funct, char *fmt, ...); \ 50 DEFINE_EVENT(hfi1_trace_template, hfi1_ ##lvl, \ 54 #define __hfi1_trace_fn(lvl) \ argument 55 void __printf(2, 3) __hfi1_trace_##lvl(const char *func, char *fmt, ...)\ 64 trace_hfi1_ ##lvl(func, &vaf); \
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | rvu_nix.c | 1996 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in rvu_mbox_handler_nix_txsch_alloc() 2003 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in rvu_mbox_handler_nix_txsch_alloc() 2007 if (!req->schq[lvl] && !req->schq_contig[lvl]) in rvu_mbox_handler_nix_txsch_alloc() 2010 rsp->schq[lvl] = req->schq[lvl]; in rvu_mbox_handler_nix_txsch_alloc() 2011 rsp->schq_contig[lvl] = req->schq_contig[lvl]; in rvu_mbox_handler_nix_txsch_alloc() 2121 for (lvl = NIX_TXSCH_LVL_MDQ; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in nix_txschq_free() 2159 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in nix_txschq_free() 2387 rsp->lvl = req->lvl; in nix_txschq_cfg_read() 3097 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in nix_setup_txschq() 3099 txsch->lvl = lvl; in nix_setup_txschq() [all …]
|
/linux/arch/s390/kernel/ |
A D | sysinfo.c | 44 *lvl = ((unsigned int) r0) >> 28; in __stsi() 56 int lvl, rc; in stsi() local 58 rc = __stsi(sysinfo, fc, sel1, sel2, &lvl); in stsi() 61 return fc ? 0 : lvl; in stsi() 243 size_t len = sizeof(info->ext_names[lvl]); in print_ext_name() 245 if (!convert_ext_name(info->vm[lvl].evmne, info->ext_names[lvl], len)) in print_ext_name() 248 info->ext_names[lvl]); in print_ext_name() 548 int lvl, i; in stsi_init_debugfs() local 551 lvl = stsi(NULL, 0, 0, 0); in stsi_init_debugfs() 552 if (lvl > 0) in stsi_init_debugfs() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | vmm.c | 77 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() 149 it->lvl++; in nvkm_vmm_unref_pdes() 193 it->lvl--; in nvkm_vmm_unref_pdes() 285 it->lvl++; in nvkm_vmm_unref_ptes() 287 it->lvl--; in nvkm_vmm_unref_ptes() 430 it->lvl--; in nvkm_vmm_ref_hwpt() 518 for (it.lvl = 0; desc[it.lvl].bits; it.lvl++) { in nvkm_vmm_iter() [all …]
|
/linux/tools/lib/bpf/ |
A D | btf_dump.c | 27 static const char *pfx(int lvl) in pfx() argument 29 return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; in pfx() 847 int align, int lvl) in btf_dump_emit_bit_padding() argument 893 int lvl) in btf_dump_emit_struct_def() argument 934 lvl + 1); in btf_dump_emit_struct_def() 978 int lvl) in btf_dump_emit_enum_def() argument 998 pfx(lvl + 1), name, dup_cnt, in btf_dump_emit_enum_def() 1002 pfx(lvl + 1), name, in btf_dump_emit_enum_def() 1105 int lvl, err; in btf_dump__emit_type_decl() local 1123 const char *fname, int lvl) in btf_dump_emit_type_decl() argument [all …]
|
/linux/arch/sparc/mm/ |
A D | leon_mm.c | 42 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/Documentation/devicetree/bindings/sound/ |
A D | da7213.txt | 13 - 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>;
|
A D | da7219.txt | 32 - 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/arch/mips/txx9/generic/ |
A D | irq_tx4939.c | 60 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_unmask() 63 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_unmask() 78 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_mask() 81 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_mask() 186 __raw_writel(0, &tx4939_ircptr->lvl[i].r); in tx4939_irq_init()
|
/linux/fs/xfs/ |
A D | xfs_error.h | 28 #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/drivers/pcmcia/ |
A D | soc_common.h | 170 int lvl, const char *fmt, ...); 172 #define debug(skt, lvl, fmt, arg...) \ argument 173 soc_pcmcia_debug(skt, __func__, lvl, fmt , ## arg) 176 #define debug(skt, lvl, fmt, arg...) do { } while (0) argument
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_common.c | 599 req->lvl = lvl; in otx2_txschq_config() 602 schq = hw->txschq_list[lvl][0]; in otx2_txschq_config() 604 if (lvl == NIX_TXSCH_LVL_SMQ) { in otx2_txschq_config() 673 int lvl; in otx2_txsch_alloc() local 681 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) in otx2_txsch_alloc() 682 req->schq[lvl] = 1; in otx2_txsch_alloc() 690 int lvl, schq, err; in otx2_txschq_stop() local 705 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_txschq_stop() 1569 int lvl, schq; in mbox_handler_nix_txsch_alloc() local 1572 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) in mbox_handler_nix_txsch_alloc() [all …]
|
/linux/arch/sparc/include/asm/ |
A D | ttable.h | 104 #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/drivers/infiniband/hw/bnxt_re/ |
A D | qplib_rcfw.c | 476 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() 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() 516 lvl; in bnxt_qplib_init_rcfw() [all …]
|
/linux/tools/perf/arch/x86/util/ |
A D | header.c | 29 unsigned int a, b, c, d, lvl; in __get_cpuid() local 34 cpuid(0, &lvl, &b, &c, &d); in __get_cpuid() 40 if (lvl >= 1) { in __get_cpuid()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | power.c | 143 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()
|
/linux/arch/x86/kvm/mmu/ |
A D | paging_tmpl.h | 28 #define PT_LVL_ADDR_MASK(lvl) PT64_LVL_ADDR_MASK(lvl) argument 29 #define PT_LVL_OFFSET_MASK(lvl) PT64_LVL_OFFSET_MASK(lvl) argument 47 #define PT_LVL_ADDR_MASK(lvl) PT32_LVL_ADDR_MASK(lvl) argument 48 #define PT_LVL_OFFSET_MASK(lvl) PT32_LVL_OFFSET_MASK(lvl) argument 61 #define PT_LVL_ADDR_MASK(lvl) PT64_LVL_ADDR_MASK(lvl) argument 62 #define PT_LVL_OFFSET_MASK(lvl) PT64_LVL_OFFSET_MASK(lvl) argument 99 static gfn_t gpte_to_gfn_lvl(pt_element_t gpte, int lvl) in gpte_to_gfn_lvl() argument 101 return (gpte & PT_LVL_ADDR_MASK(lvl)) >> PAGE_SHIFT; in gpte_to_gfn_lvl()
|
/linux/drivers/media/tuners/ |
A D | tda18271-priv.h | 135 #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/tools/testing/selftests/timens/ |
A D | log.h | 6 #define pr_msg(fmt, lvl, ...) \ argument 8 lvl, __FILE__, __LINE__, ##__VA_ARGS__)
|
/linux/net/ipv4/ |
A D | cipso_ipv4.c | 470 kfree(doi_def->map.std->lvl.cipso); in cipso_v4_doi_free() 471 kfree(doi_def->map.std->lvl.local); in cipso_v4_doi_free() 647 if ((level < doi_def->map.std->lvl.cipso_size) && in cipso_v4_map_lvl_valid() 677 if (host_lvl < doi_def->map.std->lvl.local_size && in cipso_v4_map_lvl_hton() 712 if (net_lvl < map_tbl->lvl.cipso_size && in cipso_v4_map_lvl_ntoh() 1186 secattr->attr.mls.lvl, in cipso_v4_gentag_rbm() 1239 secattr->attr.mls.lvl = level; in cipso_v4_parsetag_rbm() 1284 secattr->attr.mls.lvl, in cipso_v4_gentag_enum() 1331 secattr->attr.mls.lvl = level; in cipso_v4_parsetag_enum() 1375 secattr->attr.mls.lvl, in cipso_v4_gentag_rng() [all …]
|