Searched refs:new_crctype (Results 1 – 2 of 2) sorted by relevance
3876 unsigned short new_crctype; in hdlcdev_attach() local3894 case PARITY_NONE: new_crctype = HDLC_CRC_NONE; break; in hdlcdev_attach()3895 case PARITY_CRC16_PR1_CCITT: new_crctype = HDLC_CRC_16_CCITT; break; in hdlcdev_attach()3896 case PARITY_CRC32_PR1_CCITT: new_crctype = HDLC_CRC_32_CCITT; break; in hdlcdev_attach()3901 info->params.crc_type = new_crctype; in hdlcdev_attach()
1350 unsigned short new_crctype; in hdlcdev_attach() local1370 case PARITY_NONE: new_crctype = HDLC_CRC_NONE; break; in hdlcdev_attach()1371 case PARITY_CRC16_PR1_CCITT: new_crctype = HDLC_CRC_16_CCITT; break; in hdlcdev_attach()1372 case PARITY_CRC32_PR1_CCITT: new_crctype = HDLC_CRC_32_CCITT; break; in hdlcdev_attach()1377 info->params.crc_type = new_crctype; in hdlcdev_attach()