Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dtlb_nohash.c441 struct mmu_psize_def *def; in setup_page_sizes() local
444 def = &mmu_psize_defs[psize]; in setup_page_sizes()
445 shift = def->shift; in setup_page_sizes()
454 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
480 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
482 if (tlb1ps & (1U << (def->shift - 10))) { in setup_page_sizes()
483 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
486 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes()
500 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
502 if (tlb0ps & (1U << (def->shift - 10))) in setup_page_sizes()
[all …]
Dhash_utils_64.c349 struct mmu_psize_def *def; in htab_dt_scan_page_sizes() local
359 def = &mmu_psize_defs[base_idx]; in htab_dt_scan_page_sizes()
363 def->shift = base_shift; in htab_dt_scan_page_sizes()
365 def->avpnm = 0; in htab_dt_scan_page_sizes()
367 def->avpnm = (1 << (base_shift - 23)) - 1; in htab_dt_scan_page_sizes()
368 def->sllp = slbenc; in htab_dt_scan_page_sizes()
374 def->tlbiel = 1; in htab_dt_scan_page_sizes()
376 def->tlbiel = 0; in htab_dt_scan_page_sizes()
393 def->penc[idx] = penc; in htab_dt_scan_page_sizes()
396 base_shift, shift, def->sllp, in htab_dt_scan_page_sizes()
[all …]
/arch/parisc/kernel/
Dentry.S156 .macro def code macro
672 def 2
673 def 3
675 def 5
677 def 7
678 def 8
679 def 9
680 def 10
681 def 11
682 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.c722 unsigned long def, unsigned long max) in get_one_mondo_bits() argument
740 *mask = ((1U << def) * 64U) - 1U; in get_one_mondo_bits()
/arch/s390/include/asm/
Dcpu_mf.h103 unsigned int def:16; /* 0-15 Data Entry Format */ member
120 unsigned int def:16; /* 0-15 Data Entry Format */ member
/arch/x86/kernel/cpu/mtrr/
Dcleanup.c680 unsigned long base, size, def, dummy; in mtrr_cleanup() local
689 rdmsr(MSR_MTRRdefType, def, dummy); in mtrr_cleanup()
690 def &= 0xff; in mtrr_cleanup()
691 if (def != MTRR_TYPE_UNCACHABLE) in mtrr_cleanup()
873 unsigned long i, base, size, highest_pfn = 0, def, dummy; in mtrr_trim_uncached_memory() local
886 rdmsr(MSR_MTRRdefType, def, dummy); in mtrr_trim_uncached_memory()
887 def &= 0xff; in mtrr_trim_uncached_memory()
888 if (def != MTRR_TYPE_UNCACHABLE) in mtrr_trim_uncached_memory()
/arch/sparc/include/asm/
Dprom.h44 int def);
/arch/um/drivers/
Dline.h65 extern int line_setup(char **conf, unsigned nlines, char **def,
Dline.c432 int line_setup(char **conf, unsigned int num, char **def, in line_setup() argument
442 *def = init + 1; in line_setup()
/arch/s390/kernel/
Dperf_cpum_sf.c1056 if (sample->basic.def != 0x0001) in sample_format_is_valid()
1063 if (sample->diag.def < 0x8001) in sample_format_is_valid()
1092 sample->basic.def = 0; in reset_sample_slot()
1094 sample->diag.def = 0; in reset_sample_slot()
1113 sample->basic.def, &sample->basic, in debug_sample_entry()
1115 ? sample->diag.def : 0xFFFF, in debug_sample_entry()
1158 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/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.c2161 struct mmu_psize_def *def = &mmu_psize_defs[linux_psize]; in kvmppc_add_seg_page_size() local
2163 if (!def->shift) in kvmppc_add_seg_page_size()
2165 (*sps)->page_shift = def->shift; in kvmppc_add_seg_page_size()
2166 (*sps)->slb_enc = def->sllp; in kvmppc_add_seg_page_size()
2167 (*sps)->enc[0].page_shift = def->shift; in kvmppc_add_seg_page_size()
2168 (*sps)->enc[0].pte_enc = def->penc[linux_psize]; in kvmppc_add_seg_page_size()
2172 if (linux_psize != MMU_PAGE_16M && def->penc[MMU_PAGE_16M] != -1) { in kvmppc_add_seg_page_size()
2174 (*sps)->enc[1].pte_enc = def->penc[MMU_PAGE_16M]; in kvmppc_add_seg_page_size()
/arch/s390/oprofile/
Dhwsampler.c818 if (sample_data_ptr->def != 1) { in add_samples_to_oprofile()
824 sample_data_ptr->def = 0; in add_samples_to_oprofile()