crc4 488 drivers/fsi/fsi-core.c crc = crc4(0, conf, 32); crc4 1001 drivers/fsi/fsi-core.c crc = crc4(0, cfam_id, 32); crc4 145 drivers/fsi/fsi-master-ast-cf.c crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); crc4 148 drivers/fsi/fsi-master-ast-cf.c crc = crc4(crc, msg->msg, msg->bits - top); crc4 389 drivers/fsi/fsi-master-ast-cf.c crc = crc4(0, 1, 1); crc4 390 drivers/fsi/fsi-master-ast-cf.c crc = crc4(crc, rtag, 4); crc4 393 drivers/fsi/fsi-master-ast-cf.c crc = crc4(crc, rdata, size); crc4 397 drivers/fsi/fsi-master-ast-cf.c crc = crc4(crc, rcrc, 4); crc4 177 drivers/fsi/fsi-master-gpio.c crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); crc4 180 drivers/fsi/fsi-master-gpio.c crc = crc4(crc, msg->msg, msg->bits - top); crc4 378 drivers/fsi/fsi-master-gpio.c crc = crc4(0, 1, 1); crc4 379 drivers/fsi/fsi-master-gpio.c crc = crc4(crc, msg.msg, msg.bits); crc4 214 drivers/gpu/drm/drm_dp_mst_topology.c u8 crc4; crc4 222 drivers/gpu/drm/drm_dp_mst_topology.c crc4 = drm_dp_msg_header_crc4(buf, (idx * 2) - 1); crc4 223 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx - 1] |= (crc4 & 0xf); crc4 231 drivers/gpu/drm/drm_dp_mst_topology.c u8 crc4; crc4 241 drivers/gpu/drm/drm_dp_mst_topology.c crc4 = drm_dp_msg_header_crc4(buf, (len * 2) - 1); crc4 243 drivers/gpu/drm/drm_dp_mst_topology.c if ((crc4 & 0xf) != (buf[len - 1] & 0xf)) { crc4 244 drivers/gpu/drm/drm_dp_mst_topology.c DRM_DEBUG_KMS("crc4 mismatch 0x%x 0x%x\n", crc4, buf[len - 1]); crc4 374 drivers/gpu/drm/drm_dp_mst_topology.c u8 crc4; crc4 375 drivers/gpu/drm/drm_dp_mst_topology.c crc4 = drm_dp_msg_data_crc4(msg, len); crc4 376 drivers/gpu/drm/drm_dp_mst_topology.c msg[len] = crc4; crc4 395 drivers/gpu/drm/drm_dp_mst_topology.c u8 crc4; crc4 438 drivers/gpu/drm/drm_dp_mst_topology.c crc4 = drm_dp_msg_data_crc4(msg->chunk, msg->curchunk_len - 1); crc4 1575 drivers/gpu/drm/i915/i915_irq.c u32 crc4) crc4 1579 drivers/gpu/drm/i915/i915_irq.c u32 crcs[5] = { crc0, crc1, crc2, crc3, crc4 }; crc4 1610 drivers/gpu/drm/i915/i915_irq.c u32 crc4) {} crc4 7 include/linux/crc4.h extern uint8_t crc4(uint8_t c, uint64_t x, int bits); crc4 41 lib/crc4.c EXPORT_SYMBOL_GPL(crc4);