Home
last modified time | relevance | path

Searched refs:blnr (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/cmd/
Dfdc.c31 unsigned long blnr; /* Logical block nr */ member
253 track = pCMD->blnr / (pFG->sect * pFG->head); /* track nr */ in fdc_issue_cmd()
254 sect = pCMD->blnr % (pFG->sect * pFG->head); /* remaining blocks */ in fdc_issue_cmd()
259 pCMD->cmd[0],track,head,sect,pCMD->drive,pCMD->blnr); in fdc_issue_cmd()
437 readblk=pFG->sect-(pCMD->blnr%pFG->sect); in fdc_read_data()
438 PRINTF("1st nr of block possible read %ld start %ld\n",readblk,pCMD->blnr); in fdc_read_data()
441 PRINTF("we read %ld blocks start %ld\n",readblk,pCMD->blnr); in fdc_read_data()
500 pCMD->blnr+=readblk; /* update current block nr */ in fdc_read_data()
539 pCMD->blnr=0; /* set to the 1st block */ in fdc_check_drive()
546 pCMD->blnr=pFG->size; /* set to the last block */ in fdc_check_drive()
[all …]