Lines Matching refs:resume_offset
248 u32 resume_offset; member
617 u32 resume_offset; in handle_sdtr() local
625 resume_offset = resa; in handle_sdtr()
636 resume_offset = resb; in handle_sdtr()
638 return resume_offset; in handle_sdtr()
685 u32 resume_offset = 0, index; in handle_idd() local
694 resume_offset = Ent_reselect; in handle_idd()
698 targdata->resume_offset = Ent_resume_msgin2a; in handle_idd()
699 resume_offset = Ent_reselect; in handle_idd()
703 targdata->resume_offset = Ent_resume_msgin3a; in handle_idd()
704 resume_offset = Ent_reselect; in handle_idd()
708 targdata->resume_offset = Ent_resume_msgin1a; in handle_idd()
709 resume_offset = Ent_reselect; in handle_idd()
717 return resume_offset; in handle_idd()
730 u32 resume_offset = 0, index; in handle_phase_mismatch() local
746 resume_offset = Ent_resume_rej_ident; in handle_phase_mismatch()
754 resume_offset = Ent_resume_cmd; in handle_phase_mismatch()
760 resume_offset = Ent_end_data_trans; in handle_phase_mismatch()
795 resume_offset = Ent_resume_pmm; in handle_phase_mismatch()
821 resume_offset = Ent_resume_pmm; in handle_phase_mismatch()
830 resume_offset = Ent_end_data_trans; in handle_phase_mismatch()
841 return resume_offset; in handle_phase_mismatch()
851 u32 dsps, resume_offset = 0; in handle_script_int() local
861 resume_offset = Ent_reselect; in handle_script_int()
864 resume_offset = handle_sdtr(host, cmd, in handle_script_int()
868 resume_offset = handle_sdtr(host, cmd, 0, Ent_resume_msgin2b); in handle_script_int()
871 resume_offset = handle_sdtr(host, cmd, 0, Ent_resume_msgin3b); in handle_script_int()
875 targdata->resume_offset = Ent_resume_msgin1a; in handle_script_int()
876 resume_offset = Ent_reselect; in handle_script_int()
880 targdata->resume_offset = Ent_resume_msgin2a; in handle_script_int()
881 resume_offset = Ent_reselect; in handle_script_int()
885 targdata->resume_offset = Ent_resume_msgin3a; in handle_script_int()
886 resume_offset = Ent_reselect; in handle_script_int()
892 resume_offset = targdata->resume_offset; in handle_script_int()
920 return resume_offset; in handle_script_int()
1144 u32 scratch, dsps, resume_offset = 0; in sim710_intr_handle() local
1228 resume_offset = Ent_reselect; in sim710_intr_handle()
1243 resume_offset = handle_script_int(host, cmd); in sim710_intr_handle()
1245 resume_offset = handle_phase_mismatch(host, cmd); in sim710_intr_handle()
1250 resume_offset = handle_idd(host, cmd); in sim710_intr_handle()
1259 if (resume_offset) { in sim710_intr_handle()
1260 if (resume_offset == Ent_reselect) { in sim710_intr_handle()
1267 host->host_no, resume_offset/4)); in sim710_intr_handle()
1273 NCR_write32(DSP_REG, virt_to_bus(hostdata->script+resume_offset/4)); in sim710_intr_handle()
1275 if (resume_offset == Ent_reselect) in sim710_intr_handle()