Home
last modified time | relevance | path

Searched refs:psum (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/include/net/
H A Dchecksum.h174 __sum16 *psum = (__sum16 *)(ptr + offset); in remcsum_adjust() local
182 (__force __wsum)*psum); in remcsum_adjust()
183 *psum = csum_fold(csum); in remcsum_adjust()
188 static __always_inline void remcsum_unadjust(__sum16 *psum, __wsum delta) in remcsum_unadjust() argument
190 *psum = csum_fold(csum_sub(delta, (__force __wsum)*psum)); in remcsum_unadjust()
H A Dgro.h236 __wsum psum) in __skb_gro_checksum_validate_complete() argument
239 !csum_fold(csum_add(psum, NAPI_GRO_CB(skb)->csum))) in __skb_gro_checksum_validate_complete()
242 NAPI_GRO_CB(skb)->csum = psum; in __skb_gro_checksum_validate_complete()
/openbmc/linux/arch/ia64/lib/
H A Dcsum_partial_copy.c35 unsigned long do_csum_c(const unsigned char * buff, int len, unsigned int psum) in do_csum_c() argument
38 unsigned long result = (unsigned long)psum; in do_csum_c()
/openbmc/linux/drivers/input/mouse/
H A Dappletouch.c345 int pcum = 0, psum = 0; in atp_calculate_abs() local
420 psum += dev->smooth[i]; in atp_calculate_abs()
424 if (psum > 0) { in atp_calculate_abs()
425 *z = psum >> ATP_SCALE; /* Scale down pressure output. */ in atp_calculate_abs()
426 return pcum * fact / psum; in atp_calculate_abs()
/openbmc/qemu/target/ppc/
H A Dint_helper.c753 int64_t psum = 0; in ger_rank8() local
756 psum += (int64_t)sextract32(a, 4 * i, 4) * sextract32(b, 4 * i, 4); in ger_rank8()
759 return psum; in ger_rank8()
764 int64_t psum = 0; in ger_rank4() local
767 psum += sextract32(a, 8 * i, 8) * (int64_t)extract32(b, 8 * i, 8); in ger_rank4()
770 return psum; in ger_rank4()
775 int64_t psum = 0; in ger_rank2() local
778 psum += (int64_t)sextract32(a, 16 * i, 16) * in ger_rank2()
782 return psum; in ger_rank2()
792 int64_t psum; in xviger() local
[all …]
H A Dfpu_helper.c3396 float64 psum, va, vb, vc, vd; in vsxger16() local
3413 psum = float64_mul(va, vb, excp_ptr); in vsxger16()
3414 psum = float64r32_muladd(vc, vd, psum, 0, excp_ptr); in vsxger16()
3415 r = float64_to_float32(psum, excp_ptr); in vsxger16()
/openbmc/qemu/target/xtensa/core-lx106/
H A Dgdb-config.c.inc75 XTREG( 51,204, 1, 4, 4,0x2003,0x0006,-2, 6,0x1010,psum,
/openbmc/qemu/target/xtensa/core-sample_controller/
H A Dgdb-config.c.inc131 XTREG(106,424, 1, 4, 4,0x2009,0x0006,-2, 6,0x1010,psum,
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/
H A Dgdb-config.c.inc176 XTREG(124,496, 1, 4, 4,0x2004,0x0006,-2, 6,0x1010,psum,
/openbmc/qemu/target/xtensa/core-de212/
H A Dgdb-config.c.inc186 XTREG(138,644, 1, 4, 4,0x2009,0x0006,-2, 6,0x1010,psum,
/openbmc/qemu/target/xtensa/core-test_kc705_be/
H A Dgdb-config.c.inc209 XTREG(157,628, 1, 4, 4,0x2009,0x0006,-2, 6,0x1010,psum,
/openbmc/qemu/target/xtensa/core-de233_fpu/
H A Dgdb-config.c.inc213 XTREG(157,644, 1, 4, 4,0x2009,0x0006,-2, 6,0x1010,psum,
/openbmc/linux/drivers/scsi/
H A Dst.c3384 int psum = PP_MSK_PSUM_MB, units = 0; in partition_tape() local
3425 psum = PP_MSK_PSUM_UNITS; in partition_tape()
3430 if (psum == PP_MSK_PSUM_MB && size >= 65534) { in partition_tape()
3432 psum = PP_MSK_PSUM_UNITS; in partition_tape()
3479 bp[pgo + PP_OFF_FLAGS] = PP_BIT_IDP | psum | in partition_tape()
/openbmc/qemu/target/xtensa/core-dsp3400/
H A Dgdb-config.c.inc344 XTREG(248,2064, 1, 4, 4,0x2008,0x0006,-2, 6,0x1010,psum,
/openbmc/linux/include/linux/
H A Dskbuff.h4508 __wsum psum) in __skb_checksum_validate_complete() argument
4511 if (!csum_fold(csum_add(psum, skb->csum))) { in __skb_checksum_validate_complete()
4517 skb->csum = psum; in __skb_checksum_validate_complete()