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

/illumos-gate/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:__anon3248
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;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dcrcmodel.c90 /* Returns a longword whose value is (2^p_cm->cm_width)-1. */
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);
H A Dcrcmodel.h70 * p_cm->cm_width = 16;
139 int cm_width; /* Parameter: Width in bits [8,32]. */ member in struct:__anon1144
174 /* The function examines the fields cm_width, cm_poly, cm_refin, and the */
176 /* the bottom cm_width bytes of the return value. */
H A Dcrcutils.c66 p_crc->cm_width = 8;
94 p_crc->cm_width = 32;

Completed in 60 milliseconds