Lines Matching refs:cpu_to_scr
1014 np->scratch = cpu_to_scr(host_wr);
1505 np->squeue [qidx] = cpu_to_scr(np->idletask_ba);
1507 np->squeue [np->squeueput] = cpu_to_scr(cp->ccb_ba);
1553 lp->itlq_tbl[cp->tag] = cpu_to_scr(cp->ccb_ba);
1555 cpu_to_scr(SCRIPTA_BA(np, resel_tag));
1562 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba);
1564 cpu_to_scr(SCRIPTA_BA(np, resel_no_tag));
1713 np->squeue[i] = cpu_to_scr(np->idletask_ba);
1714 np->squeue[i+1] = cpu_to_scr(phys + (i+2)*4);
1716 np->squeue[MAX_QUEUE*2-1] = cpu_to_scr(phys);
1729 np->dqueue[i+1] = cpu_to_scr(phys + (i+2)*4);
1731 np->dqueue[MAX_QUEUE*2-1] = cpu_to_scr(phys);
2598 pm->sg.addr = cpu_to_scr(oadr + olen - rest);
2599 pm->sg.size = cpu_to_scr(rest);
2600 pm->ret = cpu_to_scr(nxtdsp);
2619 cp->phys.wresid.addr = cpu_to_scr(tmp);
2620 pm->sg.addr = cpu_to_scr(tmp + 1);
2622 cp->phys.wresid.size = cpu_to_scr((tmp&0xff000000) | 1);
2623 pm->sg.size = cpu_to_scr(tmp - 1);
3115 cp->phys.smsg.size = cpu_to_scr(msglen);
3121 cp->phys.cmd.size = cpu_to_scr(6);
3138 cp->phys.sense.size = cpu_to_scr(SYM_SNS_BBUF_LEN);
3145 cp->phys.head.savep = cpu_to_scr(startp);
3146 cp->phys.head.lastp = cpu_to_scr(startp);
3147 cp->startp = cpu_to_scr(startp);
3148 cp->goalp = cpu_to_scr(startp + 16);
3157 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, select));
3413 np->abrt_tbl.addr = cpu_to_scr(vtobus(np->abrt_msg));
3591 np->abrt_tbl.size = cpu_to_scr(np->abrt_tbl.size);
3773 dp_ret = cpu_to_scr(cp->goalp);
3813 pm->ret = cpu_to_scr(dp_ret);
3816 pm->sg.addr = cpu_to_scr(tmp);
3817 pm->sg.size = cpu_to_scr(-dp_ofs);
4697 lp->itlq_tbl[tag] = cpu_to_scr(cp->ccb_ba);
4699 cpu_to_scr(SCRIPTA_BA(np, resel_tag));
4731 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba);
4733 cpu_to_scr(SCRIPTA_BA(np, resel_no_tag));
4803 lp->itlq_tbl[cp->tag] = cpu_to_scr(np->bad_itlq_ba);
4810 lp->head.itl_task_sa = cpu_to_scr(np->bad_itl_ba);
4818 cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
4903 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, idle));
4904 cp->phys.head.go.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
4909 cp->phys.smsg_ext.addr = cpu_to_scr(HCB_BA(np, msgin[2]));
4986 memset32(tp->luntbl, cpu_to_scr(vtobus(&np->badlun_sa)), 64);
4987 tp->head.luntbl_sa = cpu_to_scr(vtobus(tp->luntbl));
5009 tp->luntbl[ln] = cpu_to_scr(vtobus(lp));
5013 tp->head.lun0_sa = cpu_to_scr(vtobus(lp));
5020 lp->head.itl_task_sa = cpu_to_scr(np->bad_itl_ba);
5025 lp->head.resel_sa = cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
5072 memset32(lp->itlq_tbl, cpu_to_scr(np->notask_ba), SYM_CONF_MAX_TASK);
5084 lp->head.itlq_tbl_sa = cpu_to_scr(vtobus(lp->itlq_tbl));
5108 tp->head.luntbl_sa = cpu_to_scr(vtobus(np->badluntbl));
5110 tp->luntbl[ln] = cpu_to_scr(vtobus(&np->badlun_sa));
5115 tp->head.lun0_sa = cpu_to_scr(vtobus(&np->badlun_sa));
5228 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, select));
5229 cp->phys.head.go.restart = cpu_to_scr(SCRIPTA_BA(np, resel_dsa));
5243 cp->phys.smsg.size = cpu_to_scr(msglen);
5696 np->scr_ram_seg = cpu_to_scr(np->scripta_ba >> 32);
5739 np->idletask.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5740 np->idletask.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5743 np->notask.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5744 np->notask.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5747 np->bad_itl.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5748 np->bad_itl.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5751 np->bad_itlq.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5752 np->bad_itlq.restart = cpu_to_scr(SCRIPTB_BA(np,bad_i_t_l_q));
5765 np->badlun_sa = cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
5766 memset32(np->badluntbl, cpu_to_scr(vtobus(&np->badlun_sa)), 64);
5774 np->targtbl[i] = cpu_to_scr(vtobus(&np->target[i]));
5776 cpu_to_scr(vtobus(np->badluntbl));
5778 cpu_to_scr(vtobus(&np->badlun_sa));