Searched refs:cpu_to_scr (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.c120 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP);
121 scripta0->reselected[0] = cpu_to_scr(SCR_NO_OP);
122 scripta0->start[0] = cpu_to_scr(SCR_NO_OP);
132 scripta0->ungetjob[0] = cpu_to_scr(SCR_NO_OP);
139 scriptb0->startpos[0] = cpu_to_scr(np->squeue_ba);
140 scriptb0->done_pos[0] = cpu_to_scr(np->dqueue_ba);
141 scriptb0->targtbl[0] = cpu_to_scr(np->targtbl_ba);
164 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP);
165 scripta0->reselected[0] = cpu_to_scr(SCR_NO_OP);
166 scripta0->start[0] = cpu_to_scr(SCR_NO_O
[all...]
H A Dsym_hipd.c1002 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(phy
[all...]
H A Dsym_hipd.h672 cp->phys.head.lastp = cpu_to_scr(dp); \
674 np->ccb_head.lastp = cpu_to_scr(dp); \
682 cp->phys.head.lastp = cpu_to_scr(dp); \
795 #define CCB_BA(cp,lbl) cpu_to_scr(cp->ccb_ba + offsetof(struct sym_ccb, lbl))
1080 (data)->addr = cpu_to_scr(badd); \
1081 (data)->size = cpu_to_scr(len); \
1087 (data)->addr = cpu_to_scr(badd); \
1088 (data)->size = cpu_to_scr((((badd) >> 8) & 0xff000000) + len); \
1102 (data)->addr = cpu_to_scr(badd);
1103 (data)->size = cpu_to_scr((
[all...]
H A Dsym_glue.h136 * Macro cpu_to_scr() is to be used for script patching.
141 #define cpu_to_scr(dw) cpu_to_le32(dw) macro
H A Dsym_glue.c323 cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len);
389 cp->phys.head.lastp = cpu_to_scr(lastp);
390 cp->phys.head.savep = cpu_to_scr(lastp);
392 cp->goalp = cpu_to_scr(goalp);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dncr53c8xx.c3505 *dst++ = cpu_to_scr(opcode);
3554 dst[-1] = cpu_to_scr(opcode & ~SCR_NO_FLUSH);
3629 *dst++ = cpu_to_scr(new);
3632 *dst++ = cpu_to_scr(*src++);
4274 cp->phys.header.wgoalp = cpu_to_scr(goalp);
4275 cp->phys.header.wlastp = cpu_to_scr(lastp);
4296 cp->phys.header.lastp = cpu_to_scr(lastp);
4297 cp->phys.header.goalp = cpu_to_scr(goalp);
4301 cpu_to_scr(NCB_SCRIPTH_PHYS (np, data_io));
4303 cp->phys.header.savep= cpu_to_scr(last
[all...]
H A Dncr53c8xx.h339 * Macro cpu_to_scr() is to be used for script patching.
346 #define cpu_to_scr(dw) cpu_to_le32(dw) macro
351 #define cpu_to_scr(dw) cpu_to_be32(dw) macro
356 #define cpu_to_scr(dw) (dw) macro
1268 (data)->addr = cpu_to_scr(badd); \
1269 (data)->size = cpu_to_scr(len); \

Completed in 84 milliseconds