| /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_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/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 */
|
| H A D | control.h | 46 /* Control submodule offsets */ 59 /* Control register offsets - read/write with omap_ctrl_{read,write}{bwl}() */ 63 /* CONTROL_GENERAL register offsets common to OMAP2 & 3 */ 77 /* 242x-only CONTROL_GENERAL register offsets */ 81 /* 243x-only CONTROL_GENERAL register offsets */ 90 /* 24xx-only CONTROL_GENERAL register offsets */ 125 /* 34xx-only CONTROL_GENERAL register offsets */ 180 /* OMAP3630 only CONTROL_GENERAL register offsets */ 189 /* OMAP44xx control efuse offsets */ 203 /* AM35XX only CONTROL_GENERAL register offsets */ [all …]
|
| /linux/arch/x86/hyperv/ |
| H A D | Makefile | 6 $(obj)/mshv_vtl_asm.o: $(obj)/mshv-asm-offsets.h 8 $(obj)/mshv-asm-offsets.h: $(obj)/mshv-asm-offsets.s FORCE 9 $(call filechk,offsets,__MSHV_ASM_OFFSETS_H__) 21 targets += mshv-asm-offsets.s 22 clean-files += mshv-asm-offsets.h
|
| /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/drivers/net/phy/ |
| H A D | microchip_t1s.c | 167 static int lan865x_generate_cfg_offsets(struct phy_device *phydev, s8 offsets[]) in lan865x_generate_cfg_offsets() argument 180 offsets[i] = ret | 0xE0; in lan865x_generate_cfg_offsets() 182 offsets[i] = ret; in lan865x_generate_cfg_offsets() 221 static int lan865x_setup_cfgparam(struct phy_device *phydev, s8 offsets[]) in lan865x_setup_cfgparam() argument 232 cfg_results[0] = FIELD_PREP(GENMASK(15, 10), 9 + offsets[0]) | in lan865x_setup_cfgparam() 233 FIELD_PREP(GENMASK(9, 4), 14 + offsets[0]) | in lan865x_setup_cfgparam() 235 cfg_results[1] = FIELD_PREP(GENMASK(15, 10), 40 + offsets[1]); in lan865x_setup_cfgparam() 241 static int lan865x_setup_sqi_cfgparam(struct phy_device *phydev, s8 offsets[]) in lan865x_setup_sqi_cfgparam() argument 252 cfg_results[0] = FIELD_PREP(GENMASK(13, 8), 5 + offsets[0]) | in lan865x_setup_sqi_cfgparam() 253 (9 + offsets[0]); in lan865x_setup_sqi_cfgparam() [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_objs(int, ebcnt); 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/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/tools/testing/selftests/vfio/lib/drivers/nv_falcon/ |
| H A D | hw.h | 20 /* Falcon Common Register Offsets (relative to base_page) */ 28 /* Falcon DMEM port offsets (for port 0) */ 32 /* DMA Register Offsets (relative to base_page) */ 70 /* Falcon Message Queue Register Offsets (relative to base_page) */ 83 /* FSP EMEM Port Offsets (relative to FSP EMEM base) */ 105 /* FSP queue register offsets (pre-computed for Hopper channel 2) */ 144 /* Legacy PMU FBIF offsets (Kepler, Maxwell Gen1) */ 148 /* PMU FBIF offsets */ 152 /* GSP FBIF offsets */ 156 /* OFA Falcon Base Page and FBIF offsets (used for Hopper+ DMA) */ [all …]
|
| /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/include/soc/spacemit/ |
| H A D | k3-syscon.h | 182 /* DCIU register offsets */ 201 /* RCPU SYSCTRL register offsets */ 214 /* RCPU UARTCTRL register offsets */ 222 /* RCPU I2SCTRL register offsets */ 231 /* RCPU SPICTRL register offsets */ 236 /* RCPU I2CCTRL register offsets */ 241 /* RPMU register offsets */ 254 /* RCPU PWMCTRL register offsets */ 266 /* APBC2 SEC register offsets */
|
| /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() local 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 in @poffsets for symbols specified by @pattern argument. 501 * On success returns 0 and offsets are returned in allocated @poffsets [all …]
|
| /linux/drivers/media/platform/microchip/ |
| 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/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()
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/bayer_io_ls/ |
| H A D | ia_css_bayer_io.host.c | 31 if (binary->info->mem_offsets.offsets.param) { in ia_css_bayer_io_config() 32 size_get = binary->info->mem_offsets.offsets.param->dmem.get.size; in ia_css_bayer_io_config() 33 offset = binary->info->mem_offsets.offsets.param->dmem.get.offset; in ia_css_bayer_io_config() 59 if (binary->info->mem_offsets.offsets.param) { in ia_css_bayer_io_config() 60 size_put = binary->info->mem_offsets.offsets.param->dmem.put.size; in ia_css_bayer_io_config() 61 offset = binary->info->mem_offsets.offsets.param->dmem.put.offset; in ia_css_bayer_io_config()
|
| /linux/arch/loongarch/kernel/ |
| H A D | asm-offsets.c | 3 * asm-offsets.c: Calculate pt_regs and task_struct offsets. 24 COMMENT("LoongArch pt_regs offsets."); in output_ptreg_defines() 71 COMMENT("LoongArch task_struct offsets."); in output_task_defines() 86 COMMENT("LoongArch thread_info offsets."); in output_thread_info_defines() 101 COMMENT("LoongArch specific thread_struct offsets."); in output_thread_defines() 191 COMMENT("Linux mm_struct offsets."); in output_mm_defines() 220 COMMENT("Linux sigcontext offsets."); in output_sc_defines() 267 COMMENT("Linux smp cpu boot offsets."); in output_smpboot_defines() 278 COMMENT("Linux struct pbe offsets."); in output_pbe_defines() 289 COMMENT("KVM/LoongArch Specific offsets."); in output_kvm_defines() [all …]
|
| /linux/scripts/ |
| H A D | recordmcount.pl | 6 # all the offsets to the calls to mcount. 21 # sites are offsets from the section that the call site is in. Hence, all 27 # this point. So we can't use this kind of offsets to record the final 53 # Both relocation offsets for the mcounts in the above example will be 55 # make another file called tmp.s with the new offsets: 96 # 2) Use objdump to find all the call site offsets and sections for 285 # and not those that also include hex offsets inside of the 408 my @offsets; # Array of offsets of mcount callers 409 my $ref_func; # reference function to use for offsets 415 # Go through the list of offsets to callers and write them to [all …]
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_coherency.c | 312 u32 *offsets, *values; in igt_gem_coherency() local 324 offsets = kmalloc_array(ncachelines, 2*sizeof(u32), GFP_KERNEL); in igt_gem_coherency() 325 if (!offsets) in igt_gem_coherency() 328 offsets[count] = count * 64 + 4 * (count % 16); in igt_gem_coherency() 330 values = offsets + ncachelines; in igt_gem_coherency() 368 i915_random_reorder(offsets, ncachelines, &prng); in igt_gem_coherency() 373 err = over->set(&ctx, offsets[n], ~values[n]); in igt_gem_coherency() 382 err = write->set(&ctx, offsets[n], values[n]); in igt_gem_coherency() 393 err = read->get(&ctx, offsets[n], &found); in igt_gem_coherency() 405 ~values[n], offsets[n]); in igt_gem_coherency() [all …]
|
| /linux/drivers/accel/habanalabs/gaudi2/ |
| H A D | gaudi2_coresight_regs.h | 14 /* FUNNEL Offsets - same offsets for all funnels*/ 119 /* ETF Offsets - same offsets for all etfs */ 301 /* STM OFFSETS - same offsets for all stms */ 519 /* SPMU OFFSETS - same offsets for all SPMUs */ 777 /* BMON OFFSETS - same offsets for all BMONs*/
|