Lines Matching defs:script
976 ** 80 (MAX_SCATTERL) segments are moved from a sub-script
1118 struct script;
1264 ** Jump table used by the script processor to directly jump
1319 ** Declaration of structs: the launch script.
1325 ** This 6 DWORDs mini script makes use of prefetching.
1349 ** These fields are accessible to the script processor.
1357 ** Points to the position in the script responsible for the
1386 u_char scr_st[4]; /* script status */
1392 ** The status bytes are used by the host and the script processor.
1403 ** Inside the script the XX_REG are used.
1405 ** The first four bytes (scr_st[4]) are used inside the script by
1415 ** Last four bytes (script)
1440 ** First four bytes (script)
1464 ** During execution of a ccb by the script processor,
1468 ** the script-processor-changeable data and
1503 ** register when it is executed by the script processor.
1511 ** Mini-script used at CCB execution start-up.
1519 ** Mini-script used at CCB relection to restart the nexus.
1529 ** we have to prepare a mini script to transfer
1588 ** It is accessible to both the host and the script processor.
1656 ** 'script' is loaded in the on-chip RAM if present.
1660 struct script *script0; /* Copies of script and scripth */
1663 u_long p_script; /* Actual script and scripth */
1713 ** written with a SCR_COPY script command.
1749 #define NCB_SCRIPT_PHYS(np,lbl) (np->p_script + offsetof (struct script, lbl))
1767 ** If you make changes inside the script,
1778 ** modification, to force a refetch of the script on
1794 struct script {
1930 static void ncr_script_fill (struct script * scr, struct scripth * scripth);
1969 ** PADDR generates a reference to another part of the script.
1970 ** RADDR generates a reference to a script processor register.
1971 ** FADDR generates a reference to a script processor register
1987 #define PADDR(label) (RELOC_LABEL | offsetof(struct script, label))
2007 static struct script script0 __initdata = {
2034 ** SCRATCHA contains the address of the script,
2063 ** Then the script processor takes the jump
2104 ** Flush script prefetch if required
2300 ** The script processor doesn't negate the
2409 ** Flush script prefetch if required
2625 ** Flush script prefetch if required
2691 ** Flush script prefetch if required
2758 ** Called addresses point to the launch script in the CCB.
2850 ** Flush script prefetch if required
3250 ** This script sets savep/lastp/goalp according to the
3358 ** Load the script into on-chip RAM,
3365 ** Flush script prefetch if required
3368 SCR_COPY (sizeof (struct script)),
3391 ** modification, to force a refetch of the script on
3427 ** Fill in #define dependent parts of the script
3433 void __init ncr_script_fill (struct script * scr, struct scripth * scrh)
3505 ** Copy and rebind a script.
3529 ** in struct script, a field will be
4567 * The script processor is then assumed to be stopped.
4662 ** script to abort the command.
4685 ** If there are no requests, the script
4789 m_free_dma(np->script0, sizeof(struct script), "SCRIPT");
5338 ** Start script processor.
5691 ** Patch the lun mini-script, according to tag mode.
5804 ** current script command:
5805 ** dsp: script address (relative to start of script).
5806 ** dbc: first word of script command.
5825 if (dsp > np->p_script && dsp <= np->p_script + sizeof(struct script)) {
5827 script_size = sizeof(struct script);
5829 script_name = "script";
5852 printk ("%s: script cmd = %08x\n", ncr_name(np),
6069 ** it continues executing script commands.
6199 * script that will ignore all data in bytes until phase
6320 ** try to find the interrupted script command,
6326 dsp <= np->p_script + sizeof(struct script)) {
6394 ** check cmd against assumed interrupted script command.
6458 ** and restart script processor at dispatcher.
7095 ** which couldn't be handled by the script.
7324 ** Initialyze the start and restart launch script.
7437 ** CALL @script(resel_lun)
7528 ** Initilialyze the reselect script:
7536 ** JUMP @script(resel_notag)
7725 ** Start script (exchange values)
7759 printk ("CACHE TEST FAILED: script execution failed.\n");
8344 np->script0 = m_calloc_dma(sizeof(struct script), "SCRIPT");
8382 if (np->paddr2 && sizeof(struct script) > 4096) {
8384 printk(KERN_WARNING "%s: script too large, NOT using on chip RAM.\n",
8403 /* Patch script to physical addresses */
8411 (ncrcmd *) np->script0, sizeof(struct script));
8416 /* Patch the script for LED support. */
8503 m_free_dma(np->script0, sizeof(struct script), "SCRIPT");