Searched refs:sum1 (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/arch/hexagon/lib/ |
D | checksum.c | 100 u64 sum0, sum1, x0, x1, *ptr8_o, *ptr8_e, *ptr8; in do_csum() local 117 sum1 = 0; in do_csum() 123 sum1 += (u64) ptr2[0]; in do_csum() 133 sum1 = HEXAGON_P_vrmpyhacc_PP(sum1, in do_csum() 136 sum1 += VR_CARRY(0, 0, 1, 0); in do_csum() 149 sum1 = HEXAGON_P_vrmpyhacc_PP(sum1, in do_csum() 157 sum1 = HEXAGON_P_vrmpyhacc_PP(sum1, x1^VR_NEGATE(1, 1, 1, 1), in do_csum() 163 sum1 = HEXAGON_P_vrmpyhacc_PP(sum1, in do_csum() 166 sum1 += VR_SELECT(0, 0, 1, 0); in do_csum() 173 sum1 += (u64) ptr[start + (mid * 16) + (end & 14)]; in do_csum() [all …]
|
/Linux-v4.19/drivers/media/rc/ |
D | ir-xmp-decoder.c | 83 u8 addr, subaddr, subaddr2, toggle, oem, obc1, obc2, sum1, sum2; in ir_xmp_decode() local 111 sum1 = (15 + n[0] + n[1] + n[2] + n[3] + in ir_xmp_decode() 116 if (sum1 != 15 || sum2 != 15) { in ir_xmp_decode() 118 sum1, sum2); in ir_xmp_decode()
|
/Linux-v4.19/drivers/hid/ |
D | hid-alps.c | 141 u16 sum1 = 0xFF, sum2 = 0xFF; in t4_calc_check_sum() local 153 sum1 += buffer[offset + i]; in t4_calc_check_sum() 154 sum2 += sum1; in t4_calc_check_sum() 158 sum1 = (sum1 & 0xFF) + (sum1 >> 8); in t4_calc_check_sum() 162 sum1 = (sum1 & 0xFF) + (sum1 >> 8); in t4_calc_check_sum() 165 return(sum2 << 8 | sum1); in t4_calc_check_sum()
|