Home
last modified time | relevance | path

Searched refs:csum16 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/common/
H A Dddr_spd.c89 int csum16; in ddr3_spd_check() local
101 csum16 = crc16(p, len); in ddr3_spd_check()
103 crc_lsb = (char) (csum16 & 0xff); in ddr3_spd_check()
104 crc_msb = (char) (csum16 >> 8); in ddr3_spd_check()
120 int csum16; in ddr4_spd_check() local
126 csum16 = crc16(p, len); in ddr4_spd_check()
128 crc_lsb = (char) (csum16 & 0xff); in ddr4_spd_check()
129 crc_msb = (char) (csum16 >> 8); in ddr4_spd_check()
141 csum16 = crc16(p, len); in ddr4_spd_check()
143 crc_lsb = (char) (csum16 & 0xff); in ddr4_spd_check()
[all …]
/openbmc/qemu/hw/net/
H A Dxilinx_axienet.c708 uint16_t csum16; in eth_rx() local
823 csum16 = (csum32 & 0xffff) + (csum32 >> 16); in eth_rx()
824 app[3] = csum16; in eth_rx()