Lines Matching refs:crc_range
1215 uint i, nw, crc_range; local
1243 crc_range = SROM_MAX;
1247 crc_range = srom_size(sih, osh);
1250 nw = crc_range / 2;
1252 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE))
1390 crc_range = nw * 2;
1391 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1396 crc_range = nw * 2;
1397 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1402 crc_range = nw * 2;
1403 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1408 crc_range = nw * 2;
1409 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1414 crc_range = nw * 2;
1415 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1420 crc_range = nw * 2;
1421 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1426 crc_range = nw * 2;
1427 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1432 crc_range = nw * 2;
1433 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1439 crc_range = nw * 2;
1440 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1445 ASSERT(crc_range >= SROM_WORDS * 2);
1447 crc_range = nw * 2;
1452 crc_range = 0;
1461 if (crc_range) {
1463 htol16_buf(new, crc_range);
1464 crc = ~hndcrc8((uint8 *)new, crc_range - 1, CRC8_INIT_VALUE);
1465 ltoh16_buf(new, crc_range);