Lines Matching refs:len16

45 static void copy_wr_to_sq(struct t4_wq *wq, union t4_wr *wqe, u8 len16)  in copy_wr_to_sq()  argument
55 len16 = align(len16, 4); in copy_wr_to_sq()
66 total = len16 * 16; in copy_wr_to_sq()
81 static void copy_wr_to_rq(struct t4_wq *wq, union t4_recv_wr *wqe, u8 len16) in copy_wr_to_rq() argument
91 total = len16 * 16; in copy_wr_to_rq()
159 struct ibv_send_wr *wr, u8 *len16) in build_rdma_send() argument
202 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_send()
208 struct ibv_send_wr *wr, u8 *len16) in build_rdma_write() argument
243 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write()
248 static int build_rdma_read(union t4_wr *wqe, struct ibv_send_wr *wr, u8 *len16) in build_rdma_read() argument
271 *len16 = DIV_ROUND_UP(sizeof wqe->read, 16); in build_rdma_read()
276 struct ibv_recv_wr *wr, u8 *len16) in build_rdma_recv() argument
283 *len16 = DIV_ROUND_UP(sizeof wqe->recv + in build_rdma_recv()
313 u8 len16 = 0; in c4iw_post_send() local
356 err = build_rdma_send(&qhp->wq.sq, wqe, wr, &len16); in c4iw_post_send()
362 err = build_rdma_write(&qhp->wq.sq, wqe, wr, &len16); in c4iw_post_send()
369 err = build_rdma_read(wqe, wr, &len16); in c4iw_post_send()
393 init_wr_hdr(wqe, qhp->wq.sq.pidx, fw_opcode, fw_flags, len16); in c4iw_post_send()
399 copy_wr_to_sq(&qhp->wq, wqe, len16); in c4iw_post_send()
400 t4_sq_produce(&qhp->wq, len16); in c4iw_post_send()
401 idx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in c4iw_post_send()
405 len16, wqe); in c4iw_post_send()
424 u8 len16 = 0; in c4iw_post_receive() local
449 err = build_rdma_recv(qhp, wqe, wr, &len16); in c4iw_post_receive()
465 wqe->recv.len16 = len16; in c4iw_post_receive()
468 copy_wr_to_rq(&qhp->wq, wqe, len16); in c4iw_post_receive()
469 t4_rq_produce(&qhp->wq, len16); in c4iw_post_receive()
470 idx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in c4iw_post_receive()
476 len16, wqe); in c4iw_post_receive()