/linux/arch/s390/kernel/ |
A D | asm-offsets.c | 22 OFFSET(__TASK_stack, task_struct, stack); in main() 24 OFFSET(__TASK_pid, task_struct, pid); in main() 27 OFFSET(__THREAD_ksp, thread_struct, ksp); in main() 33 OFFSET(__PT_PSW, pt_regs, psw); in main() 34 OFFSET(__PT_GPRS, pt_regs, gprs); in main() 36 OFFSET(__PT_FLAGS, pt_regs, flags); in main() 37 OFFSET(__PT_CR1, pt_regs, cr1); in main() 43 OFFSET(__SF_GPRS, stack_frame, gprs); in main() 124 OFFSET(__LC_LPP, lowcore, lpp); in main() 129 OFFSET(__LC_GMAP, lowcore, gmap); in main() [all …]
|
/linux/arch/mips/kernel/ |
A D | asm-offsets.c | 29 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines() 30 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines() 31 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines() 32 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines() 33 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines() 34 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines() 61 OFFSET(PT_LO, pt_regs, lo); in output_ptreg_defines() 62 OFFSET(PT_HI, pt_regs, hi); in output_ptreg_defines() 64 OFFSET(PT_ACX, pt_regs, acx); in output_ptreg_defines() 71 OFFSET(PT_MPL, pt_regs, mpl); in output_ptreg_defines() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | asm-offsets.c | 80 OFFSET(MM, task_struct, mm); in main() 101 OFFSET(KSP, thread_struct, ksp); in main() 129 OFFSET(DAR, thread_struct, dar); in main() 132 OFFSET(THR0, thread_struct, r0); in main() 133 OFFSET(THR3, thread_struct, r3); in main() 134 OFFSET(THR4, thread_struct, r4); in main() 135 OFFSET(THR5, thread_struct, r5); in main() 136 OFFSET(THR6, thread_struct, r6); in main() 137 OFFSET(THR8, thread_struct, r8); in main() 138 OFFSET(THR9, thread_struct, r9); in main() [all …]
|
/linux/arch/riscv/kernel/ |
A D | asm-offsets.c | 78 OFFSET(PT_RA, pt_regs, ra); in asm_offsets() 79 OFFSET(PT_FP, pt_regs, s0); in asm_offsets() 80 OFFSET(PT_S0, pt_regs, s0); in asm_offsets() 81 OFFSET(PT_S1, pt_regs, s1); in asm_offsets() 82 OFFSET(PT_S2, pt_regs, s2); in asm_offsets() 83 OFFSET(PT_S3, pt_regs, s3); in asm_offsets() 84 OFFSET(PT_S4, pt_regs, s4); in asm_offsets() 85 OFFSET(PT_S5, pt_regs, s5); in asm_offsets() 86 OFFSET(PT_S6, pt_regs, s6); in asm_offsets() 87 OFFSET(PT_S7, pt_regs, s7); in asm_offsets() [all …]
|
/linux/arch/hexagon/kernel/ |
A D | asm-offsets.c | 33 OFFSET(_PT_GPUGP, pt_regs, gpugp); in main() 35 OFFSET(_PT_R3130, pt_regs, r3130); in main() 36 OFFSET(_PT_R2928, pt_regs, r2928); in main() 37 OFFSET(_PT_R2726, pt_regs, r2726); in main() 38 OFFSET(_PT_R2524, pt_regs, r2524); in main() 39 OFFSET(_PT_R2322, pt_regs, r2322); in main() 40 OFFSET(_PT_R2120, pt_regs, r2120); in main() 41 OFFSET(_PT_R1918, pt_regs, r1918); in main() 42 OFFSET(_PT_R1716, pt_regs, r1716); in main() 43 OFFSET(_PT_R1514, pt_regs, r1514); in main() [all …]
|
/linux/arch/nios2/kernel/ |
A D | asm-offsets.c | 29 OFFSET(PT_R1, pt_regs, r1); in main() 30 OFFSET(PT_R2, pt_regs, r2); in main() 31 OFFSET(PT_R3, pt_regs, r3); in main() 32 OFFSET(PT_R4, pt_regs, r4); in main() 33 OFFSET(PT_R5, pt_regs, r5); in main() 34 OFFSET(PT_R6, pt_regs, r6); in main() 35 OFFSET(PT_R7, pt_regs, r7); in main() 36 OFFSET(PT_R8, pt_regs, r8); in main() 37 OFFSET(PT_R9, pt_regs, r9); in main() 44 OFFSET(PT_EA, pt_regs, ea); in main() [all …]
|
/linux/arch/x86/kernel/ |
A D | asm-offsets.c | 35 OFFSET(TASK_threadsp, task_struct, thread.sp); in common() 44 OFFSET(pbe_address, pbe, address); in common() 45 OFFSET(pbe_orig_address, pbe, orig_address); in common() 46 OFFSET(pbe_next, pbe, next); in common() 50 OFFSET(IA32_SIGCONTEXT_ax, sigcontext_32, ax); in common() 51 OFFSET(IA32_SIGCONTEXT_bx, sigcontext_32, bx); in common() 52 OFFSET(IA32_SIGCONTEXT_cx, sigcontext_32, cx); in common() 72 OFFSET(BP_scratch, boot_params, scratch); in common() 93 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); in common() 94 OFFSET(TSS_sp1, tss_struct, x86_tss.sp1); in common() [all …]
|
A D | asm-offsets_32.c | 24 OFFSET(PT_EBX, pt_regs, bx); in foo() 25 OFFSET(PT_ECX, pt_regs, cx); in foo() 26 OFFSET(PT_EDX, pt_regs, dx); in foo() 27 OFFSET(PT_ESI, pt_regs, si); in foo() 28 OFFSET(PT_EDI, pt_regs, di); in foo() 29 OFFSET(PT_EBP, pt_regs, bp); in foo() 30 OFFSET(PT_EAX, pt_regs, ax); in foo() 31 OFFSET(PT_DS, pt_regs, ds); in foo() 32 OFFSET(PT_ES, pt_regs, es); in foo() 33 OFFSET(PT_FS, pt_regs, fs); in foo() [all …]
|
A D | asm-offsets_64.c | 17 OFFSET(PV_IRQ_save_fl, paravirt_patch_template, irq.save_fl); in main() 24 OFFSET(KVM_STEAL_TIME_preempted, kvm_steal_time, preempted); in main() 28 #define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry) in main() 48 #define ENTRY(entry) OFFSET(saved_context_ ## entry, saved_context, entry) in main()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | pm3393.c | 48 #define OFFSET(REG_ADDR) ((REG_ADDR) << 2) macro 96 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 102 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 600 t1_tpi_write(adapter, OFFSET(0x0001), 0x00008000); in pm3393_mac_create() 601 t1_tpi_write(adapter, OFFSET(0x0001), 0x00000000); in pm3393_mac_create() 602 t1_tpi_write(adapter, OFFSET(0x2308), 0x00009800); in pm3393_mac_create() 604 t1_tpi_write(adapter, OFFSET(0x2320), 0x00008800); in pm3393_mac_create() 605 t1_tpi_write(adapter, OFFSET(0x2321), 0x00008800); in pm3393_mac_create() 606 t1_tpi_write(adapter, OFFSET(0x2322), 0x00008800); in pm3393_mac_create() 607 t1_tpi_write(adapter, OFFSET(0x2323), 0x00008800); in pm3393_mac_create() [all …]
|
A D | my3126.c | 35 #define OFFSET(REG_ADDR) (REG_ADDR << 2) macro 61 t1_tpi_write(adapter, OFFSET(SUNI1x10GEXP_REG_MSTAT_CONTROL), in my3126_interrupt_handler() 64 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_1_LOW), &act_count); in my3126_interrupt_handler() 66 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_33_LOW), &val); in my3126_interrupt_handler()
|
/linux/arch/h8300/kernel/ |
A D | asm-offsets.c | 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() 29 OFFSET(TASK_MM, task_struct, mm); in main() 37 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 38 OFFSET(THREAD_USP, thread_struct, usp); in main() 39 OFFSET(THREAD_CCR, thread_struct, ccr); in main() 61 OFFSET(TI_TASK, thread_info, task); in main() 62 OFFSET(TI_FLAGS, thread_info, flags); in main() [all …]
|
/linux/arch/sparc/kernel/ |
A D | asm-offsets.c | 33 OFFSET(SC_REG_FP, saved_context, fp); in sparc64_foo() 34 OFFSET(SC_REG_CWP, saved_context, cwp); in sparc64_foo() 35 OFFSET(SC_REG_WSTATE, saved_context, wstate); in sparc64_foo() 37 OFFSET(SC_REG_TICK, saved_context, tick); in sparc64_foo() 38 OFFSET(SC_REG_PSTATE, saved_context, pstate); in sparc64_foo() 40 OFFSET(SC_REG_G4, saved_context, g4); in sparc64_foo() 41 OFFSET(SC_REG_G5, saved_context, g5); in sparc64_foo() 42 OFFSET(SC_REG_G6, saved_context, g6); in sparc64_foo()
|
/linux/drivers/gpio/ |
A D | gpio-mb86s7x.c | 34 #define OFFSET(x) BIT((x) % 8) macro 52 val &= ~OFFSET(gpio); in mb86s70_gpio_request() 69 val |= OFFSET(gpio); in mb86s70_gpio_free() 84 val &= ~OFFSET(gpio); in mb86s70_gpio_direction_input() 103 val |= OFFSET(gpio); in mb86s70_gpio_direction_output() 105 val &= ~OFFSET(gpio); in mb86s70_gpio_direction_output() 109 val |= OFFSET(gpio); in mb86s70_gpio_direction_output() 121 return !!(readl(gchip->base + PDR(gpio)) & OFFSET(gpio)); in mb86s70_gpio_get() 134 val |= OFFSET(gpio); in mb86s70_gpio_set() 136 val &= ~OFFSET(gpio); in mb86s70_gpio_set()
|
/linux/tools/testing/selftests/timens/ |
A D | exec.c | 19 #define OFFSET (36000) macro 48 if (_settime(CLOCK_MONOTONIC, OFFSET)) in main() 73 if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5) in main() 75 now.tv_sec + OFFSET, tst.tv_sec); in main() 79 snprintf(now_str, sizeof(now_str), "%ld", now.tv_sec + OFFSET); in main()
|
/linux/arch/arc/kernel/ |
A D | asm-offsets.c | 72 OFFSET(PT_r12, pt_regs, r12); in main() 73 OFFSET(PT_r30, pt_regs, r30); in main() 76 OFFSET(PT_r58, pt_regs, r58); in main() 77 OFFSET(PT_r59, pt_regs, r59); in main() 80 OFFSET(PT_DSP_CTRL, pt_regs, DSP_CTRL); in main()
|
/linux/drivers/xen/xen-pciback/ |
A D | conf_space.c | 182 field_start = OFFSET(cfg_entry); in xen_pcibk_config_read() 183 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_read() 222 field_start = OFFSET(cfg_entry); in xen_pcibk_config_write() 223 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_write() 362 field->reset(dev, OFFSET(cfg_entry), cfg_entry->data); in xen_pcibk_config_reset_dev() 382 field->release(dev, OFFSET(cfg_entry), cfg_entry->data); in xen_pcibk_config_free_dev() 408 err = xen_pcibk_field_is_dup(dev, OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset() 413 tmp = field->init(dev, OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset() 424 OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset()
|
/linux/arch/xtensa/kernel/ |
A D | asm-offsets.c | 85 OFFSET(TI_TASK, thread_info, task); in main() 86 OFFSET(TI_FLAGS, thread_info, flags); in main() 87 OFFSET(TI_STSTUS, thread_info, status); in main() 88 OFFSET(TI_CPU, thread_info, cpu); in main() 89 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in main() 90 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in main()
|
/linux/Documentation/trace/ |
A D | uprobetracer.rst | 29 p[:[GRP/]EVENT] PATH:OFFSET [FETCHARGS] : Set a uprobe 30 r[:[GRP/]EVENT] PATH:OFFSET [FETCHARGS] : Set a return uprobe (uretprobe) 31 p[:[GRP/]EVENT] PATH:OFFSET%return [FETCHARGS] : Set a return uprobe (uretprobe) 36 on PATH+OFFSET. 38 OFFSET : Offset where the probe is inserted. 39 OFFSET%return : Offset where the return probe is inserted. 44 @+OFFSET : Fetch memory at OFFSET (OFFSET from same file as PATH)
|
/linux/drivers/mtd/nand/raw/ |
A D | tegra_nand.c | 153 #define OFFSET(val, off) ((val) < (off) ? 0 : (val) - (off)) macro 791 reg |= TIMING_TCR_TAR_TRR(OFFSET(val, 3)); in tegra_nand_setup_timing() 796 reg |= TIMING_TCS(OFFSET(val, 2)); in tegra_nand_setup_timing() 800 reg |= TIMING_TRP(OFFSET(val, 1)) | TIMING_TRP_RESP(OFFSET(val, 1)); in tegra_nand_setup_timing() 802 reg |= TIMING_TWB(OFFSET(DIV_ROUND_UP(timings->tWB_max, period), 1)); in tegra_nand_setup_timing() 803 reg |= TIMING_TWHR(OFFSET(DIV_ROUND_UP(timings->tWHR_min, period), 1)); in tegra_nand_setup_timing() 804 reg |= TIMING_TWH(OFFSET(DIV_ROUND_UP(timings->tWH_min, period), 1)); in tegra_nand_setup_timing() 805 reg |= TIMING_TWP(OFFSET(DIV_ROUND_UP(timings->tWP_min, period), 1)); in tegra_nand_setup_timing() 806 reg |= TIMING_TRH(OFFSET(DIV_ROUND_UP(timings->tREH_min, period), 1)); in tegra_nand_setup_timing() 811 reg = TIMING_TADL(OFFSET(val, 3)); in tegra_nand_setup_timing()
|
/linux/fs/cramfs/ |
A D | inode.c | 65 #define OFFSET(x) ((x)->i_ino) macro 308 blockptrs = (u32 *)(sbi->linear_virt_addr + OFFSET(inode) + pgoff * 4); in cramfs_get_block_range() 348 blockptrs = (u32 *)(sbi->linear_virt_addr + OFFSET(inode)); in cramfs_last_page_is_shared() 727 de = cramfs_read(sb, OFFSET(inode) + offset, sizeof(*de)+CRAMFS_MAXPATHLEN); in cramfs_readdir() 737 ino = cramino(de, OFFSET(inode) + offset); in cramfs_readdir() 774 int dir_off = OFFSET(dir) + offset; in cramfs_lookup() 830 u32 blkptr_offset = OFFSET(inode) + page->index * 4; in cramfs_readpage() 867 block_start = OFFSET(inode) + maxblock * 4; in cramfs_readpage()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | nbio_v7_0.c | 77 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, OFFSET, doorbell_index); in nbio_v7_0_sdma_doorbell_range() 94 BIF_MMSCH0_DOORBELL_RANGE, OFFSET, in nbio_v7_0_vcn_doorbell_range() 123 …ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range, BIF_IH_DOORBELL_RANGE, OFFSET, doorbell_index… in nbio_v7_0_ih_doorbell_range()
|
A D | nbio_v7_2.c | 106 OFFSET, doorbell_index); in nbio_v7_2_sdma_doorbell_range() 127 GDC0_BIF_VCN0_DOORBELL_RANGE, OFFSET, in nbio_v7_2_vcn_doorbell_range() 184 GDC0_BIF_IH_DOORBELL_RANGE, OFFSET, in nbio_v7_2_ih_doorbell_range()
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
A D | core507d.c | 45 NVVAL(NV507D, SET_NOTIFIER_CONTROL, OFFSET, NV50_DISP_CORE_NTFY >> 2) | in core507d_update() 92 NVVAL(NV507D, SET_NOTIFIER_CONTROL, OFFSET, NV50_DISP_CORE_NTFY >> 2) | in core507d_read_caps()
|
/linux/include/linux/ |
A D | kbuild.h | 10 #define OFFSET(sym, str, mem) \ macro
|