Searched refs:crc_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/soc/samsung/ |
D | s3c-pm-check.c | 36 static u32 crc_size; /* size needed for the crc block */ variable 93 crc_size = 0; in s3c_pm_check_prepare() 95 s3c_pm_run_sysram(s3c_pm_countram, &crc_size); in s3c_pm_check_prepare() 97 S3C_PMDBG("s3c_pm_prepare_check: %u checks needed\n", crc_size); in s3c_pm_check_prepare() 99 crcs = kmalloc(crc_size+4, GFP_KERNEL); in s3c_pm_check_prepare() 185 if (in_region(ptr, left, crcs, crc_size)) { in s3c_pm_runcheck()
|
/linux-6.1.9/drivers/net/ethernet/sun/ |
D | cassini.c | 1931 skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); in cas_rx_process_pkt() 1948 i += cp->crc_size; in cas_rx_process_pkt() 1980 i += cp->crc_size; in cas_rx_process_pkt() 2020 hlen + cp->crc_size, in cas_rx_process_pkt() 2024 hlen + cp->crc_size, in cas_rx_process_pkt() 2036 RX_USED_ADD(page, hlen + cp->crc_size); in cas_rx_process_pkt() 2039 if (cp->crc_size) { in cas_rx_process_pkt() 2061 i += cp->crc_size; in cas_rx_process_pkt() 2082 dlen + cp->crc_size, in cas_rx_process_pkt() 2085 memcpy(p, addr, dlen + cp->crc_size); in cas_rx_process_pkt() [all …]
|
D | cassini.h | 2805 int crc_size; /* 4 if half-duplex */ member
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_vf.c | 1488 u32 crc, crc_size; in qed_vf_read_bulletin() local 1490 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin() 1501 crc = crc32(0, (u8 *)&shadow + crc_size, in qed_vf_read_bulletin() 1502 p_iov->bulletin.size - crc_size); in qed_vf_read_bulletin()
|
D | qed_sriov.c | 309 int crc_size = sizeof(p_bulletin->crc); in qed_iov_post_vf_bulletin() local 324 p_bulletin->crc = crc32(0, (u8 *)p_bulletin + crc_size, in qed_iov_post_vf_bulletin() 325 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin()
|
/linux-6.1.9/drivers/tty/ |
D | synclink_gt.c | 4543 unsigned int crc_size = 0; in rx_get_frame() local 4546 case HDLC_CRC_16_CCITT: crc_size = 2; break; in rx_get_frame() 4547 case HDLC_CRC_32_CCITT: crc_size = 4; break; in rx_get_frame() 4602 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame() 4624 framesize -= crc_size; in rx_get_frame() 4625 crc_size = 0; in rx_get_frame() 4628 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
|