Lines Matching refs:script

260 	u_long scriptaddr = local_to_PCI((u_long)adp->script);  in siop_intr()
535 void *scriptaddr = (void *)local_to_PCI((u_long)adp->script); in siop_scsi_request()
538 adp->script[Ent_resel_targ0 / 4 + adp->sel_t * 2] = in siop_scsi_request()
542 adp->script[free_lo + i] = htoc32(lun_switch[i]); in siop_scsi_request()
543 adp->script[free_lo + E_abs_lunsw_return_Used[0]] = in siop_scsi_request()
627 uint32_t dsa, *script = adp->script; in siop_start() local
629 void *scriptaddr = (void *)local_to_PCI((u_long)script); in siop_start()
649 if (ctoh32(script[(Ent_script_sched_slot0 / 4) + slot * 2]) == in siop_start()
663 if (ctoh32(script[(Ent_script_sched_slot0 / 4) + slot * 2]) == in siop_start()
684 script[(Ent_script_sched_slot0 / 4) + slot * 2 + 1] = in siop_start()
689 script[(Ent_script_sched_slot0 / 4) + slot * 2] = htoc32(0x80080000); in siop_start()
693 _wbinv((u_long)script, SIOP_SCRIPT_SIZE); in siop_start()
745 uint32_t *script = adp->script; in siop_add_reselsw() local
747 void *scriptaddr = (void *)local_to_PCI((u_long)adp->script); in siop_add_reselsw()
753 if ((ctoh32(script[reseloff]) & 0xff) != 0xff) { in siop_add_reselsw()
760 script[reseloff + 0] = htoc32(0x800c0080 | target); in siop_add_reselsw()
761 script[reseloff + 1] = in siop_add_reselsw()
771 uint32_t *script = adp->script; in siop_update_scntl3() local
774 script[lunsw_off + (Ent_restore_scntl3 / 4)] = in siop_update_scntl3()
777 script[lunsw_off + (Ent_restore_scntl3 / 4) + 2] = in siop_update_scntl3()
779 _wbinv((u_long)script, SIOP_SCRIPT_SIZE); in siop_update_scntl3()
1176 uint32_t *script; in siop_init() local
1191 script = ALLOC(uint32_t, SIOP_SCRIPT_SIZE); in siop_init()
1192 if (script == NULL) in siop_init()
1194 scriptaddr = (void *)local_to_PCI((u_long)script); in siop_init()
1244 script[i] = htoc32(siop_script[i]); in siop_init()
1246 script[E_abs_msgin_Used[i]] = in siop_init()
1250 _wbinv((u_long)script, SIOP_SCRIPT_SIZE); in siop_init()
1257 tmp.script = script; in siop_init()