Searched refs:readblk (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/cmd/ |
D | fdc.c | 408 unsigned long len,readblk,i,timeout,ii,offset; in fdc_read_data() local 436 readblk=pFG->sect-(pCMD->blnr%pFG->sect); in fdc_read_data() 437 PRINTF("1st nr of block possible read %ld start %ld\n",readblk,pCMD->blnr); in fdc_read_data() 438 if(readblk>blocks) /* is end within 1st track */ in fdc_read_data() 439 readblk=blocks; /* yes, correct it */ in fdc_read_data() 440 PRINTF("we read %ld blocks start %ld\n",readblk,pCMD->blnr); in fdc_read_data() 444 len=sect_size * readblk; in fdc_read_data() 497 offset+=(sect_size*readblk); /* set up buffer pointer */ in fdc_read_data() 499 pCMD->blnr+=readblk; /* update current block nr */ in fdc_read_data() 500 blocks-=readblk; /* update blocks */ in fdc_read_data() [all …]
|