Lines Matching refs:script

237 	u_long scriptaddr = local_to_PCI((u_long)adp->script);
354 if ((istat & ISTAT_DIP) && (dstat & DSTAT_SIR)) { /* script interrupt */
363 "script interrupt 0x%x with invalid DSA\n",
454 * restart the script now if command completed properly
514 void *scriptaddr = (void *)local_to_PCI((u_long)adp->script);
517 adp->script[Ent_resel_targ0 / 4 + adp->sel_t * 2] =
521 adp->script[free_lo + i] = htoc32(lun_switch[i]);
522 adp->script[free_lo + E_abs_lunsw_return_Used[0]] =
606 uint32_t dsa, *script = adp->script;
608 void *scriptaddr = (void *)local_to_PCI((u_long)script);
612 * The queue management here is a bit tricky: the script always looks
617 * When we're at the end of the queue wait for the script to clear it.
628 if (ctoh32(script[(Ent_script_sched_slot0 / 4) + slot * 2]) ==
642 if (ctoh32(script[(Ent_script_sched_slot0 / 4) + slot * 2]) ==
658 /* CMD script: MOVE MEMORY addr */
663 script[(Ent_script_sched_slot0 / 4) + slot * 2 + 1] =
668 script[(Ent_script_sched_slot0 / 4) + slot * 2] = htoc32(0x80080000);
672 _wbinv((u_long)script, SIOP_SCRIPT_SIZE);
673 /* Signal script it has some work to do */
698 /* The select/reselect script */
724 uint32_t *script = adp->script;
726 void *scriptaddr = (void *)local_to_PCI((u_long)adp->script);
732 if ((ctoh32(script[reseloff]) & 0xff) != 0xff) {
739 script[reseloff + 0] = htoc32(0x800c0080 | target);
740 script[reseloff + 1] =
750 uint32_t *script = adp->script;
753 script[lunsw_off + (Ent_restore_scntl3 / 4)] =
756 script[lunsw_off + (Ent_restore_scntl3 / 4) + 2] =
758 _wbinv((u_long)script, SIOP_SCRIPT_SIZE);
1138 uint32_t *script;
1153 script = ALLOC(uint32_t, SIOP_SCRIPT_SIZE);
1154 if (script == NULL)
1156 scriptaddr = (void *)local_to_PCI((u_long)script);
1201 /* copy and patch the script */
1203 script[i] = htoc32(siop_script[i]);
1205 script[E_abs_msgin_Used[i]] =
1208 /* start script */
1209 _wbinv((u_long)script, SIOP_SCRIPT_SIZE);
1216 tmp.script = script;