Home
last modified time | relevance | path

Searched refs:crc4 (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/lib/
Dcrc4.c27 uint8_t crc4(uint8_t c, uint64_t x, int bits) in crc4() function
43 EXPORT_SYMBOL_GPL(crc4);
DMakefile109 obj-$(CONFIG_CRC4) += crc4.o
/Linux-v4.19/include/linux/
Dcrc4.h7 extern uint8_t crc4(uint8_t c, uint64_t x, int bits);
/Linux-v4.19/drivers/fsi/
Dfsi-master-gpio.c176 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc()
179 crc = crc4(crc, msg->msg, msg->bits - top); in msg_push_crc()
377 crc = crc4(0, 1, 1); in read_one_response()
378 crc = crc4(crc, msg.msg, msg.bits); in read_one_response()
Dfsi-master-ast-cf.c145 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc()
148 crc = crc4(crc, msg->msg, msg->bits - top); in msg_push_crc()
389 crc = crc4(0, 1, 1); in read_copro_response()
390 crc = crc4(crc, rtag, 4); in read_copro_response()
393 crc = crc4(crc, rdata, size); in read_copro_response()
397 crc = crc4(crc, rcrc, 4); in read_copro_response()
Dfsi-core.c496 crc = crc4(0, conf, 32); in fsi_slave_scan()
986 crc = crc4(0, cfam_id, 32); in fsi_slave_init()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_dp_mst_topology.c149 u8 crc4; in drm_dp_encode_sideband_msg_hdr() local
157 crc4 = drm_dp_msg_header_crc4(buf, (idx * 2) - 1); in drm_dp_encode_sideband_msg_hdr()
158 buf[idx - 1] |= (crc4 & 0xf); in drm_dp_encode_sideband_msg_hdr()
166 u8 crc4; in drm_dp_decode_sideband_msg_hdr() local
176 crc4 = drm_dp_msg_header_crc4(buf, (len * 2) - 1); in drm_dp_decode_sideband_msg_hdr()
178 if ((crc4 & 0xf) != (buf[len - 1] & 0xf)) { in drm_dp_decode_sideband_msg_hdr()
179 DRM_DEBUG_KMS("crc4 mismatch 0x%x 0x%x\n", crc4, buf[len - 1]); in drm_dp_decode_sideband_msg_hdr()
309 u8 crc4; in drm_dp_crc_sideband_chunk_req() local
310 crc4 = drm_dp_msg_data_crc4(msg, len); in drm_dp_crc_sideband_chunk_req()
311 msg[len] = crc4; in drm_dp_crc_sideband_chunk_req()
[all …]
/Linux-v4.19/drivers/isdn/hardware/eicon/
Dio.h142 dword crc4; member
/Linux-v4.19/Documentation/core-api/
Dkernel-api.rst115 .. kernel-doc:: lib/crc4.c
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_irq.c1746 uint32_t crc4) in display_pipe_crc_irq_handler() argument
1773 crcs[4] = crc4; in display_pipe_crc_irq_handler()
1784 uint32_t crc4) {} in display_pipe_crc_irq_handler() argument