Searched refs:to_sum16 (Results 1 – 1 of 1) sorted by relevance
218 static __sum16 to_sum16(u16 x) in to_sum16() function262 expec = to_sum16(expected_results[len]); in test_csum_fixed_random_inputs()287 expec = to_sum16((len & 1) ? 0xff00 : 0); in test_csum_all_carry_inputs()296 expec = to_sum16(0xff00); in test_csum_all_carry_inputs()300 expec = to_sum16(0xffff); in test_csum_all_carry_inputs()335 expec = to_sum16(len ? 0xfffe : 0xffff); in test_csum_no_carry_inputs()