Searched refs:crc_size (Results 1 – 4 of 4) sorted by relevance
| /linux/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()
|
| /linux/drivers/net/wan/ |
| H A D | fsl_qmc_hdlc.c | 252 size_t crc_size; in qmc_hcld_recv_complete() local 275 crc_size = qmc_hdlc->is_crc32 ? 4 : 2; in qmc_hcld_recv_complete() 276 if (length < crc_size) { in qmc_hcld_recv_complete() 281 length -= crc_size; in qmc_hcld_recv_complete()
|
| /linux/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()
|