Lines Matching refs:SINDEX

166 		and	SINDEX,~SELBUSB,SBLKCTL;/* Clear channel select bit */
168 or SINDEX,A;
169 mov SBLKCTL,SINDEX; /* select channel */
194 * SINDEX should contain any additional bit's the client wants
198 or SXFRCTL0, CLRSTCNT|CLRCHN, SINDEX;
201 mvi SINDEX, ULTRA_ENB+1;
203 dec SINDEX;
225 add SINDEX, TARG_OFFSET, A;
229 add SINDEX,TARG_SCSIRATE,A;
439 /* Exit if we had an underrun. dma clears SINDEX in this case. */
440 test SINDEX,0xff jz data_phase_finish;
711 mov SINDEX, MSG_OUT;
712 cmp SINDEX, MSG_IDENTIFYFLAG jne p_mesgout_from_host;
715 and SINDEX,0xf,SCB_TCL; /* lun */
717 and SINDEX,0x7,SCB_TCL; /* lun */
720 or SINDEX,A; /* or in disconnect privilege */
721 or SINDEX,MSG_IDENTIFYFLAG;
724 mov SCSIDATL, SINDEX; /* Send the last byte */
732 mov SCSIDATL, SINDEX; /* Send the identify message */
744 cmp SINDEX, HOST_MSG jne p_mesgout_onebyte;
754 mov SCSIDATL, SINDEX;
1034 * Locking the driver out, build a one-byte message passed in SINDEX
1035 * if there is no active message already. SINDEX is returned intact.
1039 mov MSG_OUT,SINDEX ret;
1070 mov DINDEX,SINDEX;
1085 * SINDEX should contain the value to load DFCNTRL with - 0x3d for
1091 mov DFCNTRL,SINDEX;
1097 mov SINDEX,ALLZEROS; /* Notify caller of phasemiss */
1155 * via SINDEX which is an SCB that must be on the disconnected list. If
1156 * the SCB cannot be found, SINDEX will be SCB_LIST_NULL, otherwise, SCBPTR
1160 mov SCBPTR,SINDEX; /* Initialize SCBPTR */
1163 mvi SCB_TCL jmp findSCB_loop; /* &SCB_TCL -> SINDEX */
1166 mvi SCB_TAG jmp findSCB_loop; /* &SCB_TAG -> SINDEX */
1171 dec SINDEX; /* Last comparison moved us too far */
1174 mov SINDEX, SCBPTR ret;
1176 mvi SINDEX, SCB_LIST_NULL ret;
1181 * ARG_1 is the SCBID of interest and that SINDEX is the position in the
1182 * disconnected list to start the search from. If SINDEX is SCB_LIST_NULL,
1188 cmp SINDEX, SCB_LIST_NULL je retrieve_from_host;
1191 * This routine expects SINDEX to contain the index of the SCB to be
1202 mov SCBPTR, SINDEX ret;
1229 cmp SINDEX, SCB_LIST_NULL je get_SCBID_from_host;
1236 * Fetch a byte from host memory given an index of (A + (256 * SINDEX))
1240 mov ARG_2, SINDEX;
1262 * index of (A + (256 * SINDEX)) and a base address of SCBID_ADDR.
1265 mov ARG_2, SINDEX;
1282 bmov CCSCBRAM, SINDEX, 1;
1287 mov DFDAT, SINDEX;
1324 * an array of 32byte objects, SINDEX contains
1334 * index into an array of 1byte objects, SINDEX contains
1349 * DIRECTION bit in DMAPARAMS. The host SCB index is in SINDEX.
1352 mov A, SINDEX;
1396 mvi SINDEX, SCB_CONTROL;
1397 add A, 32, SINDEX;
1407 cmp SINDEX, A jne copy_scb_tofifo_loop;
1451 add SINDEX, A, HCNT;
1519 mvi SINDEX, SCB_LIST_NULL ret;