Home
last modified time | relevance | path

Searched refs:def (Results 1 – 18 of 18) sorted by relevance

/arch/powerpc/mm/
Dtlb_nohash.c462 struct mmu_psize_def *def; in setup_page_sizes() local
465 def = &mmu_psize_defs[psize]; in setup_page_sizes()
466 shift = def->shift; in setup_page_sizes()
475 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
501 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
503 if (!def->shift) in setup_page_sizes()
506 if (tlb1ps & (1U << (def->shift - 10))) { in setup_page_sizes()
507 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
510 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes()
524 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
[all …]
Dhash_utils_64.c431 struct mmu_psize_def *def; in htab_dt_scan_page_sizes() local
441 def = &mmu_psize_defs[base_idx]; in htab_dt_scan_page_sizes()
445 def->shift = base_shift; in htab_dt_scan_page_sizes()
447 def->avpnm = 0; in htab_dt_scan_page_sizes()
449 def->avpnm = (1 << (base_shift - 23)) - 1; in htab_dt_scan_page_sizes()
450 def->sllp = slbenc; in htab_dt_scan_page_sizes()
456 def->tlbiel = 1; in htab_dt_scan_page_sizes()
458 def->tlbiel = 0; in htab_dt_scan_page_sizes()
475 def->penc[idx] = penc; in htab_dt_scan_page_sizes()
478 base_shift, shift, def->sllp, in htab_dt_scan_page_sizes()
[all …]
Dpgtable-radix.c405 struct mmu_psize_def *def; in radix_dt_scan_page_sizes() local
416 def = &mmu_psize_defs[idx]; in radix_dt_scan_page_sizes()
417 def->shift = shift; in radix_dt_scan_page_sizes()
418 def->ap = ap; in radix_dt_scan_page_sizes()
/arch/s390/tools/
Dgen_facilities.c94 static void print_facility_list(struct facility_def *def) in print_facility_list() argument
103 for (i = 0; def->bits[i] != -1; i++) { in print_facility_list()
104 bit = 63 - (def->bits[i] & 63); in print_facility_list()
105 dword = def->bits[i] / 64; in print_facility_list()
115 printf("#define %s ", def->name); in print_facility_list()
/arch/x86/include/asm/
Djump_label.h79 .macro STATIC_JUMP_IF_TRUE target, key, def
81 .if \def
95 .macro STATIC_JUMP_IF_FALSE target, key, def
97 .if \def
/arch/parisc/kernel/
Dentry.S165 .macro def code macro
691 def 2
692 def 3
694 def 5
696 def 7
697 def 8
698 def 9
699 def 10
700 def 11
701 def 12
[all …]
/arch/sparc/kernel/
Dprom_common.c38 int of_getintprop_default(struct device_node *np, const char *name, int def) in of_getintprop_default() argument
45 return def; in of_getintprop_default()
Dmdesc.c1057 unsigned long def, unsigned long max) in get_one_mondo_bits() argument
1075 *mask = ((1U << def) * 64U) - 1U; in get_one_mondo_bits()
/arch/x86/kernel/cpu/mtrr/
Dcleanup.c687 unsigned long base, size, def, dummy; in mtrr_cleanup() local
696 rdmsr(MSR_MTRRdefType, def, dummy); in mtrr_cleanup()
697 def &= 0xff; in mtrr_cleanup()
698 if (def != MTRR_TYPE_UNCACHABLE) in mtrr_cleanup()
879 unsigned long i, base, size, highest_pfn = 0, def, dummy; in mtrr_trim_uncached_memory() local
892 rdmsr(MSR_MTRRdefType, def, dummy); in mtrr_trim_uncached_memory()
893 def &= 0xff; in mtrr_trim_uncached_memory()
894 if (def != MTRR_TYPE_UNCACHABLE) in mtrr_trim_uncached_memory()
/arch/s390/include/asm/
Dcpu_mf.h100 unsigned int def:16; /* 0-15 Data Entry Format */ member
118 unsigned int def:16; /* 0-15 Data Entry Format */ member
/arch/sparc/include/asm/
Dprom.h44 int def);
/arch/um/drivers/
Dline.h65 extern int line_setup(char **conf, unsigned nlines, char **def,
Dline.c433 int line_setup(char **conf, unsigned int num, char **def, in line_setup() argument
443 *def = init + 1; in line_setup()
/arch/s390/kernel/
Dperf_cpum_sf.c1072 if (sample->basic.def != 0x0001) in sample_format_is_valid()
1079 if (sample->diag.def < 0x8001) in sample_format_is_valid()
1108 sample->basic.def = 0; in reset_sample_slot()
1110 sample->diag.def = 0; in reset_sample_slot()
1129 sample->basic.def, &sample->basic, in debug_sample_entry()
1131 ? sample->diag.def : 0xFFFF, in debug_sample_entry()
1174 if (!sample->basic.def) in hw_collect_samples()
/arch/powerpc/kernel/
Dpci_of_scan.c25 static u32 get_int_prop(struct device_node *np, const char *name, u32 def) in get_int_prop() argument
33 return def; in get_int_prop()
/arch/x86/entry/
Dcalling.h361 STATIC_JUMP_IF_FALSE .Lafter_call_\@, context_tracking_enabled, def=0
/arch/powerpc/boot/
D4xx.c396 static inline u32 __fix_zero(u32 v, u32 def) in __fix_zero() argument
398 return v ? v : def; in __fix_zero()
/arch/powerpc/kvm/
Dbook3s_hv.c3341 struct mmu_psize_def *def = &mmu_psize_defs[linux_psize]; in kvmppc_add_seg_page_size() local
3343 if (!def->shift) in kvmppc_add_seg_page_size()
3345 (*sps)->page_shift = def->shift; in kvmppc_add_seg_page_size()
3346 (*sps)->slb_enc = def->sllp; in kvmppc_add_seg_page_size()
3347 (*sps)->enc[0].page_shift = def->shift; in kvmppc_add_seg_page_size()
3348 (*sps)->enc[0].pte_enc = def->penc[linux_psize]; in kvmppc_add_seg_page_size()
3352 if (linux_psize != MMU_PAGE_16M && def->penc[MMU_PAGE_16M] != -1) { in kvmppc_add_seg_page_size()
3354 (*sps)->enc[1].pte_enc = def->penc[MMU_PAGE_16M]; in kvmppc_add_seg_page_size()