Searched refs:crc_size (Results 1 – 8 of 8) sorted by relevance
| /drivers/soc/samsung/ |
| 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()
|
| /drivers/hwtracing/coresight/ |
| A D | coresight-tmc.h | 421 unsigned long crc_size; in find_crash_metadata_crc() local 423 crc_size = sizeof(struct tmc_crash_metadata) - in find_crash_metadata_crc() 425 return crc32_le(0, (void *)&md->crc32_tdata, crc_size); in find_crash_metadata_crc() 431 unsigned long crc_size; in find_crash_tracedata_crc() local 434 crc_size = md->tmc_ram_size << 2; in find_crash_tracedata_crc() 435 return crc32_le(0, (void *)drvdata->resrv_buf.vaddr, crc_size); in find_crash_tracedata_crc()
|
| /drivers/net/wan/ |
| A D | fsl_qmc_hdlc.c | 253 size_t crc_size; in qmc_hcld_recv_complete() local 276 crc_size = qmc_hdlc->is_crc32 ? 4 : 2; in qmc_hcld_recv_complete() 277 if (length < crc_size) { in qmc_hcld_recv_complete() 282 length -= crc_size; in qmc_hcld_recv_complete()
|
| /drivers/net/ethernet/sun/ |
| A D | cassini.c | 1947 i += cp->crc_size; in cas_rx_process_pkt() 1977 i += cp->crc_size; in cas_rx_process_pkt() 2014 hlen + cp->crc_size, in cas_rx_process_pkt() 2031 if (cp->crc_size) in cas_rx_process_pkt() 2051 i += cp->crc_size; in cas_rx_process_pkt() 2070 dlen + cp->crc_size, in cas_rx_process_pkt() 2080 if (cp->crc_size) in cas_rx_process_pkt() 2087 if (cp->crc_size) { in cas_rx_process_pkt() 3610 cp->crc_size = 4; in cas_set_link_modes() 3623 cp->crc_size = 0; in cas_set_link_modes() [all …]
|
| A D | cassini.h | 2805 int crc_size; /* 4 if half-duplex */ member
|
| /drivers/net/ethernet/qlogic/qed/ |
| 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()
|
| 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()
|
| /drivers/tty/ |
| A D | synclink_gt.c | 4526 unsigned int crc_size = 0; in rx_get_frame() local 4529 case HDLC_CRC_16_CCITT: crc_size = 2; break; in rx_get_frame() 4530 case HDLC_CRC_32_CCITT: crc_size = 4; break; in rx_get_frame() 4585 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame() 4607 framesize -= crc_size; in rx_get_frame() 4608 crc_size = 0; in rx_get_frame() 4611 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
|
Completed in 836 milliseconds