Searched refs:cm_width (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libfru/libfruraw/
H A Dcrcmodel.c89 /* Returns a longword whose value is (2^p_cm->cm_width)-1. */
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);
H A Dcrcmodel.h69 * p_cm->cm_width = 16;
138 int cm_width; /* Parameter: Width in bits [8,32]. */ member in struct:__anon1671
173 /* The function examines the fields cm_width, cm_poly, cm_refin, and the */
175 /* the bottom cm_width bytes of the return value. */
H A Dcrcutils.c64 p_crc->cm_width = 8;
92 p_crc->cm_width = 32;

Completed in 19 milliseconds