Lines Matching +full:dsa +full:- +full:specific

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * Copyright (C) 1998-2000 Gerard Roudier
12 * a port of the FreeBSD ncr driver to Linux-1.2.13.
16 * Stefan Esser <se@mi.Uni-Koeln.de>
24 *-----------------------------------------------------------------------------
28 * Scripts for SYMBIOS-Processor
38 * Script fragments which are loaded into the on-chip RAM
130 * except for chips that support 8K on-chip RAM.
201 /*--------------------------< START >----------------------------*/ {
233 * @DSA = start point for this job.
241 * may happen that the job address is not yet in the DSA
244 SCR_LOAD_ABS (dsa, 4),
248 }/*-------------------------< GETJOB_BEGIN >---------------------*/,{
251 SCR_LOAD_REL (dsa, 4),
253 }/*-------------------------< GETJOB_END >-----------------------*/,{
258 }/*-------------------------< SELECT >---------------------------*/,{
260 * DSA contains the address of a scheduled
295 * complete or selection time-out to occur.
308 * registers aren't up-to-date for this IO.
313 }/*-------------------------< IS_DMAP_DIRTY >--------------------*/,{
319 }/*-------------------------< WF_SEL_DONE >----------------------*/,{
322 }/*-------------------------< SEL_DONE >-------------------------*/,{
324 * C1010-33 errata work-around.
332 }/*-------------------------< SEND_IDENT >-----------------------*/,{
340 }/*-------------------------< SELECT2 >--------------------------*/,{
359 }/*-------------------------< COMMAND >--------------------------*/,{
365 }/*-------------------------< DISPATCH >-------------------------*/,{
392 -16,
398 -16,
403 }/*-------------------------< SEL_NO_CMD >-----------------------*/,{
429 }/*-------------------------< INIT >-----------------------------*/,{
439 -16,
442 }/*-------------------------< CLRACK >---------------------------*/,{
450 }/*-------------------------< DATAI_DONE >-----------------------*/,{
468 }/*-------------------------< DATAI_DONE_WSR >-------------------*/,{
509 }/*-------------------------< DATAO_DONE >-----------------------*/,{
527 }/*-------------------------< DATAO_DONE_WSS >-------------------*/,{
541 }/*-------------------------< DATAI_PHASE >----------------------*/,{
549 }/*-------------------------< DATAO_PHASE >----------------------*/,{
551 * C1010-66 errata work-around.
565 }/*-------------------------< MSG_IN >---------------------------*/,{
574 }/*-------------------------< MSG_IN2 >--------------------------*/,{
589 * C code, so no need to waste on-chip RAM
594 }/*-------------------------< STATUS >---------------------------*/,{
627 }/*-------------------------< COMPLETE >-------------------------*/,{
649 }/*-------------------------< COMPLETE2 >------------------------*/,{
675 * If we performed an auto-sense, call
683 }/*-------------------------< DONE >-----------------------------*/,{
685 * Copy the DSA to the DONE QUEUE and
691 SCR_STORE_ABS (dsa, 4),
693 SCR_LOAD_ABS (dsa, 4),
703 * are flushed and so the DSA value of the done
712 }/*-------------------------< DONE_END >-------------------------*/,{
715 }/*-------------------------< COMPLETE_ERROR >-------------------*/,{
720 }/*-------------------------< SAVE_DP >--------------------------*/,{
751 }/*-------------------------< RESTORE_DP >-----------------------*/,{
767 }/*-------------------------< DISCONNECT >-----------------------*/,{
795 }/*-------------------------< IDLE >-----------------------------*/,{
808 }/*-------------------------< UNGETJOB >-------------------------*/,{
824 SCR_LOAD_REG (dsa, 0xff),
828 }/*-------------------------< RESELECT >-------------------------*/,{
841 }/*-------------------------< RESELECTED >-----------------------*/,{
859 SCR_LOAD_ABS (dsa, 4),
861 SCR_SFBR_REG (dsa, SCR_SHL, 0),
863 SCR_REG_REG (dsa, SCR_SHL, 0),
865 SCR_REG_REG (dsa, SCR_AND, 0x3c),
867 SCR_LOAD_REL (dsa, 4),
882 }/*-------------------------< RESEL_SCNTL4 >---------------------*/,{
910 SCR_LOAD_REL (dsa, 4),
912 SCR_SFBR_REG (dsa, SCR_SHL, 0),
914 SCR_REG_REG (dsa, SCR_SHL, 0),
916 SCR_REG_REG (dsa, SCR_AND, 0xfc),
918 SCR_LOAD_REL (dsa, 4),
922 }/*-------------------------< RESEL_LUN0 >-----------------------*/,{
926 SCR_LOAD_REL (dsa, 4),
936 }/*-------------------------< RESEL_TAG >------------------------*/,{
954 SCR_LOAD_REL (dsa, 4),
980 * Retrieve the DSA of this task.
983 SCR_SFBR_REG (dsa, SCR_AND, 0xfc),
985 SCR_LOAD_REL (dsa, 4),
992 }/*-------------------------< RESEL_DSA >------------------------*/,{
998 }/*-------------------------< RESEL_DSA1 >-----------------------*/,{
1009 }/*-------------------------< RESEL_NO_TAG >---------------------*/,{
1011 * Load the DSA with the unique ITL task.
1013 SCR_LOAD_REL (dsa, 4),
1023 }/*-------------------------< DATA_IN >--------------------------*/,{
1035 }/*-------------------------< DATA_IN2 >-------------------------*/,{
1040 }/*-------------------------< DATA_OUT >-------------------------*/,{
1052 }/*-------------------------< DATA_OUT2 >------------------------*/,{
1057 }/*-------------------------< PM0_DATA >-------------------------*/,{
1077 * PM0 DATA mini-script.
1088 }/*-------------------------< PM0_DATA_OUT >---------------------*/,{
1097 * PM0 DATA mini-script.
1106 }/*-------------------------< PM0_DATA_END >---------------------*/,{
1109 * data from the PM0 DATA mini-script.
1122 }/*-------------------------< PM1_DATA >-------------------------*/,{
1142 * PM1 DATA mini-script.
1153 }/*-------------------------< PM1_DATA_OUT >---------------------*/,{
1162 * PM1 DATA mini-script.
1171 }/*-------------------------< PM1_DATA_END >---------------------*/,{
1174 * data from the PM1 DATA mini-script.
1187 }/*-------------------------<>-----------------------------------*/
1191 /*--------------------------< START64 >--------------------------*/ {
1194 * For now, there is no specific stuff for those
1199 }/*-------------------------< NO_DATA >--------------------------*/,{
1202 }/*-------------------------< SEL_FOR_ABORT >--------------------*/,{
1227 -8,
1252 }/*-------------------------< SEL_FOR_ABORT_1 >------------------*/,{
1258 }/*-------------------------< MSG_IN_ETC >-----------------------*/,{
1283 }/*-------------------------< MSG_RECEIVED >---------------------*/,{
1288 }/*-------------------------< MSG_WEIRD_SEEN >-------------------*/,{
1293 }/*-------------------------< MSG_EXTENDED >---------------------*/,{
1310 SCR_REG_REG (sfbr, SCR_ADD, (256-8)),
1327 }/*-------------------------< MSG_BAD >--------------------------*/,{
1329 * unimplemented message - reject it.
1337 }/*-------------------------< MSG_WEIRD >------------------------*/,{
1346 }/*-------------------------< MSG_WEIRD1 >-----------------------*/,{
1355 }/*-------------------------< WDTR_RESP >------------------------*/,{
1365 }/*-------------------------< SEND_WDTR >------------------------*/,{
1373 }/*-------------------------< SDTR_RESP >------------------------*/,{
1383 }/*-------------------------< SEND_SDTR >------------------------*/,{
1391 }/*-------------------------< PPR_RESP >-------------------------*/,{
1401 }/*-------------------------< SEND_PPR >-------------------------*/,{
1409 }/*-------------------------< NEGO_BAD_PHASE >-------------------*/,{
1414 }/*-------------------------< MSG_OUT >--------------------------*/,{
1428 }/*-------------------------< MSG_OUT_DONE >---------------------*/,{
1440 }/*-------------------------< DATA_OVRUN >-----------------------*/,{
1446 }/*-------------------------< DATA_OVRUN1 >----------------------*/,{
1484 }/*-------------------------< DATA_OVRUN2 >----------------------*/,{
1501 }/*-------------------------< ABORT_RESEL >----------------------*/,{
1522 }/*-------------------------< RESEND_IDENT >---------------------*/,{
1533 }/*-------------------------< IDENT_BREAK >----------------------*/,{
1538 }/*-------------------------< IDENT_BREAK_ATN >------------------*/,{
1543 }/*-------------------------< SDATA_IN >-------------------------*/,{
1550 }/*-------------------------< RESEL_BAD_LUN >--------------------*/,{
1560 }/*-------------------------< BAD_I_T_L >------------------------*/,{
1570 }/*-------------------------< BAD_I_T_L_Q >----------------------*/,{
1580 }/*-------------------------< BAD_STATUS >-----------------------*/,{
1593 }/*-------------------------< PM_HANDLE >------------------------*/,{
1600 * SAVE mini-script and a DATA phase mini-script.
1624 * If we have been interrupt in a PM DATA mini-script,
1642 }/*-------------------------< PM_HANDLE1 >-----------------------*/,{
1652 }/*-------------------------< PM_SAVE >--------------------------*/,{
1655 * interrupted in a PM DATA mini-script and/or
1665 }/*-------------------------< PM0_SAVE >-------------------------*/,{
1686 * Set the current pointer at the PM0 DATA mini-script.
1690 }/*-------------------------< PM_SAVE_END >----------------------*/,{
1695 }/*-------------------------< PM1_SAVE >-------------------------*/,{
1716 * Set the current pointer at the PM1 DATA mini-script.
1722 }/*-------------------------< PM_WSR_HANDLE >--------------------*/,{
1750 * - size to transfer = 1 byte.
1751 * - bit 24..31 = high address bit [32...39].
1811 }/*-------------------------< WSR_MA_HELPER >--------------------*/,{
1821 }/*-------------------------< ZERO >-----------------------------*/,{
1823 }/*-------------------------< SCRATCH >--------------------------*/,{
1825 }/*-------------------------< PM0_DATA_ADDR >--------------------*/,{
1827 }/*-------------------------< PM1_DATA_ADDR >--------------------*/,{
1829 }/*-------------------------< DONE_POS >-------------------------*/,{
1831 }/*-------------------------< STARTPOS >-------------------------*/,{
1833 }/*-------------------------< TARGTBL >--------------------------*/,{
1835 }/*-------------------------<>-----------------------------------*/
1839 /*-------------------------< SNOOPTEST >------------------------*/{
1855 }/*-------------------------< SNOOPEND >-------------------------*/,{
1861 }/*-------------------------<>-----------------------------------*/