Searched refs:cpu_to_scr (Results 1 – 8 of 8) sorted by relevance
107 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 …]
1014 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 …]
667 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()
128 #define cpu_to_scr(dw) cpu_to_le32(dw) macro
317 cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len); in sym_setup_cdb()383 cp->phys.head.lastp = cpu_to_scr(lastp); in sym_setup_data_and_start()384 cp->phys.head.savep = cpu_to_scr(lastp); in sym_setup_data_and_start()386 cp->goalp = cpu_to_scr(goalp); in sym_setup_data_and_start()
3497 *dst++ = cpu_to_scr(opcode); in ncr_script_copy_and_bind()3546 dst[-1] = cpu_to_scr(opcode & ~SCR_NO_FLUSH); in ncr_script_copy_and_bind()3621 *dst++ = cpu_to_scr(new); in ncr_script_copy_and_bind()3624 *dst++ = cpu_to_scr(*src++); in ncr_script_copy_and_bind()4269 cp->phys.header.wgoalp = cpu_to_scr(goalp); in ncr_queue_command()4270 cp->phys.header.wlastp = cpu_to_scr(lastp); in ncr_queue_command()4291 cp->phys.header.lastp = cpu_to_scr(lastp); in ncr_queue_command()4292 cp->phys.header.goalp = cpu_to_scr(goalp); in ncr_queue_command()4296 cpu_to_scr(NCB_SCRIPTH_PHYS (np, data_io)); in ncr_queue_command()4298 cp->phys.header.savep= cpu_to_scr(lastp); in ncr_queue_command()[all …]
347 #define cpu_to_scr(dw) cpu_to_le32(dw) macro352 #define cpu_to_scr(dw) cpu_to_be32(dw) macro357 #define cpu_to_scr(dw) (dw) macro1253 (data)->addr = cpu_to_scr(badd); \1254 (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)