/kernel/linux/linux-5.10/drivers/soc/samsung/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/soc/samsung/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
H A D | cassini.c | 1942 skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); in cas_rx_process_pkt() 1959 i += cp->crc_size; in cas_rx_process_pkt() 1991 i += cp->crc_size; in cas_rx_process_pkt() 2031 hlen + cp->crc_size, in cas_rx_process_pkt() 2035 hlen + cp->crc_size, in cas_rx_process_pkt() 2047 RX_USED_ADD(page, hlen + cp->crc_size); in cas_rx_process_pkt() 2050 if (cp->crc_size) { in cas_rx_process_pkt() 2072 i += cp->crc_size; in cas_rx_process_pkt() 2093 dlen + cp->crc_size, in cas_rx_process_pkt() 2096 memcpy(p, addr, dlen + cp->crc_size); in cas_rx_process_pkt() [all...] |
H A D | cassini.h | 2805 int crc_size; /* 4 if half-duplex */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
H A D | cassini.c | 1929 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...] |
H A D | cassini.h | 2805 int crc_size; /* 4 if half-duplex */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_vf.c | 1487 u32 crc, crc_size; in qed_vf_read_bulletin() local 1489 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin() 1500 crc = crc32(0, (u8 *)&shadow + crc_size, in qed_vf_read_bulletin() 1501 p_iov->bulletin.size - crc_size); in qed_vf_read_bulletin()
|
H A D | qed_sriov.c | 307 int crc_size = sizeof(p_bulletin->crc); in qed_iov_post_vf_bulletin() local 322 p_bulletin->crc = crc32(0, (u8 *)p_bulletin + crc_size, in qed_iov_post_vf_bulletin() 323 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_vf.c | 1477 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | synclink_gt.c | 4565 unsigned int crc_size = 0; in rx_get_frame() local 4568 case HDLC_CRC_16_CCITT: crc_size = 2; break; in rx_get_frame() 4569 case HDLC_CRC_32_CCITT: crc_size = 4; break; in rx_get_frame() 4624 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame() 4646 framesize -= crc_size; in rx_get_frame() 4647 crc_size = 0; in rx_get_frame() 4650 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
|
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | synclink_gt.c | 4525 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()
|