Home
last modified time | relevance | path

Searched refs:p_cm (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dcrcmodel.c88 widmask(p_cm) in widmask() argument
91 p_cm_t p_cm; in widmask()
93 return ((((1L<<(p_cm->cm_width-1))-1L)<<1)|1L);
97 cm_ini(p_cm) in cm_ini() argument
98 p_cm_t p_cm; in cm_ini()
100 p_cm->cm_reg = p_cm->cm_init;
104 cm_nxt(p_cm, ch) in cm_nxt() argument
105 p_cm_t p_cm; in cm_nxt()
110 uint32_t topbit = BITMASK(p_cm->cm_width-1);
112 if (p_cm->cm_refin)
[all …]
H A Dcrcmodel.h149 void cm_ini P_((p_cm_t p_cm));
153 void cm_nxt P_((p_cm_t p_cm, int ch));
156 void cm_blk P_((p_cm_t p_cm, p_ubyte_ blk_adr, uint32_t blk_len));
159 uint32_t cm_crc P_((p_cm_t p_cm));
167 uint32_t cm_tab P_((p_cm_t p_cm, int index));
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dcrcmodel.c87 widmask(p_cm) in widmask() argument
90 p_cm_t p_cm; in widmask()
92 return ((((1L<<(p_cm->cm_width-1))-1L)<<1)|1L);
96 cm_ini(p_cm) in cm_ini() argument
97 p_cm_t p_cm; in cm_ini()
99 p_cm->cm_reg = p_cm->cm_init;
103 cm_nxt(p_cm, ch) in cm_nxt() argument
104 p_cm_t p_cm; in cm_nxt()
109 uint32_t topbit = BITMASK(p_cm->cm_width-1);
111 if (p_cm->cm_refin)
[all …]
H A Dcrcmodel.h152 void cm_ini P_((p_cm_t p_cm));
156 void cm_nxt P_((p_cm_t p_cm, int ch));
159 void cm_blk P_((p_cm_t p_cm, p_ubyte_ blk_adr, uint32_t blk_len));
162 uint32_t cm_crc P_((p_cm_t p_cm));
170 uint32_t cm_tab P_((p_cm_t p_cm, int index));