Lines Matching refs:synd
175 mcamd_synd_validate(struct mcamd_hdl *hdl, uint32_t synd, int syndtype)
181 result = (synd > 0 && synd <= 0xff);
184 result = (synd > 0 && synd <= 0xffff);
196 synd);
202 mcamd_eccsynd_decode(struct mcamd_hdl *hdl, uint32_t synd, uint_t *bitp)
206 if (synd > 0xff) {
208 "invalid synd 0x%x\n", synd);
211 if ((bit = eccsynd[synd]) == -1) {
213 "synd 0x%x is a multi-bit syndrome\n", synd);
218 "synd 0x%x is single-bit and indicates %s bit %d\n", synd,
227 mcamd_cksynd_decode(struct mcamd_hdl *hdl, uint32_t synd, uint_t *symp,
230 int pat = synd & 0xf;
235 "synd 0x%x is not a correctable syndrome\n", synd);
240 if (cksynd[pat - 1][i] == synd) {
244 "mcamd_cksynd_decode: synd 0x%x is correctable "
245 "and indicates symbol %d\n", synd, i);
251 "synd 0x%x is not a correctable syndrome\n", synd);