Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libfru/libfruraw/
H A Dcrcmodel.c93 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 Dcrcutils.c64 p_crc->cm_width = 8; in compute_crc8()
92 p_crc->cm_width = 32; in compute_crc32()
H A Dcrcmodel.h138 int cm_width; /* Parameter: Width in bits [8,32]. */ member
/titanic_44/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dcrcmodel.c94 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 Dcrcutils.c66 p_crc->cm_width = 8; in compute_crc8()
94 p_crc->cm_width = 32; in compute_crc32()
H A Dcrcmodel.h139 int cm_width; /* Parameter: Width in bits [8,32]. */ member