Home
last modified time | relevance | path

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

/linux-6.15/lib/
H A Dcrc4.c25 uint8_t crc4(uint8_t c, uint64_t x, int bits) in crc4() function
41 EXPORT_SYMBOL_GPL(crc4);
H A DMakefile158 obj-$(CONFIG_CRC4) += crc4.o
H A DKconfig203 the functions from <linux/crc4.h>.
/linux-6.15/include/linux/
H A Dcrc4.h7 extern uint8_t crc4(uint8_t c, uint64_t x, int bits);
/linux-6.15/drivers/fsi/
H A Dfsi-master-gpio.c177 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc()
180 crc = crc4(crc, msg->msg, msg->bits - top); in msg_push_crc()
378 crc = crc4(0, 1, 1); in read_one_response()
379 crc = crc4(crc, msg.msg, msg.bits); in read_one_response()
H A 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()
H A Dfsi-core.c470 crc = crc4(0, conf, 32); in fsi_slave_scan()
1003 crc = crc4(0, cfam_id, 32); in fsi_slave_init()
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst138 lib/crc4.c
/linux-6.15/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c286 u8 crc4; in drm_dp_encode_sideband_msg_hdr() local
295 crc4 = drm_dp_msg_header_crc4(buf, (idx * 2) - 1); in drm_dp_encode_sideband_msg_hdr()
296 buf[idx - 1] |= (crc4 & 0xf); in drm_dp_encode_sideband_msg_hdr()
305 u8 crc4; in drm_dp_decode_sideband_msg_hdr() local
316 crc4 = drm_dp_msg_header_crc4(buf, (len * 2) - 1); in drm_dp_decode_sideband_msg_hdr()
318 if ((crc4 & 0xf) != (buf[len - 1] & 0xf)) { in drm_dp_decode_sideband_msg_hdr()
737 u8 crc4; in drm_dp_crc_sideband_chunk_req() local
739 crc4 = drm_dp_msg_data_crc4(msg, len); in drm_dp_crc_sideband_chunk_req()
740 msg[len] = crc4; in drm_dp_crc_sideband_chunk_req()
789 u8 crc4; in drm_dp_sideband_append_payload() local
[all …]
/linux-6.15/Documentation/core-api/
H A Dkernel-api.rst139 .. kernel-doc:: lib/crc4.c
/linux-6.15/drivers/gpu/drm/i915/display/
H A Dintel_display_irq.c411 u32 crc4) in display_pipe_crc_irq_handler() argument
416 u32 crcs[5] = { crc0, crc1, crc2, crc3, crc4 }; in display_pipe_crc_irq_handler()
447 u32 crc4) {} in display_pipe_crc_irq_handler() argument