Searched refs:tsum (Results 1 - 3 of 3) sorted by relevance

/linux-master/net/netfilter/
H A Dnft_payload.c681 static inline void nft_csum_replace(__sum16 *sum, __wsum fsum, __wsum tsum) argument
683 *sum = csum_fold(csum_add(csum_sub(~csum_unfold(*sum), fsum), tsum));
743 __wsum fsum, __wsum tsum)
761 nft_csum_replace(&sum, fsum, tsum);
764 tsum);
768 tsum));
779 __wsum fsum, __wsum tsum, int csum_offset)
786 nft_csum_replace(&sum, fsum, tsum);
858 __wsum fsum, tsum; local
904 tsum
741 nft_payload_l4csum_update(const struct nft_pktinfo *pkt, struct sk_buff *skb, __wsum fsum, __wsum tsum) argument
778 nft_payload_csum_inet(struct sk_buff *skb, const u32 *src, __wsum fsum, __wsum tsum, int csum_offset) argument
[all...]
/linux-master/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c307 unsigned int tsum, sel; local
309 tsum = ton + toff;
311 if (tsum > pdata->tfreq[0] || tsum < pdata->tfreq[tfreq_len - 1])
314 sel = find_closest_descending(tsum, pdata->tfreq, tfreq_len);
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3349 __sum16 tsum = (__force __sum16) csum; local
3352 tsum = ~csum_fold(csum_sub((__force __wsum) csum,
3356 tsum = ~csum_fold(csum_add((__force __wsum) csum,
3359 return bswab16(tsum);

Completed in 312 milliseconds