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()109 scripta0->start[0] = cpu_to_scr(SCR_NO_OP); in sym_fw1_patch()151 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); in sym_fw2_patch()192 scripta0->resel_scntl4[1] = cpu_to_scr(0); in sym_fw2_patch()203 scripta0->datao_phase[1] = cpu_to_scr(0); in sym_fw2_patch()208 scripta0->sel_done[1] = cpu_to_scr(0); in sym_fw2_patch()216 cpu_to_scr(np->scripta_ba + in sym_fw2_patch()219 cpu_to_scr(np->scripta_ba + in sym_fw2_patch()485 *cur++ = cpu_to_scr(opcode); in sym_fw_bind_script()492 *cur = cpu_to_scr(*cur); in sym_fw_bind_script()[all …]
1014 np->scratch = cpu_to_scr(host_wr);2599 pm->sg.size = cpu_to_scr(rest);2600 pm->ret = cpu_to_scr(nxtdsp);2620 pm->sg.addr = cpu_to_scr(tmp + 1);2623 pm->sg.size = cpu_to_scr(tmp - 1);3121 cp->phys.cmd.size = cpu_to_scr(6);3147 cp->startp = cpu_to_scr(startp);3773 dp_ret = cpu_to_scr(cp->goalp);3813 pm->ret = cpu_to_scr(dp_ret);3816 pm->sg.addr = cpu_to_scr(tmp);[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()3621 *dst++ = cpu_to_scr(new); in ncr_script_copy_and_bind()3624 *dst++ = cpu_to_scr(*src++); in ncr_script_copy_and_bind()4403 cpu_to_scr(CCB_PHYS (cp, restart)); in ncr_start_next_ccb()6279 newcmd[2] = cpu_to_scr(SCR_JUMP); in ncr_int_ma()6280 newcmd[3] = cpu_to_scr(nxtdsp); in ncr_int_ma()6449 cp->phys.smsg.size = cpu_to_scr(1); in ncr_sir_to_redo()6455 cp->phys.cmd.size = cpu_to_scr(6); in ncr_sir_to_redo()7249 tp->getscr[0] = cpu_to_scr(copy_1); in ncr_init_tcb()7261 tp->getscr[3] = cpu_to_scr(copy_1); in ncr_init_tcb()[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)
Completed in 34 milliseconds