Searched refs:sum (Results 276 - 300 of 396) sorted by relevance

<<111213141516

/linux-master/net/core/
H A Dgro.c757 __sum16 sum; local
762 sum = csum_fold(csum_add(NAPI_GRO_CB(skb)->csum, wsum));
764 if (likely(!sum)) {
773 return sum;
/linux-master/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c1300 unsigned short sum; local
1502 sum = 0;
1511 sum += value & 0xffff;
1520 sum += dev->dev_addr[i];
1582 sum += ee_data[i + sa_offset];
1605 if (sum == 0 || sum == 6*0xff) {
/linux-master/lib/zstd/compress/
H A Dzstd_compress_internal.h649 * @offBase_minus1 : sum-type, with same numeric representation as ZSTD_storeSeq()
1294 unsigned u, sum;
1295 for (u=0, sum=0; u<=max; u++) sum += table[u];
1296 DEBUGLOG(2, "total nb elts: %u", sum);
1299 u, table[u], ZSTD_fWeight(sum) - ZSTD_fWeight(table[u]) );
/linux-master/drivers/tty/vt/
H A Dconsolemap.c212 * @sum: checksum
219 unsigned long sum; member in struct:uni_pagedict
476 if (!dict2 || dict2 == dict1 || dict2->sum != dict1->sum)
536 p->sum += (fontpos << 20U) + unicode;
566 old->sum = 0;
/linux-master/net/batman-adv/
H A Dbat_iv_ogm.c108 u16 sum = 0; local
115 sum += *ptr;
125 return (u8)(sum / count);
873 * batadv_iv_orig_ifinfo_sum() - Get bcast_own sum for originator over interface
886 u8 sum; local
893 sum = orig_ifinfo->bat_iv.bcast_own_sum;
898 return sum;
H A Dsoft-interface.c95 * @idx: index of counter to sum up
97 * Return: sum of all cpu-local counters
101 u64 *counters, sum = 0; local
106 sum += counters[idx];
109 return sum;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddebugfs.c140 field = div64_u64(stats->sum, stats->n);
153 stats->sum = 0;
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw.h674 static inline __wsum siw_csum_update(const void *buff, int len, __wsum sum) argument
676 return (__force __wsum)crc32c((__force __u32)sum, buff, len);
/linux-master/drivers/input/mouse/
H A Dcyapa_gen5.c1946 int sum, count, max_element_cnt; local
1960 sum = count = tmp_count = 0;
2085 sum += value;
2094 *idac_ave = count ? (sum / count) : 0;
2220 int sum, count; local
2234 sum = count = 0;
2282 sum += value;
2296 *raw_data_ave = count ? (sum / count) : 0;
/linux-master/arch/powerpc/platforms/pseries/
H A Dlparcfg.c51 * Track sum of all purrs across all processors. This is used to further
56 atomic64_t *sum = arg; local
58 atomic64_add(mfspr(SPRN_PURR), sum); local
/linux-master/drivers/mtd/
H A Dmtdswap.c1171 unsigned long sum; local
1200 sum = 0;
1202 sum += d->eb_data[i].erase_count;
1236 seq_printf(s, "total erasures: %lu\n", sum);
/linux-master/include/linux/
H A Dperf_event.h1246 u32 sum = 0; local
1250 sum += frag->size;
1256 size = round_up(sum + sizeof(u32), sizeof(u64));
1258 frag->pad = raw->size - sum;
/linux-master/fs/xfs/libxfs/
H A Dxfs_rtbitmap.h325 xfs_fileoff_t bbno, xfs_suminfo_t *sum);
/linux-master/include/uapi/linux/
H A Drkisp1-config.h471 * @max_csum: Chrominance sum maximum value, only consider pixels with Cb+Cr,
923 * @sum: sharpness value
927 __u32 sum; member in struct:rkisp1_cif_isp_af_meas_val
/linux-master/drivers/iio/adc/
H A Dad7280a.c365 unsigned int tmp, sum = 0; local
396 /* only sum cell voltages */
399 sum += FIELD_GET(AD7280A_TRANS_READ_CONV_DATA_MSK, tmp);
402 return sum;
/linux-master/drivers/firmware/
H A Ddmi_scan.c157 u8 sum = 0; local
161 sum += buf[a];
163 return sum == 0;
/linux-master/drivers/input/joystick/
H A Dsidewinder.c264 unsigned char sum = 0; local
270 sum += t & 0xf;
274 return sum & 0xf;
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c1047 u8 sum = 0; local
1058 sum += edid[i];
1059 edid[i] = 256 - sum;
/linux-master/arch/x86/kernel/cpu/mtrr/
H A Dcleanup.c135 unsigned long sum = 0; local
139 sum += range[i].end - range[i].start;
141 return sum;
/linux-master/arch/powerpc/crypto/
H A Dpoly1305-p10le_64.S22 # Improve performance by breaking down polynominal to the sum of products with
25 # 07/22/21 - this revison based on the above sum of products. Setup r^4, r^3, r^2, r and s3, s2, s1, s0
631 # Rewrite the polynominal sum of product as follows,
/linux-master/kernel/rcu/
H A Drefscale.c888 // Print the results of each reader and return the sum of all their durations.
895 u64 sum = 0; local
916 sum += rt->last_duration_ns;
921 return sum;
/linux-master/sound/soc/codecs/
H A Dda9055.c452 int sum = 0; local
470 sum += ((mid_data << 8) | (top_data << 16));
473 return sum / DA9055_ALC_AVG_ITERATIONS;
/linux-master/kernel/locking/
H A Dlocktorture.c953 long long sum = 0; local
960 sum += cur;
969 sum, max, min,
/linux-master/drivers/gpu/drm/vboxvideo/
H A Dvbox_mode.c688 unsigned int i, sum = 0; local
701 sum += edid[i];
702 edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF;
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c3530 int nr_frags, sum; local
3549 sum = 1 - skb_shinfo(skb)->gso_size;
3551 /* Add size of frags 0 through 4 to create our initial sum */
3552 sum += skb_frag_size(frag++);
3553 sum += skb_frag_size(frag++);
3554 sum += skb_frag_size(frag++);
3555 sum += skb_frag_size(frag++);
3556 sum += skb_frag_size(frag++);
3559 * then removing stale fragments from the sum.
3564 sum
[all...]

Completed in 337 milliseconds

<<111213141516