Searched refs:new_encoding (Results 1 – 2 of 2) sorted by relevance
3875 unsigned char new_encoding; in hdlcdev_attach() local3884 case ENCODING_NRZ: new_encoding = HDLC_ENCODING_NRZ; break; in hdlcdev_attach()3885 case ENCODING_NRZI: new_encoding = HDLC_ENCODING_NRZI_SPACE; break; in hdlcdev_attach()3886 case ENCODING_FM_MARK: new_encoding = HDLC_ENCODING_BIPHASE_MARK; break; in hdlcdev_attach()3887 case ENCODING_FM_SPACE: new_encoding = HDLC_ENCODING_BIPHASE_SPACE; break; in hdlcdev_attach()3888 case ENCODING_MANCHESTER: new_encoding = HDLC_ENCODING_BIPHASE_LEVEL; break; in hdlcdev_attach()3900 info->params.encoding = new_encoding; in hdlcdev_attach()
1349 unsigned char new_encoding; in hdlcdev_attach() local1360 case ENCODING_NRZ: new_encoding = HDLC_ENCODING_NRZ; break; in hdlcdev_attach()1361 case ENCODING_NRZI: new_encoding = HDLC_ENCODING_NRZI_SPACE; break; in hdlcdev_attach()1362 case ENCODING_FM_MARK: new_encoding = HDLC_ENCODING_BIPHASE_MARK; break; in hdlcdev_attach()1363 case ENCODING_FM_SPACE: new_encoding = HDLC_ENCODING_BIPHASE_SPACE; break; in hdlcdev_attach()1364 case ENCODING_MANCHESTER: new_encoding = HDLC_ENCODING_BIPHASE_LEVEL; break; in hdlcdev_attach()1376 info->params.encoding = new_encoding; in hdlcdev_attach()