Lines Matching refs:cpu_to_be32
84 ulpmc->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_ULPTX_WR) |
87 ulpmc->wr.wr_mid = cpu_to_be32(V_FW_WR_LEN16(DIV_ROUND_UP(wr_len, 16)));
88 ulpmc->cmd = cpu_to_be32(V_ULPTX_CMD(ULP_TX_MEM_WRITE) |
91 ulpmc->dlen = cpu_to_be32(V_ULP_MEMIO_DATA_LEN(len>>5));
92 ulpmc->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(ulpmc->wr), 16));
93 ulpmc->lock_addr = cpu_to_be32(V_ULP_MEMIO_ADDR(addr));
96 sgl->cmd_nsge = cpu_to_be32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
98 sgl->len0 = cpu_to_be32(len);
121 cmd = cpu_to_be32(V_ULPTX_CMD(ULP_TX_MEM_WRITE));
123 cmd |= cpu_to_be32(F_T5_ULP_MEMIO_IMM);
144 ulpmc->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_ULPTX_WR) |
149 ulpmc->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_ULPTX_WR));
150 ulpmc->wr.wr_mid = cpu_to_be32(
154 ulpmc->dlen = cpu_to_be32(V_ULP_MEMIO_DATA_LEN(
156 ulpmc->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(ulpmc->wr),
158 ulpmc->lock_addr = cpu_to_be32(V_ULP_MEMIO_ADDR(addr + i * 3));
161 ulpsc->cmd_more = cpu_to_be32(V_ULPTX_CMD(ULP_TX_SC_IMM));
162 ulpsc->len = cpu_to_be32(roundup(copy_len, T4_ULPTX_MIN_IO));
292 tpt.valid_to_pdid = cpu_to_be32(F_FW_RI_TPTE_VALID |
296 tpt.locread_to_qpid = cpu_to_be32(V_FW_RI_TPTE_PERM(perm) |
301 tpt.nosnoop_pbladdr = !pbl_size ? 0 : cpu_to_be32(
303 tpt.len_lo = cpu_to_be32((u32)(len & 0xffffffffUL));
304 tpt.va_hi = cpu_to_be32((u32)(to >> 32));
305 tpt.va_lo_fbo = cpu_to_be32((u32)(to & 0xffffffffUL));
306 tpt.dca_mwbcnt_pstag = cpu_to_be32(0);
307 tpt.len_hi = cpu_to_be32((u32)(len >> 32));