Home
last modified time | relevance | path

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

/illumos-gate/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.h134 int cm_width; /* Parameter: Width in bits [8,32]. */ member
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dcrcmodel.c92 return ((((1L<<(p_cm->cm_width-1))-1L)<<1)|1L);
109 uint32_t topbit = BITMASK(p_cm->cm_width-1);
114 p_cm->cm_reg ^= (uch << (p_cm->cm_width-8));
140 return (p_cm->cm_xorot ^ reflect(p_cm->cm_reg, p_cm->cm_width));
152 uint32_t topbit = BITMASK(p_cm->cm_width-1);
158 r = inbyte << (p_cm->cm_width-8);
166 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.h137 int cm_width; /* Parameter: Width in bits [8,32]. */ member