Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/plat-samsung/
Dpm-check.c40 static u32 crc_size; /* size needed for the crc block */ variable
97 crc_size = 0; in s3c_pm_check_prepare()
99 s3c_pm_run_sysram(s3c_pm_countram, &crc_size); in s3c_pm_check_prepare()
101 S3C_PMDBG("s3c_pm_prepare_check: %u checks needed\n", crc_size); in s3c_pm_check_prepare()
103 crcs = kmalloc(crc_size+4, GFP_KERNEL); in s3c_pm_check_prepare()
189 if (in_region(ptr, left, crcs, crc_size)) { in s3c_pm_runcheck()
/linux-2.6.39/drivers/net/
Dcassini.c1976 skb = dev_alloc_skb(alloclen + swivel + cp->crc_size); in cas_rx_process_pkt()
1993 i += cp->crc_size; in cas_rx_process_pkt()
2024 i += cp->crc_size; in cas_rx_process_pkt()
2062 hlen + cp->crc_size, in cas_rx_process_pkt()
2065 hlen + cp->crc_size, in cas_rx_process_pkt()
2077 RX_USED_ADD(page, hlen + cp->crc_size); in cas_rx_process_pkt()
2080 if (cp->crc_size) { in cas_rx_process_pkt()
2102 i += cp->crc_size; in cas_rx_process_pkt()
2121 dlen + cp->crc_size, in cas_rx_process_pkt()
2124 memcpy(p, addr, dlen + cp->crc_size); in cas_rx_process_pkt()
[all …]
Dcassini.h2819 int crc_size; /* 4 if half-duplex */ member
/linux-2.6.39/drivers/tty/
Dsynclink_gt.c4650 unsigned int crc_size = 0; in rx_get_frame() local
4653 case HDLC_CRC_16_CCITT: crc_size = 2; break; in rx_get_frame()
4654 case HDLC_CRC_32_CCITT: crc_size = 4; break; in rx_get_frame()
4709 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4731 framesize -= crc_size; in rx_get_frame()
4732 crc_size = 0; in rx_get_frame()
4735 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()