Lines Matching refs:esp_read

401 		version = esp_read(eregs->esp_uid);  in esp_reset_esp()
502 trash = esp_read(eregs->esp_intrpt); in esp_reset_esp()
519 esp_write(eregs->esp_cfg1, (esp_read(eregs->esp_cfg1) | ESP_CONFIG1_SRRDISAB)); in esp_bootup_reset()
525 trash = esp_read(eregs->esp_intrpt); in esp_bootup_reset()
680 if((esp_read(eregs->esp_cfg2) & ~(ESP_CONFIG2_MAGIC)) != in esp_initialize()
688 if(esp_read(eregs->esp_cfg3) != 5) { in esp_initialize()
1317 esp->esp_id, esp_read(eregs->esp_status), esp_read(eregs->esp_sstep), in esp_dump_state()
1318 esp_read(eregs->esp_intrpt))); in esp_dump_state()
1539 esp->sreg = (esp_read(eregs->esp_status) & ~(ESP_STAT_INTR)); in skipahead1()
1540 esp->ireg = esp_read(eregs->esp_intrpt); in skipahead1()
1561 esp->sreg = (esp_read(eregs->esp_status) & ~(ESP_STAT_INTR)); in skipahead2()
1562 esp->ireg = esp_read(eregs->esp_intrpt); in skipahead2()
1579 ((esp_read((__eregs)->esp_tclow)&0xff) | \
1580 ((esp_read((__eregs)->esp_tcmed)&0xff) << 8))
1583 (esp_read((__eregs)->esp_fflags) & ESP_FF_FBYTES)
1586 (esp_read((__eregs)->esp_fflags) & ESP_FF_ONOTZERO)
1612 (!(sreg_datainp((esp->sreg = esp_read(eregs->esp_status))) && !fifocnt) && in esp100_sync_hwbug()
1640 junk = esp_read(eregs->esp_intrpt); in esp100_reconnect_hwbug()
1656 it = esp_read(eregs->esp_fdata); in reconnect_target()
1676 lun = esp_read(eregs->esp_fdata); in reconnect_lun()
1810 oldphase = esp_read(eregs->esp_status) & ESP_STAT_PMASK; in esp_do_data()
1849 while (!((esp->sreg=esp_read(eregs->esp_status)) & ESP_STAT_INTR) && --timeout) in esp_do_data()
1857 fifocnt = (esp_read(eregs->esp_fflags) & ESP_FF_FBYTES); in esp_do_data()
1868 SCptr->SCp.ptr[i++] = esp_read(eregs->esp_fdata); in esp_do_data()
1878 esp->ireg = esp_read(eregs->esp_intrpt); in esp_do_data()
1900 while (!((esp->sreg=esp_read(eregs->esp_status)) & ESP_STAT_INTR) && --timeout) in esp_do_data()
1908 fifocnt = (esp_read(eregs->esp_fflags) & ESP_FF_FBYTES); in esp_do_data()
1917 esp->ireg = esp_read(eregs->esp_intrpt); in esp_do_data()
1924 esp->ireg = esp_read(eregs->esp_intrpt); in esp_do_data()
2017 fifocnt = (esp_read(eregs->esp_fflags) & ESP_FF_FBYTES); in esp_do_data_finale()
2457 while(!(esp_read(esp->eregs->esp_status) & ESP_STAT_INTR)); in esp_enter_status()
2458 esp->esp_command[0] = esp_read(eregs->esp_fdata); in esp_enter_status()
2459 while(!(esp_read(esp->eregs->esp_status) & ESP_STAT_INTR)); in esp_enter_status()
2460 esp->esp_command[1] = esp_read(eregs->esp_fdata); in esp_enter_status()
2580 fcnt = (esp_read(eregs->esp_fflags) & ESP_FF_FBYTES); in esp_select_complete()
2812 esp->sreg = esp_read(eregs->esp_status); in esp_select_complete()
2813 esp->seqreg = esp_read(eregs->esp_sstep); in esp_select_complete()
2814 esp->ireg = esp_read(eregs->esp_intrpt); in esp_select_complete()
3134 } else if((it = (esp_read(eregs->esp_fflags) & ESP_FF_FBYTES))!=1) { in esp_do_msgindone()
3139 it = esp_read(eregs->esp_fdata); in esp_do_msgindone()
3144 esp_read(eregs->esp_fdata); in esp_do_msgindone()
3185 esp->sreg = esp_read(eregs->esp_status); in esp_do_msgindone()
3408 esp->sreg = esp_read(eregs->esp_status); in esp_handle()
3410 esp->seqreg = (esp_read(eregs->esp_sstep) & ESP_STEP_VBITS); in esp_handle()
3411 esp->ireg = esp_read(eregs->esp_intrpt); /* Unlatch intr and stat regs */ in esp_handle()