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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.c119 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP);
120 scripta0->reselected[0] = cpu_to_scr(SCR_NO_OP);
121 scripta0->start[0] = cpu_to_scr(SCR_NO_OP);
131 scripta0->ungetjob[0] = cpu_to_scr(SCR_NO_OP);
138 scriptb0->startpos[0] = cpu_to_scr(np->squeue_ba);
139 scriptb0->done_pos[0] = cpu_to_scr(np->dqueue_ba);
140 scriptb0->targtbl[0] = cpu_to_scr(np->targtbl_ba);
160 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP);
161 scripta0->reselected[0] = cpu_to_scr(SCR_NO_OP);
162 scripta0->start[0] = cpu_to_scr(SCR_NO_O
[all...]
H A Dsym_hipd.c1010 np->scratch = cpu_to_scr(host_wr);
1488 np->squeue [qidx] = cpu_to_scr(np->idletask_ba);
1490 np->squeue [np->squeueput] = cpu_to_scr(cp->ccb_ba);
1535 lp->itlq_tbl[cp->tag] = cpu_to_scr(cp->ccb_ba);
1537 cpu_to_scr(SCRIPTA_BA(np, resel_tag));
1544 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba);
1546 cpu_to_scr(SCRIPTA_BA(np, resel_no_tag));
1692 np->squeue[i] = cpu_to_scr(np->idletask_ba);
1693 np->squeue[i+1] = cpu_to_scr(phys + (i+2)*4);
1695 np->squeue[MAX_QUEUE*2-1] = cpu_to_scr(phy
[all...]
H A Dsym_hipd.h667 cp->phys.head.lastp = cpu_to_scr(dp); \
669 np->ccb_head.lastp = cpu_to_scr(dp); \
677 cp->phys.head.lastp = cpu_to_scr(dp); \
790 #define CCB_BA(cp,lbl) cpu_to_scr(cp->ccb_ba + offsetof(struct sym_ccb, lbl))
1070 (data)->addr = cpu_to_scr(badd); \
1071 (data)->size = cpu_to_scr(len); \
1076 (data)->addr = cpu_to_scr(badd); \
1077 (data)->size = cpu_to_scr((((badd) >> 8) & 0xff000000) + len); \
1090 (data)->addr = cpu_to_scr(badd);
1091 (data)->size = cpu_to_scr((
[all...]
H A Dsym_glue.h134 * Macro cpu_to_scr() is to be used for script patching.
139 #define cpu_to_scr(dw) cpu_to_le32(dw) macro
H A Dsym_glue.c438 cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len);
504 cp->phys.head.lastp = cpu_to_scr(lastp);
505 cp->phys.head.savep = cpu_to_scr(lastp);
507 cp->goalp = cpu_to_scr(goalp);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dncr53c8xx.c3528 *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(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 300 milliseconds