lvl               205 arch/arc/kernel/mcip.c static void idu_set_mode(unsigned int cmn_irq, bool set_lvl, unsigned int lvl,
lvl               211 arch/arc/kernel/mcip.c 			unsigned int distr:2, pad:2, lvl:1, pad2:27;
lvl               219 arch/arc/kernel/mcip.c 		data.lvl = lvl;
lvl                88 arch/arm/include/asm/bug.h void show_pte(const char *lvl, struct mm_struct *mm, unsigned long addr);
lvl               116 arch/arm/kernel/traps.c static void dump_mem(const char *lvl, const char *str, unsigned long bottom,
lvl               131 arch/arm/kernel/traps.c 	printk("%s%s(0x%08lx to 0x%08lx)\n", lvl, str, bottom, top);
lvl               149 arch/arm/kernel/traps.c 		printk("%s%04lx:%s\n", lvl, first & 0xffff, str);
lvl               155 arch/arm/kernel/traps.c static void __dump_instr(const char *lvl, struct pt_regs *regs)
lvl               184 arch/arm/kernel/traps.c 	printk("%sCode: %s\n", lvl, str);
lvl               187 arch/arm/kernel/traps.c static void dump_instr(const char *lvl, struct pt_regs *regs)
lvl               194 arch/arm/kernel/traps.c 		__dump_instr(lvl, regs);
lvl               197 arch/arm/kernel/traps.c 		__dump_instr(lvl, regs);
lvl                34 arch/arm/mm/fault.c void show_pte(const char *lvl, struct mm_struct *mm, unsigned long addr)
lvl                41 arch/arm/mm/fault.c 	printk("%spgd = %p\n", lvl, mm->pgd);
lvl                43 arch/arm/mm/fault.c 	printk("%s[%08lx] *pgd=%08llx", lvl, addr, (long long)pgd_val(*pgd));
lvl                98 arch/arm/mm/fault.c void show_pte(const char *lvl, struct mm_struct *mm, unsigned long addr)
lvl                60 arch/arm64/kernel/traps.c static void dump_kernel_instr(const char *lvl, struct pt_regs *regs)
lvl                82 arch/arm64/kernel/traps.c 	printk("%sCode: %s\n", lvl, str);
lvl                87 arch/mips/include/asm/txx9/tx4939.h 	struct tx4939_le_reg lvl[16];
lvl                60 arch/mips/txx9/generic/irq_tx4939.c 		lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r;
lvl                63 arch/mips/txx9/generic/irq_tx4939.c 		lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r;
lvl                78 arch/mips/txx9/generic/irq_tx4939.c 		lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r;
lvl                81 arch/mips/txx9/generic/irq_tx4939.c 		lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r;
lvl               186 arch/mips/txx9/generic/irq_tx4939.c 		__raw_writel(0, &tx4939_ircptr->lvl[i].r);
lvl                25 arch/nds32/kernel/traps.c void dump_mem(const char *lvl, unsigned long bottom, unsigned long top)
lvl                39 arch/nds32/kernel/traps.c 	pr_emerg("%s(0x%08lx to 0x%08lx)\n", lvl, bottom, top);
lvl                57 arch/nds32/kernel/traps.c 		pr_emerg("%s%04lx:%s\n", lvl, first & 0xffff, str);
lvl                52 arch/parisc/kernel/smp.c #define smp_debug(lvl, printargs...)		\
lvl                53 arch/parisc/kernel/smp.c 		if (lvl >= smp_debug_lvl)	\
lvl                56 arch/parisc/kernel/smp.c #define smp_debug(lvl, ...)	do { } while(0)
lvl                73 arch/parisc/kernel/traps.c #define PRINTREGS(lvl,r,f,fmt,x)	\
lvl                75 arch/parisc/kernel/traps.c 		lvl, f, (x), (x+3), (r)[(x)+0], (r)[(x)+1],		\
lvl                26 arch/s390/kernel/sysinfo.c static inline int __stsi(void *sysinfo, int fc, int sel1, int sel2, int *lvl)
lvl                41 arch/s390/kernel/sysinfo.c 	*lvl = ((unsigned int) r0) >> 28;
lvl                53 arch/s390/kernel/sysinfo.c 	int lvl, rc;
lvl                55 arch/s390/kernel/sysinfo.c 	rc = __stsi(sysinfo, fc, sel1, sel2, &lvl);
lvl                58 arch/s390/kernel/sysinfo.c 	return fc ? 0 : lvl;
lvl               237 arch/s390/kernel/sysinfo.c static void print_ext_name(struct seq_file *m, int lvl,
lvl               240 arch/s390/kernel/sysinfo.c 	size_t len = sizeof(info->ext_names[lvl]);
lvl               242 arch/s390/kernel/sysinfo.c 	if (!convert_ext_name(info->vm[lvl].evmne, info->ext_names[lvl], len))
lvl               244 arch/s390/kernel/sysinfo.c 	seq_printf(m, "VM%02d Extended Name:   %-.256s\n", lvl,
lvl               245 arch/s390/kernel/sysinfo.c 		   info->ext_names[lvl]);
lvl               545 arch/s390/kernel/sysinfo.c 	int lvl, i;
lvl               548 arch/s390/kernel/sysinfo.c 	lvl = stsi(NULL, 0, 0, 0);
lvl               549 arch/s390/kernel/sysinfo.c 	if (lvl > 0)
lvl               550 arch/s390/kernel/sysinfo.c 		stsi_0_0_0 = lvl;
lvl               104 arch/sparc/include/asm/ttable.h #define TRAP_UTRAP(handler,lvl)				\
lvl               107 arch/sparc/include/asm/ttable.h 	 mov	lvl, %g4;				\
lvl               170 arch/sparc/include/asm/ttable.h #define BTRAP(lvl) TRAP_ARG(bad_trap, lvl)
lvl               172 arch/sparc/include/asm/ttable.h #define BTRAPTL1(lvl) TRAPTL1_ARG(bad_trap_tl1, lvl)
lvl               185 arch/sparc/include/asm/ttable.h #define KPROBES_TRAP(lvl) TRAP_IRQ(kprobe_trap, lvl)
lvl               187 arch/sparc/include/asm/ttable.h #define KPROBES_TRAP(lvl) TRAP_ARG(bad_trap, lvl)
lvl               191 arch/sparc/include/asm/ttable.h #define UPROBES_TRAP(lvl) TRAP_ARG(uprobe_trap, lvl)
lvl               193 arch/sparc/include/asm/ttable.h #define UPROBES_TRAP(lvl) TRAP_ARG(bad_trap, lvl)
lvl               197 arch/sparc/include/asm/ttable.h #define KGDB_TRAP(lvl) TRAP_IRQ(kgdb_trap, lvl)
lvl               199 arch/sparc/include/asm/ttable.h #define KGDB_TRAP(lvl) TRAP_ARG(bad_trap, lvl)
lvl                88 arch/sparc/kernel/entry.h void bad_trap_tl1(struct pt_regs *regs, long lvl);
lvl                38 arch/sparc/kernel/sun4d_irq.c static unsigned int sun4d_encode_irq(int board, int lvl, int slot)
lvl                40 arch/sparc/kernel/sun4d_irq.c 	return (board + 1) << 5 | (lvl << 2) | slot;
lvl                88 arch/sparc/kernel/traps_64.c void bad_trap(struct pt_regs *regs, long lvl)
lvl                93 arch/sparc/kernel/traps_64.c 		       0, lvl, SIGTRAP) == NOTIFY_STOP)
lvl                96 arch/sparc/kernel/traps_64.c 	if (lvl < 0x100) {
lvl                97 arch/sparc/kernel/traps_64.c 		sprintf(buffer, "Bad hw trap %lx at tl0\n", lvl);
lvl               101 arch/sparc/kernel/traps_64.c 	lvl -= 0x100;
lvl               103 arch/sparc/kernel/traps_64.c 		sprintf(buffer, "Kernel bad sw trap %lx", lvl);
lvl               111 arch/sparc/kernel/traps_64.c 			(void __user *)regs->tpc, lvl);
lvl               114 arch/sparc/kernel/traps_64.c void bad_trap_tl1(struct pt_regs *regs, long lvl)
lvl               119 arch/sparc/kernel/traps_64.c 		       0, lvl, SIGTRAP) == NOTIFY_STOP)
lvl               124 arch/sparc/kernel/traps_64.c 	sprintf (buffer, "Bad trap %lx at tl>0", lvl);
lvl                42 arch/sparc/mm/leon_mm.c 	unsigned int lvl, pte, paddrbase;
lvl                74 arch/sparc/mm/leon_mm.c 		lvl = 3;
lvl                97 arch/sparc/mm/leon_mm.c 		lvl = 2;
lvl               125 arch/sparc/mm/leon_mm.c 		lvl = 1;
lvl               148 arch/sparc/mm/leon_mm.c 		lvl = 0;
lvl               158 arch/sparc/mm/leon_mm.c 	switch (lvl) {
lvl                64 arch/unicore32/kernel/traps.c static void dump_mem(const char *lvl, const char *str, unsigned long bottom,
lvl                80 arch/unicore32/kernel/traps.c 			lvl, str, bottom, top);
lvl                98 arch/unicore32/kernel/traps.c 		printk(KERN_DEFAULT "%s%04lx:%s\n", lvl, first & 0xffff, str);
lvl               104 arch/unicore32/kernel/traps.c static void dump_instr(const char *lvl, struct pt_regs *regs)
lvl               133 arch/unicore32/kernel/traps.c 	printk(KERN_DEFAULT "%sCode: %s\n", lvl, str);
lvl                97 arch/x86/kernel/cpu/microcode/core.c 	u32 lvl, dummy, i;
lvl               100 arch/x86/kernel/cpu/microcode/core.c 	native_rdmsr(MSR_AMD64_PATCH_LEVEL, lvl, dummy);
lvl               108 arch/x86/kernel/cpu/microcode/core.c 		if (lvl == levels[i])
lvl                28 arch/x86/kvm/paging_tmpl.h 	#define PT_LVL_ADDR_MASK(lvl) PT64_LVL_ADDR_MASK(lvl)
lvl                29 arch/x86/kvm/paging_tmpl.h 	#define PT_LVL_OFFSET_MASK(lvl) PT64_LVL_OFFSET_MASK(lvl)
lvl                47 arch/x86/kvm/paging_tmpl.h 	#define PT_LVL_ADDR_MASK(lvl) PT32_LVL_ADDR_MASK(lvl)
lvl                48 arch/x86/kvm/paging_tmpl.h 	#define PT_LVL_OFFSET_MASK(lvl) PT32_LVL_OFFSET_MASK(lvl)
lvl                61 arch/x86/kvm/paging_tmpl.h 	#define PT_LVL_ADDR_MASK(lvl) PT64_LVL_ADDR_MASK(lvl)
lvl                62 arch/x86/kvm/paging_tmpl.h 	#define PT_LVL_OFFSET_MASK(lvl) PT64_LVL_OFFSET_MASK(lvl)
lvl                99 arch/x86/kvm/paging_tmpl.h static gfn_t gpte_to_gfn_lvl(pt_element_t gpte, int lvl)
lvl               101 arch/x86/kvm/paging_tmpl.h 	return (gpte & PT_LVL_ADDR_MASK(lvl)) >> PAGE_SHIFT;
lvl               414 arch/x86/pci/mmconfig-shared.c static acpi_status find_mboard_resource(acpi_handle handle, u32 lvl,
lvl               897 block/blk-iocost.c 	int lvl;
lvl               903 block/blk-iocost.c 	for (lvl = iocg->level - 1; lvl >= 0; lvl--) {
lvl               904 block/blk-iocost.c 		struct ioc_gq *parent = iocg->ancestors[lvl];
lvl               905 block/blk-iocost.c 		struct ioc_gq *child = iocg->ancestors[lvl + 1];
lvl               960 block/blk-iocost.c 	int lvl;
lvl               982 block/blk-iocost.c 	for (lvl = 0; lvl <= iocg->level - 1; lvl++) {
lvl               983 block/blk-iocost.c 		struct ioc_gq *parent = iocg->ancestors[lvl];
lvl               984 block/blk-iocost.c 		struct ioc_gq *child = iocg->ancestors[lvl + 1];
lvl               495 drivers/acpi/acpi_processor.c 							  u32 lvl,
lvl               635 drivers/acpi/acpi_processor.c 						  u32 lvl,
lvl                96 drivers/acpi/ioapic.c static acpi_status handle_ioapic_add(acpi_handle handle, u32 lvl,
lvl                87 drivers/acpi/pci_slot.c register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
lvl               160 drivers/acpi/processor_pdc.c early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv)
lvl               141 drivers/acpi/scan.c static acpi_status acpi_bus_offline(acpi_handle handle, u32 lvl, void *data,
lvl               186 drivers/acpi/scan.c static acpi_status acpi_bus_online(acpi_handle handle, u32 lvl, void *data,
lvl                63 drivers/acpi/video_detect.c find_video(acpi_handle handle, u32 lvl, void *context, void **rv)
lvl               820 drivers/extcon/extcon-arizona.c 	unsigned int val = 0, lvl;
lvl               964 drivers/extcon/extcon-arizona.c 			lvl = val & ARIZONA_MICD_LVL_MASK;
lvl               965 drivers/extcon/extcon-arizona.c 			lvl >>= ARIZONA_MICD_LVL_SHIFT;
lvl               971 drivers/extcon/extcon-arizona.c 			WARN_ON(!lvl);
lvl               972 drivers/extcon/extcon-arizona.c 			WARN_ON(ffs(lvl) - 1 >= info->num_micd_ranges);
lvl               973 drivers/extcon/extcon-arizona.c 			if (lvl && ffs(lvl) - 1 < info->num_micd_ranges) {
lvl               974 drivers/extcon/extcon-arizona.c 				key = info->micd_ranges[ffs(lvl) - 1].key;
lvl               416 drivers/firmware/arm_scmi/perf.c 	struct scmi_perf_set_level *lvl;
lvl               419 drivers/firmware/arm_scmi/perf.c 				 sizeof(*lvl), 0, &t);
lvl               424 drivers/firmware/arm_scmi/perf.c 	lvl = t->tx.buf;
lvl               425 drivers/firmware/arm_scmi/perf.c 	lvl->domain = cpu_to_le32(domain);
lvl               426 drivers/firmware/arm_scmi/perf.c 	lvl->level = cpu_to_le32(level);
lvl               258 drivers/gpio/gpio-adp5588.c 				int lvl = key & (1 << 7);
lvl               262 drivers/gpio/gpio-adp5588.c 				if ((lvl && dev->int_lvl_high[bank] & bit) ||
lvl               263 drivers/gpio/gpio-adp5588.c 				    (!lvl && dev->int_lvl_low[bank] & bit))
lvl               376 drivers/gpio/gpio-tegra.c 	u32 lvl;
lvl               388 drivers/gpio/gpio-tegra.c 		lvl = tegra_gpio_readl(tgi, GPIO_INT_LVL(tgi, gpio));
lvl               398 drivers/gpio/gpio-tegra.c 			if (!unmasked && lvl & (0x100 << pin)) {
lvl               789 drivers/gpu/drm/i2c/tda998x_drv.c 	u8 sta, cec, lvl, flag0, flag1, flag2;
lvl               795 drivers/gpu/drm/i2c/tda998x_drv.c 		lvl = cec_read(priv, REG_CEC_RXSHPDLEV);
lvl               801 drivers/gpu/drm/i2c/tda998x_drv.c 			sta, cec, lvl, flag0, flag1, flag2);
lvl               804 drivers/gpu/drm/i2c/tda998x_drv.c 			if (lvl & CEC_RXSHPDLEV_HPD) {
lvl               873 drivers/gpu/drm/i915/i915_gem_gtt.c #define gen8_pd_shift(lvl) ((lvl) * ilog2(GEN8_PDES))
lvl               874 drivers/gpu/drm/i915/i915_gem_gtt.c #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl))
lvl               875 drivers/gpu/drm/i915/i915_gem_gtt.c #define __gen8_pte_shift(lvl) (GEN8_PTE_SHIFT + gen8_pd_shift(lvl))
lvl               876 drivers/gpu/drm/i915/i915_gem_gtt.c #define __gen8_pte_index(a, lvl) i915_pde_index((a), __gen8_pte_shift(lvl))
lvl               879 drivers/gpu/drm/i915/i915_gem_gtt.c gen8_pd_range(u64 start, u64 end, int lvl, unsigned int *idx)
lvl               881 drivers/gpu/drm/i915/i915_gem_gtt.c 	const int shift = gen8_pd_shift(lvl);
lvl               882 drivers/gpu/drm/i915/i915_gem_gtt.c 	const u64 mask = ~0ull << gen8_pd_shift(lvl + 1);
lvl               894 drivers/gpu/drm/i915/i915_gem_gtt.c static inline bool gen8_pd_contains(u64 start, u64 end, int lvl)
lvl               896 drivers/gpu/drm/i915/i915_gem_gtt.c 	const u64 mask = ~0ull << gen8_pd_shift(lvl + 1);
lvl               936 drivers/gpu/drm/i915/i915_gem_gtt.c 				 int count, int lvl)
lvl               938 drivers/gpu/drm/i915/i915_gem_gtt.c 	if (lvl) {
lvl               945 drivers/gpu/drm/i915/i915_gem_gtt.c 			__gen8_ppgtt_cleanup(vm, *pde, GEN8_PDES, lvl - 1);
lvl               965 drivers/gpu/drm/i915/i915_gem_gtt.c 			      u64 start, const u64 end, int lvl)
lvl               967 drivers/gpu/drm/i915/i915_gem_gtt.c 	const struct i915_page_scratch * const scratch = &vm->scratch[lvl];
lvl               972 drivers/gpu/drm/i915/i915_gem_gtt.c 	len = gen8_pd_range(start, end, lvl--, &idx);
lvl               974 drivers/gpu/drm/i915/i915_gem_gtt.c 	    __func__, vm, lvl + 1, start, end,
lvl               982 drivers/gpu/drm/i915/i915_gem_gtt.c 		    gen8_pd_contains(start, end, lvl)) {
lvl               984 drivers/gpu/drm/i915/i915_gem_gtt.c 			    __func__, vm, lvl + 1, idx, start, end);
lvl               986 drivers/gpu/drm/i915/i915_gem_gtt.c 			__gen8_ppgtt_cleanup(vm, as_pd(pt), I915_PDES, lvl);
lvl               987 drivers/gpu/drm/i915/i915_gem_gtt.c 			start += (u64)I915_PDES << gen8_pd_shift(lvl);
lvl               991 drivers/gpu/drm/i915/i915_gem_gtt.c 		if (lvl) {
lvl               993 drivers/gpu/drm/i915/i915_gem_gtt.c 						   start, end, lvl);
lvl              1000 drivers/gpu/drm/i915/i915_gem_gtt.c 			    __func__, vm, lvl, start, end,
lvl              1039 drivers/gpu/drm/i915/i915_gem_gtt.c 			      u64 * const start, const u64 end, int lvl)
lvl              1041 drivers/gpu/drm/i915/i915_gem_gtt.c 	const struct i915_page_scratch * const scratch = &vm->scratch[lvl];
lvl              1048 drivers/gpu/drm/i915/i915_gem_gtt.c 	len = gen8_pd_range(*start, end, lvl--, &idx);
lvl              1050 drivers/gpu/drm/i915/i915_gem_gtt.c 	    __func__, vm, lvl + 1, *start, end,
lvl              1063 drivers/gpu/drm/i915/i915_gem_gtt.c 			    __func__, vm, lvl + 1, idx);
lvl              1066 drivers/gpu/drm/i915/i915_gem_gtt.c 			if (lvl) {
lvl              1075 drivers/gpu/drm/i915/i915_gem_gtt.c 				fill_px(pt, vm->scratch[lvl].encode);
lvl              1087 drivers/gpu/drm/i915/i915_gem_gtt.c 					fill_px(pt, vm->scratch[lvl].encode);
lvl              1097 drivers/gpu/drm/i915/i915_gem_gtt.c 		if (lvl) {
lvl              1102 drivers/gpu/drm/i915/i915_gem_gtt.c 						 start, end, lvl);
lvl              1116 drivers/gpu/drm/i915/i915_gem_gtt.c 			    __func__, vm, lvl, *start, end,
lvl                41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c #define bioslog(lvl, fmt, args...) do {                                        \
lvl                42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	nvkm_printk(init->subdev, lvl, info, "0x%08x[%c]: "fmt,                \
lvl                77 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	u16 max, lvl;
lvl               100 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	int lvl;
lvl               101 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	for (lvl = it->max; lvl >= 0; lvl--) {
lvl               102 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (lvl >= it->lvl)
lvl               103 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			buf += sprintf(buf,  "%05x:", it->pte[lvl]);
lvl               122 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it->flush = min(it->flush, it->max - it->lvl);
lvl               141 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const int type = desc[it->lvl].type == SPT;
lvl               142 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	struct nvkm_vmm_pt *pgd = it->pt[it->lvl + 1];
lvl               143 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	struct nvkm_vmm_pt *pgt = it->pt[it->lvl];
lvl               146 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	u32 pdei = it->pte[it->lvl + 1];
lvl               149 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it->lvl++;
lvl               151 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		const struct nvkm_vmm_desc_func *func = desc[it->lvl].func;
lvl               153 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		TRA(it, "PDE unmap %s", nvkm_vmm_desc_type(&desc[it->lvl - 1]));
lvl               189 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	TRA(it, "PDE free %s", nvkm_vmm_desc_type(&desc[it->lvl - 1]));
lvl               193 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it->lvl--;
lvl               285 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		it->lvl++;
lvl               287 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		it->lvl--;
lvl               415 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = &it->desc[it->lvl - 1];
lvl               430 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		it->lvl--;
lvl               478 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it->desc[it->lvl].func->pde(it->vmm, pgd, pdei);
lvl               486 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = &it->desc[it->lvl - 1];
lvl               518 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	for (it.lvl = 0; desc[it.lvl].bits; it.lvl++) {
lvl               519 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		it.pte[it.lvl] = bits & ((1 << desc[it.lvl].bits) - 1);
lvl               520 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		bits >>= desc[it.lvl].bits;
lvl               522 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it.max = --it.lvl;
lvl               525 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it.lvl = 0;
lvl               528 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it.lvl = it.max;
lvl               532 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		struct nvkm_vmm_pt *pgt = it.pt[it.lvl];
lvl               539 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		for (; it.lvl; it.lvl--) {
lvl               540 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			const u32 pdei = it.pte[it.lvl];
lvl               548 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			it.pt[it.lvl - 1] = pgt = pgd->pde[pdei];
lvl               556 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			if (ref && !pgt->refs[desc[it.lvl - 1].type == SPT]) {
lvl               575 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		it.pte[it.lvl] += ptes;
lvl               578 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			while (it.pte[it.lvl] == (1 << desc[it.lvl].bits)) {
lvl               579 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 				it.pte[it.lvl++] = 0;
lvl               580 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 				it.pte[it.lvl]++;
lvl               462 drivers/hid/hid-asus.c 	u8 lvl;
lvl               465 drivers/hid/hid-asus.c 	lvl = data[1];
lvl               468 drivers/hid/hid-asus.c 	drvdata->battery_capacity = ((int)lvl * 100) / (int)BATTERY_LEVEL_MAX;
lvl              1247 drivers/hid/usbhid/hid-core.c static int usbhid_power(struct hid_device *hid, int lvl)
lvl              1252 drivers/hid/usbhid/hid-core.c 	switch (lvl) {
lvl                15 drivers/ide/ide-cd.h #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args)
lvl                17 drivers/ide/ide-cd.h #define ide_debug_log(lvl, fmt, args...) do {} while (0)
lvl                12 drivers/ide/ide-gd.h #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args)
lvl                14 drivers/ide/ide-gd.h #define ide_debug_log(lvl, fmt, args...) do {} while (0)
lvl                53 drivers/ide/ide-tape.c #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args)
lvl                55 drivers/ide/ide-tape.c #define ide_debug_log(lvl, fmt, args...) do {} while (0)
lvl                88 drivers/infiniband/hw/hfi1/trace_dbg.h #define __hfi1_trace_def(lvl) \
lvl                89 drivers/infiniband/hw/hfi1/trace_dbg.h void __printf(2, 3) __hfi1_trace_##lvl(const char *funct, char *fmt, ...); \
lvl                91 drivers/infiniband/hw/hfi1/trace_dbg.h DEFINE_EVENT(hfi1_trace_template, hfi1_ ##lvl,				\
lvl                95 drivers/infiniband/hw/hfi1/trace_dbg.h #define __hfi1_trace_fn(lvl) \
lvl                96 drivers/infiniband/hw/hfi1/trace_dbg.h void __printf(2, 3) __hfi1_trace_##lvl(const char *func, char *fmt, ...)\
lvl               105 drivers/infiniband/hw/hfi1/trace_dbg.h 	trace_hfi1_ ##lvl(func, &vaf);					\
lvl                46 drivers/infiniband/hw/usnic/usnic_log.h #define usnic_printk(lvl, args...) \
lvl                48 drivers/infiniband/hw/usnic/usnic_log.h 		printk(lvl "%s:%s:%d: ", DRV_NAME, __func__, \
lvl               281 drivers/iommu/amd_iommu_types.h #define PM_MAP_MASK(lvl)	(PM_ADDR_MASK & \
lvl               282 drivers/iommu/amd_iommu_types.h 				(~((1ULL << (12 + ((lvl) * 9))) - 1)))
lvl               283 drivers/iommu/amd_iommu_types.h #define PM_ALIGNED(lvl, addr)	((PM_MAP_MASK(lvl) & (addr)) == (addr))
lvl              2087 drivers/iommu/dmar.c static acpi_status dmar_get_dsm_handle(acpi_handle handle, u32 lvl,
lvl               146 drivers/iommu/intel-iommu.c static inline unsigned long lvl_to_nr_pages(unsigned int lvl)
lvl               148 drivers/iommu/intel-iommu.c 	return  1 << min_t(int, (lvl - 1) * LEVEL_STRIDE, MAX_AGAW_PFN_WIDTH);
lvl                52 drivers/iommu/io-pgtable-arm-v7s.c #define _ARM_V7S_LVL_BITS(lvl)		(16 - (lvl) * 4)
lvl                53 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_LVL_SHIFT(lvl)		(ARM_V7S_ADDR_BITS - (4 + 8 * (lvl)))
lvl                56 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_PTES_PER_LVL(lvl)	(1 << _ARM_V7S_LVL_BITS(lvl))
lvl                57 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_TABLE_SIZE(lvl)						\
lvl                58 drivers/iommu/io-pgtable-arm-v7s.c 	(ARM_V7S_PTES_PER_LVL(lvl) * sizeof(arm_v7s_iopte))
lvl                60 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_BLOCK_SIZE(lvl)		(1UL << ARM_V7S_LVL_SHIFT(lvl))
lvl                61 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_LVL_MASK(lvl)		((u32)(~0U << ARM_V7S_LVL_SHIFT(lvl)))
lvl                63 drivers/iommu/io-pgtable-arm-v7s.c #define _ARM_V7S_IDX_MASK(lvl)		(ARM_V7S_PTES_PER_LVL(lvl) - 1)
lvl                64 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_LVL_IDX(addr, lvl)	({				\
lvl                65 drivers/iommu/io-pgtable-arm-v7s.c 	int _l = lvl;							\
lvl                85 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_PTE_IS_TABLE(pte, lvl) \
lvl                86 drivers/iommu/io-pgtable-arm-v7s.c 	((lvl) == 1 && (((pte) & 0x3) == ARM_V7S_PTE_TYPE_TABLE))
lvl                89 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_ATTR_XN(lvl)		BIT(4 * (2 - (lvl)))
lvl               103 drivers/iommu/io-pgtable-arm-v7s.c #define ARM_V7S_ATTR_SHIFT(lvl)		(16 - (lvl) * 6)
lvl               174 drivers/iommu/io-pgtable-arm-v7s.c static bool arm_v7s_pte_is_cont(arm_v7s_iopte pte, int lvl);
lvl               187 drivers/iommu/io-pgtable-arm-v7s.c static arm_v7s_iopte paddr_to_iopte(phys_addr_t paddr, int lvl,
lvl               190 drivers/iommu/io-pgtable-arm-v7s.c 	arm_v7s_iopte pte = paddr & ARM_V7S_LVL_MASK(lvl);
lvl               202 drivers/iommu/io-pgtable-arm-v7s.c static phys_addr_t iopte_to_paddr(arm_v7s_iopte pte, int lvl,
lvl               208 drivers/iommu/io-pgtable-arm-v7s.c 	if (ARM_V7S_PTE_IS_TABLE(pte, lvl))
lvl               210 drivers/iommu/io-pgtable-arm-v7s.c 	else if (arm_v7s_pte_is_cont(pte, lvl))
lvl               211 drivers/iommu/io-pgtable-arm-v7s.c 		mask = ARM_V7S_LVL_MASK(lvl) * ARM_V7S_CONT_PAGES;
lvl               213 drivers/iommu/io-pgtable-arm-v7s.c 		mask = ARM_V7S_LVL_MASK(lvl);
lvl               226 drivers/iommu/io-pgtable-arm-v7s.c static arm_v7s_iopte *iopte_deref(arm_v7s_iopte pte, int lvl,
lvl               229 drivers/iommu/io-pgtable-arm-v7s.c 	return phys_to_virt(iopte_to_paddr(pte, lvl, &data->iop.cfg));
lvl               232 drivers/iommu/io-pgtable-arm-v7s.c static void *__arm_v7s_alloc_table(int lvl, gfp_t gfp,
lvl               239 drivers/iommu/io-pgtable-arm-v7s.c 	size_t size = ARM_V7S_TABLE_SIZE(lvl);
lvl               242 drivers/iommu/io-pgtable-arm-v7s.c 	if (lvl == 1)
lvl               245 drivers/iommu/io-pgtable-arm-v7s.c 	else if (lvl == 2)
lvl               265 drivers/iommu/io-pgtable-arm-v7s.c 	if (lvl == 2)
lvl               273 drivers/iommu/io-pgtable-arm-v7s.c 	if (lvl == 1)
lvl               280 drivers/iommu/io-pgtable-arm-v7s.c static void __arm_v7s_free_table(void *table, int lvl,
lvl               285 drivers/iommu/io-pgtable-arm-v7s.c 	size_t size = ARM_V7S_TABLE_SIZE(lvl);
lvl               290 drivers/iommu/io-pgtable-arm-v7s.c 	if (lvl == 1)
lvl               316 drivers/iommu/io-pgtable-arm-v7s.c static arm_v7s_iopte arm_v7s_prot_to_pte(int prot, int lvl,
lvl               331 drivers/iommu/io-pgtable-arm-v7s.c 	pte <<= ARM_V7S_ATTR_SHIFT(lvl);
lvl               334 drivers/iommu/io-pgtable-arm-v7s.c 		pte |= ARM_V7S_ATTR_XN(lvl);
lvl               341 drivers/iommu/io-pgtable-arm-v7s.c 	if (lvl == 1 && (cfg->quirks & IO_PGTABLE_QUIRK_ARM_NS))
lvl               347 drivers/iommu/io-pgtable-arm-v7s.c static int arm_v7s_pte_to_prot(arm_v7s_iopte pte, int lvl)
lvl               350 drivers/iommu/io-pgtable-arm-v7s.c 	arm_v7s_iopte attr = pte >> ARM_V7S_ATTR_SHIFT(lvl);
lvl               360 drivers/iommu/io-pgtable-arm-v7s.c 	if (pte & ARM_V7S_ATTR_XN(lvl))
lvl               366 drivers/iommu/io-pgtable-arm-v7s.c static arm_v7s_iopte arm_v7s_pte_to_cont(arm_v7s_iopte pte, int lvl)
lvl               368 drivers/iommu/io-pgtable-arm-v7s.c 	if (lvl == 1) {
lvl               370 drivers/iommu/io-pgtable-arm-v7s.c 	} else if (lvl == 2) {
lvl               371 drivers/iommu/io-pgtable-arm-v7s.c 		arm_v7s_iopte xn = pte & ARM_V7S_ATTR_XN(lvl);
lvl               382 drivers/iommu/io-pgtable-arm-v7s.c static arm_v7s_iopte arm_v7s_cont_to_pte(arm_v7s_iopte pte, int lvl)
lvl               384 drivers/iommu/io-pgtable-arm-v7s.c 	if (lvl == 1) {
lvl               386 drivers/iommu/io-pgtable-arm-v7s.c 	} else if (lvl == 2) {
lvl               399 drivers/iommu/io-pgtable-arm-v7s.c static bool arm_v7s_pte_is_cont(arm_v7s_iopte pte, int lvl)
lvl               401 drivers/iommu/io-pgtable-arm-v7s.c 	if (lvl == 1 && !ARM_V7S_PTE_IS_TABLE(pte, lvl))
lvl               403 drivers/iommu/io-pgtable-arm-v7s.c 	else if (lvl == 2)
lvl               414 drivers/iommu/io-pgtable-arm-v7s.c 			    int lvl, int num_entries, arm_v7s_iopte *ptep)
lvl               421 drivers/iommu/io-pgtable-arm-v7s.c 		if (ARM_V7S_PTE_IS_TABLE(ptep[i], lvl)) {
lvl               427 drivers/iommu/io-pgtable-arm-v7s.c 			size_t sz = ARM_V7S_BLOCK_SIZE(lvl);
lvl               429 drivers/iommu/io-pgtable-arm-v7s.c 			tblp = ptep - ARM_V7S_LVL_IDX(iova, lvl);
lvl               431 drivers/iommu/io-pgtable-arm-v7s.c 						    sz, lvl, tblp) != sz))
lvl               439 drivers/iommu/io-pgtable-arm-v7s.c 	pte = arm_v7s_prot_to_pte(prot, lvl, cfg);
lvl               441 drivers/iommu/io-pgtable-arm-v7s.c 		pte = arm_v7s_pte_to_cont(pte, lvl);
lvl               443 drivers/iommu/io-pgtable-arm-v7s.c 	pte |= paddr_to_iopte(paddr, lvl, cfg);
lvl               475 drivers/iommu/io-pgtable-arm-v7s.c 			 int lvl, arm_v7s_iopte *ptep)
lvl               479 drivers/iommu/io-pgtable-arm-v7s.c 	int num_entries = size >> ARM_V7S_LVL_SHIFT(lvl);
lvl               482 drivers/iommu/io-pgtable-arm-v7s.c 	ptep += ARM_V7S_LVL_IDX(iova, lvl);
lvl               487 drivers/iommu/io-pgtable-arm-v7s.c 					lvl, num_entries, ptep);
lvl               490 drivers/iommu/io-pgtable-arm-v7s.c 	if (WARN_ON(lvl == 2))
lvl               496 drivers/iommu/io-pgtable-arm-v7s.c 		cptep = __arm_v7s_alloc_table(lvl + 1, GFP_ATOMIC, data);
lvl               502 drivers/iommu/io-pgtable-arm-v7s.c 			__arm_v7s_free_table(cptep, lvl + 1, data);
lvl               508 drivers/iommu/io-pgtable-arm-v7s.c 	if (ARM_V7S_PTE_IS_TABLE(pte, lvl)) {
lvl               509 drivers/iommu/io-pgtable-arm-v7s.c 		cptep = iopte_deref(pte, lvl, data);
lvl               517 drivers/iommu/io-pgtable-arm-v7s.c 	return __arm_v7s_map(data, iova, paddr, size, prot, lvl + 1, cptep);
lvl               568 drivers/iommu/io-pgtable-arm-v7s.c 					unsigned long iova, int idx, int lvl,
lvl               573 drivers/iommu/io-pgtable-arm-v7s.c 	size_t size = ARM_V7S_BLOCK_SIZE(lvl);
lvl               578 drivers/iommu/io-pgtable-arm-v7s.c 	if (!arm_v7s_pte_is_cont(pte, lvl))
lvl               582 drivers/iommu/io-pgtable-arm-v7s.c 	pte = arm_v7s_cont_to_pte(pte, lvl);
lvl               640 drivers/iommu/io-pgtable-arm-v7s.c 			      unsigned long iova, size_t size, int lvl,
lvl               645 drivers/iommu/io-pgtable-arm-v7s.c 	int idx, i = 0, num_entries = size >> ARM_V7S_LVL_SHIFT(lvl);
lvl               648 drivers/iommu/io-pgtable-arm-v7s.c 	if (WARN_ON(lvl > 2))
lvl               651 drivers/iommu/io-pgtable-arm-v7s.c 	idx = ARM_V7S_LVL_IDX(iova, lvl);
lvl               669 drivers/iommu/io-pgtable-arm-v7s.c 	if (num_entries <= 1 && arm_v7s_pte_is_cont(pte[0], lvl)) {
lvl               673 drivers/iommu/io-pgtable-arm-v7s.c 		pte[0] = arm_v7s_split_cont(data, iova, idx, lvl, ptep);
lvl               679 drivers/iommu/io-pgtable-arm-v7s.c 		size_t blk_size = ARM_V7S_BLOCK_SIZE(lvl);
lvl               684 drivers/iommu/io-pgtable-arm-v7s.c 			if (ARM_V7S_PTE_IS_TABLE(pte[i], lvl)) {
lvl               687 drivers/iommu/io-pgtable-arm-v7s.c 						ARM_V7S_BLOCK_SIZE(lvl + 1));
lvl               688 drivers/iommu/io-pgtable-arm-v7s.c 				ptep = iopte_deref(pte[i], lvl, data);
lvl               689 drivers/iommu/io-pgtable-arm-v7s.c 				__arm_v7s_free_table(ptep, lvl + 1, data);
lvl               703 drivers/iommu/io-pgtable-arm-v7s.c 	} else if (lvl == 1 && !ARM_V7S_PTE_IS_TABLE(pte[0], lvl)) {
lvl               713 drivers/iommu/io-pgtable-arm-v7s.c 	ptep = iopte_deref(pte[0], lvl, data);
lvl               714 drivers/iommu/io-pgtable-arm-v7s.c 	return __arm_v7s_unmap(data, gather, iova, size, lvl + 1, ptep);
lvl               733 drivers/iommu/io-pgtable-arm-v7s.c 	int lvl = 0;
lvl               737 drivers/iommu/io-pgtable-arm-v7s.c 		ptep += ARM_V7S_LVL_IDX(iova, ++lvl);
lvl               739 drivers/iommu/io-pgtable-arm-v7s.c 		ptep = iopte_deref(pte, lvl, data);
lvl               740 drivers/iommu/io-pgtable-arm-v7s.c 	} while (ARM_V7S_PTE_IS_TABLE(pte, lvl));
lvl               745 drivers/iommu/io-pgtable-arm-v7s.c 	mask = ARM_V7S_LVL_MASK(lvl);
lvl               746 drivers/iommu/io-pgtable-arm-v7s.c 	if (arm_v7s_pte_is_cont(pte, lvl))
lvl               748 drivers/iommu/io-pgtable-arm-v7s.c 	return iopte_to_paddr(pte, lvl, &data->iop.cfg) | (iova & ~mask);
lvl               193 drivers/iommu/io-pgtable-arm.c static inline bool iopte_leaf(arm_lpae_iopte pte, int lvl,
lvl               196 drivers/iommu/io-pgtable-arm.c 	if (lvl == (ARM_LPAE_MAX_LEVELS - 1) && fmt != ARM_MALI_LPAE)
lvl               197 drivers/iommu/io-pgtable-arm.c 		return iopte_type(pte, lvl) == ARM_LPAE_PTE_TYPE_PAGE;
lvl               199 drivers/iommu/io-pgtable-arm.c 	return iopte_type(pte, lvl) == ARM_LPAE_PTE_TYPE_BLOCK;
lvl               296 drivers/iommu/io-pgtable-arm.c 			       unsigned long iova, size_t size, int lvl,
lvl               301 drivers/iommu/io-pgtable-arm.c 				int lvl, arm_lpae_iopte *ptep)
lvl               308 drivers/iommu/io-pgtable-arm.c 	if (data->iop.fmt != ARM_MALI_LPAE && lvl == ARM_LPAE_MAX_LEVELS - 1)
lvl               323 drivers/iommu/io-pgtable-arm.c 			     arm_lpae_iopte prot, int lvl,
lvl               328 drivers/iommu/io-pgtable-arm.c 	if (iopte_leaf(pte, lvl, data->iop.fmt)) {
lvl               332 drivers/iommu/io-pgtable-arm.c 	} else if (iopte_type(pte, lvl) == ARM_LPAE_PTE_TYPE_TABLE) {
lvl               338 drivers/iommu/io-pgtable-arm.c 		size_t sz = ARM_LPAE_BLOCK_SIZE(lvl, data);
lvl               340 drivers/iommu/io-pgtable-arm.c 		tblp = ptep - ARM_LPAE_LVL_IDX(iova, lvl, data);
lvl               341 drivers/iommu/io-pgtable-arm.c 		if (__arm_lpae_unmap(data, NULL, iova, sz, lvl, tblp) != sz) {
lvl               347 drivers/iommu/io-pgtable-arm.c 	__arm_lpae_init_pte(data, paddr, prot, lvl, ptep);
lvl               384 drivers/iommu/io-pgtable-arm.c 			  int lvl, arm_lpae_iopte *ptep)
lvl               387 drivers/iommu/io-pgtable-arm.c 	size_t block_size = ARM_LPAE_BLOCK_SIZE(lvl, data);
lvl               392 drivers/iommu/io-pgtable-arm.c 	ptep += ARM_LPAE_LVL_IDX(iova, lvl, data);
lvl               396 drivers/iommu/io-pgtable-arm.c 		return arm_lpae_init_pte(data, iova, paddr, prot, lvl, ptep);
lvl               399 drivers/iommu/io-pgtable-arm.c 	if (WARN_ON(lvl >= ARM_LPAE_MAX_LEVELS - 1))
lvl               416 drivers/iommu/io-pgtable-arm.c 	if (pte && !iopte_leaf(pte, lvl, data->iop.fmt)) {
lvl               425 drivers/iommu/io-pgtable-arm.c 	return __arm_lpae_map(data, iova, paddr, size, prot, lvl + 1, cptep);
lvl               483 drivers/iommu/io-pgtable-arm.c 	int ret, lvl = ARM_LPAE_START_LVL(data);
lvl               495 drivers/iommu/io-pgtable-arm.c 	ret = __arm_lpae_map(data, iova, paddr, size, prot, lvl, ptep);
lvl               505 drivers/iommu/io-pgtable-arm.c static void __arm_lpae_free_pgtable(struct arm_lpae_io_pgtable *data, int lvl,
lvl               511 drivers/iommu/io-pgtable-arm.c 	if (lvl == ARM_LPAE_START_LVL(data))
lvl               519 drivers/iommu/io-pgtable-arm.c 	if (lvl == ARM_LPAE_MAX_LEVELS - 1)
lvl               527 drivers/iommu/io-pgtable-arm.c 		if (!pte || iopte_leaf(pte, lvl, data->iop.fmt))
lvl               530 drivers/iommu/io-pgtable-arm.c 		__arm_lpae_free_pgtable(data, lvl + 1, iopte_deref(pte, data));
lvl               547 drivers/iommu/io-pgtable-arm.c 				       arm_lpae_iopte blk_pte, int lvl,
lvl               554 drivers/iommu/io-pgtable-arm.c 	size_t split_sz = ARM_LPAE_BLOCK_SIZE(lvl, data);
lvl               557 drivers/iommu/io-pgtable-arm.c 	if (WARN_ON(lvl == ARM_LPAE_MAX_LEVELS))
lvl               565 drivers/iommu/io-pgtable-arm.c 		unmap_idx = ARM_LPAE_LVL_IDX(iova, lvl, data);
lvl               575 drivers/iommu/io-pgtable-arm.c 		__arm_lpae_init_pte(data, blk_paddr, pte, lvl, &tablep[i]);
lvl               586 drivers/iommu/io-pgtable-arm.c 		if (iopte_type(pte, lvl - 1) != ARM_LPAE_PTE_TYPE_TABLE)
lvl               595 drivers/iommu/io-pgtable-arm.c 	return __arm_lpae_unmap(data, gather, iova, size, lvl, tablep);
lvl               600 drivers/iommu/io-pgtable-arm.c 			       unsigned long iova, size_t size, int lvl,
lvl               607 drivers/iommu/io-pgtable-arm.c 	if (WARN_ON(lvl == ARM_LPAE_MAX_LEVELS))
lvl               610 drivers/iommu/io-pgtable-arm.c 	ptep += ARM_LPAE_LVL_IDX(iova, lvl, data);
lvl               616 drivers/iommu/io-pgtable-arm.c 	if (size == ARM_LPAE_BLOCK_SIZE(lvl, data)) {
lvl               619 drivers/iommu/io-pgtable-arm.c 		if (!iopte_leaf(pte, lvl, iop->fmt)) {
lvl               624 drivers/iommu/io-pgtable-arm.c 			__arm_lpae_free_pgtable(data, lvl + 1, ptep);
lvl               637 drivers/iommu/io-pgtable-arm.c 	} else if (iopte_leaf(pte, lvl, iop->fmt)) {
lvl               643 drivers/iommu/io-pgtable-arm.c 						lvl + 1, ptep);
lvl               648 drivers/iommu/io-pgtable-arm.c 	return __arm_lpae_unmap(data, gather, iova, size, lvl + 1, ptep);
lvl               656 drivers/iommu/io-pgtable-arm.c 	int lvl = ARM_LPAE_START_LVL(data);
lvl               661 drivers/iommu/io-pgtable-arm.c 	return __arm_lpae_unmap(data, gather, iova, size, lvl, ptep);
lvl               669 drivers/iommu/io-pgtable-arm.c 	int lvl = ARM_LPAE_START_LVL(data);
lvl               677 drivers/iommu/io-pgtable-arm.c 		ptep += ARM_LPAE_LVL_IDX(iova, lvl, data);
lvl               685 drivers/iommu/io-pgtable-arm.c 		if (iopte_leaf(pte, lvl, data->iop.fmt))
lvl               690 drivers/iommu/io-pgtable-arm.c 	} while (++lvl < ARM_LPAE_MAX_LEVELS);
lvl               696 drivers/iommu/io-pgtable-arm.c 	iova &= (ARM_LPAE_BLOCK_SIZE(lvl, data) - 1);
lvl                14 drivers/media/cec/cec-priv.h #define dprintk(lvl, fmt, arg...)					\
lvl                16 drivers/media/cec/cec-priv.h 		if (lvl <= cec_debug)					\
lvl               228 drivers/media/common/siano/sms-cards.c 	int lvl, ret;
lvl               244 drivers/media/common/siano/sms-cards.c 		lvl = enable ? 0 : 1;
lvl               247 drivers/media/common/siano/sms-cards.c 		lvl = enable ? 1 : 0;
lvl               254 drivers/media/common/siano/sms-cards.c 	return smscore_set_gpio(coredev, gpio, lvl);
lvl                27 drivers/media/dvb-frontends/lnbp22.c #define dprintk(lvl, arg...) if (debug >= (lvl)) printk(arg)
lvl               785 drivers/media/i2c/ad9389b.c static void ad9389b_dbg_dump_edid(int lvl, int debug, struct v4l2_subdev *sd,
lvl               790 drivers/media/i2c/ad9389b.c 	if (debug < lvl)
lvl               793 drivers/media/i2c/ad9389b.c 	v4l2_dbg(lvl, debug, sd, "edid segment %d\n", segment);
lvl               799 drivers/media/i2c/ad9389b.c 			v4l2_dbg(lvl, debug, sd, "\n");
lvl               805 drivers/media/i2c/ad9389b.c 		v4l2_dbg(lvl, debug, sd, "%s\n", b);
lvl              1454 drivers/media/i2c/adv7511-v4l2.c static void adv7511_dbg_dump_edid(int lvl, int debug, struct v4l2_subdev *sd, int segment, u8 *buf)
lvl              1456 drivers/media/i2c/adv7511-v4l2.c 	if (debug >= lvl) {
lvl              1458 drivers/media/i2c/adv7511-v4l2.c 		v4l2_dbg(lvl, debug, sd, "edid segment %d\n", segment);
lvl              1463 drivers/media/i2c/adv7511-v4l2.c 				v4l2_dbg(lvl, debug, sd, "\n");
lvl              1469 drivers/media/i2c/adv7511-v4l2.c 			v4l2_dbg(lvl, debug, sd, "%s\n", b);
lvl                25 drivers/media/pci/cx23885/cx23885-f300.c static void f300_set_line(struct cx23885_dev *dev, u32 line, u8 lvl)
lvl                28 drivers/media/pci/cx23885/cx23885-f300.c 	if (lvl == 1)
lvl                67 drivers/media/pci/saa7164/saa7164-api.c 	struct tmComResDebugSetLevel lvl;
lvl                74 drivers/media/pci/saa7164/saa7164-api.c 		SET_DEBUG_LEVEL_CONTROL, sizeof(lvl), &lvl);
lvl                78 drivers/media/pci/saa7164/saa7164-api.c 	dprintk(DBGLVL_API, "%s() Was %d\n", __func__, lvl.dwDebugLevel);
lvl                80 drivers/media/pci/saa7164/saa7164-api.c 	lvl.dwDebugLevel = level;
lvl                84 drivers/media/pci/saa7164/saa7164-api.c 		SET_DEBUG_LEVEL_CONTROL, sizeof(lvl), &lvl);
lvl               533 drivers/media/pci/saa7164/saa7164-api.c 	struct tmComResAudioDefaults lvl;
lvl               540 drivers/media/pci/saa7164/saa7164-api.c 	lvl.ucDecoderLevel = TMHW_LEV_ADJ_DECLEV_DEFAULT;
lvl               541 drivers/media/pci/saa7164/saa7164-api.c 	lvl.ucDecoderFM_Level = TMHW_LEV_ADJ_DECLEV_DEFAULT;
lvl               542 drivers/media/pci/saa7164/saa7164-api.c 	lvl.ucMonoLevel = TMHW_LEV_ADJ_MONOLEV_DEFAULT;
lvl               543 drivers/media/pci/saa7164/saa7164-api.c 	lvl.ucNICAM_Level = TMHW_LEV_ADJ_NICLEV_DEFAULT;
lvl               544 drivers/media/pci/saa7164/saa7164-api.c 	lvl.ucSAP_Level = TMHW_LEV_ADJ_SAPLEV_DEFAULT;
lvl               545 drivers/media/pci/saa7164/saa7164-api.c 	lvl.ucADC_Level = TMHW_LEV_ADJ_ADCLEV_DEFAULT;
lvl               548 drivers/media/pci/saa7164/saa7164-api.c 		&lvl);
lvl              1674 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static inline int h264_level(enum v4l2_mpeg_video_h264_level lvl)
lvl              1690 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	return t[lvl];
lvl              1693 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static inline int mpeg4_level(enum v4l2_mpeg_video_mpeg4_level lvl)
lvl              1705 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	return t[lvl];
lvl              1708 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static inline int hevc_level(enum v4l2_mpeg_video_hevc_level lvl)
lvl              1725 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 	return t[lvl];
lvl                78 drivers/media/platform/vim2m.c #define dprintk(dev, lvl, fmt, arg...) \
lvl                79 drivers/media/platform/vim2m.c 	v4l2_dbg(lvl, debug, &(dev)->v4l2_dev, "%s: " fmt, __func__, ## arg)
lvl               135 drivers/media/tuners/tda18271-priv.h #define tda_printk(st, lvl, fmt, arg...)			\
lvl               136 drivers/media/tuners/tda18271-priv.h 	_tda_printk(st, lvl, __func__, fmt, ##arg)
lvl               138 drivers/media/tuners/tda18271-priv.h #define tda_dprintk(st, lvl, fmt, arg...)			\
lvl               140 drivers/media/tuners/tda18271-priv.h 	if (tda18271_debug & lvl)				\
lvl                30 drivers/media/usb/cx231xx/cx231xx-i2c.c #define dprintk1(lvl, fmt, args...)			\
lvl                32 drivers/media/usb/cx231xx/cx231xx-i2c.c 	if (i2c_debug >= lvl) {				\
lvl                37 drivers/media/usb/cx231xx/cx231xx-i2c.c #define dprintk2(lvl, fmt, args...)			\
lvl                39 drivers/media/usb/cx231xx/cx231xx-i2c.c 	if (i2c_debug >= lvl) {				\
lvl               170 drivers/media/usb/dvb-usb/cxusb.h #define cxusb_vprintk(dvbdev, lvl, ...) do {				\
lvl               172 drivers/media/usb/dvb-usb/cxusb.h 		if (dvb_usb_cxusb_debug & CXUSB_DBG_##lvl)		\
lvl                27 drivers/media/usb/tm6000/tm6000-i2c.c #define i2c_dprintk(lvl, fmt, args...) if (i2c_debug >= lvl) do { \
lvl               478 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h void bnx2x_fw_dump_lvl(struct bnx2x *bp, const char *lvl);
lvl               759 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c void bnx2x_fw_dump_lvl(struct bnx2x *bp, const char *lvl)
lvl               770 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	netdev_printk(lvl, bp->dev, "bc %d.%d.%d\n",
lvl               782 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		BNX2X_ERR("%s" "MCP PC at 0x%x\n", lvl, val);
lvl               815 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	printk("%s" "begin fw dump (mark 0x%x)\n", lvl, mark);
lvl               817 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	printk("%s", lvl);
lvl               834 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	printk("%s" "end of fw dump\n", lvl);
lvl               206 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c static void nicvf_set_msglevel(struct net_device *netdev, u32 lvl)
lvl               210 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c 	nic->msg_enable = lvl;
lvl              1409 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 					 u32 lvl, void *context, void **rv)
lvl              1428 drivers/net/ethernet/cavium/thunder/thunder_bgx.c static acpi_status bgx_acpi_match_id(acpi_handle handle, u32 lvl,
lvl               529 drivers/net/ethernet/marvell/octeontx2/af/mbox.h 	u8 lvl;	/* SMQ/MDQ/TL4/TL3/TL2/TL1 */
lvl               158 drivers/net/ethernet/marvell/octeontx2/af/rvu.h 	u8   lvl;
lvl               139 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			    int lvl, u16 pcifunc, u16 schq)
lvl               149 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	txsch = &nix_hw->txsch[lvl];
lvl               159 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (lvl == NIX_TXSCH_LVL_TL1 &&
lvl               163 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (lvl != NIX_TXSCH_LVL_TL1 &&
lvl              1010 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 				 int lvl, int schq)
lvl              1015 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	switch (lvl) {
lvl              1046 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 				 int lvl, int schq)
lvl              1052 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (lvl == NIX_TXSCH_LVL_TL4)
lvl              1055 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (lvl != NIX_TXSCH_LVL_TL2)
lvl              1137 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	int lvl, idx, req_schq;
lvl              1154 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) {
lvl              1155 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		txsch = &nix_hw->txsch[lvl];
lvl              1156 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		req_schq = req->schq_contig[lvl] + req->schq[lvl];
lvl              1163 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (lvl == NIX_TXSCH_LVL_TL1) {
lvl              1164 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			if (req->schq_contig[lvl] ||
lvl              1165 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			    req->schq[lvl] > 2 ||
lvl              1177 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (req->schq_contig[lvl] &&
lvl              1178 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		    !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl]))
lvl              1186 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) {
lvl              1187 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		txsch = &nix_hw->txsch[lvl];
lvl              1188 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		rsp->schq_contig[lvl] = req->schq_contig[lvl];
lvl              1190 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		rsp->schq[lvl] = req->schq[lvl];
lvl              1192 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (!req->schq[lvl] && !req->schq_contig[lvl])
lvl              1200 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (lvl == NIX_TXSCH_LVL_TL1) {
lvl              1201 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			rsp->schq_contig[lvl] = 0;
lvl              1203 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 					  &rsp->schq_list[lvl][0],
lvl              1204 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 					  &rsp->schq[lvl]);
lvl              1209 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (req->schq_contig[lvl]) {
lvl              1211 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 						     req->schq_contig[lvl]);
lvl              1213 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			for (idx = 0; idx < req->schq_contig[lvl]; idx++) {
lvl              1215 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 				nix_reset_tx_linkcfg(rvu, blkaddr, lvl, schq);
lvl              1216 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 				nix_reset_tx_shaping(rvu, blkaddr, lvl, schq);
lvl              1217 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 				rsp->schq_contig_list[lvl][idx] = schq;
lvl              1223 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		for (idx = 0; idx < req->schq[lvl]; idx++) {
lvl              1226 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			nix_reset_tx_linkcfg(rvu, blkaddr, lvl, schq);
lvl              1227 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			nix_reset_tx_shaping(rvu, blkaddr, lvl, schq);
lvl              1228 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			rsp->schq_list[lvl][idx] = schq;
lvl              1241 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	int blkaddr, nixlf, lvl, schq, err;
lvl              1261 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	for (lvl = NIX_TXSCH_LVL_TL4; lvl < NIX_TXSCH_LVL_CNT; lvl++) {
lvl              1262 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (lvl != NIX_TXSCH_LVL_TL2 && lvl != NIX_TXSCH_LVL_TL4)
lvl              1265 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		txsch = &nix_hw->txsch[lvl];
lvl              1269 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			nix_reset_tx_linkcfg(rvu, blkaddr, lvl, schq);
lvl              1293 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) {
lvl              1297 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (lvl == NIX_TXSCH_LVL_TL1)
lvl              1300 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		txsch = &nix_hw->txsch[lvl];
lvl              1322 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	int lvl, schq, nixlf, blkaddr, rc;
lvl              1342 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	lvl = req->schq_lvl;
lvl              1344 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	txsch = &nix_hw->txsch[lvl];
lvl              1347 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (lvl > NIX_TXSCH_LVL_TL2 ||
lvl              1362 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (lvl == NIX_TXSCH_LVL_SMQ) {
lvl              1397 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 				   int lvl, u64 reg, u64 regval)
lvl              1402 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (!rvu_check_valid_reg(TXSCHQ_HWREGMAP, lvl, reg))
lvl              1407 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (!is_valid_txschq(rvu, blkaddr, lvl, pcifunc, schq))
lvl              1503 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (req->lvl >= NIX_TXSCH_LVL_CNT ||
lvl              1519 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	txsch = &nix_hw->txsch[req->lvl];
lvl              1526 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	    req->lvl == NIX_TXSCH_LVL_TL1) {
lvl              1536 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 					    txsch->lvl, reg, regval))
lvl              1853 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	int err, lvl;
lvl              1858 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) {
lvl              1859 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		txsch = &nix_hw->txsch[lvl];
lvl              1860 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		txsch->lvl = lvl;
lvl              1861 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		switch (lvl) {
lvl              2802 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	int blkaddr, lvl;
lvl              2816 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) {
lvl              2817 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			txsch = &nix_hw->txsch[lvl];
lvl                27 drivers/net/ethernet/netronome/nfp/nfp_net.h #define nn_pr(nn, lvl, fmt, args...)					\
lvl                32 drivers/net/ethernet/netronome/nfp/nfp_net.h 			netdev_printk(lvl, __nn->dp.netdev, fmt, ## args); \
lvl                34 drivers/net/ethernet/netronome/nfp/nfp_net.h 			dev_printk(lvl, __nn->dp.dev, "ctrl: " fmt, ## args); \
lvl              2308 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h #define QLCDB(adapter, lvl, _fmt, _args...) do {	\
lvl              2309 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	if (NETIF_MSG_##lvl & adapter->ahw->msg_enable)	\
lvl                43 drivers/net/ethernet/ti/tlan.h #define TLAN_DBG(lvl, format, args...)					\
lvl                45 drivers/net/ethernet/ti/tlan.h 		if (debug&lvl)						\
lvl               279 drivers/net/phy/mdio-xgene.c static acpi_status acpi_register_phy(acpi_handle handle, u32 lvl,
lvl                98 drivers/net/usb/hso.c #define hso_dbg(lvl, fmt, ...)						\
lvl               100 drivers/net/usb/hso.c 	if ((lvl) & debug)						\
lvl               147 drivers/net/wireless/intel/iwlwifi/dvm/power.c 				 enum iwl_power_level lvl, int period)
lvl               169 drivers/net/wireless/intel/iwlwifi/dvm/power.c 	if (WARN_ON(lvl < 0 || lvl >= IWL_POWER_NUM))
lvl               172 drivers/net/wireless/intel/iwlwifi/dvm/power.c 		*cmd = table[lvl].cmd;
lvl               181 drivers/net/wireless/intel/iwlwifi/dvm/power.c 		skip = table[lvl].no_dtim;
lvl               244 drivers/net/wireless/intel/iwlwifi/dvm/power.c 	IWL_DEBUG_POWER(priv, "Sleep command for index %d\n", lvl + 1);
lvl                84 drivers/net/wireless/intersil/orinoco/hermes.c #define DEBUG(lvl, stuff...) if ((lvl) <= HERMES_DEBUG) DMSG(stuff)
lvl                88 drivers/net/wireless/intersil/orinoco/hermes.c #define DEBUG(lvl, stuff...) do { } while (0)
lvl               182 drivers/pci/hotplug/acpi_pcihp.c check_hotplug(acpi_handle handle, u32 lvl, void *context, void **rv)
lvl               218 drivers/pci/hotplug/acpiphp_glue.c static acpi_status acpiphp_add_context(acpi_handle handle, u32 lvl, void *data,
lvl                90 drivers/pci/hotplug/acpiphp_ibm.c 		u32 lvl, void *context, void **rv);
lvl               385 drivers/pci/hotplug/acpiphp_ibm.c 		u32 lvl, void *context, void **rv)
lvl                61 drivers/pci/pci-acpi.c static acpi_status acpi_match_rc(acpi_handle handle, u32 lvl, void *context,
lvl                62 drivers/pcmcia/soc_common.c 		      int lvl, const char *fmt, ...)
lvl                66 drivers/pcmcia/soc_common.c 	if (pc_debug > lvl) {
lvl               170 drivers/pcmcia/soc_common.h 			     int lvl, const char *fmt, ...);
lvl               172 drivers/pcmcia/soc_common.h #define debug(skt, lvl, fmt, arg...) \
lvl               173 drivers/pcmcia/soc_common.h 	soc_pcmcia_debug(skt, __func__, lvl, fmt , ## arg)
lvl               176 drivers/pcmcia/soc_common.h #define debug(skt, lvl, fmt, arg...) do { } while (0)
lvl               557 drivers/platform/x86/intel-hid.c check_acpi_dev(acpi_handle handle, u32 lvl, void *context, void **rv)
lvl               245 drivers/platform/x86/intel-vbtn.c check_acpi_dev(acpi_handle handle, u32 lvl, void *context, void **rv)
lvl               401 drivers/platform/x86/intel_menlow.c static acpi_status intel_menlow_register_sensor(acpi_handle handle, u32 lvl,
lvl               287 drivers/pnp/pnpacpi/core.c 						     u32 lvl, void *context,
lvl              2142 drivers/scsi/advansys.c #define ASC_DBG(lvl, s...)
lvl              2143 drivers/scsi/advansys.c #define ASC_DBG_PRT_SCSI_HOST(lvl, s)
lvl              2144 drivers/scsi/advansys.c #define ASC_DBG_PRT_ASC_SCSI_Q(lvl, scsiqp)
lvl              2145 drivers/scsi/advansys.c #define ASC_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp)
lvl              2146 drivers/scsi/advansys.c #define ASC_DBG_PRT_ASC_QDONE_INFO(lvl, qdone)
lvl              2147 drivers/scsi/advansys.c #define ADV_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp)
lvl              2148 drivers/scsi/advansys.c #define ASC_DBG_PRT_HEX(lvl, name, start, length)
lvl              2149 drivers/scsi/advansys.c #define ASC_DBG_PRT_CDB(lvl, cdb, len)
lvl              2150 drivers/scsi/advansys.c #define ASC_DBG_PRT_SENSE(lvl, sense, len)
lvl              2151 drivers/scsi/advansys.c #define ASC_DBG_PRT_INQUIRY(lvl, inq, len)
lvl              2162 drivers/scsi/advansys.c #define ASC_DBG(lvl, format, arg...) {					\
lvl              2163 drivers/scsi/advansys.c 	if (asc_dbglvl >= (lvl))					\
lvl              2168 drivers/scsi/advansys.c #define ASC_DBG_PRT_SCSI_HOST(lvl, s) \
lvl              2170 drivers/scsi/advansys.c         if (asc_dbglvl >= (lvl)) { \
lvl              2175 drivers/scsi/advansys.c #define ASC_DBG_PRT_ASC_SCSI_Q(lvl, scsiqp) \
lvl              2177 drivers/scsi/advansys.c         if (asc_dbglvl >= (lvl)) { \
lvl              2182 drivers/scsi/advansys.c #define ASC_DBG_PRT_ASC_QDONE_INFO(lvl, qdone) \
lvl              2184 drivers/scsi/advansys.c         if (asc_dbglvl >= (lvl)) { \
lvl              2189 drivers/scsi/advansys.c #define ASC_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp) \
lvl              2191 drivers/scsi/advansys.c         if (asc_dbglvl >= (lvl)) { \
lvl              2196 drivers/scsi/advansys.c #define ASC_DBG_PRT_HEX(lvl, name, start, length) \
lvl              2198 drivers/scsi/advansys.c         if (asc_dbglvl >= (lvl)) { \
lvl              2203 drivers/scsi/advansys.c #define ASC_DBG_PRT_CDB(lvl, cdb, len) \
lvl              2204 drivers/scsi/advansys.c         ASC_DBG_PRT_HEX((lvl), "CDB", (uchar *) (cdb), (len));
lvl              2206 drivers/scsi/advansys.c #define ASC_DBG_PRT_SENSE(lvl, sense, len) \
lvl              2207 drivers/scsi/advansys.c         ASC_DBG_PRT_HEX((lvl), "SENSE", (uchar *) (sense), (len));
lvl              2209 drivers/scsi/advansys.c #define ASC_DBG_PRT_INQUIRY(lvl, inq, len) \
lvl              2210 drivers/scsi/advansys.c         ASC_DBG_PRT_HEX((lvl), "INQUIRY", (uchar *) (inq), (len));
lvl              4361 drivers/scsi/sym53c8xx_2/sym_hipd.c #define sym_printk(lvl, tp, cp, fmt, v...) do { \
lvl              4363 drivers/scsi/sym53c8xx_2/sym_hipd.c 		scmd_printk(lvl, cp->cmd, fmt, ##v);		\
lvl              4365 drivers/scsi/sym53c8xx_2/sym_hipd.c 		starget_printk(lvl, tp->starget, fmt, ##v);	\
lvl               191 drivers/scsi/ufs/ufshcd.c ufs_get_pm_lvl_to_dev_pwr_mode(enum ufs_pm_level lvl)
lvl               193 drivers/scsi/ufs/ufshcd.c 	return ufs_pm_lvl_states[lvl].dev_state;
lvl               197 drivers/scsi/ufs/ufshcd.c ufs_get_pm_lvl_to_link_pwr_state(enum ufs_pm_level lvl)
lvl               199 drivers/scsi/ufs/ufshcd.c 	return ufs_pm_lvl_states[lvl].link_state;
lvl               206 drivers/scsi/ufs/ufshcd.c 	enum ufs_pm_level lvl;
lvl               208 drivers/scsi/ufs/ufshcd.c 	for (lvl = UFS_PM_LVL_0; lvl < UFS_PM_LVL_MAX; lvl++) {
lvl               209 drivers/scsi/ufs/ufshcd.c 		if ((ufs_pm_lvl_states[lvl].dev_state == dev_state) &&
lvl               210 drivers/scsi/ufs/ufshcd.c 			(ufs_pm_lvl_states[lvl].link_state == link_state))
lvl               211 drivers/scsi/ufs/ufshcd.c 			return lvl;
lvl               431 drivers/spi/spi-mxic.c static void mxic_spi_set_cs(struct spi_device *spi, bool lvl)
lvl               435 drivers/spi/spi-mxic.c 	if (!lvl) {
lvl               370 drivers/staging/greybus/hid.c static int gb_hid_power(struct hid_device *hid, int lvl)
lvl               374 drivers/staging/greybus/hid.c 	switch (lvl) {
lvl                59 drivers/tty/nozomi.c #define DBG_(lvl, fmt, args...)				\
lvl                61 drivers/tty/nozomi.c 	if (lvl & debug)				\
lvl               860 drivers/tty/serial/max310x.c 	u8 lvl = max310x_port_read(port, MAX310X_TXFIFOLVL_REG);
lvl               862 drivers/tty/serial/max310x.c 	return lvl ? 0 : TIOCSER_TEMT;
lvl               243 drivers/usb/gadget/udc/pxa25x_udc.h #define DBG(lvl, stuff...) do{if ((lvl) <= UDC_DEBUG) DMSG(stuff);}while(0)
lvl               338 drivers/xen/xen-acpi-cpuhotplug.c 			    u32 lvl, void *context, void **rv)
lvl               325 drivers/xen/xen-acpi-processor.c read_acpi_id(acpi_handle handle, u32 lvl, void *context, void **rv)
lvl               192 fs/btrfs/super.c 	char lvl[PRINTK_MAX_SINGLE_HEADER_LEN + 1] = "\0";
lvl               205 fs/btrfs/super.c 			memcpy(lvl, fmt,  size);
lvl               206 fs/btrfs/super.c 			lvl[size] = '\0';
lvl               217 fs/btrfs/super.c 		printk("%sBTRFS %s (device %s): %pV\n", lvl, type,
lvl               228 fs/cifs/smb2proto.h 			 u64 persistent_file_id, u64 volatile_file_id, int lvl);
lvl              1107 fs/ubifs/lpt.c 	int i, lvl, max_offs;
lvl              1115 fs/ubifs/lpt.c 	lvl = parent ? parent->level - 1 : c->lpt_hght;
lvl              1116 fs/ubifs/lpt.c 	if (lvl < 1)
lvl              1118 fs/ubifs/lpt.c 	if (lvl == 1)
lvl                27 fs/xfs/xfs_error.h #define	XFS_ERROR_REPORT(e, lvl, mp)	\
lvl                28 fs/xfs/xfs_error.h 	xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address)
lvl                29 fs/xfs/xfs_error.h #define	XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize)	\
lvl                30 fs/xfs/xfs_error.h 	xfs_corruption_error(e, lvl, mp, buf, bufsize, \
lvl              1015 include/linux/ide.h #define __ide_debug_log(lvl, fmt, args...)				\
lvl              1017 include/linux/ide.h 	if (unlikely(drive->debug_mask & lvl))				\
lvl                90 include/net/cipso_ipv4.h 	} lvl;
lvl               202 include/net/netlabel.h 			u32 lvl;
lvl              2904 kernel/debug/kdb/kdb_main.c void __init kdb_init(int lvl)
lvl              2909 kernel/debug/kdb/kdb_main.c 	if (kdb_init_lvl == KDB_INIT_FULL || lvl <= kdb_init_lvl)
lvl              2911 kernel/debug/kdb/kdb_main.c 	for (i = kdb_init_lvl; i < lvl; i++) {
lvl              2922 kernel/debug/kdb/kdb_main.c 	kdb_init_lvl = lvl;
lvl               491 kernel/time/timer.c static inline unsigned calc_index(unsigned expires, unsigned lvl)
lvl               493 kernel/time/timer.c 	expires = (expires + LVL_GRAN(lvl)) >> LVL_SHIFT(lvl);
lvl               494 kernel/time/timer.c 	return LVL_OFFS(lvl) + (expires & LVL_MASK);
lvl              1509 kernel/time/timer.c 	unsigned lvl, offset = 0;
lvl              1513 kernel/time/timer.c 	for (lvl = 0; lvl < LVL_DEPTH; lvl++, offset += LVL_SIZE) {
lvl              1519 kernel/time/timer.c 			tmp <<= LVL_SHIFT(lvl);
lvl              2167 mm/percpu.c    static void pcpu_dump_alloc_info(const char *lvl,
lvl              2190 mm/percpu.c    	       lvl, ai->static_size, ai->reserved_size, ai->dyn_size,
lvl              2202 mm/percpu.c    				printk("%spcpu-alloc: ", lvl);
lvl               673 net/caif/caif_socket.c 		      int lvl, int opt, char __user *ov, unsigned int ol)
lvl               686 net/caif/caif_socket.c 		if (lvl != SOL_CAIF)
lvl               696 net/caif/caif_socket.c 		if (lvl != SOL_CAIF)
lvl               471 net/ipv4/cipso_ipv4.c 		kfree(doi_def->map.std->lvl.cipso);
lvl               472 net/ipv4/cipso_ipv4.c 		kfree(doi_def->map.std->lvl.local);
lvl               656 net/ipv4/cipso_ipv4.c 		if ((level < doi_def->map.std->lvl.cipso_size) &&
lvl               657 net/ipv4/cipso_ipv4.c 		    (doi_def->map.std->lvl.cipso[level] < CIPSO_V4_INV_LVL))
lvl               686 net/ipv4/cipso_ipv4.c 		if (host_lvl < doi_def->map.std->lvl.local_size &&
lvl               687 net/ipv4/cipso_ipv4.c 		    doi_def->map.std->lvl.local[host_lvl] < CIPSO_V4_INV_LVL) {
lvl               688 net/ipv4/cipso_ipv4.c 			*net_lvl = doi_def->map.std->lvl.local[host_lvl];
lvl               721 net/ipv4/cipso_ipv4.c 		if (net_lvl < map_tbl->lvl.cipso_size &&
lvl               722 net/ipv4/cipso_ipv4.c 		    map_tbl->lvl.cipso[net_lvl] < CIPSO_V4_INV_LVL) {
lvl               723 net/ipv4/cipso_ipv4.c 			*host_lvl = doi_def->map.std->lvl.cipso[net_lvl];
lvl              1195 net/ipv4/cipso_ipv4.c 					secattr->attr.mls.lvl,
lvl              1248 net/ipv4/cipso_ipv4.c 	secattr->attr.mls.lvl = level;
lvl              1293 net/ipv4/cipso_ipv4.c 					secattr->attr.mls.lvl,
lvl              1340 net/ipv4/cipso_ipv4.c 	secattr->attr.mls.lvl = level;
lvl              1384 net/ipv4/cipso_ipv4.c 					secattr->attr.mls.lvl,
lvl              1430 net/ipv4/cipso_ipv4.c 	secattr->attr.mls.lvl = level;
lvl               764 net/ipv6/calipso.c 	calipso[7] = secattr->attr.mls.lvl,
lvl              1037 net/ipv6/calipso.c 	secattr->attr.mls.lvl = calipso[7];
lvl               173 net/netlabel/netlabel_cipso_v4.c 					    doi_def->map.std->lvl.local_size)
lvl               174 net/netlabel/netlabel_cipso_v4.c 					     doi_def->map.std->lvl.local_size =
lvl               182 net/netlabel/netlabel_cipso_v4.c 					    doi_def->map.std->lvl.cipso_size)
lvl               183 net/netlabel/netlabel_cipso_v4.c 					     doi_def->map.std->lvl.cipso_size =
lvl               188 net/netlabel/netlabel_cipso_v4.c 	doi_def->map.std->lvl.local = kcalloc(doi_def->map.std->lvl.local_size,
lvl               191 net/netlabel/netlabel_cipso_v4.c 	if (doi_def->map.std->lvl.local == NULL) {
lvl               195 net/netlabel/netlabel_cipso_v4.c 	doi_def->map.std->lvl.cipso = kcalloc(doi_def->map.std->lvl.cipso_size,
lvl               198 net/netlabel/netlabel_cipso_v4.c 	if (doi_def->map.std->lvl.cipso == NULL) {
lvl               202 net/netlabel/netlabel_cipso_v4.c 	for (iter = 0; iter < doi_def->map.std->lvl.local_size; iter++)
lvl               203 net/netlabel/netlabel_cipso_v4.c 		doi_def->map.std->lvl.local[iter] = CIPSO_V4_INV_LVL;
lvl               204 net/netlabel/netlabel_cipso_v4.c 	for (iter = 0; iter < doi_def->map.std->lvl.cipso_size; iter++)
lvl               205 net/netlabel/netlabel_cipso_v4.c 		doi_def->map.std->lvl.cipso[iter] = CIPSO_V4_INV_LVL;
lvl               219 net/netlabel/netlabel_cipso_v4.c 			doi_def->map.std->lvl.local[nla_get_u32(lvl_loc)] =
lvl               221 net/netlabel/netlabel_cipso_v4.c 			doi_def->map.std->lvl.cipso[nla_get_u32(lvl_rem)] =
lvl               517 net/netlabel/netlabel_cipso_v4.c 		     iter < doi_def->map.std->lvl.local_size;
lvl               519 net/netlabel/netlabel_cipso_v4.c 			if (doi_def->map.std->lvl.local[iter] ==
lvl               536 net/netlabel/netlabel_cipso_v4.c 					    doi_def->map.std->lvl.local[iter]);
lvl              2950 net/tipc/socket.c static int tipc_setsockopt(struct socket *sock, int lvl, int opt,
lvl              2959 net/tipc/socket.c 	if ((lvl == IPPROTO_TCP) && (sock->type == SOCK_STREAM))
lvl              2961 net/tipc/socket.c 	if (lvl != SOL_TIPC)
lvl              3039 net/tipc/socket.c static int tipc_getsockopt(struct socket *sock, int lvl, int opt,
lvl              3049 net/tipc/socket.c 	if ((lvl == IPPROTO_TCP) && (sock->type == SOCK_STREAM))
lvl              3051 net/tipc/socket.c 	if (lvl != SOL_TIPC)
lvl               569 security/selinux/ss/mls.c 	secattr->attr.mls.lvl = context->range.level[0].sens - 1;
lvl               590 security/selinux/ss/mls.c 	context->range.level[0].sens = secattr->attr.mls.lvl + 1;
lvl               495 security/smack/smack_access.c 	sap->attr.mls.lvl = level;
lvl              3729 security/smack/smack_lsm.c 			if (sap->attr.mls.lvl != skp->smk_netlabel.attr.mls.lvl)
lvl               787 security/smack/smackfs.c 	seq_printf(s, "%s %3d", skp->smk_known, skp->smk_netlabel.attr.mls.lvl);
lvl               919 security/smack/smackfs.c 		skp->smk_netlabel.attr.mls.lvl = ncats.attr.mls.lvl;
lvl               970 security/smack/smackfs.c 	seq_printf(s, "%s %3d", skp->smk_known, skp->smk_netlabel.attr.mls.lvl);
lvl              1678 security/smack/smackfs.c 			if (skp->smk_netlabel.attr.mls.lvl ==
lvl              1680 security/smack/smackfs.c 				skp->smk_netlabel.attr.mls.lvl = i;
lvl              1756 security/smack/smackfs.c 			if (skp->smk_netlabel.attr.mls.lvl ==
lvl              1758 security/smack/smackfs.c 				skp->smk_netlabel.attr.mls.lvl = i;
lvl                24 tools/lib/bpf/btf_dump.c static const char *pfx(int lvl)
lvl                26 tools/lib/bpf/btf_dump.c 	return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl];
lvl               549 tools/lib/bpf/btf_dump.c 				     const struct btf_type *t, int lvl);
lvl               554 tools/lib/bpf/btf_dump.c 				   const struct btf_type *t, int lvl);
lvl               560 tools/lib/bpf/btf_dump.c 				      const struct btf_type *t, int lvl);
lvl               569 tools/lib/bpf/btf_dump.c 				    const char *fname, int lvl);
lvl               572 tools/lib/bpf/btf_dump.c 				     const char *fname, int lvl);
lvl               826 tools/lib/bpf/btf_dump.c 				      int align, int lvl)
lvl               855 tools/lib/bpf/btf_dump.c 		btf_dump_printf(d, "\n%s%s: %d;", pfx(lvl), pad_type, pad_bits);
lvl               871 tools/lib/bpf/btf_dump.c 				     int lvl)
lvl               894 tools/lib/bpf/btf_dump.c 		btf_dump_emit_bit_padding(d, off, m_off, m_sz, align, lvl + 1);
lvl               895 tools/lib/bpf/btf_dump.c 		btf_dump_printf(d, "\n%s", pfx(lvl + 1));
lvl               896 tools/lib/bpf/btf_dump.c 		btf_dump_emit_type_decl(d, m->type, fname, lvl + 1);
lvl               912 tools/lib/bpf/btf_dump.c 					  lvl + 1);
lvl               917 tools/lib/bpf/btf_dump.c 	btf_dump_printf(d, "%s}", pfx(lvl));
lvl               930 tools/lib/bpf/btf_dump.c 				   int lvl)
lvl               950 tools/lib/bpf/btf_dump.c 						pfx(lvl + 1), name, dup_cnt,
lvl               954 tools/lib/bpf/btf_dump.c 						pfx(lvl + 1), name,
lvl               958 tools/lib/bpf/btf_dump.c 		btf_dump_printf(d, "\n%s}", pfx(lvl));
lvl               974 tools/lib/bpf/btf_dump.c 				     const struct btf_type *t, int lvl)
lvl               979 tools/lib/bpf/btf_dump.c 	btf_dump_emit_type_decl(d, t->type, name, lvl);
lvl              1044 tools/lib/bpf/btf_dump.c 				    const char *fname, int lvl)
lvl              1106 tools/lib/bpf/btf_dump.c 	btf_dump_emit_type_chain(d, &decl_stack, fname, lvl);
lvl              1154 tools/lib/bpf/btf_dump.c 				     const char *fname, int lvl)
lvl              1195 tools/lib/bpf/btf_dump.c 				btf_dump_emit_struct_def(d, id, t, lvl);
lvl              1203 tools/lib/bpf/btf_dump.c 				btf_dump_emit_enum_def(d, id, t, lvl);
lvl              1266 tools/lib/bpf/btf_dump.c 			btf_dump_emit_type_chain(d, decls, fname, lvl);
lvl              1280 tools/lib/bpf/btf_dump.c 				btf_dump_emit_type_chain(d, decls, fname, lvl);
lvl              1308 tools/lib/bpf/btf_dump.c 				btf_dump_emit_type_decl(d, p->type, name, lvl);
lvl                29 tools/perf/arch/x86/util/header.c 	unsigned int a, b, c, d, lvl;
lvl                34 tools/perf/arch/x86/util/header.c 	cpuid(0, &lvl, &b, &c, &d);
lvl                40 tools/perf/arch/x86/util/header.c 	if (lvl >= 1) {
lvl               215 tools/perf/util/mem-events.c 		int lvl = mem_info->data_src.mem_lvl_num;
lvl               220 tools/perf/util/mem-events.c 		if (mem_lvlnum[lvl])
lvl               221 tools/perf/util/mem-events.c 			l += scnprintf(out + l, sz - l, mem_lvlnum[lvl]);
lvl               223 tools/perf/util/mem-events.c 			l += scnprintf(out + l, sz - l, "L%d", lvl);
lvl               317 tools/perf/util/mem-events.c 	u64 lvl    = data_src->mem_lvl;
lvl               348 tools/perf/util/mem-events.c 		if (lvl & P(LVL, HIT)) {
lvl               349 tools/perf/util/mem-events.c 			if (lvl & P(LVL, UNC)) stats->ld_uncache++;
lvl               350 tools/perf/util/mem-events.c 			if (lvl & P(LVL, IO))  stats->ld_io++;
lvl               351 tools/perf/util/mem-events.c 			if (lvl & P(LVL, LFB)) stats->ld_fbhit++;
lvl               352 tools/perf/util/mem-events.c 			if (lvl & P(LVL, L1 )) stats->ld_l1hit++;
lvl               353 tools/perf/util/mem-events.c 			if (lvl & P(LVL, L2 )) stats->ld_l2hit++;
lvl               354 tools/perf/util/mem-events.c 			if (lvl & P(LVL, L3 )) {
lvl               361 tools/perf/util/mem-events.c 			if (lvl & P(LVL, LOC_RAM)) {
lvl               369 tools/perf/util/mem-events.c 			if ((lvl & P(LVL, REM_RAM1)) ||
lvl               370 tools/perf/util/mem-events.c 			    (lvl & P(LVL, REM_RAM2)) ||
lvl               380 tools/perf/util/mem-events.c 		if ((lvl & P(LVL, REM_CCE1)) ||
lvl               381 tools/perf/util/mem-events.c 		    (lvl & P(LVL, REM_CCE2)) ||
lvl               389 tools/perf/util/mem-events.c 		if ((lvl & P(LVL, MISS)))
lvl               401 tools/perf/util/mem-events.c 		if (lvl & P(LVL, HIT)) {
lvl               402 tools/perf/util/mem-events.c 			if (lvl & P(LVL, UNC)) stats->st_uncache++;
lvl               403 tools/perf/util/mem-events.c 			if (lvl & P(LVL, L1 )) stats->st_l1hit++;
lvl               405 tools/perf/util/mem-events.c 		if (lvl & P(LVL, MISS))
lvl               406 tools/perf/util/mem-events.c 			if (lvl & P(LVL, L1)) stats->st_l1miss++;