Home
last modified time | relevance | path

Searched full:offset2 (Results 1 – 25 of 62) sorted by relevance

123

/openbmc/u-boot/test/lib/
H A Dstring.c104 * @offset2: relative start of copied region in destination buffer
109 int offset1, int offset2, int len) in test_memmove() argument
114 if (i < offset2 || i >= offset2 + len) { in test_memmove()
117 ut_asserteq((i + offset1 - offset2) ^ mask, buf[i]); in test_memmove()
135 int offset1, offset2, len; in lib_memcpy() local
141 for (offset2 = 0; offset2 <= SWEEP; ++offset2) { in lib_memcpy()
144 ptr = memcpy(buf2 + offset2, buf1 + offset1, in lib_memcpy()
146 ut_asserteq_ptr(buf2 + offset2, (u8 *)ptr); in lib_memcpy()
148 offset2, len)) { in lib_memcpy()
150 __func__, offset1, offset2, len); in lib_memcpy()
[all …]
/openbmc/linux/drivers/misc/echo/
H A Dfir.h96 int offset2; in fir16() local
100 offset2 = fir->curr_pos; in fir16()
101 offset1 = fir->taps - offset2; in fir16()
106 y += fir->coeffs[i] * fir->history[i + offset2]; in fir16()
138 int offset2; in fir32() local
141 offset2 = fir->curr_pos; in fir32()
142 offset1 = fir->taps - offset2; in fir32()
147 y += fir->coeffs[i] * fir->history[i + offset2]; in fir32()
H A Decho.c111 int offset2; in lms_adapt_bg() local
122 offset2 = ec->curr_pos; in lms_adapt_bg()
123 offset1 = ec->taps - offset2; in lms_adapt_bg()
130 exp = (ec->fir_state_bg.history[i + offset2] * factor); in lms_adapt_bg()
/openbmc/linux/arch/powerpc/kernel/
H A Dsys_ppc32.c88 u32, offset1, u32, offset2, u32, count) in PPC32_SYSCALL_DEFINE5() argument
90 return ksys_readahead(fd, merge_64(offset1, offset2), count); in PPC32_SYSCALL_DEFINE5()
108 int, fd, u32, unused, u32, offset1, u32, offset2, in PPC32_SYSCALL_DEFINE6() argument
111 return ksys_fadvise64_64(fd, merge_64(offset1, offset2), len, in PPC32_SYSCALL_DEFINE6()
117 unsigned int, offset1, unsigned int, offset2, in PPC32_SYSCALL_DEFINE6() argument
120 loff_t offset = merge_64(offset1, offset2); in PPC32_SYSCALL_DEFINE6()
129 u32, offset1, u32, offset2, u32, len1, u32, len2) in SYSCALL_DEFINE6() argument
132 merge_64(offset1, offset2), in SYSCALL_DEFINE6()
/openbmc/linux/arch/powerpc/include/asm/
H A Dsyscalls.h100 u32 offset1, u32 offset2, u32 count);
105 long sys_ppc32_fadvise64(int fd, u32 unused, u32 offset1, u32 offset2,
109 unsigned int offset2,
112 long sys_ppc_fallocate(int fd, int mode, u32 offset1, u32 offset2,
126 u32 offset1, u32 offset2, u32 count);
131 long compat_sys_ppc32_fadvise64(int fd, u32 unused, u32 offset1, u32 offset2,
135 unsigned int offset2,
/openbmc/linux/drivers/iio/adc/
H A Dqcom-spmi-rradc.c663 int64_t offset1, offset2; in rradc_read_offset() local
689 offset2 = (int64_t)RR_ADC_CHG_TEMP_OFFSET_MILLI_DEGC * in rradc_read_offset()
692 offset2 += ((int64_t)MILLI * RR_ADC_TEMP_FS_VOLTAGE_NUM) / 2; in rradc_read_offset()
693 offset2 = div64_s64( in rradc_read_offset()
694 offset2, ((int64_t)MILLI * RR_ADC_TEMP_FS_VOLTAGE_NUM)); in rradc_read_offset()
702 *val = (int)(offset1 - offset2 - 1); in rradc_read_offset()
710 offset2 = -(int64_t)RR_ADC_CHG_TEMP_OFFSET_MILLI_DEGC * in rradc_read_offset()
713 offset2 = div64_s64(offset2, in rradc_read_offset()
721 *val = (int)(offset1 - offset2); in rradc_read_offset()
/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip.h191 offset2, offset3) \ argument
205 { .drv_type = drv2, .offset = offset2 }, \
240 offset2, offset3, pull0, \ argument
255 { .drv_type = drv2, .offset = offset2 }, \
/openbmc/linux/Documentation/devicetree/bindings/soundwire/
H A Dqcom,soundwire.yaml119 qcom,ports-offset2:
122 Payload transport window offset2 of each data port.
235 - qcom,ports-offset2
272 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0b 0x00 0x00>;
/openbmc/u-boot/env/
H A Dmmc.c266 u32 offset1, offset2; in env_mmc_load() local
286 mmc_get_env_addr(mmc, 1, &offset2)) { in env_mmc_load()
292 read2_fail = read_env(mmc, CONFIG_ENV_SIZE, offset2, tmp_env2); in env_mmc_load()
/openbmc/linux/drivers/nvmem/
H A Dmicrochip-otpc.c116 * offset2 +------------+ <-- packet 2
129 * where offset1, offset2, offsetN depends on the size of payload 0, payload 1,
136 * the range [offset1, offset2) the data registers are updated by controller
/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.h39 unsigned int offset2; /* 0x00000000 */ member
90 unsigned int offset2; /* db offset 0x00000000 for PKD */ member
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dhw.c1393 u32 rfpath, eeaddr, group, offset1, offset2; in _rtl92de_readpowervalue_fromprom() local
1445 offset2 = group % 3; in _rtl92de_readpowervalue_fromprom()
1447 offset2 + offset1 * 21; in _rtl92de_readpowervalue_fromprom()
1461 offset2 = group % 3; in _rtl92de_readpowervalue_fromprom()
1463 if (rom_content[base1 + offset2 + offset1 * 21] != 0xFF) in _rtl92de_readpowervalue_fromprom()
1466 offset2 + offset1 * 21] >> (rfpath * 4)) in _rtl92de_readpowervalue_fromprom()
1471 if (rom_content[EEPROM_HT20_TX_PWR_INX_DIFF_2G + offset2 in _rtl92de_readpowervalue_fromprom()
1475 + offset2 + offset1 * 21] >> (rfpath * 4)) in _rtl92de_readpowervalue_fromprom()
1480 if (rom_content[EEPROM_OFDM_TX_PWR_INX_DIFF_2G + offset2 in _rtl92de_readpowervalue_fromprom()
1484 + offset2 + offset1 * 21] >> (rfpath * 4)) in _rtl92de_readpowervalue_fromprom()
[all …]
/openbmc/linux/lib/zstd/compress/
H A Dzstd_lazy.c1604 { size_t offset2=999999999; in ZSTD_compressBlock_lazy_generic() local
1605 … size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, dictMode); in ZSTD_compressBlock_lazy_generic()
1606 …int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offset2))); /* raw approx … in ZSTD_compressBlock_lazy_generic()
1609 matchLength = ml2, offcode = offset2, start = ip; in ZSTD_compressBlock_lazy_generic()
1640 { size_t offset2=999999999; in ZSTD_compressBlock_lazy_generic() local
1641 … size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, dictMode); in ZSTD_compressBlock_lazy_generic()
1642 …int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offset2))); /* raw approx … in ZSTD_compressBlock_lazy_generic()
1645 matchLength = ml2, offcode = offset2, start = ip; in ZSTD_compressBlock_lazy_generic()
1960 { size_t offset2=999999999; in ZSTD_compressBlock_lazy_extDict_generic() local
1961 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, ZSTD_extDict); in ZSTD_compressBlock_lazy_extDict_generic()
[all …]
/openbmc/linux/drivers/iio/pressure/
H A Dmprls0025pa.c114 int offset2; /* nano part of offset */ member
308 *val2 = data->offset2; in mpr_read_raw()
396 data->offset = div_s64_rem(offset, NANO, &data->offset2); in mpr_probe()
/openbmc/u-boot/tools/
H A Dmxsboot.c424 uint32_t offset1, offset2; in mx28_nand_write_firmware() local
430 offset2 = fcb->firmware2_starting_sector * nand_writesize; in mx28_nand_write_firmware()
436 memcpy(buf + offset2, buf + offset1, size); in mx28_nand_write_firmware()
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845-wcd9340.dtsi66 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x1f 0x00 0x00 0x1f 0x00 0x00>;
/openbmc/linux/Documentation/driver-api/
H A Dio-mapping.rst60 addr2 = io_mapping_map_local_wc(map2, offset2);
/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_init.h106 u32 ddr3_get_static_mc_value(u32 reg_addr, u32 offset1, u32 mask1, u32 offset2,
/openbmc/linux/drivers/media/usb/pwc/
H A Dpwc-dec23.c148 unsigned int offset2 = 0x0000; in fill_table_dc00_d800() local
152 pdec->table_d800[i] = offset2; in fill_table_dc00_d800()
155 offset2 += 0x7bc4; in fill_table_dc00_d800()
177 * unsigned char offset2; // offset to add to access in the table_0004
/openbmc/u-boot/tools/dtoc/
H A Dtest_fdt146 offset2 = node2.Offset()
147 self.assertTrue(offset2 < offset1)
150 self.assertTrue(offset3 < offset2)
H A Dtest_fdt.py146 offset2 = node2.Offset()
147 self.assertTrue(offset2 < offset1)
150 self.assertTrue(offset3 < offset2)
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-lite-reg.h67 /* Camera Window Offset2 */
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Dqcom,nandc.yaml61 It's in the form of <offset1 size1 offset2 size2 offset3 ...>
/openbmc/linux/tools/gpio/
H A Dgpio-hammer.c8 * gpio-hammer -n <device-name> -o <offset1> -o <offset2>
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_core.c1587 unsigned int offset, offset2, ihl, verdict; in ip_vs_in_icmp() local
1660 offset2 = offset + cih->ihl * 4; in ip_vs_in_icmp()
1662 ulen = ipvs_udp_decap(ipvs, skb, offset2, AF_INET, in ip_vs_in_icmp()
1666 ulen = ipvs_gre_decap(ipvs, skb, offset2, AF_INET, in ip_vs_in_icmp()
1672 offset = offset2 + ulen; in ip_vs_in_icmp()
1697 offset2 = offset; in ip_vs_in_icmp()
1743 offset2 -= ihl + sizeof(_icmph); in ip_vs_in_icmp()
1767 if (pskb_pull(skb, offset2) == NULL) in ip_vs_in_icmp()

123