Home
last modified time | relevance | path

Searched refs:OFFSET (Results 1 – 43 of 43) sorted by relevance

/linux-4.4.14/arch/s390/kernel/
Dasm-offsets.c27 OFFSET(__TASK_thread_info, task_struct, stack); in main()
28 OFFSET(__TASK_thread, task_struct, thread); in main()
29 OFFSET(__TASK_pid, task_struct, pid); in main()
32 OFFSET(__THREAD_ksp, thread_struct, ksp); in main()
33 OFFSET(__THREAD_FPU_fpc, thread_struct, fpu.fpc); in main()
34 OFFSET(__THREAD_FPU_regs, thread_struct, fpu.regs); in main()
35 OFFSET(__THREAD_per_cause, thread_struct, per_event.cause); in main()
36 OFFSET(__THREAD_per_address, thread_struct, per_event.address); in main()
37 OFFSET(__THREAD_per_paid, thread_struct, per_event.paid); in main()
38 OFFSET(__THREAD_trap_tdb, thread_struct, trap_tdb); in main()
[all …]
/linux-4.4.14/arch/mips/kernel/
Dasm-offsets.c27 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines()
28 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines()
29 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines()
30 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines()
31 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines()
32 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines()
33 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines()
34 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines()
35 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines()
36 OFFSET(PT_R9, pt_regs, regs[9]); in output_ptreg_defines()
[all …]
Dtraps.c487 #define OFFSET 0x0000ffff macro
521 offset = opcode & OFFSET; in simulate_ll()
561 offset = opcode & OFFSET; in simulate_sc()
/linux-4.4.14/arch/c6x/kernel/
Dasm-offsets.c15 OFFSET(REGS_A16, pt_regs, a16); in foo()
16 OFFSET(REGS_A17, pt_regs, a17); in foo()
17 OFFSET(REGS_A18, pt_regs, a18); in foo()
18 OFFSET(REGS_A19, pt_regs, a19); in foo()
19 OFFSET(REGS_A20, pt_regs, a20); in foo()
20 OFFSET(REGS_A21, pt_regs, a21); in foo()
21 OFFSET(REGS_A22, pt_regs, a22); in foo()
22 OFFSET(REGS_A23, pt_regs, a23); in foo()
23 OFFSET(REGS_A24, pt_regs, a24); in foo()
24 OFFSET(REGS_A25, pt_regs, a25); in foo()
[all …]
/linux-4.4.14/arch/mn10300/kernel/
Dasm-offsets.c20 OFFSET(SIGCONTEXT_d0, sigcontext, d0); in foo()
21 OFFSET(SIGCONTEXT_d1, sigcontext, d1); in foo()
24 OFFSET(TI_task, thread_info, task); in foo()
25 OFFSET(TI_frame, thread_info, frame); in foo()
26 OFFSET(TI_flags, thread_info, flags); in foo()
27 OFFSET(TI_cpu, thread_info, cpu); in foo()
28 OFFSET(TI_preempt_count, thread_info, preempt_count); in foo()
29 OFFSET(TI_addr_limit, thread_info, addr_limit); in foo()
32 OFFSET(REG_D0, pt_regs, d0); in foo()
33 OFFSET(REG_D1, pt_regs, d1); in foo()
[all …]
/linux-4.4.14/arch/score/kernel/
Dasm-offsets.c36 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines()
37 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines()
38 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines()
39 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines()
40 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines()
41 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines()
42 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines()
43 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines()
44 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines()
45 OFFSET(PT_R9, pt_regs, regs[9]); in output_ptreg_defines()
[all …]
/linux-4.4.14/arch/hexagon/kernel/
Dasm-offsets.c46 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main()
47 OFFSET(_PT_GPUGP, pt_regs, gpugp); in main()
48 OFFSET(_PT_CS1CS0, pt_regs, cs1cs0); in main()
49 OFFSET(_PT_R3130, pt_regs, r3130); in main()
50 OFFSET(_PT_R2928, pt_regs, r2928); in main()
51 OFFSET(_PT_R2726, pt_regs, r2726); in main()
52 OFFSET(_PT_R2524, pt_regs, r2524); in main()
53 OFFSET(_PT_R2322, pt_regs, r2322); in main()
54 OFFSET(_PT_R2120, pt_regs, r2120); in main()
55 OFFSET(_PT_R1918, pt_regs, r1918); in main()
[all …]
/linux-4.4.14/arch/nios2/kernel/
Dasm-offsets.c30 OFFSET(TASK_THREAD, task_struct, thread); in main()
34 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
35 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
39 OFFSET(PT_ORIG_R2, pt_regs, orig_r2); in main()
40 OFFSET(PT_ORIG_R7, pt_regs, orig_r7); in main()
42 OFFSET(PT_R1, pt_regs, r1); in main()
43 OFFSET(PT_R2, pt_regs, r2); in main()
44 OFFSET(PT_R3, pt_regs, r3); in main()
45 OFFSET(PT_R4, pt_regs, r4); in main()
46 OFFSET(PT_R5, pt_regs, r5); in main()
[all …]
/linux-4.4.14/arch/x86/kernel/
Dasm-offsets_32.c20 OFFSET(CPUINFO_x86, cpuinfo_x86, x86); in foo()
21 OFFSET(CPUINFO_x86_vendor, cpuinfo_x86, x86_vendor); in foo()
22 OFFSET(CPUINFO_x86_model, cpuinfo_x86, x86_model); in foo()
23 OFFSET(CPUINFO_x86_mask, cpuinfo_x86, x86_mask); in foo()
24 OFFSET(CPUINFO_cpuid_level, cpuinfo_x86, cpuid_level); in foo()
25 OFFSET(CPUINFO_x86_capability, cpuinfo_x86, x86_capability); in foo()
26 OFFSET(CPUINFO_x86_vendor_id, cpuinfo_x86, x86_vendor_id); in foo()
29 OFFSET(PT_EBX, pt_regs, bx); in foo()
30 OFFSET(PT_ECX, pt_regs, cx); in foo()
31 OFFSET(PT_EDX, pt_regs, dx); in foo()
[all …]
Dasm-offsets.c32 OFFSET(TI_flags, thread_info, flags); in common()
33 OFFSET(TI_status, thread_info, status); in common()
34 OFFSET(TI_addr_limit, thread_info, addr_limit); in common()
37 OFFSET(crypto_tfm_ctx_offset, crypto_tfm, __crt_ctx); in common()
40 OFFSET(pbe_address, pbe, address); in common()
41 OFFSET(pbe_orig_address, pbe, orig_address); in common()
42 OFFSET(pbe_next, pbe, next); in common()
46 OFFSET(IA32_SIGCONTEXT_ax, sigcontext_32, ax); in common()
47 OFFSET(IA32_SIGCONTEXT_bx, sigcontext_32, bx); in common()
48 OFFSET(IA32_SIGCONTEXT_cx, sigcontext_32, cx); in common()
[all …]
Dasm-offsets_64.c25 OFFSET(PV_IRQ_adjust_exception_frame, pv_irq_ops, adjust_exception_frame); in main()
26 OFFSET(PV_CPU_usergs_sysret32, pv_cpu_ops, usergs_sysret32); in main()
27 OFFSET(PV_CPU_usergs_sysret64, pv_cpu_ops, usergs_sysret64); in main()
28 OFFSET(PV_CPU_swapgs, pv_cpu_ops, swapgs); in main()
32 #define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry) in main()
52 #define ENTRY(entry) OFFSET(saved_context_ ## entry, saved_context, entry) in main()
62 OFFSET(TSS_ist, tss_struct, x86_tss.ist); in main()
63 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); in main()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c48 #define OFFSET(REG_ADDR) ((REG_ADDR) << 2) macro
99 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
105 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
435 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \
436 t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \
437 t1_tpi_read((mac)->adapter, OFFSET((name)+2), &val2); \
606 t1_tpi_write(adapter, OFFSET(0x0001), 0x00008000); in pm3393_mac_create()
607 t1_tpi_write(adapter, OFFSET(0x0001), 0x00000000); in pm3393_mac_create()
608 t1_tpi_write(adapter, OFFSET(0x2308), 0x00009800); in pm3393_mac_create()
609 t1_tpi_write(adapter, OFFSET(0x2305), 0x00001001); /* PL4IO Enable */ in pm3393_mac_create()
[all …]
Dmy3126.c34 #define OFFSET(REG_ADDR) (REG_ADDR << 2) macro
60 t1_tpi_write(adapter, OFFSET(SUNI1x10GEXP_REG_MSTAT_CONTROL), in my3126_interrupt_handler()
63 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_1_LOW), &act_count); in my3126_interrupt_handler()
65 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_33_LOW), &val); in my3126_interrupt_handler()
/linux-4.4.14/arch/frv/kernel/
Dasm-offsets.c36 OFFSET(TI_TASK, thread_info, task); in foo()
37 OFFSET(TI_FLAGS, thread_info, flags); in foo()
38 OFFSET(TI_STATUS, thread_info, status); in foo()
39 OFFSET(TI_CPU, thread_info, cpu); in foo()
40 OFFSET(TI_PREEMPT_COUNT, thread_info, preempt_count); in foo()
41 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in foo()
88 OFFSET(__THREAD_FRAME, thread_struct, frame); in foo()
89 OFFSET(__THREAD_CURR, thread_struct, curr); in foo()
90 OFFSET(__THREAD_SP, thread_struct, sp); in foo()
91 OFFSET(__THREAD_FP, thread_struct, fp); in foo()
[all …]
/linux-4.4.14/arch/h8300/kernel/
Dasm-offsets.c23 OFFSET(TASK_STATE, task_struct, state); in main()
24 OFFSET(TASK_FLAGS, task_struct, flags); in main()
25 OFFSET(TASK_PTRACE, task_struct, ptrace); in main()
26 OFFSET(TASK_BLOCKED, task_struct, blocked); in main()
27 OFFSET(TASK_THREAD, task_struct, thread); in main()
28 OFFSET(TASK_THREAD_INFO, task_struct, stack); in main()
29 OFFSET(TASK_MM, task_struct, mm); in main()
30 OFFSET(TASK_ACTIVE_MM, task_struct, active_mm); in main()
37 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
38 OFFSET(THREAD_USP, thread_struct, usp); in main()
[all …]
/linux-4.4.14/arch/avr32/kernel/
Dasm-offsets.c14 OFFSET(TI_task, thread_info, task); in foo()
15 OFFSET(TI_flags, thread_info, flags); in foo()
16 OFFSET(TI_cpu, thread_info, cpu); in foo()
17 OFFSET(TI_preempt_count, thread_info, preempt_count); in foo()
18 OFFSET(TI_rar_saved, thread_info, rar_saved); in foo()
19 OFFSET(TI_rsr_saved, thread_info, rsr_saved); in foo()
21 OFFSET(TSK_active_mm, task_struct, active_mm); in foo()
23 OFFSET(MM_pgd, mm_struct, pgd); in foo()
/linux-4.4.14/arch/sparc/kernel/
Dasm-offsets.c31 OFFSET(SC_REG_FP, saved_context, fp); in sparc64_foo()
32 OFFSET(SC_REG_CWP, saved_context, cwp); in sparc64_foo()
33 OFFSET(SC_REG_WSTATE, saved_context, wstate); in sparc64_foo()
35 OFFSET(SC_REG_TICK, saved_context, tick); in sparc64_foo()
36 OFFSET(SC_REG_PSTATE, saved_context, pstate); in sparc64_foo()
38 OFFSET(SC_REG_G4, saved_context, g4); in sparc64_foo()
39 OFFSET(SC_REG_G5, saved_context, g5); in sparc64_foo()
40 OFFSET(SC_REG_G6, saved_context, g6); in sparc64_foo()
/linux-4.4.14/arch/m32r/kernel/
Dasm-offsets.c6 OFFSET(TI_TASK, thread_info, task); in foo()
7 OFFSET(TI_FLAGS, thread_info, flags); in foo()
8 OFFSET(TI_STATUS, thread_info, status); in foo()
9 OFFSET(TI_CPU, thread_info, cpu); in foo()
10 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in foo()
11 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in foo()
/linux-4.4.14/drivers/gpio/
Dgpio-mb86s7x.c38 #define OFFSET(x) BIT((x) % 8) macro
61 if (!(val & OFFSET(gpio))) { in mb86s70_gpio_request()
66 val &= ~OFFSET(gpio); in mb86s70_gpio_request()
83 val |= OFFSET(gpio); in mb86s70_gpio_free()
98 val &= ~OFFSET(gpio); in mb86s70_gpio_direction_input()
117 val |= OFFSET(gpio); in mb86s70_gpio_direction_output()
119 val &= ~OFFSET(gpio); in mb86s70_gpio_direction_output()
123 val |= OFFSET(gpio); in mb86s70_gpio_direction_output()
135 return !!(readl(gchip->base + PDR(gpio)) & OFFSET(gpio)); in mb86s70_gpio_get()
148 val |= OFFSET(gpio); in mb86s70_gpio_set()
[all …]
/linux-4.4.14/arch/x86/crypto/
Daes-x86_64-asm_64.S83 #define round(TAB,OFFSET,r1,r2,r3,r4,r5,r6,r7,r8,ra,rb,rc,rd) \ argument
93 xorl OFFSET(r8),ra ## E; \
94 xorl OFFSET+4(r8),rb ## E; \
124 xorl OFFSET+8(r8),rc ## E; \
125 xorl OFFSET+12(r8),rd ## E; \
138 #define encrypt_round(TAB,OFFSET) \ argument
139 round(TAB,OFFSET,R1,R2,R3,R4,R5,R6,R7,R10,R5,R6,R3,R4) \
142 #define encrypt_final(TAB,OFFSET) \ argument
143 round(TAB,OFFSET,R1,R2,R3,R4,R5,R6,R7,R10,R5,R6,R3,R4)
145 #define decrypt_round(TAB,OFFSET) \ argument
[all …]
/linux-4.4.14/arch/xtensa/kernel/
Dasm-offsets.c81 OFFSET(TI_TASK, thread_info, task); in main()
82 OFFSET(TI_FLAGS, thread_info, flags); in main()
83 OFFSET(TI_STSTUS, thread_info, status); in main()
84 OFFSET(TI_CPU, thread_info, cpu); in main()
85 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in main()
86 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in main()
/linux-4.4.14/drivers/xen/xen-pciback/
Dconf_space.c183 field_start = OFFSET(cfg_entry); in xen_pcibk_config_read()
184 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_read()
230 field_start = OFFSET(cfg_entry); in xen_pcibk_config_write()
231 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_write()
336 field->reset(dev, OFFSET(cfg_entry), cfg_entry->data); in xen_pcibk_config_reset_dev()
356 field->release(dev, OFFSET(cfg_entry), cfg_entry->data); in xen_pcibk_config_free_dev()
382 err = xen_pcibk_field_is_dup(dev, OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset()
387 tmp = field->init(dev, OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset()
398 OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset()
Dconf_space.h69 #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset) macro
Dconf_space_quirks.c55 if (OFFSET(cfg_entry) == reg) { in xen_pcibk_field_is_dup()
/linux-4.4.14/Documentation/trace/
Duprobetracer.txt22 p[:[GRP/]EVENT] PATH:OFFSET [FETCHARGS] : Set a uprobe
23 r[:[GRP/]EVENT] PATH:OFFSET [FETCHARGS] : Set a return uprobe (uretprobe)
28 on PATH+OFFSET.
30 OFFSET : Offset where the probe is inserted.
35 @+OFFSET : Fetch memory at OFFSET (OFFSET from same file as PATH)
/linux-4.4.14/fs/cramfs/
Dinode.c55 #define OFFSET(x) ((x)->i_ino) macro
398 de = cramfs_read(sb, OFFSET(inode) + offset, sizeof(*de)+CRAMFS_MAXPATHLEN); in cramfs_readdir()
408 ino = cramino(de, OFFSET(inode) + offset); in cramfs_readdir()
445 int dir_off = OFFSET(dir) + offset; in cramfs_lookup()
504 u32 blkptr_offset = OFFSET(inode) + page->index*4; in cramfs_readpage()
507 start_offset = OFFSET(inode) + maxblock*4; in cramfs_readpage()
/linux-4.4.14/arch/blackfin/kernel/
Dasm-offsets.c46 OFFSET(TI_TASK, thread_info, task); in main()
47 OFFSET(TI_FLAGS, thread_info, flags); in main()
48 OFFSET(TI_CPU, thread_info, cpu); in main()
49 OFFSET(TI_PREEMPT, thread_info, preempt_count); in main()
/linux-4.4.14/arch/x86/um/shared/sysdep/
Dkernel-offsets.h12 #define OFFSET(sym, str, mem) \ macro
/linux-4.4.14/include/linux/
Dkbuild.h9 #define OFFSET(sym, str, mem) \ macro
/linux-4.4.14/lib/
Dswiotlb.c44 #define OFFSET(val,align) ((unsigned long) \ macro
196 io_tlb_list[i] = IO_TLB_SEGSIZE - OFFSET(i, IO_TLB_SEGSIZE); in swiotlb_init_with_tbl()
327 io_tlb_list[i] = IO_TLB_SEGSIZE - OFFSET(i, IO_TLB_SEGSIZE); in swiotlb_late_init_with_tbl()
496 for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE - 1) && io_tlb_list[i]; i--) in swiotlb_tbl_map_single()
589 for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE -1) && io_tlb_list[i]; i--) in swiotlb_tbl_unmap_single()
/linux-4.4.14/drivers/hwmon/
Dadt7475.c31 #define OFFSET 3 macro
401 case OFFSET: in show_temp()
452 case OFFSET: in set_temp()
455 out = data->temp[OFFSET][sattr->index] = val / 1000; in set_temp()
458 out = data->temp[OFFSET][sattr->index] = val / 500; in set_temp()
505 case OFFSET: in set_temp()
964 set_temp, OFFSET, 0);
980 set_temp, OFFSET, 1);
997 set_temp, OFFSET, 2);
1593 data->temp[OFFSET][i] = in adt7475_update_device()
/linux-4.4.14/tools/power/cpupower/debug/i386/
Ddump_psb.c18 #define OFFSET (0xc0000) macro
/linux-4.4.14/drivers/media/dvb-frontends/
Dbcm3510_priv.h193 u8 OFFSET :1; member
218 u8 OFFSET :1; member
Dbcm3510.c544 cmd.ACQUIRE0.OFFSET = 0; in bcm3510_set_frontend()
/linux-4.4.14/arch/h8300/
DKconfig.cpu95 config OFFSET config
/linux-4.4.14/drivers/media/platform/davinci/
Ddm355_ccdc_regs.h51 #define OFFSET 0x6c macro
Ddm355_ccdc.c163 regw(ccdc_cfg.bayer.ccdc_offset, OFFSET); in ccdc_config_gain_offset()
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750_hw.c323 FIELD_VALUE(0, PANEL_FB_WIDTH, OFFSET, fix->line_length)); in hw_sm750_crtc_setMode()
355 FIELD_VALUE(0, CRT_FB_WIDTH, OFFSET, fix->line_length)); in hw_sm750_crtc_setMode()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Duser_sdma.c606 req->tidoffset = KDETH_GET(req->hdr.kdeth.ver_tid_offset, OFFSET) * in hfi1_user_sdma_process_request()
1130 tidoff = KDETH_GET(kval, OFFSET) * in check_header_template()
1266 KDETH_SET(hdr->kdeth.ver_tid_offset, OFFSET, in set_txreq_header()
Dfile_ops.c173 HFI1_MMAP_TOKEN_SET(OFFSET, (offset_in_page(addr))))
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Dtonga_ih.c154 OFFSET, adev->irq.ih.doorbell_index); in tonga_ih_irq_init()
Dsdma_v3_0.c634 OFFSET, ring->doorbell_index); in sdma_v3_0_gfx_resume()
/linux-4.4.14/arch/mips/kvm/
Demulate.c2303 #define OFFSET 0x0000ffff macro