Home
last modified time | relevance | path

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

/external/u-boot/cmd/
Dfdc.c163 unsigned char read_fdc_reg(unsigned int addr) in read_fdc_reg() function
188 while((read_fdc_reg(FDC_SRA)&0x80)==0) { in wait_for_fdc_int()
203 while((read_fdc_reg(FDC_MSR)&0xC0)!=0xC0) { in read_fdc_byte()
210 return read_fdc_reg(FDC_FIFO); in read_fdc_byte()
218 while((read_fdc_reg(FDC_MSR)&0xC0)==0xC0) { in fdc_need_more_output()
232 while((read_fdc_reg(FDC_MSR)&0xC0)!=0x80) { in write_fdc_byte()
329 while((read_fdc_reg(FDC_MSR)&0xC0)!=0xC0) { in fdc_issue_cmd()
332 PRINTF(" timeout while reading result%d MSR=0x%02X\n",i,read_fdc_reg(FDC_MSR)); in fdc_issue_cmd()
348 if((read_fdc_reg(FDC_DOR)&val)!=val) { in select_fdc_drive()
361 write_fdc_reg(FDC_DOR,(read_fdc_reg(FDC_DOR)&~val)); in stop_fdc_drive()
[all …]