Lines Matching refs:NCR_ESP
96 struct NCR_ESP *espchain = 0;
292 inline void esp_cmd(struct NCR_ESP *esp, struct ESP_regs *eregs, in esp_cmd()
374 static void esp_reset_esp(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_reset_esp()
507 void esp_bootup_reset(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_bootup_reset()
531 struct NCR_ESP* esp_allocate(Scsi_Host_Template *tpnt, void *esp_dev) in esp_allocate()
533 struct NCR_ESP *esp, *elink; in esp_allocate()
536 esp_host = scsi_register(tpnt, sizeof(struct NCR_ESP)); in esp_allocate()
539 esp = (struct NCR_ESP *) esp_host->hostdata; in esp_allocate()
562 void esp_deallocate(struct NCR_ESP *esp) in esp_deallocate()
564 struct NCR_ESP *elink; in esp_deallocate()
580 void esp_initialize(struct NCR_ESP *esp) in esp_initialize()
747 struct NCR_ESP *esp; in esp_info()
749 esp = (struct NCR_ESP *) host->hostdata; in esp_info()
815 static int esp_host_info(struct NCR_ESP *esp, char *ptr, off_t offset, int len) in esp_host_info()
893 struct NCR_ESP *esp; in esp_proc_info()
911 static void esp_get_dmabufs(struct NCR_ESP *esp, Scsi_Cmnd *sp) in esp_get_dmabufs()
934 static void esp_release_dmabufs(struct NCR_ESP *esp, Scsi_Cmnd *sp) in esp_release_dmabufs()
945 static void esp_restore_pointers(struct NCR_ESP *esp, Scsi_Cmnd *sp) in esp_restore_pointers()
955 static void esp_save_pointers(struct NCR_ESP *esp, Scsi_Cmnd *sp) in esp_save_pointers()
985 static inline void esp_check_cmd(struct NCR_ESP *esp, Scsi_Cmnd *sp) in esp_check_cmd()
1002 static inline void build_sync_nego_msg(struct NCR_ESP *esp, int period, int offset) in build_sync_nego_msg()
1012 static void esp_exec_cmd(struct NCR_ESP *esp) in esp_exec_cmd()
1242 struct NCR_ESP *esp; in esp_queue()
1248 esp = (struct NCR_ESP *) SCpnt->host->hostdata; in esp_queue()
1284 struct NCR_ESP *esp = (struct NCR_ESP *) SCpnt->host->hostdata; in esp_command()
1301 static void esp_dump_state(struct NCR_ESP *esp, in esp_dump_state()
1357 struct NCR_ESP *esp = (struct NCR_ESP *) SCptr->host->hostdata; in esp_abort()
1433 static int esp_finish_reset(struct NCR_ESP *esp, in esp_finish_reset()
1467 static int esp_do_resetbus(struct NCR_ESP *esp, in esp_do_resetbus()
1482 struct NCR_ESP *esp = (struct NCR_ESP *) SCptr->host->hostdata; in esp_reset()
1489 static void esp_done(struct NCR_ESP *esp, int error) in esp_done()
1515 static int esp_do_phase_determine(struct NCR_ESP *esp,
1517 static int esp_do_data_finale(struct NCR_ESP *esp, struct ESP_regs *eregs);
1518 static int esp_select_complete(struct NCR_ESP *esp, struct ESP_regs *eregs);
1519 static int esp_do_status(struct NCR_ESP *esp, struct ESP_regs *eregs);
1520 static int esp_do_msgin(struct NCR_ESP *esp, struct ESP_regs *eregs);
1521 static int esp_do_msgindone(struct NCR_ESP *esp, struct ESP_regs *eregs);
1522 static int esp_do_msgout(struct NCR_ESP *esp, struct ESP_regs *eregs);
1523 static int esp_do_cmdbegin(struct NCR_ESP *esp, struct ESP_regs *eregs);
1531 static inline int skipahead1(struct NCR_ESP *esp, struct ESP_regs *eregs, in skipahead1()
1551 static inline int skipahead2(struct NCR_ESP *esp, in skipahead2()
1607 static inline int esp100_sync_hwbug(struct NCR_ESP *esp, struct ESP_regs *eregs, in esp100_sync_hwbug()
1633 static inline int esp100_reconnect_hwbug(struct NCR_ESP *esp, in esp100_reconnect_hwbug()
1650 static inline int reconnect_target(struct NCR_ESP *esp, struct ESP_regs *eregs) in reconnect_target()
1670 static inline int reconnect_lun(struct NCR_ESP *esp, struct ESP_regs *eregs) in reconnect_lun()
1696 static inline void esp_connect(struct NCR_ESP *esp, struct ESP_regs *eregs, in esp_connect()
1720 static inline void esp_reconnect(struct NCR_ESP *esp, Scsi_Cmnd *sp) in esp_reconnect()
1732 static int esp_do_msgin(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_msgin()
1743 static inline void advance_sg(struct NCR_ESP *esp, Scsi_Cmnd *sp) in advance_sg()
1772 static int esp_do_data(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_data()
1979 static int esp_do_data_finale(struct NCR_ESP *esp, in esp_do_data_finale()
2187 static int esp_do_freebus(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_freebus()
2258 static int esp_bad_reconnect(struct NCR_ESP *esp) in esp_bad_reconnect()
2290 static int esp_do_reconnect(struct NCR_ESP *esp, in esp_do_reconnect()
2334 static int esp_do_status(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_status()
2447 static int esp_enter_status(struct NCR_ESP *esp, in esp_enter_status()
2474 static int esp_disconnect_amidst_phases(struct NCR_ESP *esp, in esp_disconnect_amidst_phases()
2519 static int esp_enter_msgout(struct NCR_ESP *esp, in esp_enter_msgout()
2526 static int esp_enter_msgin(struct NCR_ESP *esp, in esp_enter_msgin()
2533 static int esp_enter_cmd(struct NCR_ESP *esp, in esp_enter_cmd()
2540 static int esp_enter_badphase(struct NCR_ESP *esp, in esp_enter_badphase()
2548 typedef int (*espfunc_t)(struct NCR_ESP *,
2565 static int esp_do_phase_determine(struct NCR_ESP *esp, in esp_do_phase_determine()
2574 static int esp_select_complete(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_select_complete()
2826 static int esp_do_msgincont(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_msgincont()
2851 static int check_singlebyte_msg(struct NCR_ESP *esp, in check_singlebyte_msg()
2929 static int target_with_ants_in_pants(struct NCR_ESP *esp, in target_with_ants_in_pants()
2948 static void sync_report(struct NCR_ESP *esp) in sync_report()
2982 static int check_multibyte_msg(struct NCR_ESP *esp, in check_multibyte_msg()
3121 static int esp_do_msgindone(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_msgindone()
3195 static int esp_do_cmdbegin(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_cmdbegin()
3209 static int esp_do_cmddone(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_cmddone()
3221 static int esp_do_msgout(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_do_msgout()
3297 static int esp_do_msgoutdone(struct NCR_ESP *esp, in esp_do_msgoutdone()
3341 static int esp_bus_unexpected(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_bus_unexpected()
3368 static int esp_work_bus(struct NCR_ESP *esp, struct ESP_regs *eregs) in esp_work_bus()
3396 void esp_handle(struct NCR_ESP *esp) in esp_handle()
3546 struct NCR_ESP *esp; in esp_intr()
3581 struct NCR_ESP *esp; in esp_intr()