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);
4696 lp->itlq_tbl[tag] = cpu_to_scr(cp->ccb_ba);
4698 cpu_to_scr(SCRIPTA_BA(np, resel_tag));
4730 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba);
4732 cpu_to_scr(SCRIPTA_BA(np, resel_no_tag));
4802 lp->itlq_tbl[cp->tag] = cpu_to_scr(np->bad_itlq_ba);
4809 lp->head.itl_task_sa = cpu_to_scr(np->bad_itl_ba);
4817 cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
4902 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, idle));
4903 cp->phys.head.go.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
4908 cp->phys.smsg_ext.addr = cpu_to_scr(HCB_BA(np, msgin[2]));
4985 memset32(tp->luntbl, cpu_to_scr(vtobus(&np->badlun_sa)), 64);
4986 tp->head.luntbl_sa = cpu_to_scr(vtobus(tp->luntbl));
5008 tp->luntbl[ln] = cpu_to_scr(vtobus(lp));
5012 tp->head.lun0_sa = cpu_to_scr(vtobus(lp));
5019 lp->head.itl_task_sa = cpu_to_scr(np->bad_itl_ba);
5024 lp->head.resel_sa = cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
5071 memset32(lp->itlq_tbl, cpu_to_scr(np->notask_ba), SYM_CONF_MAX_TASK);
5083 lp->head.itlq_tbl_sa = cpu_to_scr(vtobus(lp->itlq_tbl));
5107 tp->head.luntbl_sa = cpu_to_scr(vtobus(np->badluntbl));
5109 tp->luntbl[ln] = cpu_to_scr(vtobus(&np->badlun_sa));
5114 tp->head.lun0_sa = cpu_to_scr(vtobus(&np->badlun_sa));
5227 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, select));
5228 cp->phys.head.go.restart = cpu_to_scr(SCRIPTA_BA(np, resel_dsa));
5242 cp->phys.smsg.size = cpu_to_scr(msglen);
5695 np->scr_ram_seg = cpu_to_scr(np->scripta_ba >> 32);
5738 np->idletask.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5739 np->idletask.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5742 np->notask.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5743 np->notask.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5746 np->bad_itl.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5747 np->bad_itl.restart = cpu_to_scr(SCRIPTB_BA(np, bad_i_t_l));
5750 np->bad_itlq.start = cpu_to_scr(SCRIPTA_BA(np, idle));
5751 np->bad_itlq.restart = cpu_to_scr(SCRIPTB_BA(np,bad_i_t_l_q));
5764 np->badlun_sa = cpu_to_scr(SCRIPTB_BA(np, resel_bad_lun));
5765 memset32(np->badluntbl, cpu_to_scr(vtobus(&np->badlun_sa)), 64);
5773 np->targtbl[i] = cpu_to_scr(vtobus(&np->target[i]));
5775 cpu_to_scr(vtobus(np->badluntbl));
5777 cpu_to_scr(vtobus(&np->badlun_sa));