Lines Matching refs:offset
381 /* Get signature of device and check offset of binary partition */
483 * considered to be like a disk (you need to specify the offset).
500 int offset;
505 offset = (int) buffer->buf_offset;
508 if ((offset + blen) > softc->real_part_size) {
509 blen = softc->real_part_size - offset;
512 printf("bdkdrv_read: bptr=0x%x blen=%d offset=%d\n",
513 (unsigned)bptr, blen, offset);
517 startUnit = offset / softc->unit_size; /* e.g. 512/32K */
527 memcpy(bptr, tmp + offset, blen);
578 * considered to be like a disk (you need to specify the offset).
593 int offset;
599 offset = (int) buffer->buf_offset;
602 if ((offset + blen) > softc->bdkdrv_devsize) {
603 blen = softc->bdkdrv_devsize - offset;
607 res = FLASHOP_WRITE_BLOCK(softc,offset,bptr,blen);