• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:cpu_to_scr

3528 		*dst++ = cpu_to_scr(opcode);
3577 dst[-1] = cpu_to_scr(opcode & ~SCR_NO_FLUSH);
3652 *dst++ = cpu_to_scr(new);
3655 *dst++ = cpu_to_scr(*src++);
4297 cp->phys.header.wgoalp = cpu_to_scr(goalp);
4298 cp->phys.header.wlastp = cpu_to_scr(lastp);
4319 cp->phys.header.lastp = cpu_to_scr(lastp);
4320 cp->phys.header.goalp = cpu_to_scr(goalp);
4324 cpu_to_scr(NCB_SCRIPTH_PHYS (np, data_io));
4326 cp->phys.header.savep= cpu_to_scr(lastp);
4348 cp->start.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, select));
4349 cp->restart.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_dsa));
4359 cp->phys.smsg.addr = cpu_to_scr(CCB_PHYS (cp, scsi_smsg));
4360 cp->phys.smsg.size = cpu_to_scr(msglen);
4366 cp->phys.cmd.addr = cpu_to_scr(CCB_PHYS (cp, cdb_buf[0]));
4367 cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len);
4431 cpu_to_scr(CCB_PHYS (cp, restart));
4447 np->scripth->tryloop [qidx] = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle));
4449 np->scripth->tryloop [np->squeueput] = cpu_to_scr(CCB_PHYS (cp, start));
5004 cpu_to_scr(NCB_SCRIPT_PHYS (np, select));
5038 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_plug));
5041 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_end));
5138 cpu_to_scr(NCB_SCRIPT_PHYS (np, idle));
5144 np->script0->startpos[0] = cpu_to_scr(NCB_SCRIPTH_PHYS (np, tryloop));
5153 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_end));
5160 np->script0->done_pos[0] = cpu_to_scr(NCB_SCRIPTH_PHYS (np,done_queue));
5163 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_plug));
5583 cpu_to_scr(NCB_SCRIPT_PHYS(np, resel_tag)) :
5584 cpu_to_scr(NCB_SCRIPT_PHYS(np, resel_notag));
6332 newcmd[0] = cpu_to_scr(((cmd & 0x0f) << 24) | rest);
6333 newcmd[1] = cpu_to_scr(oadr + olen - rest);
6334 newcmd[2] = cpu_to_scr(SCR_JUMP);
6335 newcmd[3] = cpu_to_scr(nxtdsp);
6389 np->scripth->nxtdsp_go_on[0] = cpu_to_scr(dsp + 8);
6438 cpu_to_scr(NCB_SCRIPTH_PHYS (np, skip));
6493 cp->phys.smsg.addr = cpu_to_scr(CCB_PHYS (cp, scsi_smsg2));
6494 cp->phys.smsg.size = cpu_to_scr(1);
6499 cp->phys.cmd.addr = cpu_to_scr(CCB_PHYS (cp, sensecmd));
6500 cp->phys.cmd.size = cpu_to_scr(6);
6513 cp->phys.sense.addr = cpu_to_scr(CCB_PHYS(cp,sense_buf[0]));
6514 cp->phys.sense.size = cpu_to_scr(sizeof(cp->sense_buf));
6519 startp = cpu_to_scr(NCB_SCRIPTH_PHYS (np, sdata_in));
6532 cpu_to_scr(NCB_SCRIPT_PHYS (np, select));
6539 cpu_to_scr(NCB_SCRIPTH_PHYS (np, select_no_atn));
7122 cpu_to_scr(NCB_SCRIPTH_PHYS(np, bad_i_t_l_q));
7125 cpu_to_scr(NCB_SCRIPTH_PHYS(np, bad_i_t_l));
7179 cp->start.setup_dsa[0] = cpu_to_scr(copy_4);
7180 cp->start.setup_dsa[1] = cpu_to_scr(CCB_PHYS(cp, start.p_phys));
7181 cp->start.setup_dsa[2] = cpu_to_scr(ncr_reg_bus_addr(nc_dsa));
7182 cp->start.schedule.l_cmd = cpu_to_scr(SCR_JUMP);
7183 cp->start.p_phys = cpu_to_scr(CCB_PHYS(cp, phys));
7187 cp->start.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle));
7188 cp->restart.schedule.l_paddr = cpu_to_scr(NCB_SCRIPTH_PHYS (np, abort));
7258 cpu_to_scr((SCR_JUMP ^ IFFALSE (DATA (0x80 + tn))));
7265 tp->getscr[0] = cpu_to_scr(copy_1);
7266 tp->getscr[1] = cpu_to_scr(vtobus (&tp->sval));
7268 tp->getscr[2] = cpu_to_scr(ncr_reg_bus_addr(nc_sxfer) ^ 3);
7270 tp->getscr[2] = cpu_to_scr(ncr_reg_bus_addr(nc_sxfer));
7277 tp->getscr[3] = cpu_to_scr(copy_1);
7278 tp->getscr[4] = cpu_to_scr(vtobus (&tp->wval));
7280 tp->getscr[5] = cpu_to_scr(ncr_reg_bus_addr(nc_scntl3) ^ 3);
7282 tp->getscr[5] = cpu_to_scr(ncr_reg_bus_addr(nc_scntl3));
7289 tp->call_lun.l_cmd = cpu_to_scr(SCR_CALL);
7290 tp->call_lun.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_lun));
7299 cpu_to_scr((SCR_JUMP ^ IFTRUE (MASK (i, 3))));
7301 cpu_to_scr(NCB_SCRIPTH_PHYS (np, bad_identify));
7307 np->jump_tcb[th].l_paddr = cpu_to_scr(vtobus (&tp->jump_tcb));
7375 lp->p_jump_ccb = cpu_to_scr(vtobus(lp->jump_ccb));
7389 cpu_to_scr((SCR_JUMP ^ IFFALSE (MASK (0x80+ln, 0xff))));
7392 lp->load_jump_ccb[0] = cpu_to_scr(copy_4);
7393 lp->load_jump_ccb[1] = cpu_to_scr(vtobus (&lp->p_jump_ccb));
7394 lp->load_jump_ccb[2] = cpu_to_scr(ncr_reg_bus_addr(nc_temp));
7396 lp->jump_tag.l_cmd = cpu_to_scr(SCR_JUMP);
7397 lp->jump_tag.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, resel_notag));
7402 tp->jump_lcb[lh].l_paddr = cpu_to_scr(vtobus (&lp->jump_lcb));
7444 lp->p_jump_ccb = cpu_to_scr(vtobus(lp->jump_ccb));
7447 cpu_to_scr(NCB_SCRIPTH_PHYS (np, bad_i_t_l_q));
7592 np->ncr_cache = cpu_to_scr(host_wr);
8261 cpu_to_scr(SCR_REG_REG(gpreg, SCR_OR, 0x01));
8263 cpu_to_scr(SCR_REG_REG(gpreg, SCR_AND, 0xfe));
8265 cpu_to_scr(SCR_REG_REG(gpreg, SCR_AND, 0xfe));
8275 cpu_to_scr((SCR_JUMP ^ IFTRUE (MASK (i, 3))));
8277 cpu_to_scr(NCB_SCRIPTH_PHYS (np, bad_target));