Lines Matching refs:cpu_to_scr
1002 np->scratch = cpu_to_scr(host_wr);
1491 np->squeue [qidx] = cpu_to_scr(np->idletask_ba);
1493 np->squeue [np->squeueput] = cpu_to_scr(cp->ccb_ba);
1539 lp->itlq_tbl[cp->tag] = cpu_to_scr(cp->ccb_ba);
1541 cpu_to_scr(SCRIPTA_BA(np, resel_tag));
1548 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba);
1550 cpu_to_scr(SCRIPTA_BA(np, resel_no_tag));
1699 np->squeue[i] = cpu_to_scr(np->idletask_ba);
1700 np->squeue[i+1] = cpu_to_scr(phys + (i+2)*4);
1702 np->squeue[MAX_QUEUE*2-1] = cpu_to_scr(phys);
1715 np->dqueue[i+1] = cpu_to_scr(phys + (i+2)*4);
1717 np->dqueue[MAX_QUEUE*2-1] = cpu_to_scr(phys);
2576 pm->sg.addr = cpu_to_scr(oadr + olen - rest);
2577 pm->sg.size = cpu_to_scr(rest);
2578 pm->ret = cpu_to_scr(nxtdsp);
2597 cp->phys.wresid.addr = cpu_to_scr(tmp);
2598 pm->sg.addr = cpu_to_scr(tmp + 1);
2600 cp->phys.wresid.size = cpu_to_scr((tmp&0xff000000) | 1);
2601 pm->sg.size = cpu_to_scr(tmp - 1);
3074 cp->phys.smsg.size = cpu_to_scr(msglen);
3080 cp->phys.cmd.size = cpu_to_scr(6);
3097 cp->phys.sense.size = cpu_to_scr(SYM_SNS_BBUF_LEN);
3104 cp->phys.head.savep = cpu_to_scr(startp);
3105 cp->phys.head.lastp = cpu_to_scr(startp);
3106 cp->startp = cpu_to_scr(startp);
3107 cp->goalp = cpu_to_scr(startp + 16);
3116 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, select));
3369 np->abrt_tbl.addr = cpu_to_scr(vtobus(np->abrt_msg));
3547 np->abrt_tbl.size = cpu_to_scr(np->abrt_tbl.size);
3729 dp_ret = cpu_to_scr(cp->goalp);
3769 pm->ret = cpu_to_scr(dp_ret);
3772 pm->sg.addr = cpu_to_scr(tmp);
3773 pm->sg.size = cpu_to_scr(-dp_ofs);
4642 lp->itlq_tbl[tag] = cpu_to_scr(cp->ccb_ba);
4644 cpu_to_scr(SCRIPTA_BA(np, resel_tag));
4676 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba);
4678 cpu_to_scr(SCRIPTA_BA(np, resel_no_tag));
4748 lp->itlq_tbl[cp->tag] = cpu_to_scr(np->bad_itlq_ba);
4755 lp->head.itl_task_sa = cpu_to_scr(np->bad_itl_ba);
4763 cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
4848 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, idle));
4849 cp->phys.head.go.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
4854 cp->phys.smsg_ext.addr = cpu_to_scr(HCB_BA(np, msgin[2]));
4925 tp->luntbl[i] = cpu_to_scr(vtobus(&np->badlun_sa));
4926 tp->head.luntbl_sa = cpu_to_scr(vtobus(tp->luntbl));
4948 tp->luntbl[ln] = cpu_to_scr(vtobus(lp));
4952 tp->head.lun0_sa = cpu_to_scr(vtobus(lp));
4959 lp->head.itl_task_sa = cpu_to_scr(np->bad_itl_ba);
4964 lp->head.resel_sa = cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
5012 lp->itlq_tbl[i] = cpu_to_scr(np->notask_ba);
5024 lp->head.itlq_tbl_sa = cpu_to_scr(vtobus(lp->itlq_tbl));
5048 tp->head.luntbl_sa = cpu_to_scr(vtobus(np->badluntbl));
5050 tp->luntbl[ln] = cpu_to_scr(vtobus(&np->badlun_sa));
5055 tp->head.lun0_sa = cpu_to_scr(vtobus(&np->badlun_sa));
5168 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, select));
5169 cp->phys.head.go.restart = cpu_to_scr(SCRIPTA_BA(np, resel_dsa));
5183 cp->phys.smsg.size = cpu_to_scr(msglen);
5668 np->idletask.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5669 np->idletask.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5672 np->notask.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5673 np->notask.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5676 np->bad_itl.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5677 np->bad_itl.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5680 np->bad_itlq.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5681 np->bad_itlq.restart = cpu_to_scr(SCRIPTB_BA(np,bad_i_t_l_q));
5694 np->badlun_sa = cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
5696 np->badluntbl[i] = cpu_to_scr(vtobus(&np->badlun_sa));
5704 np->targtbl[i] = cpu_to_scr(vtobus(&np->target[i]));
5706 cpu_to_scr(vtobus(np->badluntbl));
5708 cpu_to_scr(vtobus(&np->badlun_sa));