Home
last modified time | relevance | path

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

/arch/powerpc/mm/nohash/
Dtlb.c456 struct mmu_psize_def *def; in setup_page_sizes() local
459 def = &mmu_psize_defs[psize]; in setup_page_sizes()
460 shift = def->shift; in setup_page_sizes()
469 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
495 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
497 if (!def->shift) in setup_page_sizes()
500 if (tlb1ps & (1U << (def->shift - 10))) { in setup_page_sizes()
501 def->flags |= MMU_PAGE_SIZE_DIRECT; in setup_page_sizes()
504 def->flags |= MMU_PAGE_SIZE_INDIRECT; in setup_page_sizes()
518 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes() local
[all …]
/arch/s390/tools/
Dgen_facilities.c123 static void print_facility_list(struct facility_def *def) in print_facility_list() argument
132 for (i = 0; def->bits[i] != -1; i++) { in print_facility_list()
133 bit = 63 - (def->bits[i] & 63); in print_facility_list()
134 dword = def->bits[i] / 64; in print_facility_list()
144 printf("#define %s ", def->name); in print_facility_list()
/arch/x86/include/asm/
Djump_label.h58 .macro STATIC_JUMP_IF_TRUE target, key, def
60 .if \def
75 .macro STATIC_JUMP_IF_FALSE target, key, def
77 .if \def
/arch/parisc/kernel/
Dentry.S150 .macro def code macro
680 def 2
681 def 3
683 def 5
685 def 7
686 def 8
687 def 9
688 def 10
689 def 11
690 def 12
[all …]
/arch/um/drivers/
Dvector_kern.c68 static void vector_eth_configure(int n, struct arglist *def);
118 static int get_mtu(struct arglist *def) in get_mtu() argument
120 char *mtu = uml_vector_fetch_arg(def, "mtu"); in get_mtu()
131 static int get_depth(struct arglist *def) in get_depth() argument
133 char *mtu = uml_vector_fetch_arg(def, "depth"); in get_depth()
143 static int get_headroom(struct arglist *def) in get_headroom() argument
145 char *mtu = uml_vector_fetch_arg(def, "headroom"); in get_headroom()
155 static int get_req_size(struct arglist *def) in get_req_size() argument
157 char *gro = uml_vector_fetch_arg(def, "gro"); in get_req_size()
166 return get_mtu(def) + ETH_HEADER_OTHER + in get_req_size()
[all …]
Dvector_transports.c217 struct arglist *def, char *param, unsigned int *result) in get_uint_param() argument
219 char *arg = uml_vector_fetch_arg(def, param); in get_uint_param()
229 struct arglist *def, char *param, unsigned long *result) in get_ulong_param() argument
231 char *arg = uml_vector_fetch_arg(def, param); in get_ulong_param()
Dline.h65 extern int line_setup(char **conf, unsigned nlines, char **def,
Dline.c425 int line_setup(char **conf, unsigned int num, char **def, in line_setup() argument
435 *def = init + 1; in line_setup()
/arch/sparc/kernel/
Dprom_common.c34 int of_getintprop_default(struct device_node *np, const char *name, int def) in of_getintprop_default() argument
41 return def; in of_getintprop_default()
Dmdesc.c1059 unsigned long def, unsigned long max) in get_one_mondo_bits() argument
1077 *mask = ((1U << def) * 64U) - 1U; in get_one_mondo_bits()
/arch/powerpc/mm/book3s64/
Dhash_utils.c433 struct mmu_psize_def *def; in htab_dt_scan_page_sizes() local
443 def = &mmu_psize_defs[base_idx]; in htab_dt_scan_page_sizes()
447 def->shift = base_shift; in htab_dt_scan_page_sizes()
449 def->avpnm = 0; in htab_dt_scan_page_sizes()
451 def->avpnm = (1 << (base_shift - 23)) - 1; in htab_dt_scan_page_sizes()
452 def->sllp = slbenc; in htab_dt_scan_page_sizes()
458 def->tlbiel = 1; in htab_dt_scan_page_sizes()
460 def->tlbiel = 0; in htab_dt_scan_page_sizes()
477 def->penc[idx] = penc; in htab_dt_scan_page_sizes()
480 base_shift, shift, def->sllp, in htab_dt_scan_page_sizes()
[all …]
Dradix_pgtable.c450 struct mmu_psize_def *def; in radix_dt_scan_page_sizes() local
461 def = &mmu_psize_defs[idx]; in radix_dt_scan_page_sizes()
462 def->shift = shift; in radix_dt_scan_page_sizes()
463 def->ap = ap; in radix_dt_scan_page_sizes()
/arch/x86/kernel/cpu/mtrr/
Dcleanup.c686 unsigned long base, size, def, dummy; in mtrr_cleanup() local
695 rdmsr(MSR_MTRRdefType, def, dummy); in mtrr_cleanup()
696 def &= 0xff; in mtrr_cleanup()
697 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/sparc/include/asm/
Dprom.h37 int def);
/arch/s390/include/asm/
Dcpu_mf.h102 unsigned int def:16; /* 0-15 Data Entry Format */ member
120 unsigned int def:16; /* 0-15 Data Entry Format */ member
/arch/s390/kernel/
Dperf_cpum_cf_diag.c65 unsigned int def:16; /* 0-15 Data Entry Format */ member
375 ctrdata->def = CF_DIAG_CTRSET_DEF; in cf_diag_getctrset()
460 if (ctrstart->def == CF_DIAG_CTRSET_DEF) { in cf_diag_diffctr()
470 } while (ctrstart->def && auth); in cf_diag_diffctr()
Dperf_cpum_sf.c1152 te->f, sample->def, sample); in debug_sample_entry()
1185 if (!sample->def) in hw_collect_samples()
1192 if (sample->def == 0x0001) { in hw_collect_samples()
1224 sample->def = 0; in hw_collect_samples()
/arch/powerpc/kernel/
Dpci_of_scan.c22 static u32 get_int_prop(struct device_node *np, const char *name, u32 def) in get_int_prop() argument
30 return def; in get_int_prop()
/arch/powerpc/boot/
D4xx.c392 static inline u32 __fix_zero(u32 v, u32 def) in __fix_zero() argument
394 return v ? v : def; in __fix_zero()
/arch/x86/entry/
Dcalling.h409 STATIC_JUMP_IF_FALSE .Lafter_call_\@, context_tracking_enabled, def=0
/arch/powerpc/platforms/pseries/
Dlpar.c1398 struct mmu_psize_def *def = &mmu_psize_defs[bpsize]; in check_lp_set_hblkrm() local
1401 if (def->penc[psize] == lp) { in check_lp_set_hblkrm()