Searched refs:cpu_to_scr (Results 1 – 8 of 8) sorted by relevance
120 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()121 scripta0->reselected[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()122 scripta0->start[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()132 scripta0->ungetjob[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()139 scriptb0->startpos[0] = cpu_to_scr(np->squeue_ba); in sym_fw1_patch()140 scriptb0->done_pos[0] = cpu_to_scr(np->dqueue_ba); in sym_fw1_patch()141 scriptb0->targtbl[0] = cpu_to_scr(np->targtbl_ba); in sym_fw1_patch()164 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); in sym_fw2_patch()165 scripta0->reselected[0] = cpu_to_scr(SCR_NO_OP); in sym_fw2_patch()166 scripta0->start[0] = cpu_to_scr(SCR_NO_OP); in sym_fw2_patch()[all …]
1027 np->scratch = cpu_to_scr(host_wr);1518 np->squeue [qidx] = cpu_to_scr(np->idletask_ba);1520 np->squeue [np->squeueput] = cpu_to_scr(cp->ccb_ba);1566 lp->itlq_tbl[cp->tag] = cpu_to_scr(cp->ccb_ba);1568 cpu_to_scr(SCRIPTA_BA(np, resel_tag));1575 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba);1577 cpu_to_scr(SCRIPTA_BA(np, resel_no_tag));1726 np->squeue[i] = cpu_to_scr(np->idletask_ba);1727 np->squeue[i+1] = cpu_to_scr(phys + (i+2)*4);1729 np->squeue[MAX_QUEUE*2-1] = cpu_to_scr(phys);[all …]
680 cp->phys.head.lastp = cpu_to_scr(dp); \682 np->ccb_head.lastp = cpu_to_scr(dp); \690 cp->phys.head.lastp = cpu_to_scr(dp); \803 #define CCB_BA(cp,lbl) cpu_to_scr(cp->ccb_ba + offsetof(struct sym_ccb, lbl))1088 (data)->addr = cpu_to_scr(badd); \1089 (data)->size = cpu_to_scr(len); \1095 (data)->addr = cpu_to_scr(badd); \1096 (data)->size = cpu_to_scr((((badd) >> 8) & 0xff000000) + len); \1110 (data)->addr = cpu_to_scr(badd); in sym_build_sge()1111 (data)->size = cpu_to_scr((s<<24) + len); in sym_build_sge()
141 #define cpu_to_scr(dw) cpu_to_le32(dw) macro
337 cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len); in sym_setup_cdb()403 cp->phys.head.lastp = cpu_to_scr(lastp); in sym_setup_data_and_start()404 cp->phys.head.savep = cpu_to_scr(lastp); in sym_setup_data_and_start()406 cp->goalp = cpu_to_scr(goalp); in sym_setup_data_and_start()
3537 *dst++ = cpu_to_scr(opcode); in ncr_script_copy_and_bind()3586 dst[-1] = cpu_to_scr(opcode & ~SCR_NO_FLUSH); in ncr_script_copy_and_bind()3661 *dst++ = cpu_to_scr(new); in ncr_script_copy_and_bind()3664 *dst++ = cpu_to_scr(*src++); in ncr_script_copy_and_bind()4306 cp->phys.header.wgoalp = cpu_to_scr(goalp); in ncr_queue_command()4307 cp->phys.header.wlastp = cpu_to_scr(lastp); in ncr_queue_command()4328 cp->phys.header.lastp = cpu_to_scr(lastp); in ncr_queue_command()4329 cp->phys.header.goalp = cpu_to_scr(goalp); in ncr_queue_command()4333 cpu_to_scr(NCB_SCRIPTH_PHYS (np, data_io)); in ncr_queue_command()4335 cp->phys.header.savep= cpu_to_scr(lastp); in ncr_queue_command()[all …]
363 #define cpu_to_scr(dw) cpu_to_le32(dw) macro368 #define cpu_to_scr(dw) cpu_to_be32(dw) macro373 #define cpu_to_scr(dw) (dw) macro1285 (data)->addr = cpu_to_scr(badd); \1286 (data)->size = cpu_to_scr(len); \
46 - Add a missing cpu_to_scr() (np->abort_tbl.addr)47 - Remove a wrong cpu_to_scr() (np->targtbl_ba)