Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 25 of 246) sorted by relevance

12345678910

/linux/fs/minix/
H A Ditree_v2.c27 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 Ditree_v1.c25 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 DMakefile9 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/crypto/async_tx/
H A Dasync_pq.c107 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()
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()
265 do_sync_gen_syndrome(blocks, offsets, disks, len, submit); in async_gen_syndrome()
[all …]
/linux/arch/arm/mach-at91/
H A DMakefile22 $(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/hyperv/
H A DMakefile6 $(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/drivers/mtd/tests/
H A Dstresstest.c36 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/drivers/media/platform/microchip/
H A Dmicrochip-sama5d2-isc.c222 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 …]
H A Dmicrochip-sama7g5-isc.c235 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 …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/yuv444_io_ls/
H A Dia_css_yuv444_io.host.c32 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 Dia_css_bayer_io.host.c31 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/sound/usb/
H A Dmixer_scarlett.c165 int offsets[SND_SCARLETT_OFFSETS_MAX]; member
198 .offsets = {},
207 .offsets = {},
216 .offsets = {},
225 .offsets = {},
234 .offsets = {},
244 .offsets = {},
601 static void scarlett_generate_name(int i, char *dst, size_t size, int offsets[]) in scarlett_generate_name() argument
603 if (i > offsets[SCARLETT_OFFSET_MIX]) in scarlett_generate_name()
605 'A'+(i - offsets[SCARLETT_OFFSET_MIX] - 1)); in scarlett_generate_name()
[all …]
/linux/drivers/memory/tegra/
H A Dtegra210-emc-cc-r21021.c749 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 …]
/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_timing_generator.c83 #define CRTC_REG(reg) (reg + tg110->offsets.crtc)
84 #define DCP_REG(reg) (reg + tg110->offsets.dcp)
85 #define DMIF_REG(reg) (reg + tg110->offsets.dmif)
91 + DCE110TG_FROM_TG(tg)->offsets.dmif; in program_pix_dur()
249 const struct dce110_timing_generator_offsets *offsets) in dce60_timing_generator_construct() argument
253 tg110->offsets = *offsets; in dce60_timing_generator_construct()
/linux/drivers/clk/starfive/
H A Dclk-starfive-jh7110-pll.c98 } offsets; member
116 .offsets = { \
284 regmap_read(regmap, info->offsets.pd, &val); in jh7110_pll_regvals_get()
288 regmap_read(regmap, info->offsets.fbdiv, &val); in jh7110_pll_regvals_get()
291 regmap_read(regmap, info->offsets.frac, &val); in jh7110_pll_regvals_get()
295 regmap_read(regmap, info->offsets.prediv, &val); in jh7110_pll_regvals_get()
376 regmap_update_bits(priv->regmap, info->offsets.frac, JH7110_PLL_FRAC_MASK, in jh7110_pll_set_rate()
379 regmap_update_bits(priv->regmap, info->offsets.pd, info->masks.dacpd, in jh7110_pll_set_rate()
381 regmap_update_bits(priv->regmap, info->offsets.pd, info->masks.dsmpd, in jh7110_pll_set_rate()
383 regmap_update_bits(priv->regmap, info->offsets.prediv, JH7110_PLL_PREDIV_MASK, in jh7110_pll_set_rate()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dpyperf.h32 OffsetConfig offsets; member
94 frame_ptr + pidData->offsets.PyFrameObject_back); in get_frame_data()
97 frame_ptr + pidData->offsets.PyFrameObject_code); in get_frame_data()
104 frame->f_code + pidData->offsets.PyCodeObject_filename); in get_frame_data()
107 frame->f_code + pidData->offsets.PyCodeObject_name); in get_frame_data()
113 pidData->offsets.String_data); in get_frame_data()
118 pidData->offsets.String_data); in get_frame_data()
264 pidData->offsets.PyThreadState_thread);
279 pidData->offsets.PyThreadState_frame);
/linux/fs/ntfs3/lib/
H A Ddecompress_common.c115 u16 * const offsets = &working_space[1 * (max_codeword_len + 1)]; in make_huffman_decode_table() local
181 offsets[1] = 0; in make_huffman_decode_table()
183 offsets[len + 1] = offsets[len] + len_counts[len]; in make_huffman_decode_table()
191 sorted_syms[offsets[lens[sym]]++] = sym; in make_huffman_decode_table()
/linux/drivers/bus/
H A Dti-sysc.c144 int offsets[SYSC_MAX_REGS]; member
181 if (ddata->offsets[SYSC_REVISION] >= 0 && in sysc_write()
182 offset == ddata->offsets[SYSC_REVISION]) { in sysc_write()
202 if (ddata->offsets[SYSC_REVISION] >= 0 && in sysc_read()
203 offset == ddata->offsets[SYSC_REVISION]) { in sysc_read()
222 int offset = ddata->offsets[SYSC_REVISION]; in sysc_read_revision()
232 int offset = ddata->offsets[SYSC_SYSCONFIG]; in sysc_read_sysconfig()
242 int offset = ddata->offsets[SYSC_SYSSTATUS]; in sysc_read_sysstatus()
311 syss_offset = ddata->offsets[SYSC_SYSSTATUS]; in sysc_wait_softreset()
790 ddata->offsets[reg] = -ENODEV; in sysc_parse_one()
[all …]
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_coherency.c312 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/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_multi_test.c392 opts.uprobe_multi.offsets = &offset; in test_attach_api_fails()
403 .uprobe_multi.offsets = (unsigned long *) &offset, in test_attach_api_fails()
415 opts.uprobe_multi.offsets = (unsigned long *) &offset; in test_attach_api_fails()
439 .uprobe_multi.offsets = (unsigned long *) 1, in test_attach_api_fails()
452 .uprobe_multi.offsets = (unsigned long *) &offset, in test_attach_api_fails()
465 .uprobe_multi.offsets = (unsigned long *) &offset, in test_attach_api_fails()
478 .uprobe_multi.offsets = (unsigned long *) &offset, in test_attach_api_fails()
491 .uprobe_multi.offsets = (unsigned long *) &offset, in test_attach_api_fails()
505 .uprobe_multi.offsets = (unsigned long *) &offset, in test_attach_api_fails()
531 .uprobe_multi.offsets = (unsigned long *) &offset, in test_attach_api_fails()
[all …]
H A Dfill_link_info.c424 verify_umulti_link_info(int fd, bool retprobe, __u64 *offsets, in verify_umulti_link_info()
457 info.uprobe_multi.offsets = ptr_to_u64(offsets_buf); in verify_umulti_link_info()
478 if (info.uprobe_multi.offsets)
479 ASSERT_EQ(offsets_buf[i], offsets[i], "info.uprobe_multi.offsets"); in verify_umulti_invalid_user_buffer()
520 /* count zero, with offsets */ in verify_umulti_invalid_user_buffer()
522 info.uprobe_multi.offsets = ptr_to_u64(buf); in verify_umulti_invalid_user_buffer()
526 /* offsets not big enough */
528 info.uprobe_multi.offsets = ptr_to_u64(buf); in test_uprobe_multi_fill_link_info()
533 /* offsets ha in test_uprobe_multi_fill_link_info()
410 verify_umulti_link_info(int fd,bool retprobe,__u64 * offsets,__u64 * cookies,__u64 * ref_ctr_offsets) verify_umulti_link_info() argument
548 __u64 *offsets = NULL, *ref_ctr_offsets; test_uprobe_multi_fill_link_info() local
[all...]
/linux/arch/x86/um/
H A DMakefile40 $(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
42 targets += user-offsets.s
44 include/generated/user_constants.h: $(obj)/user-offsets.s FORCE
45 $(call filechk,offsets,__USER_CONSTANT_H__)
/linux/drivers/gpu/drm/
H A Ddrm_client_modeset.c294 struct drm_client_offset offsets[], in drm_client_target_cloned() argument
385 struct drm_client_offset offsets[], in drm_client_get_tile_offsets() argument
410 offsets[idx].x = hoffset; in drm_client_get_tile_offsets()
411 offsets[idx].y = voffset; in drm_client_get_tile_offsets()
420 struct drm_client_offset offsets[], in drm_client_target_preferred() argument
469 modes, offsets, i, in drm_client_target_preferred()
624 struct drm_client_offset offsets[], in drm_client_firmware_config() argument
774 modes, offsets, i, in drm_client_firmware_config()
823 struct drm_client_offset *offsets; in drm_client_modeset_probe() local
858 offsets = kzalloc_objs(*offsets, connector_count); in drm_client_modeset_probe()
[all …]
/linux/drivers/dma-buf/
H A Dudmabuf.c44 pgoff_t *offsets; member
59 pfn += ubuf->offsets[pgoff] >> PAGE_SHIFT; in udmabuf_vm_fault()
77 pfn += ubuf->offsets[pgoff] >> PAGE_SHIFT; in udmabuf_vm_fault()
124 ubuf->offsets[pg] >> PAGE_SHIFT); in vmap_udmabuf()
163 ubuf->offsets[i]); in get_sg_table()
214 ubuf->offsets = kvzalloc_objs(*ubuf->offsets, pgcnt); in init_udmabuf()
215 if (!ubuf->offsets) in init_udmabuf()
228 kvfree(ubuf->offsets); in deinit_udmabuf()
348 ubuf->offsets[upgcnt] = subpgoff; in udmabuf_pin_folios()
/linux/scripts/
H A Drecordmcount.pl408 my @offsets; # Array of offsets of mcount callers
420 return unless ($ref_func and @offsets);
442 foreach my $cur_offset (@offsets) {
495 undef(@offsets);
522 push(@offsets, (hex $1) + $mcount_adjust);

12345678910