Lines Matching refs:NCB_SCRIPT_PHYS
1746 #define NCB_SCRIPT_PHYS(np,lbl) (np->p_script + offsetof (struct script, lbl)) macro
4260 goalp = NCB_SCRIPT_PHYS (np, data_out2) + 8; in ncr_queue_command()
4273 goalp = NCB_SCRIPT_PHYS (np, data_in2) + 8; in ncr_queue_command()
4283 lastp = goalp = NCB_SCRIPT_PHYS (np, no_data); in ncr_queue_command()
4320 cp->start.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, select)); in ncr_queue_command()
4321 cp->restart.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_dsa)); in ncr_queue_command()
4419 np->scripth->tryloop [qidx] = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); in ncr_put_start_queue()
4950 cpu_to_scr(NCB_SCRIPT_PHYS (np, select)); in ncr_ccb_skipped()
4984 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_plug)); in ncr_wakeup_done()
4987 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_end)); in ncr_wakeup_done()
5084 cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); in ncr_init()
5099 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_end)); in ncr_init()
5109 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_plug)); in ncr_init()
5207 OUTL_DSP (NCB_SCRIPT_PHYS (np, start)); in ncr_init()
5528 cpu_to_scr(NCB_SCRIPT_PHYS(np, resel_tag)) : in ncr_setup_tags()
5529 cpu_to_scr(NCB_SCRIPT_PHYS(np, resel_notag)); in ncr_setup_tags()
5883 OUTL_DSP (NCB_SCRIPT_PHYS (np, cleanup)); in ncr_exception()
6295 OUTL_DSP (NCB_SCRIPT_PHYS (np, dispatch)); in ncr_int_ma()
6331 nxtdsp = NCB_SCRIPT_PHYS (np, dispatch); in ncr_int_ma()
6335 nxtdsp = NCB_SCRIPT_PHYS (np, dispatch); in ncr_int_ma()
6340 if (dsp == NCB_SCRIPT_PHYS (np, send_ident)) { in ncr_int_ma()
6351 nxtdsp = NCB_SCRIPT_PHYS (np, clrack); in ncr_int_ma()
6430 OUTL_DSP (NCB_SCRIPT_PHYS (np, reselect)); in ncr_sir_to_redo()
6487 cpu_to_scr(NCB_SCRIPT_PHYS (np, select)); in ncr_sir_to_redo()
6498 OUTL_DSP (NCB_SCRIPT_PHYS (np, start)); in ncr_sir_to_redo()
6538 OUTL(nc_dsp, NCB_SCRIPT_PHYS (np, done_end) + 8); in ncr_int_sir()
6540 OUTL(nc_dsp, NCB_SCRIPT_PHYS (np, start)); in ncr_int_sir()
6765 OUTL_DSP(NCB_SCRIPT_PHYS (np, msg_bad)); in ncr_int_sir()
6771 OUTL_DSP(NCB_SCRIPT_PHYS (np, clrack)); in ncr_int_sir()
6799 OUTL_DSP (NCB_SCRIPT_PHYS (np, msg_bad)); in ncr_int_sir()
6853 OUTL_DSP (NCB_SCRIPT_PHYS (np, msg_bad)); in ncr_int_sir()
6858 OUTL_DSP (NCB_SCRIPT_PHYS (np, clrack)); in ncr_int_sir()
7171 cp->start.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); in ncr_init_ccb()
7274 tp->call_lun.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_lun)); in ncr_init_tcb()
7381 lp->jump_tag.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_notag)); in ncr_alloc_lcb()