Home
last modified time | relevance | path

Searched refs:crc_size (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/arm/plat-samsung/
Dpm-check.c36 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-v5.4/drivers/net/ethernet/sun/
Dcassini.c1962 skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); in cas_rx_process_pkt()
1979 i += cp->crc_size; in cas_rx_process_pkt()
2010 i += cp->crc_size; in cas_rx_process_pkt()
2048 hlen + cp->crc_size, in cas_rx_process_pkt()
2051 hlen + cp->crc_size, in cas_rx_process_pkt()
2063 RX_USED_ADD(page, hlen + cp->crc_size); in cas_rx_process_pkt()
2066 if (cp->crc_size) { in cas_rx_process_pkt()
2088 i += cp->crc_size; in cas_rx_process_pkt()
2107 dlen + cp->crc_size, in cas_rx_process_pkt()
2110 memcpy(p, addr, dlen + cp->crc_size); in cas_rx_process_pkt()
[all …]
Dcassini.h2805 int crc_size; /* 4 if half-duplex */ member
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_vf.c1493 u32 crc, crc_size; in qed_vf_read_bulletin() local
1495 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin()
1506 crc = crc32(0, (u8 *)&shadow + crc_size, in qed_vf_read_bulletin()
1507 p_iov->bulletin.size - crc_size); in qed_vf_read_bulletin()
Dqed_sriov.c331 int crc_size = sizeof(p_bulletin->crc); in qed_iov_post_vf_bulletin() local
346 p_bulletin->crc = crc32(0, (u8 *)p_bulletin + crc_size, in qed_iov_post_vf_bulletin()
347 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin()
/Linux-v5.4/drivers/tty/
Dsynclink_gt.c4617 unsigned int crc_size = 0; in rx_get_frame() local
4620 case HDLC_CRC_16_CCITT: crc_size = 2; break; in rx_get_frame()
4621 case HDLC_CRC_32_CCITT: crc_size = 4; break; in rx_get_frame()
4676 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4698 framesize -= crc_size; in rx_get_frame()
4699 crc_size = 0; in rx_get_frame()
4702 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()