Searched refs:cm_width (Results 1 – 6 of 6) sorted by relevance
93 return ((((1L<<(p_cm->cm_width-1))-1L)<<1)|1L);110 uint32_t topbit = BITMASK(p_cm->cm_width-1);115 p_cm->cm_reg ^= (uch << (p_cm->cm_width-8));141 return (p_cm->cm_xorot ^ reflect(p_cm->cm_reg, p_cm->cm_width));153 uint32_t topbit = BITMASK(p_cm->cm_width-1);159 r = inbyte << (p_cm->cm_width-8);167 r = reflect(r, p_cm->cm_width);
64 p_crc->cm_width = 8; in compute_crc8()92 p_crc->cm_width = 32; in compute_crc32()
138 int cm_width; /* Parameter: Width in bits [8,32]. */ member
94 return ((((1L<<(p_cm->cm_width-1))-1L)<<1)|1L);111 uint32_t topbit = BITMASK(p_cm->cm_width-1);116 p_cm->cm_reg ^= (uch << (p_cm->cm_width-8));142 return (p_cm->cm_xorot ^ reflect(p_cm->cm_reg, p_cm->cm_width));154 uint32_t topbit = BITMASK(p_cm->cm_width-1);160 r = inbyte << (p_cm->cm_width-8);168 r = reflect(r, p_cm->cm_width);
66 p_crc->cm_width = 8; in compute_crc8()94 p_crc->cm_width = 32; in compute_crc32()
139 int cm_width; /* Parameter: Width in bits [8,32]. */ member