Lines Matching refs:NCB_SCRIPT_PHYS
1749 #define NCB_SCRIPT_PHYS(np,lbl) (np->p_script + offsetof (struct script, lbl)) macro
4288 goalp = NCB_SCRIPT_PHYS (np, data_out2) + 8; in ncr_queue_command()
4301 goalp = NCB_SCRIPT_PHYS (np, data_in2) + 8; in ncr_queue_command()
4311 lastp = goalp = NCB_SCRIPT_PHYS (np, no_data); in ncr_queue_command()
4348 cp->start.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, select)); in ncr_queue_command()
4349 cp->restart.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_dsa)); in ncr_queue_command()
4451 np->scripth->tryloop [qidx] = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); in ncr_put_start_queue()
5091 cpu_to_scr(NCB_SCRIPT_PHYS (np, select)); in ncr_ccb_skipped()
5125 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_plug)); in ncr_wakeup_done()
5128 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_end)); in ncr_wakeup_done()
5225 cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); in ncr_init()
5240 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_end)); in ncr_init()
5250 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_plug)); in ncr_init()
5348 OUTL_DSP (NCB_SCRIPT_PHYS (np, start)); in ncr_init()
5694 cpu_to_scr(NCB_SCRIPT_PHYS(np, resel_tag)) : in ncr_setup_tags()
5695 cpu_to_scr(NCB_SCRIPT_PHYS(np, resel_notag)); in ncr_setup_tags()
6049 OUTL_DSP (NCB_SCRIPT_PHYS (np, cleanup)); in ncr_exception()
6461 OUTL_DSP (NCB_SCRIPT_PHYS (np, dispatch)); in ncr_int_ma()
6497 nxtdsp = NCB_SCRIPT_PHYS (np, dispatch); in ncr_int_ma()
6501 nxtdsp = NCB_SCRIPT_PHYS (np, dispatch); in ncr_int_ma()
6506 if (dsp == NCB_SCRIPT_PHYS (np, send_ident)) { in ncr_int_ma()
6517 nxtdsp = NCB_SCRIPT_PHYS (np, clrack); in ncr_int_ma()
6596 OUTL_DSP (NCB_SCRIPT_PHYS (np, reselect)); in ncr_sir_to_redo()
6653 cpu_to_scr(NCB_SCRIPT_PHYS (np, select)); in ncr_sir_to_redo()
6664 OUTL_DSP (NCB_SCRIPT_PHYS (np, start)); in ncr_sir_to_redo()
6704 OUTL(nc_dsp, NCB_SCRIPT_PHYS (np, done_end) + 8); in ncr_int_sir()
6706 OUTL(nc_dsp, NCB_SCRIPT_PHYS (np, start)); in ncr_int_sir()
6931 OUTL_DSP(NCB_SCRIPT_PHYS (np, msg_bad)); in ncr_int_sir()
6937 OUTL_DSP(NCB_SCRIPT_PHYS (np, clrack)); in ncr_int_sir()
6965 OUTL_DSP (NCB_SCRIPT_PHYS (np, msg_bad)); in ncr_int_sir()
7019 OUTL_DSP (NCB_SCRIPT_PHYS (np, msg_bad)); in ncr_int_sir()
7024 OUTL_DSP (NCB_SCRIPT_PHYS (np, clrack)); in ncr_int_sir()
7337 cp->start.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); in ncr_init_ccb()
7440 tp->call_lun.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_lun)); in ncr_init_tcb()
7547 lp->jump_tag.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_notag)); in ncr_alloc_lcb()