Searched refs:tsum (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/netfilter/ |
H A D | nft_payload.c | 687 *sum = csum_fold(csum_add(csum_sub(~csum_unfold(*sum), fsum), tsum)); in nft_csum_replace() 747 __wsum fsum, __wsum tsum) in nft_payload_l4csum_update() argument 765 nft_csum_replace(&sum, fsum, tsum); in nft_payload_l4csum_update() 768 tsum); in nft_payload_l4csum_update() 772 tsum)); in nft_payload_l4csum_update() 783 __wsum fsum, __wsum tsum, int csum_offset) in nft_payload_csum_inet() argument 790 nft_csum_replace(&sum, fsum, tsum); in nft_payload_csum_inet() 862 __wsum fsum, tsum; in nft_payload_set_eval() local 911 tsum = csum_partial(src, priv->len, 0); in nft_payload_set_eval() 914 nft_payload_csum_inet(skb, src, fsum, tsum, csum_offset)) in nft_payload_set_eval() [all …]
|
/openbmc/linux/drivers/leds/rgb/ |
H A D | leds-mt6370-rgb.c | 308 unsigned int tsum, sel; in mt6370_set_led_freq() local 310 tsum = ton + toff; in mt6370_set_led_freq() 312 if (tsum > pdata->tfreq[0] || tsum < pdata->tfreq[tfreq_len - 1]) in mt6370_set_led_freq() 315 sel = find_closest_descending(tsum, pdata->tfreq, tfreq_len); in mt6370_set_led_freq()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 3349 __sum16 tsum = (__force __sum16) csum; in bnx2x_csum_fix() local 3352 tsum = ~csum_fold(csum_sub((__force __wsum) csum, in bnx2x_csum_fix() 3356 tsum = ~csum_fold(csum_add((__force __wsum) csum, in bnx2x_csum_fix() 3359 return bswab16(tsum); in bnx2x_csum_fix()
|
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/ |
H A D | 0004-ffmpeg-4.3.4-rpi_14.patch | 48729 + uint64_t tsum = 0; 48732 + tsum += p->time_stash[(p->i3 - i) & 15]; 48734 + if (time_thresholds[i] * 1000 * avg_n > tsum)
|