| /linux/drivers/iommu/ |
| H A D | io-pgtable-arm.c | 169 static inline bool iopte_leaf(arm_lpae_iopte pte, int lvl, in iopte_leaf() argument 172 if (lvl == (ARM_LPAE_MAX_LEVELS - 1) && fmt != ARM_MALI_LPAE) in iopte_leaf() 178 static inline bool iopte_table(arm_lpae_iopte pte, int lvl) in iopte_table() argument 180 if (lvl == (ARM_LPAE_MAX_LEVELS - 1)) in iopte_table() 335 int lvl, arm_lpae_iopte *ptep); 339 int lvl, int num_entries, arm_lpae_iopte *ptep) in __arm_lpae_init_pte() argument 343 size_t sz = ARM_LPAE_BLOCK_SIZE(lvl, data); in __arm_lpae_init_pte() 346 if (data->iop.fmt != ARM_MALI_LPAE && lvl == ARM_LPAE_MAX_LEVELS - 1) in __arm_lpae_init_pte() 360 arm_lpae_iopte prot, int lvl, int num_entries, in arm_lpae_init_pte() argument 366 if (iopte_leaf(ptep[i], lvl, data->iop.fmt)) { in arm_lpae_init_pte() [all …]
|
| /linux/tools/perf/util/ |
| H A D | mem-events.c | 447 int lvl; in perf_mem__lvl_scnprintf() local 463 lvl = data_src.mem_lvl_num; in perf_mem__lvl_scnprintf() 464 if (lvl && lvl != PERF_MEM_LVLNUM_NA) { in perf_mem__lvl_scnprintf() 473 if (mem_lvlnum[lvl]) in perf_mem__lvl_scnprintf() 474 l += scnprintf(out + l, sz - l, mem_lvlnum[lvl]); in perf_mem__lvl_scnprintf() 476 l += scnprintf(out + l, sz - l, "Unknown level %d", lvl); in perf_mem__lvl_scnprintf() 482 lvl = data_src.mem_lvl; in perf_mem__lvl_scnprintf() 483 if (!lvl) in perf_mem__lvl_scnprintf() 486 lvl &= ~(PERF_MEM_LVL_NA | PERF_MEM_LVL_HIT | PERF_MEM_LVL_MISS); in perf_mem__lvl_scnprintf() 487 if (!lvl) in perf_mem__lvl_scnprintf() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | gen8_ppgtt.c | 140 #define gen8_pd_shift(lvl) ((lvl) * ilog2(GEN8_PDES)) argument 141 #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl)) argument 142 #define __gen8_pte_shift(lvl) (GEN8_PTE_SHIFT + gen8_pd_shift(lvl)) argument 143 #define __gen8_pte_index(a, lvl) i915_pde_index((a), __gen8_pte_shift(lvl)) argument 148 gen8_pd_range(u64 start, u64 end, int lvl, unsigned int *idx) in gen8_pd_range() argument 150 const int shift = gen8_pd_shift(lvl); in gen8_pd_range() 151 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_range() 163 static bool gen8_pd_contains(u64 start, u64 end, int lvl) in gen8_pd_contains() argument 165 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_contains() 206 int count, int lvl) in __gen8_ppgtt_cleanup() argument [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | qos.c | 215 cfg->lvl = parent->level; in otx2_qos_txschq_set_parent_topology() 462 int lvl; in otx2_qos_alloc_txschq_node() local 465 for (lvl = node->level - 1; lvl >= NIX_TXSCH_LVL_MDQ; lvl--) { in otx2_qos_alloc_txschq_node() 471 txschq_node->level = lvl; in otx2_qos_alloc_txschq_node() 628 req->lvl = node->level; in otx2_qos_txschq_config() 644 int lvl, rc, schq; in otx2_qos_txschq_alloc() local 653 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc() 654 req->schq[lvl] = cfg->schq[lvl]; in otx2_qos_txschq_alloc() 655 req->schq_contig[lvl] = cfg->schq_contig[lvl]; in otx2_qos_txschq_alloc() 672 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc() [all …]
|
| H A D | otx2_common.c | 617 int otx2_txschq_config(struct otx2_nic *pfvf, int lvl, int prio, bool txschq_for_pfc) in otx2_txschq_config() argument 631 req->lvl = lvl; in otx2_txschq_config() 640 schq = schq_list[lvl][prio]; in otx2_txschq_config() 642 if (lvl == NIX_TXSCH_LVL_SMQ) { in otx2_txschq_config() 660 } else if (lvl == NIX_TXSCH_LVL_TL4) { in otx2_txschq_config() 677 } else if (lvl == NIX_TXSCH_LVL_TL3) { in otx2_txschq_config() 684 if (lvl == hw->txschq_link_cfg_lvl && in otx2_txschq_config() 693 } else if (lvl == NIX_TXSCH_LVL_TL2) { in otx2_txschq_config() 702 if (lvl == hw->txschq_link_cfg_lvl && in otx2_txschq_config() 711 } else if (lvl == NIX_TXSCH_LVL_TL1) { in otx2_txschq_config() [all …]
|
| /linux/net/netlabel/ |
| H 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() 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/arch/arm64/include/asm/ |
| H A D | kernel-pgtable.h | 48 #define EARLY_ENTRIES(lvl, vstart, vend) \ argument 49 SPAN_NR_ENTRIES(vstart, vend, SWAPPER_BLOCK_SHIFT + lvl * PTDESC_TABLE_SHIFT) 51 #define EARLY_LEVEL(lvl, lvls, vstart, vend, add) \ argument 52 ((lvls) > (lvl) ? EARLY_ENTRIES(lvl, vstart, vend) + (add) : 0)
|
| /linux/drivers/pcmcia/ |
| H A D | soc_common.h | 52 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/arch/sparc/mm/ |
| H A D | leon_mm.c | 42 unsigned int lvl, pte; in leon_swprobe() local 72 lvl = 3; in leon_swprobe() 94 lvl = 2; in leon_swprobe() 121 lvl = 1; in leon_swprobe() 143 lvl = 0; in leon_swprobe() 152 switch (lvl) { in leon_swprobe()
|
| /linux/fs/xfs/ |
| H A D | xfs_error.h | 23 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument 24 xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address) 25 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument 26 xfs_corruption_error(e, lvl, mp, buf, bufsize, \
|
| /linux/drivers/media/tuners/ |
| H 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/filesystems/overlayfs/ |
| H A D | log.h | 6 #define pr_msg(fmt, lvl, ...) \ argument 8 lvl, __FILE__, __LINE__, ##__VA_ARGS__)
|
| /linux/tools/testing/selftests/timens/ |
| H A D | log.h | 6 #define pr_msg(fmt, lvl, ...) \ argument 8 lvl, __FILE__, __LINE__, ##__VA_ARGS__)
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_log.h | 46 #define usnic_printk(lvl, args...) \ argument 48 printk(lvl "%s:%s:%d: ", DRV_NAME, __func__, \
|
| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_res.c | 137 int i, rc, lvl; in bng_re_alloc_init_hwq() local 268 lvl = hwq->level; in bng_re_alloc_init_hwq() 270 lvl = hwq->level - 1; in bng_re_alloc_init_hwq() 271 hwq->pbl_ptr = hwq->pbl[lvl].pg_arr; in bng_re_alloc_init_hwq() 272 hwq->pbl_dma_ptr = hwq->pbl[lvl].pg_map_arr; in bng_re_alloc_init_hwq()
|
| /linux/tools/thermal/lib/ |
| H A D | log.c | 23 int log_str2level(const char *lvl) in log_str2level() argument 28 if (!strcmp(lvl, loglvl[i])) in log_str2level()
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | da7218.txt | 28 - dlg,micbias1-lvl-millivolt : Voltage (mV) for Mic Bias 1 30 - dlg,micbias2-lvl-millivolt : Voltage (mV) for Mic Bias 2 84 dlg,micbias1-lvl-millivolt = <2600>; 85 dlg,micbias2-lvl-millivolt = <2600>;
|
| /linux/drivers/media/common/siano/ |
| H A D | sms-cards.c | 228 int lvl, ret; in sms_set_gpio() local 244 lvl = enable ? 0 : 1; in sms_set_gpio() 247 lvl = enable ? 1 : 0; in sms_set_gpio() 254 return smscore_set_gpio(coredev, gpio, lvl); in sms_set_gpio()
|
| /linux/arch/arc/kernel/ |
| H A D | mcip.c | 203 static void idu_set_mode(unsigned int cmn_irq, bool set_lvl, unsigned int lvl, in idu_set_mode() argument 209 unsigned int distr:2, pad:2, lvl:1, pad2:27; in idu_set_mode() member 217 data.lvl = lvl; in idu_set_mode()
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sm8250-xiaomi-pipa.dts | 105 /* S6c is really ebi.lvl but it's there for supply map completeness sake. */ 184 /* (S1+S2+S3) - cx.lvl (ARC) */ 224 /* L4 - lmx.lvl (ARC) */ 252 /* L10 is unused, L11 - lcx.lvl (ARC) */ 318 * (S1+S2) - gfx.lvl, 319 * S3 - mx.lvl, 320 * (S4+S5) - mmcx.lvl, 321 * S6 - ebi.lvl
|
| /linux/drivers/media/cec/core/ |
| H A D | cec-priv.h | 14 #define dprintk(lvl, fmt, arg...) \ argument 16 if (lvl <= cec_debug) \
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | pble.c | 437 struct irdma_pble_alloc *palloc, u8 lvl) in get_lvl1_lvl2_pble() argument 442 if (!status || lvl == PBLE_LEVEL_1 || palloc->total_cnt <= PBLE_PER_PAGE) in get_lvl1_lvl2_pble() 459 u8 lvl) in irdma_get_pble() argument 473 status = get_lvl1_lvl2_pble(pble_rsrc, palloc, lvl); in irdma_get_pble() 483 status = get_lvl1_lvl2_pble(pble_rsrc, palloc, lvl); in irdma_get_pble() 485 if (!status || lvl) in irdma_get_pble()
|
| /linux/drivers/media/pci/saa7164/ |
| H A D | saa7164-api.c | 67 struct tmComResDebugSetLevel lvl; in saa7164_api_set_debug() local 74 SET_DEBUG_LEVEL_CONTROL, sizeof(lvl), &lvl); in saa7164_api_set_debug() 78 dprintk(DBGLVL_API, "%s() Was %d\n", __func__, lvl.dwDebugLevel); in saa7164_api_set_debug() 80 lvl.dwDebugLevel = level; in saa7164_api_set_debug() 84 SET_DEBUG_LEVEL_CONTROL, sizeof(lvl), &lvl); in saa7164_api_set_debug() 533 struct tmComResAudioDefaults lvl; in saa7164_api_set_audio_std() local 540 lvl.ucDecoderLevel = TMHW_LEV_ADJ_DECLEV_DEFAULT; in saa7164_api_set_audio_std() 541 lvl.ucDecoderFM_Level = TMHW_LEV_ADJ_DECLEV_DEFAULT; in saa7164_api_set_audio_std() 542 lvl.ucMonoLevel = TMHW_LEV_ADJ_MONOLEV_DEFAULT; in saa7164_api_set_audio_std() 543 lvl.ucNICAM_Level = TMHW_LEV_ADJ_NICLEV_DEFAULT; in saa7164_api_set_audio_std() [all …]
|
| /linux/arch/x86/kvm/mmu/ |
| H A D | paging_tmpl.h | 66 #define PT_LVL_ADDR_MASK(lvl) __PT_LVL_ADDR_MASK(PT_BASE_ADDR_MASK, lvl, PT_LEVEL_BITS) argument 67 #define PT_LVL_OFFSET_MASK(lvl) __PT_LVL_OFFSET_MASK(PT_BASE_ADDR_MASK, lvl, PT_LEVEL_BITS) argument 68 #define PT_INDEX(addr, lvl) __PT_INDEX(addr, lvl, PT_LEVEL_BITS) argument 104 static gfn_t gpte_to_gfn_lvl(pt_element_t gpte, int lvl) in gpte_to_gfn_lvl() argument 106 return (gpte & PT_LVL_ADDR_MASK(lvl)) >> PAGE_SHIFT; in gpte_to_gfn_lvl()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | lnbp22.c | 27 #define dprintk(lvl, arg...) if (debug >= (lvl)) printk(arg) argument
|