Lines Matching full:sum
13 * Function: __u32 csum_partial(const char *src, int len, __u32 sum)
20 sum .req r2 label
26 .Lzero: mov r0, sum
39 movne sum, sum, ror #8
42 adcsne sum, sum, td0, put_byte_1
63 adcs sum, sum, td0
69 adcsne sum, sum, td0, put_byte_0 @ update checksum
71 .Ldone: adc r0, sum, #0 @ collect up the last carry
80 adcsne sum, sum, td0, put_byte_1 @ update checksum
96 adcsne sum, sum, td0 @ update checksum
105 movne sum, sum, ror #8
107 adds sum, sum, #0 @ C = 0
116 adcs sum, sum, td0
117 adcs sum, sum, td1
118 adcs sum, sum, td2
119 adcs sum, sum, td3
121 adcs sum, sum, td0
122 adcs sum, sum, td1
123 adcs sum, sum, td2
124 adcs sum, sum, td3
135 adcs sum, sum, td0