Searched refs:crc_size (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/arch/arm/plat-samsung/ |
D | 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-v4.19/drivers/net/ethernet/sun/ |
D | cassini.c | 1975 skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); in cas_rx_process_pkt() 1992 i += cp->crc_size; in cas_rx_process_pkt() 2023 i += cp->crc_size; in cas_rx_process_pkt() 2061 hlen + cp->crc_size, in cas_rx_process_pkt() 2064 hlen + cp->crc_size, in cas_rx_process_pkt() 2076 RX_USED_ADD(page, hlen + cp->crc_size); in cas_rx_process_pkt() 2079 if (cp->crc_size) { in cas_rx_process_pkt() 2101 i += cp->crc_size; in cas_rx_process_pkt() 2120 dlen + cp->crc_size, in cas_rx_process_pkt() 2123 memcpy(p, addr, dlen + cp->crc_size); in cas_rx_process_pkt() [all …]
|
D | cassini.h | 2818 int crc_size; /* 4 if half-duplex */ member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_vf.c | 1483 u32 crc, crc_size; in qed_vf_read_bulletin() local 1485 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin() 1496 crc = crc32(0, (u8 *)&shadow + crc_size, in qed_vf_read_bulletin() 1497 p_iov->bulletin.size - crc_size); in qed_vf_read_bulletin()
|
D | qed_sriov.c | 330 int crc_size = sizeof(p_bulletin->crc); in qed_iov_post_vf_bulletin() local 345 p_bulletin->crc = crc32(0, (u8 *)p_bulletin + crc_size, in qed_iov_post_vf_bulletin() 346 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin()
|
/Linux-v4.19/drivers/tty/ |
D | synclink_gt.c | 4626 unsigned int crc_size = 0; in rx_get_frame() local 4629 case HDLC_CRC_16_CCITT: crc_size = 2; break; in rx_get_frame() 4630 case HDLC_CRC_32_CCITT: crc_size = 4; break; in rx_get_frame() 4685 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame() 4707 framesize -= crc_size; in rx_get_frame() 4708 crc_size = 0; in rx_get_frame() 4711 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
|