Lines Matching refs:script_free_lo
235 sc->script_free_lo = __arraycount(siop_script); in siop_reset()
1784 if (sc->script_free_lo + __arraycount(lun_switch) >= sc->script_free_hi) in siop_get_lunsw()
1799 printf("allocating lunsw at offset %d\n", sc->script_free_lo); in siop_get_lunsw()
1803 sc->script_free_lo * 4, lun_switch, in siop_get_lunsw()
1806 (sc->script_free_lo + E_abs_lunsw_return_Used[0]) * 4, in siop_get_lunsw()
1810 sc->sc_c.sc_script[sc->script_free_lo + i] = in siop_get_lunsw()
1813 sc->script_free_lo + E_abs_lunsw_return_Used[0]] = in siop_get_lunsw()
1817 lunsw->lunsw_off = sc->script_free_lo; in siop_get_lunsw()
1819 sc->script_free_lo += lunsw->lunsw_size; in siop_get_lunsw()
1902 if ((lunsw->lunsw_off + lunsw->lunsw_size) < sc->script_free_lo) { in siop_add_dev()
1922 if (sc->script_free_lo + 2 + in siop_add_dev()
1943 siop_script_write(sc, sc->script_free_lo, 0x98080000); in siop_add_dev()
1944 siop_script_write(sc, sc->script_free_lo + 1, A_int_resellun); in siop_add_dev()
1946 siop_script_write(sc, sc->script_free_lo - 2, in siop_add_dev()
1948 siop_script_write(sc, sc->script_free_lo - 1, 0); in siop_add_dev()
1949 siop_lun->reseloff = sc->script_free_lo - 2; in siop_add_dev()
1951 sc->script_free_lo += 2; in siop_add_dev()