Home
last modified time | relevance | path

Searched refs:cpu_to_scr (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.c107 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()
108 scripta0->reselected[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()
109 scripta0->start[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()
119 scripta0->ungetjob[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()
126 scriptb0->startpos[0] = cpu_to_scr(np->squeue_ba); in sym_fw1_patch()
127 scriptb0->done_pos[0] = cpu_to_scr(np->dqueue_ba); in sym_fw1_patch()
128 scriptb0->targtbl[0] = cpu_to_scr(np->targtbl_ba); in sym_fw1_patch()
151 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); in sym_fw2_patch()
152 scripta0->reselected[0] = cpu_to_scr(SCR_NO_OP); in sym_fw2_patch()
153 scripta0->start[0] = cpu_to_scr(SCR_NO_OP); in sym_fw2_patch()
[all …]
H A Dsym_hipd.c1014 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);
[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))
1075 (data)->addr = cpu_to_scr(badd); \
1076 (data)->size = cpu_to_scr(len); \
1082 (data)->addr = cpu_to_scr(badd); \
1083 (data)->size = cpu_to_scr((((badd) >> 8) & 0xff000000) + len); \
1097 (data)->addr = cpu_to_scr(badd); in sym_build_sge()
1098 (data)->size = cpu_to_scr((s<<24) + len); in sym_build_sge()
H A Dsym_glue.h128 #define cpu_to_scr(dw) cpu_to_le32(dw) macro
/linux/drivers/scsi/
H A Dncr53c8xx.h347 #define cpu_to_scr(dw) cpu_to_le32(dw) macro
352 #define cpu_to_scr(dw) cpu_to_be32(dw) macro
357 #define cpu_to_scr(dw) (dw) macro
1253 (data)->addr = cpu_to_scr(badd); \
1254 (data)->size = cpu_to_scr(len); \
/linux/Documentation/scsi/
H A DChangeLog.sym53c8xx_246 - Add a missing cpu_to_scr() (np->abort_tbl.addr)
47 - Remove a wrong cpu_to_scr() (np->targtbl_ba)