Home
last modified time | relevance | path

Searched refs:offset1 (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/u-boot/test/lib/
H A Dstring.c109 int offset1, int offset2, int len) in test_memmove() argument
117 ut_asserteq((i + offset1 - offset2) ^ mask, buf[i]); in test_memmove()
135 int offset1, offset2, len; in lib_memcpy() local
140 for (offset1 = 0; offset1 <= SWEEP; ++offset1) { in lib_memcpy()
144 ptr = memcpy(buf2 + offset2, buf1 + offset1, in lib_memcpy()
147 if (test_memmove(uts, buf2, MASK, offset1, in lib_memcpy()
150 __func__, offset1, offset2, len); in lib_memcpy()
172 int offset1, offset2, len; in lib_memmove() local
175 for (offset1 = 0; offset1 <= SWEEP; ++offset1) { in lib_memmove()
179 ptr = memmove(buf + offset2, buf + offset1, in lib_memmove()
[all …]
/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/drivers/misc/echo/
H A Dfir.h95 int offset1; in fir16() local
101 offset1 = fir->taps - offset2; in fir16()
103 for (i = fir->taps - 1; i >= offset1; i--) in fir16()
104 y += fir->coeffs[i] * fir->history[i - offset1]; in fir16()
137 int offset1; in fir32() local
142 offset1 = fir->taps - offset2; in fir32()
144 for (i = fir->taps - 1; i >= offset1; i--) in fir32()
145 y += fir->coeffs[i] * fir->history[i - offset1]; in fir32()
H A Decho.c110 int offset1; in lms_adapt_bg() local
123 offset1 = ec->taps - offset2; in lms_adapt_bg()
125 for (i = ec->taps - 1; i >= offset1; i--) { in lms_adapt_bg()
126 exp = (ec->fir_state_bg.history[i - offset1] * factor); in lms_adapt_bg()
/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,
108 unsigned int offset1,
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,
134 unsigned int offset1,
/openbmc/linux/drivers/media/usb/pwc/
H A Dpwc-dec23.c147 unsigned int offset1 = ONE_HALF; in fill_table_dc00_d800() local
151 pdec->table_dc00[i] = offset1 & ~(ONE_HALF); in fill_table_dc00_d800()
154 offset1 += 0x7bc4; in fill_table_dc00_d800()
492 unsigned int channel_v, offset1, op; in decode_block() local
517 offset1 = 0; in decode_block()
548 offset1 += 1 + yyyy; in decode_block()
549 offset1 &= 0x0F; in decode_block()
550 nbits = ptable8004[offset1 * 2]; in decode_block()
557 shift = ptable8004[offset1 * 2 + 1]; in decode_block()
562 pdec->temp_colors[i] += block[MulIdx[offset1][i]]; in decode_block()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-m48t86.c198 unsigned int offset1 = M48T86_NVRAM(M48T86_NVRAM_LEN - 1); in m48t86_verify_chip() local
202 tmp1 = m48t86_readb(&pdev->dev, offset1); in m48t86_verify_chip()
205 m48t86_writeb(&pdev->dev, 0x55, offset1); in m48t86_verify_chip()
206 if (m48t86_readb(&pdev->dev, offset1) == 0x55) { in m48t86_verify_chip()
207 m48t86_writeb(&pdev->dev, 0xaa, offset1); in m48t86_verify_chip()
208 if (m48t86_readb(&pdev->dev, offset1) == 0xaa && in m48t86_verify_chip()
211 m48t86_writeb(&pdev->dev, tmp1, offset1); in m48t86_verify_chip()
/openbmc/linux/arch/sh/kernel/
H A Dsys_sh32.c51 asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1, in sys_fadvise64_64_wrapper() argument
55 return ksys_fadvise64_64(fd, (u64)offset1 << 32 | offset0, in sys_fadvise64_64_wrapper()
58 return ksys_fadvise64_64(fd, (u64)offset0 << 32 | offset1, in sys_fadvise64_64_wrapper()
/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.h38 unsigned int offset1; /* 0x00000058 (offset to CPRB) */ member
88 unsigned int offset1; /* offset to CPRB */ member
134 .offset1 = 0x00000058, in rng_type6cprb_msgx()
H A Dzcrypt_msgtype6.c197 .offset1 = 0x00000058, in icamex_msg_to_type6mex_msgx()
266 .offset1 = 0x00000058, in icacrt_msg_to_type6crt_msgx()
341 .offset1 = 0x00000058, in xcrb_msg_to_type6cprb_msgx()
402 msg->hdr.offset2 = msg->hdr.offset1 + rcblen; in xcrb_msg_to_type6cprb_msgx()
466 .offset1 = 0x00000058, in xcrb_msg_to_type6_ep11cprb_msgx()
638 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_xcrb()
684 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_ep11_xcrb()
889 len = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive()
939 len = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive_ep11()
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_pm81.c170 s16 offset1; member
185 s16 offset1; member
203 .offset1 = 0x0208,
215 .offset1 = 0x0000,
227 .offset1 = 0x0091,
297 wf_smu_sys_fans->offset1 = param->offset1; in wf_smu_create_sys_fans()
364 cputarget = ((((s64)cputarget) * (s64)st->scale1) >> 12) + st->offset1; in wf_smu_sys_fans_tick()
/openbmc/linux/drivers/iio/adc/
H A Dqcom-spmi-rradc.c663 int64_t offset1, offset2; in rradc_read_offset() local
683 offset1 = -(fab_offset * RR_ADC_TEMP_FS_VOLTAGE_DEN * in rradc_read_offset()
685 offset1 += (int64_t)RR_ADC_TEMP_FS_VOLTAGE_NUM / 2ULL; in rradc_read_offset()
686 offset1 = div64_s64(offset1, in rradc_read_offset()
702 *val = (int)(offset1 - offset2 - 1); in rradc_read_offset()
705 offset1 = -RR_ADC_DIE_TEMP_OFFSET * in rradc_read_offset()
708 offset1 = div64_s64(offset1, RR_ADC_TEMP_FS_VOLTAGE_NUM); in rradc_read_offset()
721 *val = (int)(offset1 - offset2); in rradc_read_offset()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddispc.c1823 unsigned *offset0, unsigned *offset1, in calc_vrfb_rotation_offset() argument
1865 *offset1 = 0; in calc_vrfb_rotation_offset()
1888 *offset1 = 0; in calc_vrfb_rotation_offset()
1910 unsigned *offset0, unsigned *offset1, in calc_dma_rotation_offset() argument
1948 *offset1 = 0; in calc_dma_rotation_offset()
1950 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset()
1952 *offset0 = *offset1; in calc_dma_rotation_offset()
1963 *offset1 = screen_width * (fbh - 1) * ps; in calc_dma_rotation_offset()
1965 *offset0 = *offset1 + field_offset * ps; in calc_dma_rotation_offset()
1967 *offset0 = *offset1; in calc_dma_rotation_offset()
[all …]
/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip.h190 drv3, offset0, offset1, \ argument
204 { .drv_type = drv1, .offset = offset1 }, \
239 drv3, offset0, offset1, \ argument
254 { .drv_type = drv1, .offset = offset1 }, \
/openbmc/u-boot/env/
H A Dmmc.c266 u32 offset1, offset2; in env_mmc_load() local
285 if (mmc_get_env_addr(mmc, 0, &offset1) || in env_mmc_load()
291 read1_fail = read_env(mmc, CONFIG_ENV_SIZE, offset1, tmp_env1); in env_mmc_load()
/openbmc/u-boot/tools/
H A Dmxsboot.c424 uint32_t offset1, offset2; in mx28_nand_write_firmware() local
429 offset1 = fcb->firmware1_starting_sector * nand_writesize; in mx28_nand_write_firmware()
432 ret = read(infd, buf + offset1, size); in mx28_nand_write_firmware()
436 memcpy(buf + offset2, buf + offset1, size); in mx28_nand_write_firmware()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dhw.c1393 u32 rfpath, eeaddr, group, offset1, offset2; in _rtl92de_readpowervalue_fromprom() local
1444 offset1 = group / 3; in _rtl92de_readpowervalue_fromprom()
1447 offset2 + offset1 * 21; in _rtl92de_readpowervalue_fromprom()
1460 offset1 = 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()
1472 + offset1 * 21] != 0xFF) in _rtl92de_readpowervalue_fromprom()
1475 + offset2 + offset1 * 21] >> (rfpath * 4)) in _rtl92de_readpowervalue_fromprom()
1481 + offset1 * 21] != 0xFF) in _rtl92de_readpowervalue_fromprom()
1484 + offset2 + offset1 * 21] >> (rfpath * 4)) in _rtl92de_readpowervalue_fromprom()
[all …]
/openbmc/linux/arch/sh/include/asm/
H A Dsyscalls_32.h18 asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1,
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dmcu.h60 u8 offset1; member
/openbmc/qemu/bsd-user/
H A Dmmap.c648 unsigned long offset1; in target_mmap() local
650 offset1 = 0; in target_mmap()
652 offset1 = offset + real_start - start; in target_mmap()
654 prot, flags, fd, offset1); in target_mmap()
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845-wcd9340.dtsi65 qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0c 0x6 0x12 0x0d 0x07 0x0a>;
/openbmc/qemu/target/i386/hvf/
H A Dx86.h175 uint64_t offset1:16; member
180 return (uint32_t)((gate->offset1 << 16) | gate->offset0); in x86_call_gate_offset()
/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/soundwire/
H A Dbus.h180 params->offset1 = off1; in sdw_fill_xport_params()
/openbmc/linux/drivers/video/fbdev/riva/
H A Driva_hw.c1312 state->offset1 = in CalcStateExt()
1415 NV_WR32(chip->PGRAPH, 0x00000634, state->offset1); in LoadStateExt()
1457 NV_WR32(chip->PGRAPH, 0x00000644, state->offset1); in LoadStateExt()
1505 NV_WR32(chip->PGRAPH, 0x00000644, state->offset1); in LoadStateExt()
1515 NV_WR32(chip->PGRAPH, 0x00000824, state->offset1); in LoadStateExt()
1744 state->offset1 = NV_RD32(chip->PGRAPH, 0x00000634); in UnloadStateExt()
1754 state->offset1 = NV_RD32(chip->PGRAPH, 0x00000644); in UnloadStateExt()
1766 state->offset1 = NV_RD32(chip->PGRAPH, 0x00000644); in UnloadStateExt()

123