Lines Matching refs:bcmerror
1189 bcmerrorstr(int bcmerror)
1191 /* check if someone added a bcmerror code but forgot to add errorstring */
1194 if (bcmerror > 0 || bcmerror < BCME_LAST) {
1195 snprintf(bcm_undeferrstr, sizeof(bcm_undeferrstr), "Undefined error %d", bcmerror);
1199 ASSERT(strlen(bcmerrorstrtable[-bcmerror]) < BCME_STRLEN);
1201 return bcmerrorstrtable[-bcmerror];
1234 int bcmerror = 0;
1247 bcmerror = BCME_BUFTOOSHORT;
1254 bcmerror = BCME_BUFTOOSHORT;
1261 bcmerror = BCME_UNSUPPORTED;
1264 bcmerror = BCME_BUFTOOLONG;
1271 bcmerror = BCME_UNSUPPORTED;
1274 return bcmerror;