Home
last modified time | relevance | path

Searched refs:xsum (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/net/
H A Dnet.c1281 ulong xsum; in net_process_received_packet() local
1285 xsum = ip->ip_p; in net_process_received_packet()
1286 xsum += (ntohs(ip->udp_len)); in net_process_received_packet()
1287 xsum += (ntohl(ip->ip_src.s_addr) >> 16) & 0x0000ffff; in net_process_received_packet()
1288 xsum += (ntohl(ip->ip_src.s_addr) >> 0) & 0x0000ffff; in net_process_received_packet()
1289 xsum += (ntohl(ip->ip_dst.s_addr) >> 16) & 0x0000ffff; in net_process_received_packet()
1290 xsum += (ntohl(ip->ip_dst.s_addr) >> 0) & 0x0000ffff; in net_process_received_packet()
1299 xsum += ntohs(sumdata); in net_process_received_packet()
1307 xsum += sumdata; in net_process_received_packet()
1309 while ((xsum >> 16) != 0) { in net_process_received_packet()
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dti_am335x_tsc.c228 unsigned int i, xsum = 0, ysum = 0; in titsc_read_coordinates() local
256 xsum += xvals[i]; in titsc_read_coordinates()
259 xsum /= creads; in titsc_read_coordinates()
267 xsum += xvals[i]; in titsc_read_coordinates()
270 xsum /= creads - 2; in titsc_read_coordinates()
273 *x = xsum; in titsc_read_coordinates()
/openbmc/qemu/hw/net/
H A Dtrace-events375 sunhme_tx_xsum_add(int offset, int len) "adding xsum at offset %d, len %d"
376 sunhme_tx_xsum_stuff(uint16_t xsum, int offset) "stuffing xsum 0x%x at offset %d"
388 sunhme_rx_xsum_calc(uint16_t xsum) "calculated incoming xsum as 0x%x"