Home
last modified time | relevance | path

Searched refs:pos1 (Results 1 – 21 of 21) sorted by relevance

/openbmc/u-boot/board/siemens/common/
H A Dboard.c192 unsigned char i, idx, pos1, pos2, ccount; in set_env_gpios() local
206 pos1 = 0; in set_env_gpios()
212 pos1 = idx; in set_env_gpios()
218 if (pos2 <= pos1 || ccount > 2) in set_env_gpios()
223 strncpy(str_tmp, ptr_env, pos1*sizeof(char)); in set_env_gpios()
235 strncpy(str_tmp, ptr_env+pos1+1, in set_env_gpios()
236 (pos2-pos1-1)*sizeof(char)); in set_env_gpios()
/openbmc/u-boot/lib/efi_loader/
H A Defi_freestanding.c25 const u8 *pos1 = s1; in memcmp() local
29 if (*pos1 != *pos2) in memcmp()
30 return *pos1 - *pos2; in memcmp()
31 ++pos1; in memcmp()
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_util.c107 const u8 *pos1 = buf1; in efi_st_memcmp() local
111 if (*pos1 != *pos2) in efi_st_memcmp()
112 return *pos1 - *pos2; in efi_st_memcmp()
113 ++pos1; in efi_st_memcmp()
/openbmc/linux/arch/powerpc/kernel/
H A Dsys_ppc32.c73 u32, reg6, u32, pos1, u32, pos2) in PPC32_SYSCALL_DEFINE6() argument
75 return ksys_pread64(fd, ubuf, count, merge_64(pos1, pos2)); in PPC32_SYSCALL_DEFINE6()
81 u32, reg6, u32, pos1, u32, pos2) in PPC32_SYSCALL_DEFINE6() argument
83 return ksys_pwrite64(fd, ubuf, count, merge_64(pos1, pos2)); in PPC32_SYSCALL_DEFINE6()
/openbmc/linux/fs/reiserfs/
H A Dtail_conversion.c216 loff_t pos, pos1; /* position of first byte of the tail */ in indirect2direct() local
237 pos1 = pos; in indirect2direct()
259 if (pos != pos1) in indirect2direct()
267 pos1 + 1, TYPE_DIRECT, round_tail_len, in indirect2direct()
315 REISERFS_I(inode)->i_first_direct_byte = pos1 + 1; in indirect2direct()
/openbmc/linux/arch/powerpc/include/asm/
H A Dsyscalls.h95 u32 reg6, u32 pos1, u32 pos2);
98 u32 reg6, u32 pos1, u32 pos2);
121 u32 reg6, u32 pos1, u32 pos2);
124 u32 reg6, u32 pos1, u32 pos2);
/openbmc/phosphor-dbus-monitor/src/
H A Devent_manager.cpp106 auto pos1 = eventPath.rfind("/"); in restore() local
107 auto pos2 = eventPath.rfind("/", pos1 - 1) + 1; in restore()
108 auto eventName = eventPath.substr(pos2, (pos1 - pos2)); in restore()
/openbmc/linux/drivers/acpi/acpica/
H A Dutprint.c169 const char *pos1; in acpi_ut_print_number() local
172 pos1 = acpi_ut_put_number(ascii_string, number, 10, FALSE); in acpi_ut_print_number()
175 while (pos1 != ascii_string) { in acpi_ut_print_number()
176 *(pos2++) = *(--pos1); in acpi_ut_print_number()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Doem_ibm_handler.cpp600 size_t pos1 = dbusPath.find(toFind); in updateOemDbusPaths() local
602 while (pos1 != std::string::npos) in updateOemDbusPaths()
604 size_t pos2 = dbusPath.substr(pos1 + 1).find('/') + 1; in updateOemDbusPaths()
606 dbusPath.replace(pos1, pos2 + 1, ""); in updateOemDbusPaths()
607 pos1 = dbusPath.find(toFind); in updateOemDbusPaths()
/openbmc/qemu/target/tricore/
H A Dtranslate.c2622 int pos1, int pos2, in gen_bit_2op() argument
2632 tcg_gen_shri_tl(temp1, r1, pos1); in gen_bit_2op()
2642 int pos1, int pos2, in gen_bit_1op() argument
2651 tcg_gen_shri_tl(temp1, r1, pos1); in gen_bit_1op()
3962 int pos1, pos2; in decode_bit_andacc() local
3967 pos1 = MASK_OP_BIT_POS1(ctx->opcode); in decode_bit_andacc()
3975 pos1, pos2, &tcg_gen_and_tl, &tcg_gen_and_tl); in decode_bit_andacc()
3979 pos1, pos2, &tcg_gen_andc_tl, &tcg_gen_and_tl); in decode_bit_andacc()
3984 pos1, pos2, &tcg_gen_or_tl, &tcg_gen_andc_tl); in decode_bit_andacc()
3987 pos1, pos2, &tcg_gen_nor_tl, &tcg_gen_and_tl); in decode_bit_andacc()
[all …]
/openbmc/linux/drivers/thermal/
H A Dthermal_core.c639 struct thermal_zone_device *pos1; in thermal_zone_bind_cooling_device() local
650 list_for_each_entry(pos1, &thermal_tz_list, node) { in thermal_zone_bind_cooling_device()
651 if (pos1 == tz) in thermal_zone_bind_cooling_device()
659 if (tz != pos1 || cdev != pos2) in thermal_zone_bind_cooling_device()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Drs600.c73 u32 pos1, pos2; in avivo_is_counter_moving() local
75 pos1 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]); in avivo_is_counter_moving()
78 if (pos1 != pos2) in avivo_is_counter_moving()
H A Devergreen.c1357 u32 pos1, pos2; in dce4_is_counter_moving() local
1359 pos1 = RREG32(EVERGREEN_CRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce4_is_counter_moving()
1362 if (pos1 != pos2) in dce4_is_counter_moving()
/openbmc/linux/sound/pci/
H A Dintel8x0.c2644 unsigned long pos, pos1, t; in intel8x0_measure_ac97_clock() local
2689 pos1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb); in intel8x0_measure_ac97_clock()
2690 if (pos1 == 0) { in intel8x0_measure_ac97_clock()
2695 pos1 == igetword(chip, ichdev->reg_offset + ichdev->roff_picb)) in intel8x0_measure_ac97_clock()
2698 if (pos1 == 0) { /* oops, this value is not reliable */ in intel8x0_measure_ac97_clock()
2702 pos -= pos1 << ichdev->pos_shift; in intel8x0_measure_ac97_clock()
/openbmc/linux/fs/
H A Ddax.c2007 loff_t pos1 = it_src->pos, pos2 = it_dest->pos; in dax_range_compare_iter() local
2024 ret = dax_iomap_direct_access(smap, pos1, ALIGN(pos1 + len, PAGE_SIZE), in dax_range_compare_iter()
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/mesa-demos/
H A D0001-mesa-demos-Add-missing-data-files.patch515 + vec4 pos1 = mat1 * gl_Vertex;
516 + vec4 pos = mix(pos0, pos1, weight);
/openbmc/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1865 u8 *pos1 = tpg->lines[pat][p]; in tpg_precalculate_line() local
1869 for (x = 0; x < w; x++, pos1++, pos2++, dest++) in tpg_precalculate_line()
1870 *dest = ((u16)*pos1 + (u16)*pos2) / 2; in tpg_precalculate_line()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pip-defs.h264 uint64_t pos1:7; member
270 uint64_t pos1:7;
/openbmc/linux/mm/
H A Dfilemap.c2623 static inline bool pos_same_folio(loff_t pos1, loff_t pos2, struct folio *folio) in pos_same_folio() argument
2627 return (pos1 >> shift == pos2 >> shift); in pos_same_folio()
/openbmc/linux/kernel/events/
H A Dcore.c3444 #define double_list_for_each_entry(pos1, pos2, head1, head2, member) \ argument
3445 for (pos1 = list_first_entry(head1, typeof(*pos1), member), \
3447 !list_entry_is_head(pos1, head1, member) && \
3449 pos1 = list_next_entry(pos1, member), \
/openbmc/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py1512 low1, pos1, time_to = self.XPixelToData(x + 1)
1516 for i in xrange(pos0, pos1 + 1):