/openbmc/u-boot/board/siemens/common/ |
H A D | board.c | 192 unsigned char i, idx, pos1, pos2, ccount; in set_env_gpios() local 207 pos2 = 0; in set_env_gpios() 214 pos2 = idx; in set_env_gpios() 218 if (pos2 <= pos1 || ccount > 2) in set_env_gpios() 236 (pos2-pos1-1)*sizeof(char)); in set_env_gpios() 245 strcpy(str_tmp, ptr_env+pos2+1); in set_env_gpios()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_freestanding.c | 26 const u8 *pos2 = s2; in memcmp() local 29 if (*pos1 != *pos2) in memcmp() 30 return *pos1 - *pos2; in memcmp() 32 ++pos2; in memcmp()
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_util.c | 108 const u8 *pos2 = buf2; in efi_st_memcmp() local 111 if (*pos1 != *pos2) in efi_st_memcmp() 112 return *pos1 - *pos2; in efi_st_memcmp() 114 ++pos2; in efi_st_memcmp()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | sys_ppc32.c | 73 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/arch/powerpc/include/asm/ |
H A D | syscalls.h | 95 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/linux/drivers/pci/ |
H A D | vc.c | 105 int ctrl_pos, status_pos, id, pos2, evcc, i, ctrl_pos2, status_pos2; in pci_vc_enable() local 126 pos2 = pci_find_ext_capability(dev->bus->self, PCI_EXT_CAP_ID_VC); in pci_vc_enable() 127 if (!pos2) in pci_vc_enable() 130 pci_read_config_dword(dev->bus->self, pos2 + PCI_VC_PORT_CAP1, &cap1); in pci_vc_enable() 135 ctrl_pos2 = pos2 + PCI_VC_RES_CTRL + in pci_vc_enable() 137 status_pos2 = pos2 + PCI_VC_RES_STATUS + in pci_vc_enable()
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | event_manager.cpp | 107 auto pos2 = eventPath.rfind("/", pos1 - 1) + 1; in restore() local 108 auto eventName = eventPath.substr(pos2, (pos1 - pos2)); in restore()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | utprint.c | 170 char *pos2; in acpi_ut_print_number() local 173 pos2 = string; in acpi_ut_print_number() 176 *(pos2++) = *(--pos1); in acpi_ut_print_number() 179 *pos2 = 0; in acpi_ut_print_number()
|
/openbmc/qemu/target/tricore/ |
H A D | translate.c | 2622 int pos1, int pos2, in gen_bit_2op() argument 2631 tcg_gen_shri_tl(temp2, r2, pos2); in gen_bit_2op() 2642 int pos1, int pos2, in gen_bit_1op() argument 2650 tcg_gen_shri_tl(temp2, r2, pos2); in gen_bit_1op() 3962 int pos1, pos2; in decode_bit_andacc() local 3968 pos2 = MASK_OP_BIT_POS2(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 D | thermal_core.c | 640 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device() local 654 list_for_each_entry(pos2, &thermal_cdev_list, node) { in thermal_zone_bind_cooling_device() 655 if (pos2 == cdev) 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 D | rs600.c | 73 u32 pos1, pos2; in avivo_is_counter_moving() local 76 pos2 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]); in avivo_is_counter_moving() 78 if (pos1 != pos2) in avivo_is_counter_moving()
|
H A D | evergreen.c | 1357 u32 pos1, pos2; in dce4_is_counter_moving() local 1360 pos2 = RREG32(EVERGREEN_CRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce4_is_counter_moving() 1362 if (pos1 != pos2) in dce4_is_counter_moving()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | oem_ibm_handler.cpp | 604 size_t pos2 = dbusPath.substr(pos1 + 1).find('/') + 1; in updateOemDbusPaths() local 606 dbusPath.replace(pos1, pos2 + 1, ""); in updateOemDbusPaths()
|
/openbmc/linux/fs/ |
H A D | dax.c | 2007 loff_t pos1 = it_src->pos, pos2 = it_dest->pos; in dax_range_compare_iter() local 2029 ret = dax_iomap_direct_access(dmap, pos2, ALIGN(pos2 + len, PAGE_SIZE), in dax_range_compare_iter()
|
/openbmc/linux/drivers/media/common/v4l2-tpg/ |
H A D | v4l2-tpg-core.c | 1866 u8 *pos2 = tpg->lines[next_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 D | cvmx-pip-defs.h | 262 uint64_t pos2:7; member 272 uint64_t pos2:7;
|
/openbmc/linux/mm/ |
H A D | filemap.c | 2623 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 D | core.c | 3444 #define double_list_for_each_entry(pos1, pos2, head1, head2, member) \ argument 3446 pos2 = list_first_entry(head2, typeof(*pos2), member); \ 3448 !list_entry_is_head(pos2, head2, member); \ 3450 pos2 = list_next_entry(pos2, member))
|