| /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/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 */
|
| 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/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_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/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/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() 102 COMMENT("LoongArch specific thread_struct offsets."); in output_thread_defines() 192 COMMENT("Linux mm_struct offsets."); in output_mm_defines() 221 COMMENT("Linux sigcontext offsets."); in output_sc_defines() 268 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*/
|
| /linux/arch/mips/kernel/ |
| H A D | asm-offsets.c | 3 * asm-offsets.c: Calculate pt_regs and task_struct offsets. 31 COMMENT("MIPS pt_regs offsets."); in output_ptreg_defines() 90 COMMENT("MIPS task_struct offsets."); in output_task_defines() 105 COMMENT("MIPS thread_info offsets."); in output_thread_info_defines() 123 COMMENT("MIPS specific thread_struct offsets."); in output_thread_defines() 199 COMMENT("Linux mm_struct offsets."); in output_mm_defines() 231 COMMENT("Linux sigcontext offsets."); in output_sc_defines() 254 COMMENT("Linux sigcontext offsets."); in output_sc_defines() 308 COMMENT("Octeon specific octeon_cop2_state offsets."); in output_octeon_cop2_state_defines() 340 COMMENT(" Linux struct pbe offsets. "); in output_pbe_defines() [all …]
|
| /linux/drivers/memory/tegra/ |
| H A D | tegra210-emc-cc-r21021.c | 749 const u16 *offsets = emc->offsets->burst; in tegra210_emc_r21021_set_clock() local 752 if (!offsets[i]) in tegra210_emc_r21021_set_clock() 756 offset = offsets[i]; in tegra210_emc_r21021_set_clock() 829 emc->offsets->burst_per_channel; in tegra210_emc_r21021_set_clock() 863 emc->offsets->vref_per_channel; in tegra210_emc_r21021_set_clock() 881 const u16 *offsets = emc->offsets->trim; in tegra210_emc_r21021_set_clock() local 883 if (!offsets[i]) in tegra210_emc_r21021_set_clock() 887 (offsets[i] == EMC_PMACRO_OB_DDLL_LONG_DQ_RANK0_0 || in tegra210_emc_r21021_set_clock() 888 offsets[i] == EMC_PMACRO_OB_DDLL_LONG_DQ_RANK0_1 || in tegra210_emc_r21021_set_clock() 889 offsets[i] == EMC_PMACRO_OB_DDLL_LONG_DQ_RANK0_2 || in tegra210_emc_r21021_set_clock() [all …]
|