Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/soc/samsung/
Ds3c-pm-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-v6.6/drivers/net/ethernet/sun/
Dcassini.c1929 skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); in cas_rx_process_pkt()
1946 i += cp->crc_size; in cas_rx_process_pkt()
1976 i += cp->crc_size; in cas_rx_process_pkt()
2013 hlen + cp->crc_size, in cas_rx_process_pkt()
2017 hlen + cp->crc_size, in cas_rx_process_pkt()
2027 RX_USED_ADD(page, hlen + cp->crc_size); in cas_rx_process_pkt()
2030 if (cp->crc_size) in cas_rx_process_pkt()
2050 i += cp->crc_size; in cas_rx_process_pkt()
2069 dlen + cp->crc_size, in cas_rx_process_pkt()
2071 memcpy(p, page_address(page->buffer), dlen + cp->crc_size); in cas_rx_process_pkt()
[all …]
Dcassini.h2805 int crc_size; /* 4 if half-duplex */ member
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_vf.c1477 u32 crc, crc_size; in qed_vf_read_bulletin() local
1479 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin()
1490 crc = crc32(0, (u8 *)&shadow + crc_size, in qed_vf_read_bulletin()
1491 p_iov->bulletin.size - crc_size); in qed_vf_read_bulletin()
Dqed_sriov.c309 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-v6.6/drivers/tty/
Dsynclink_gt.c4525 unsigned int crc_size = 0; in rx_get_frame() local
4528 case HDLC_CRC_16_CCITT: crc_size = 2; break; in rx_get_frame()
4529 case HDLC_CRC_32_CCITT: crc_size = 4; break; in rx_get_frame()
4584 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4606 framesize -= crc_size; in rx_get_frame()
4607 crc_size = 0; in rx_get_frame()
4610 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()