Lines Matching refs:cpu_to_le32
113 cpu_to_le32( NES_CQP_ALLOCATE_STAG | NES_CQP_STAG_RIGHTS_REMOTE_READ |
334 cpu_to_le32((u32)(region_length >> 8) & 0xff000000);
336 cpu_to_le32(nespd->pd_id & 0x00007fff);
343 cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX] |= cpu_to_le32(NES_CQP_STAG_PBL_BLK_SIZE);
1276 nesqp->nesqp_context->misc |= cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) <<
1278 nesqp->nesqp_context->misc |= cpu_to_le32((u32)nesqp->hwqp.rq_encoded_size <<
1280 nesqp->nesqp_context->misc |= cpu_to_le32((u32)nesqp->hwqp.sq_encoded_size <<
1283 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_PRIV_EN);
1284 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_FAST_REGISTER_EN);
1286 nesqp->nesqp_context->cqs = cpu_to_le32(nesqp->nesscq->hw_cq.cq_number +
1289 nesqp->nesqp_context->sq_addr_low = cpu_to_le32((u32)u64temp);
1290 nesqp->nesqp_context->sq_addr_high = cpu_to_le32((u32)(u64temp >> 32));
1295 nesqp->nesqp_context->sq_addr_low = cpu_to_le32((u32)u64temp);
1296 nesqp->nesqp_context->sq_addr_high = cpu_to_le32((u32)(u64temp >> 32));
1298 nesqp->nesqp_context->rq_addr_low = cpu_to_le32((u32)u64temp);
1299 nesqp->nesqp_context->rq_addr_high = cpu_to_le32((u32)(u64temp >> 32));
1302 nesqp->nesqp_context->rq_addr_low = cpu_to_le32((u32)u64temp);
1303 nesqp->nesqp_context->rq_addr_high = cpu_to_le32((u32)(u64temp >> 32));
1310 nesqp->nesqp_context->misc2 |= cpu_to_le32(
1320 nesqp->nesqp_context->pd_index_wscale |= cpu_to_le32((u32)nesqp->nespd->pd_id << 16);
1322 nesqp->nesqp_context->q2_addr_low = cpu_to_le32((u32)u64temp);
1323 nesqp->nesqp_context->q2_addr_high = cpu_to_le32((u32)(u64temp >> 32));
1324 nesqp->nesqp_context->aeq_token_low = cpu_to_le32((u32)((unsigned long)(nesqp)));
1325 nesqp->nesqp_context->aeq_token_high = cpu_to_le32((u32)(upper_32_bits((unsigned long)(nesqp))));
1326 nesqp->nesqp_context->ird_ord_sizes = cpu_to_le32(NES_QPCONTEXT_ORDIRD_ALSMM |
1332 nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32(NES_QPCONTEXT_ORDIRD_RNMC);
1736 cpu_to_le32((u32)(u64temp >> 1));
1738 cpu_to_le32(((u32)((u64temp) >> 33)) & 0x7FFFFFFF);
1898 cpu_to_le32((u32)leaf_pbl);
1900 cpu_to_le32((u32)((((u64)leaf_pbl) >> 32)));
1913 cpu_to_le32((u32)leaf_pbl);
1915 cpu_to_le32((u32)((((u64)leaf_pbl) >> 32)));
2039 cpu_to_le32((u32)(region_length >> 8) & 0xff000000);
2041 cpu_to_le32(nespd->pd_id & 0x00007fff);
2052 cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX] |= cpu_to_le32(NES_CQP_STAG_PBL_BLK_SIZE);
2178 root_vpbl.pbl_vbase[0].pa_low = cpu_to_le32((u32)vpbl.pbl_pbase);
2180 cpu_to_le32((u32)((((u64)vpbl.pbl_pbase) >> 32)));
2197 cpu_to_le32((u32)vpbl.pbl_pbase);
2199 cpu_to_le32((u32)((((u64)vpbl.pbl_pbase) >> 32)));
2225 vpbl.pbl_vbase[cur_pbl_index].pa_low = cpu_to_le32((u32)buffer_list[i].addr & PAGE_MASK);
2227 cpu_to_le32((u32)((((u64)buffer_list[i].addr) >> 32)));
2454 cpu_to_le32((u32)vpbl.pbl_pbase);
2456 cpu_to_le32((u32)((((u64)vpbl.pbl_pbase) >> 32)));
2472 cpu_to_le32((u32)vpbl.pbl_pbase);
2474 cpu_to_le32((u32)((((u64)vpbl.pbl_pbase)>>32)));
2496 cpu_to_le32((u32)(sg_dma_address(&chunk->page_list[nmap_index])+
2499 cpu_to_le32((u32)((((u64)(sg_dma_address(&chunk->page_list[nmap_index])+
2618 ((__le32 *)pbl)[0] = cpu_to_le32((u32)
2621 ((__le32 *)pbl)[1] = cpu_to_le32(((u64)
3093 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_RDMA_WRITE_EN |
3098 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_RDMA_WRITE_EN);
3102 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_RDMA_READ_EN);
3106 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_WBIND_EN);
3111 nesqp->nesqp_context->misc |= cpu_to_le32(NES_QPCONTEXT_MISC_RDMA_WRITE_EN |
3509 wqe->wqe_words[NES_IWARP_SQ_WQE_MISC_IDX] = cpu_to_le32(wqe_misc);
3690 cpu_to_le32((NES_IWARP_CQE_MAJOR_FLUSH << 16) |
3706 wrid = (((u64)(cpu_to_le32((u32)nesqp->hwqp.sq_vbase[wqe_index].
3708 ((u64)(cpu_to_le32((u32)nesqp->hwqp.sq_vbase[wqe_index].
3784 cpu_to_le32(wqe_index);