Lines Matching refs:position
418 u16 rambase, position, crc = 0;
437 for (position = 0; position < fw->size; position++) {
441 buf[0] = ((rambase + position) >> 8);
442 buf[1] = (rambase + position) & 0xFF;
451 nxt200x_writebytes(state, chunkpos, &fw->data[position-3], 4);
453 crc = nxt200x_crc(crc, fw->data[position]);
455 if ((written == 255) || (position+1 == fw->size)) {
458 &fw->data[position-(written %4) + 1],
485 u16 rambase, position, crc=0;
498 for (position = 0; position < fw->size; position++) {
499 crc = nxt200x_crc(crc, fw->data[position]);
508 for (position = 0; position < fw->size;) {
509 nxt200x_writebytes(state, 0x2C, &fw->data[position],
510 fw->size-position > 255 ? 255 : fw->size-position);
511 position += (fw->size-position > 255 ? 255 : fw->size-position);