Home
last modified time | relevance | path

Searched refs:DEFINE (Results 1 – 25 of 35) sorted by relevance

12

/linux/arch/parisc/kernel/
H A Dasm-offsets.c42 DEFINE(TASK_TI_FLAGS, offsetof(struct task_struct, thread_info.flags)); in main()
44 DEFINE(TASK_TI_CPU, offsetof(struct task_struct, thread_info.cpu)); in main()
46 DEFINE(TASK_STACK, offsetof(struct task_struct, stack)); in main()
47 DEFINE(TASK_PAGEFAULT_DISABLED, offsetof(struct task_struct, pagefault_disabled)); in main()
49 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main()
50 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main()
51 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); in main()
52 DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2])); in main()
53 DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3])); in main()
54 DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4])); in main()
[all …]
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dfirmware.c6 #define DEFINE(s)[s] = #s macro
9 DEFINE(MCC),
10 DEFINE(P2P),
11 DEFINE(DOT11AC),
12 DEFINE(SLM_SESSIONIZATION),
13 DEFINE(DOT11AC_OPMODE),
14 DEFINE(SAP32STA),
15 DEFINE(TDLS),
16 DEFINE(P2P_GO_NOA_DECOUPLE_INIT_SCAN),
17 DEFINE(WLANACTIVE_OFFLOAD),
[all …]
/linux/arch/arm/kernel/
H A Dasm-offsets.c41 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
43 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
46 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
47 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
48 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
49 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main()
50 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
51 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); in main()
52 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
53 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
[all …]
/linux/arch/microblaze/kernel/
H A Dasm-offsets.c24 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in main()
25 DEFINE(PT_MSR, offsetof(struct pt_regs, msr)); in main()
26 DEFINE(PT_EAR, offsetof(struct pt_regs, ear)); in main()
27 DEFINE(PT_ESR, offsetof(struct pt_regs, esr)); in main()
28 DEFINE(PT_FSR, offsetof(struct pt_regs, fsr)); in main()
29 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main()
30 DEFINE(PT_R0, offsetof(struct pt_regs, r0)); in main()
31 DEFINE(PT_R1, offsetof(struct pt_regs, r1)); in main()
32 DEFINE(PT_R2, offsetof(struct pt_regs, r2)); in main()
33 DEFINE(PT_R3, offsetof(struct pt_regs, r3)); in main()
[all …]
/linux/arch/xtensa/kernel/
H A Dasm-offsets.c33 DEFINE(PT_PC, offsetof (struct pt_regs, pc)); in main()
34 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main()
35 DEFINE(PT_DEPC, offsetof (struct pt_regs, depc)); in main()
36 DEFINE(PT_EXCCAUSE, offsetof (struct pt_regs, exccause)); in main()
37 DEFINE(PT_EXCVADDR, offsetof (struct pt_regs, excvaddr)); in main()
38 DEFINE(PT_DEBUGCAUSE, offsetof (struct pt_regs, debugcause)); in main()
39 DEFINE(PT_WMASK, offsetof (struct pt_regs, wmask)); in main()
40 DEFINE(PT_LBEG, offsetof (struct pt_regs, lbeg)); in main()
41 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main()
42 DEFINE(PT_LCOUNT, offsetof (struct pt_regs, lcount)); in main()
[all …]
/linux/arch/m68k/kernel/
H A Dasm-offsets.c26 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
27 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
28 DEFINE(TASK_STACK, offsetof(struct task_struct, stack)); in main()
31 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
32 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main()
33 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main()
34 DEFINE(THREAD_FC, offsetof(struct thread_struct, fc)); in main()
35 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main()
36 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main()
37 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main()
[all …]
/linux/arch/csky/kernel/
H A Dasm-offsets.c12 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
13 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
14 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
15 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
16 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
17 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
20 DEFINE(THREAD_KSP, offsetof(struct thread_struct, sp)); in main()
21 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); in main()
22 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main()
23 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); in main()
[all …]
/linux/arch/arc/kernel/
H A Dasm-offsets.c18 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
19 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
23 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main()
24 DEFINE(THREAD_FAULT_ADDR, in main()
29 DEFINE(THREAD_INFO_KSP, offsetof(struct thread_info, ksp)); in main()
30 DEFINE(THREAD_INFO_FLAGS, offsetof(struct thread_info, flags)); in main()
31 DEFINE(THREAD_INFO_PREEMPT_COUNT, in main()
36 DEFINE(TASK_ACT_MM, offsetof(struct task_struct, active_mm)); in main()
37 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in main()
38 DEFINE(TASK_PID, offsetof(struct task_struct, pid)); in main()
[all …]
/linux/arch/sh/kernel/
H A Dasm-offsets.c24 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
25 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
26 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
27 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main()
28 DEFINE(TI_SIZE, sizeof(struct thread_info)); in main()
31 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
32 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main()
33 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
34 DEFINE(SWSUSP_ARCH_REGS_SIZE, sizeof(struct swsusp_arch_regs)); in main()
37 DEFINE(SH_SLEEP_MODE, offsetof(struct sh_sleep_data, mode)); in main()
[all …]
/linux/include/linux/
H A Dti-emif-sram.h58 DEFINE(EMIF_SDCFG_VAL_OFFSET, in ti_emif_asm_offsets()
60 DEFINE(EMIF_TIMING1_VAL_OFFSET, in ti_emif_asm_offsets()
62 DEFINE(EMIF_TIMING2_VAL_OFFSET, in ti_emif_asm_offsets()
64 DEFINE(EMIF_TIMING3_VAL_OFFSET, in ti_emif_asm_offsets()
66 DEFINE(EMIF_REF_CTRL_VAL_OFFSET, in ti_emif_asm_offsets()
68 DEFINE(EMIF_ZQCFG_VAL_OFFSET, in ti_emif_asm_offsets()
70 DEFINE(EMIF_PMCR_VAL_OFFSET, in ti_emif_asm_offsets()
72 DEFINE(EMIF_PMCR_SHDW_VAL_OFFSET, in ti_emif_asm_offsets()
74 DEFINE(EMIF_RD_WR_LEVEL_RAMP_CTRL_OFFSET, in ti_emif_asm_offsets()
76 DEFINE(EMIF_RD_WR_EXEC_THRESH_OFFSET, in ti_emif_asm_offsets()
[all …]
/linux/arch/loongarch/kernel/
H A Dasm-offsets.c61 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in output_ptreg_defines()
76 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in output_task_defines()
89 DEFINE(_THREAD_SIZE, THREAD_SIZE); in output_thread_info_defines()
90 DEFINE(_THREAD_MASK, THREAD_MASK); in output_thread_info_defines()
91 DEFINE(_IRQ_STACK_SIZE, IRQ_STACK_SIZE); in output_thread_info_defines()
92 DEFINE(_IRQ_STACK_START, IRQ_STACK_START); in output_thread_info_defines()
186 DEFINE(STRUCT_PAGE_SIZE, sizeof(struct page)); in output_mm_defines()
193 DEFINE(_PGD_T_SIZE, sizeof(pgd_t)); in output_mm_defines()
194 DEFINE(_PMD_T_SIZE, sizeof(pmd_t)); in output_mm_defines()
195 DEFINE(_PTE_T_SIZE, sizeof(pte_t)); in output_mm_defines()
[all …]
/linux/arch/um/include/shared/
H A Dcommon-offsets.h4 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
6 DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
7 DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);
8 DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT);
9 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
11 DEFINE(UM_GFP_KERNEL, GFP_KERNEL);
12 DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC);
14 DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
16 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
17 DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC);
[all …]
/linux/arch/openrisc/kernel/
H A Dasm-offsets.c40 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
41 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
42 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
43 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
44 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
47 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
48 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
49 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
50 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
52 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in main()
[all …]
/linux/arch/mips/kernel/
H A Dasm-offsets.c75 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in output_ptreg_defines()
90 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in output_task_defines()
105 DEFINE(_THREAD_SIZE, THREAD_SIZE); in output_thread_info_defines()
106 DEFINE(_THREAD_MASK, THREAD_MASK); in output_thread_info_defines()
107 DEFINE(_IRQ_STACK_SIZE, IRQ_STACK_SIZE); in output_thread_info_defines()
108 DEFINE(_IRQ_STACK_START, IRQ_STACK_START); in output_thread_info_defines()
189 DEFINE(STRUCT_PAGE_SIZE, sizeof(struct page)); in output_mm_defines()
196 DEFINE(_PGD_T_SIZE, sizeof(pgd_t)); in output_mm_defines()
197 DEFINE(_PMD_T_SIZE, sizeof(pmd_t)); in output_mm_defines()
198 DEFINE(_PTE_T_SIZE, sizeof(pte_t)); in output_mm_defines()
[all …]
/linux/arch/arm/mach-at91/
H A Dpm_data-offsets.c8 DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc)); in main()
9 DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc[0])); in main()
10 DEFINE(PM_DATA_RAMC1, offsetof(struct at91_pm_data, ramc[1])); in main()
11 DEFINE(PM_DATA_RAMC_PHY, offsetof(struct at91_pm_data, in main()
13 DEFINE(PM_DATA_MEMCTRL, offsetof(struct at91_pm_data, memctrl)); in main()
14 DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode)); in main()
15 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
16 DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu)); in main()
17 DEFINE(PM_DATA_PMC_MCKR_OFFSET, offsetof(struct at91_pm_data, in main()
19 DEFINE(PM_DATA_PMC_VERSION, offsetof(struct at91_pm_data, in main()
/linux/arch/powerpc/lib/
H A Dxor_vmx.c24 #define DEFINE(V) \ macro
56 DEFINE(v1); in __xor_altivec_2()
57 DEFINE(v2); in __xor_altivec_2()
76 DEFINE(v1); in __xor_altivec_3()
77 DEFINE(v2); in __xor_altivec_3()
78 DEFINE(v3); in __xor_altivec_3()
101 DEFINE(v1); in __xor_altivec_4()
102 DEFINE(v2); in __xor_altivec_4()
103 DEFINE(v3); in __xor_altivec_4()
104 DEFINE(v4); in __xor_altivec_4()
[all …]
/linux/arch/riscv/kernel/
H A Dasm-offsets.c90 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in asm_offsets()
294 DEFINE(TASK_THREAD_RA_RA, in asm_offsets()
298 DEFINE(TASK_THREAD_SP_RA, in asm_offsets()
302 DEFINE(TASK_THREAD_S0_RA, in asm_offsets()
306 DEFINE(TASK_THREAD_S1_RA, in asm_offsets()
310 DEFINE(TASK_THREAD_S2_RA, in asm_offsets()
314 DEFINE(TASK_THREAD_S3_RA, in asm_offsets()
318 DEFINE(TASK_THREAD_S4_RA, in asm_offsets()
322 DEFINE(TASK_THREAD_S5_RA, in asm_offsets()
326 DEFINE(TASK_THREAD_S6_RA, in asm_offsets()
[all …]
/linux/kernel/
H A Dbounds.c19 DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS); in main()
20 DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES); in main()
22 DEFINE(NR_CPUS_BITS, order_base_2(CONFIG_NR_CPUS)); in main()
24 DEFINE(SPINLOCK_SIZE, sizeof(spinlock_t)); in main()
26 DEFINE(LRU_GEN_WIDTH, order_base_2(MAX_NR_GENS + 1)); in main()
27 DEFINE(__LRU_REFS_WIDTH, MAX_NR_TIERS - 2); in main()
29 DEFINE(LRU_GEN_WIDTH, 0); in main()
30 DEFINE(__LRU_REFS_WIDTH, 0); in main()
/linux/arch/arm/mach-omap2/
H A Dpm-asm-offsets.c16 DEFINE(AMX3_PM_WFI_FLAGS_OFFSET, in main()
18 DEFINE(AMX3_PM_L2_AUX_CTRL_VAL_OFFSET, in main()
20 DEFINE(AMX3_PM_L2_PREFETCH_CTRL_VAL_OFFSET, in main()
22 DEFINE(AMX3_PM_SRAM_DATA_SIZE, sizeof(struct am33xx_pm_sram_data)); in main()
26 DEFINE(AMX3_PM_RO_SRAM_DATA_VIRT_OFFSET, in main()
28 DEFINE(AMX3_PM_RO_SRAM_DATA_PHYS_OFFSET, in main()
30 DEFINE(AMX3_PM_RTC_BASE_VIRT_OFFSET, in main()
32 DEFINE(AMX3_PM_RO_SRAM_DATA_SIZE, in main()
/linux/arch/alpha/kernel/
H A Dasm-offsets.c17 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo()
18 DEFINE(TI_FP, offsetof(struct thread_info, fp)); in foo()
19 DEFINE(TI_STATUS, offsetof(struct thread_info, status)); in foo()
22 DEFINE(SIZEOF_PT_REGS, sizeof(struct pt_regs)); in foo()
25 DEFINE(HAE_CACHE, offsetof(struct alpha_machine_vector, hae_cache)); in foo()
26 DEFINE(HAE_REG, offsetof(struct alpha_machine_vector, hae_register)); in foo()
/linux/arch/s390/kernel/
H A Dasm-offsets.c56 DEFINE(__PT_SIZE, sizeof(struct pt_regs)); in main()
68 DEFINE(STACK_FRAME_OVERHEAD, sizeof(struct stack_frame)); in main()
71 DEFINE(STACK_FRAME_USER_OVERHEAD, sizeof(struct stack_frame_user)); in main()
73 DEFINE(STACK_FRAME_VDSO_OVERHEAD, sizeof(struct stack_frame_vdso_wrapper)); in main()
170 DEFINE(__KEXEC_SHA_REGION_SIZE, sizeof(struct kexec_sha_region)); in main()
172 DEFINE(__PARMAREA_SIZE, sizeof(struct parmarea)); in main()
174 DEFINE(IPL_DEVICE, PARMAREA + offsetof(struct parmarea, ipl_device)); in main()
175 DEFINE(INITRD_START, PARMAREA + offsetof(struct parmarea, initrd_start)); in main()
176 DEFINE(INITRD_SIZE, PARMAREA + offsetof(struct parmarea, initrd_size)); in main()
177 DEFINE(OLDMEM_BASE, PARMAREA + offsetof(struct parmarea, oldmem_base)); in main()
[all …]
/linux/arch/sparc/kernel/
H A Dasm-offsets.c24 DEFINE(AOFF_thread_fork_kpsr, in sparc32_foo()
51 DEFINE(AOFF_task_thread, offsetof(struct task_struct, thread)); in foo()
53 DEFINE(AOFF_mm_context, offsetof(struct mm_struct, context)); in foo()
55 DEFINE(VMA_VM_MM, offsetof(struct vm_area_struct, vm_mm)); in foo()
/linux/arch/arm64/kvm/hyp/
H A Dhyp-constants.c9 DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page)); in main()
10 DEFINE(PKVM_HYP_VM_SIZE, sizeof(struct pkvm_hyp_vm)); in main()
11 DEFINE(PKVM_HYP_VCPU_SIZE, sizeof(struct pkvm_hyp_vcpu)); in main()
/linux/arch/hexagon/kernel/
H A Dasm-offsets.c27 DEFINE(_PAGE_SIZE, PAGE_SIZE); in main()
28 DEFINE(_PAGE_SHIFT, PAGE_SHIFT); in main()
60 DEFINE(_PT_REGS_SIZE, sizeof(struct pt_regs)); in main()
67 DEFINE(_THREAD_SIZE, THREAD_SIZE); in main()
80 DEFINE(_SWITCH_STACK_SIZE, sizeof(struct hexagon_switch_stack)); in main()
/linux/arch/powerpc/kernel/
H A Dasm-offsets.c75 DEFINE(sym, STACK_INT_FRAME_REGS + offsetof(struct pt_regs, val))
171 DEFINE(TM_FRAME_SIZE, STACK_INT_FRAME_SIZE + 16); in main()
184 DEFINE(PACA_THREAD_INFO, offsetof(struct paca_struct, __current) + in main()
262 DEFINE(INT_FRAME_SIZE, STACK_INT_FRAME_SIZE); in main()
263 DEFINE(SWITCH_FRAME_SIZE, STACK_SWITCH_FRAME_SIZE); in main()
332 DEFINE(TASK_SIZE, TASK_SIZE); in main()
333 DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28); in main()
351 DEFINE(VDSO_CLOCKMODE_TIMENS, VDSO_CLOCKMODE_TIMENS); in main()
354 DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry)); in main()
497 DEFINE(VCPU_SLB_SIZE, sizeof(struct kvmppc_slb)); in main()
[all …]

12