| /linux/ |
| H A D | Kbuild | 15 $(call filechk,offsets,__LINUX_BOUNDS_H__) 26 # Generate asm-offsets.h 28 offsets-file := include/generated/asm-offsets.h 30 targets += arch/$(SRCARCH)/kernel/asm-offsets.s 32 arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file) 34 $(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE 35 $(call filechk,offsets,__ASM_OFFSETS_H__) 37 # Generate rq-offsets.h 39 rq-offsets-file := include/generated/rq-offsets.h 41 targets += kernel/sched/rq-offsets.s [all …]
|
| /linux/fs/minix/ |
| H A D | itree_v2.c | 27 static int block_to_path(struct inode * inode, long block, int offsets[DEPTH]) in block_to_path() 41 offsets[n++] = block; in block_to_path() 43 offsets[n++] = DIRCOUNT; in block_to_path() 44 offsets[n++] = block; in block_to_path() 46 offsets[n++] = DIRCOUNT + 1; in block_to_path() 47 offsets[n++] = block / INDIRCOUNT(sb); in block_to_path() 48 offsets[n++] = block % INDIRCOUNT(sb); in block_to_path() 51 offsets[n++] = DIRCOUNT + 2; in block_to_path() 52 offsets[n++] = (block / INDIRCOUNT(sb)) / INDIRCOUNT(sb); in block_to_path() 53 offsets[n++] = (block / INDIRCOUNT(sb)) % INDIRCOUNT(sb); in block_to_path() [all …]
|
| H A D | itree_common.c | 32 int *offsets, in get_branch() argument 42 add_chain (chain, NULL, i_data(inode) + *offsets); in get_branch() 52 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets); in get_branch() 72 int *offsets, in alloc_branch() argument 97 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch() 156 int offsets[DEPTH]; in get_block() local 160 int depth = block_to_path(inode, block, offsets); in get_block() 166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block() 197 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block() 225 int offsets[DEPTH], in find_shared() [all …]
|
| H A D | itree_v1.c | 25 static int block_to_path(struct inode * inode, long block, int offsets[DEPTH]) in block_to_path() 38 offsets[n++] = block; in block_to_path() 40 offsets[n++] = 7; in block_to_path() 41 offsets[n++] = block; in block_to_path() 44 offsets[n++] = 8; in block_to_path() 45 offsets[n++] = block>>9; in block_to_path() 46 offsets[n++] = block & 511; in block_to_path()
|
| /linux/scripts/mod/ |
| H A D | Makefile | 9 devicetable-offsets-file := devicetable-offsets.h 11 $(obj)/$(devicetable-offsets-file): $(obj)/devicetable-offsets.s FORCE 12 $(call filechk,offsets,__DEVICETABLE_OFFSETS_H__) 14 targets += $(devicetable-offsets-file) devicetable-offsets.s 19 $(obj)/file2alias.o: $(obj)/$(devicetable-offsets-file)
|
| /linux/sound/soc/codecs/ |
| H A D | tscs42xx.h | 121 /* Field Offsets */ 144 /* Field Offsets */ 167 /* Field Offsets */ 192 /* Field Offsets */ 217 /* Field Offsets */ 242 /* Field Offsets */ 267 /* Field Offsets */ 292 /* Field Offsets */ 317 /* Field Offsets */ 362 /* Field Offsets */ [all …]
|
| /linux/crypto/async_tx/ |
| H A D | async_pq.c | 107 do_sync_gen_syndrome(struct page **blocks, unsigned int *offsets, int disks, in do_sync_gen_syndrome() argument 124 srcs[i] = page_address(blocks[i]) + offsets[i]; in do_sync_gen_syndrome() 158 * @offsets: offset array into each block (src and dest) to start transaction 177 async_gen_syndrome(struct page **blocks, unsigned int *offsets, int disks, in async_gen_syndrome() argument 196 is_dma_pq_aligned_offs(device, offsets, disks, len)) { in async_gen_syndrome() 214 offsets[i], len, DMA_TO_DEVICE); in async_gen_syndrome() 227 P(offsets, disks), in async_gen_syndrome() 237 Q(offsets, disks), in async_gen_syndrome() 259 P(offsets, disks) = 0; in async_gen_syndrome() 263 Q(offsets, disks) = 0; in async_gen_syndrome() [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | cm33xx.h | 32 /* CM.PER_CM register offsets */ 56 /* CM.WKUP_CM register offsets */ 64 /* CM.DPLL_CM register offsets */ 67 /* CM.MPU_CM register offsets */ 72 /* CM.DEVICE_CM register offsets */ 74 /* CM.RTC_CM register offsets */ 78 /* CM.GFX_CM register offsets */ 84 /* CM.CEFUSE_CM register offsets */
|
| H A D | prm33xx.h | 30 /* PRM.PER_PRM register offsets */ 36 /* PRM.WKUP_PRM register offsets */ 42 /* PRM.MPU_PRM register offsets */ 48 /* PRM.DEVICE_PRM register offsets */ 52 /* PRM.RTC_PRM register offsets */ 58 /* PRM.GFX_PRM register offsets */ 64 /* PRM.CEFUSE_PRM register offsets */
|
| H A D | prcm_mpu7xx.h | 37 /* PRCM_MPU clockdomain register offsets (from instance start) */ 44 /* MPU_PRCM.PRCM_MPU_OCP_SOCKET register offsets */ 47 /* MPU_PRCM.PRCM_MPU_DEVICE register offsets */ 51 /* MPU_PRCM.PRCM_MPU_PRM_C0 register offsets */ 58 /* MPU_PRCM.PRCM_MPU_CM_C0 register offsets */ 63 /* MPU_PRCM.PRCM_MPU_PRM_C1 register offsets */ 70 /* MPU_PRCM.PRCM_MPU_CM_C1 register offsets */
|
| H A D | prcm_mpu54xx.h | 37 /* PRCM_MPU clockdomain register offsets (from instance start) */ 51 /* PRCM_MPU.PRCM_MPU_OCP_SOCKET register offsets */ 54 /* PRCM_MPU.PRCM_MPU_DEVICE register offsets */ 60 /* PRCM_MPU.PRCM_MPU_PRM_C0 register offsets */ 67 /* PRCM_MPU.PRCM_MPU_CM_C0 register offsets */ 72 /* PRCM_MPU.PRCM_MPU_PRM_C1 register offsets */ 79 /* PRCM_MPU.PRCM_MPU_CM_C1 register offsets */
|
| /linux/drivers/gpu/drm/amd/display/dc/dce120/ |
| H A D | dce120_timing_generator.c | 43 generic_reg_update_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__) 46 generic_reg_set_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__) 93 tg110->offsets.crtc); in dce120_timing_generator_is_in_vertical_blank() 176 tg110->offsets.crtc); in dce120_timing_generator_get_vblank_counter() 192 tg110->offsets.crtc); in dce120_timing_generator_get_crtc_position() 203 tg110->offsets.crtc); in dce120_timing_generator_get_crtc_position() 253 tg110->offsets.crtc); in dce120_timing_generator_setup_global_swap_lock() 261 dm_write_reg_soc15(tg->ctx, mmCRTC0_CRTC_GSL_WINDOW, tg110->offsets.crtc, 0); in dce120_timing_generator_setup_global_swap_lock() 315 tg110->offsets.crtc); in dce120_timing_generator_enable_reset_trigger() 377 tg110->offsets.crtc); in dce120_timing_generator_did_triggered_reset_occur() [all …]
|
| /linux/include/linux/ |
| H A D | time_namespace.h | 27 struct timens_offsets offsets; member 29 /* If set prevents changing offsets after any task joined namespace. */ 72 struct proc_timens_offset *offsets, int n); 76 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_monotonic() 83 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_boottime() 90 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_boottime_ns() 97 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_sub_boottime() 103 struct timens_offsets *offsets); 112 return do_timens_ktime_to_host(clockid, tim, &ns->offsets); in timens_ktime_to_host()
|
| /linux/arch/arm/mach-at91/ |
| H A D | Makefile | 22 $(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE 23 $(call filechk,offsets,__PM_DATA_OFFSETS_H__) 25 $(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h 27 targets += pm_data-offsets.s 28 clean-files += pm_data-offsets.h
|
| /linux/arch/x86/kvm/ |
| H A D | Makefile | 40 $(obj)/svm/vmenter.o: $(obj)/kvm-asm-offsets.h 43 $(obj)/vmx/vmenter.o: $(obj)/kvm-asm-offsets.h 45 $(obj)/kvm-asm-offsets.h: $(obj)/kvm-asm-offsets.s FORCE 46 $(call filechk,offsets,__KVM_ASM_OFFSETS_H__) 48 targets += kvm-asm-offsets.s 49 clean-files += kvm-asm-offsets.h
|
| /linux/drivers/media/platform/microchip/ |
| H A D | microchip-sama7g5-isc.c | 235 regmap_write(regmap, ISC_CSC_YR_YG + isc->offsets.csc, in isc_sama7g5_config_csc() 237 regmap_write(regmap, ISC_CSC_YB_OY + isc->offsets.csc, in isc_sama7g5_config_csc() 239 regmap_write(regmap, ISC_CSC_CBR_CBG + isc->offsets.csc, in isc_sama7g5_config_csc() 241 regmap_write(regmap, ISC_CSC_CBB_OCB + isc->offsets.csc, in isc_sama7g5_config_csc() 243 regmap_write(regmap, ISC_CSC_CRR_CRG + isc->offsets.csc, in isc_sama7g5_config_csc() 245 regmap_write(regmap, ISC_CSC_CRB_OCR + isc->offsets.csc, in isc_sama7g5_config_csc() 254 regmap_write(regmap, ISC_CBC_BRIGHT + isc->offsets.cbc, isc->ctrls.brightness); in isc_sama7g5_config_cbc() 255 regmap_write(regmap, ISC_CBC_CONTRAST + isc->offsets.cbc, isc->ctrls.contrast); in isc_sama7g5_config_cbc() 309 regmap_update_bits(regmap, ISC_RLP_CFG + isc->offsets.rlp, in isc_sama7g5_config_rlp() 448 isc->offsets.csc = ISC_SAMA7G5_CSC_OFFSET; in microchip_xisc_probe() [all …]
|
| H A D | microchip-sama5d2-isc.c | 222 regmap_write(regmap, ISC_CSC_YR_YG + isc->offsets.csc, in isc_sama5d2_config_csc() 224 regmap_write(regmap, ISC_CSC_YB_OY + isc->offsets.csc, in isc_sama5d2_config_csc() 226 regmap_write(regmap, ISC_CSC_CBR_CBG + isc->offsets.csc, in isc_sama5d2_config_csc() 228 regmap_write(regmap, ISC_CSC_CBB_OCB + isc->offsets.csc, in isc_sama5d2_config_csc() 230 regmap_write(regmap, ISC_CSC_CRR_CRG + isc->offsets.csc, in isc_sama5d2_config_csc() 232 regmap_write(regmap, ISC_CSC_CRB_OCR + isc->offsets.csc, in isc_sama5d2_config_csc() 240 regmap_write(regmap, ISC_CBC_BRIGHT + isc->offsets.cbc, in isc_sama5d2_config_cbc() 242 regmap_write(regmap, ISC_CBC_CONTRAST + isc->offsets.cbc, in isc_sama5d2_config_cbc() 302 regmap_update_bits(regmap, ISC_RLP_CFG + isc->offsets.rlp, in isc_sama5d2_config_rlp() 459 isc->offsets.csc = ISC_SAMA5D2_CSC_OFFSET; in microchip_isc_probe() [all …]
|
| /linux/drivers/mtd/tests/ |
| H A D | stresstest.c | 36 static int *offsets; variable 87 offs = offsets[eb]; in do_write() 92 offs = offsets[eb] = 0; in do_write() 103 offsets[eb + 1] = 0; in do_write() 112 offsets[eb++] = mtd->erasesize; in do_write() 115 offsets[eb] = offs; in do_write() 181 offsets = kmalloc_array(ebcnt, sizeof(int), GFP_KERNEL); in mtd_stresstest_init() 182 if (!readbuf || !writebuf || !offsets) in mtd_stresstest_init() 185 offsets[i] = mtd->erasesize; in mtd_stresstest_init() 211 kfree(offsets); in mtd_stresstest_init()
|
| /linux/fs/ext4/ |
| H A D | indirect.c | 44 * ext4_block_to_path - parse the block number into array of offsets 47 * @offsets: array to store the offsets in 55 * return value is the path length and @offsets[n] is the offset of 76 ext4_lblk_t offsets[4], int *boundary) in ext4_block_to_path() 87 offsets[n++] = i_block; in ext4_block_to_path() 90 offsets[n++] = EXT4_IND_BLOCK; in ext4_block_to_path() 91 offsets[n++] = i_block; in ext4_block_to_path() 94 offsets[n++] = EXT4_DIND_BLOCK; in ext4_block_to_path() 95 offsets[n++] = i_block >> ptrs_bits; in ext4_block_to_path() 96 offsets[n++] = i_block & (ptrs - 1); in ext4_block_to_path() [all …]
|
| /linux/arch/m68k/kernel/ |
| H A D | asm-offsets.c | 26 /* offsets into the task struct */ in main() 31 /* offsets into the thread struct */ in main() 42 /* offsets into the thread_info struct */ in main() 46 /* offsets into the pt_regs */ in main() 67 /* offsets into the irq_cpustat_t struct */ in main() 77 /* offsets into the bi_record struct */ in main() 82 /* offsets into the font_desc struct */ in main() 90 /* offsets into the custom struct */ in main()
|
| /linux/drivers/hid/bpf/progs/ |
| H A D | Wacom__ArtPen.bpf.c | 56 } offsets; member 61 * we need to know which device has which offsets 69 .offsets = { 115 params.offsets.tip_switch >= PEN_REPORT_LEN || in SEC() 116 params.offsets.pressure >= PEN_REPORT_LEN - 1 || in SEC() 117 params.offsets.tool_type >= PEN_REPORT_LEN - 1) in SEC() 120 tool_type = get_u16(data, params.offsets.tool_type); in SEC() 124 tip_switch = get_u8(data, params.offsets.tip_switch); in SEC() 131 pressure = get_u16(data, params.offsets.pressure); in SEC()
|
| /linux/drivers/memory/ |
| H A D | Makefile | 36 $(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h 38 $(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE 39 $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__) 41 targets += emif-asm-offsets.s 42 clean-files += ti-emif-asm-offsets.h
|
| /linux/drivers/gpu/drm/arm/ |
| H A D | malidp_regs.h | 74 /* register offsets for IRQ management */ 80 /* register offsets */ 84 /* these offsets are relative to MALIDP5x0_TIMINGS_BASE */ 90 /* Stride register offsets relative to Lx_BASE */ 108 /* register offsets relative to MALIDP5x0_COEFFS_BASE */ 125 /* Blocks with offsets from SE_CONTROL register. */ 161 /* register offsets relative to MALIDP5x0_SE_MEMWRITE_BASE */ 170 /* register offsets and bits specific to DP500 */ 223 /* register offsets and bits specific to DP550/DP650 */ 262 /* register offsets specific to DP650 */ [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | elf.c | 403 * Return offsets in @poffsets for symbols specified in @syms array argument. 404 * On success returns 0 and offsets are returned in allocated array with @cnt 413 unsigned long *offsets; in elf_resolve_syms_offsets() 421 offsets = calloc(cnt, sizeof(*offsets)); in elf_resolve_syms_offsets() 424 if (!offsets || !symbols) { in elf_resolve_syms_offsets() 458 offset = &offsets[found->idx]; in elf_resolve_syms_offsets() 489 *poffsets = offsets; in elf_resolve_syms_offsets() 494 free(offsets); in elf_resolve_syms_offsets() 500 * Return offsets i 414 unsigned long *offsets; elf_resolve_syms_offsets() local 509 unsigned long *offsets = NULL; elf_resolve_pattern_offsets() local [all...] |
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/yuv444_io_ls/ |
| H A D | ia_css_yuv444_io.host.c | 32 if (binary->info->mem_offsets.offsets.param) { in ia_css_yuv444_io_config() 33 size_get = binary->info->mem_offsets.offsets.param->dmem.get.size; in ia_css_yuv444_io_config() 34 offset = binary->info->mem_offsets.offsets.param->dmem.get.offset; in ia_css_yuv444_io_config() 61 if (binary->info->mem_offsets.offsets.param) { in ia_css_yuv444_io_config() 62 size_put = binary->info->mem_offsets.offsets.param->dmem.put.size; in ia_css_yuv444_io_config() 63 offset = binary->info->mem_offsets.offsets.param->dmem.put.offset; in ia_css_yuv444_io_config()
|