Lines Matching refs:crc16
45 #include <linux/crc16.h>
122 * @crc16: crc over the whole message struct (message header +
123 * this struct) minus this @crc16 field
131 __le16 crc16;
150 * @crc16: on last finger: crc over the whole message struct
152 * @crc16 field; unknown on all other fingers.
168 __le16 crc16;
197 * @crc16: crc over the whole message struct (message header +
198 * this struct) minus this @crc16 field
201 __le16 crc16;
213 * @crc16: crc over the whole message struct (message header +
214 * this struct) minus this @crc16 field
221 __le16 crc16;
229 * @crc16: crc over the whole message struct (message header +
230 * this struct) minus this @crc16 field
234 __le16 crc16;
243 * @crc16: crc over the whole message struct (message header +
244 * this struct) minus this @crc16 field
249 __le16 crc16;
259 * @crc16: crc over the whole message struct (message header +
260 * this struct) minus this @crc16 field
266 __le16 crc16;
342 * @crc16: crc over this whole structure minus this @crc16 field. This
353 __le16 crc16;
868 crc = crc16(0, (u8 *)message, le16_to_cpu(packet->length) - 2);
871 crc = crc16(0, (u8 *)packet, sizeof(*packet) - 2);
872 packet->crc16 = cpu_to_le16(crc);
1387 crc = crc16(0, buffer, buflen);