len16 723 drivers/crypto/chelsio/chcr_algo.c unsigned int len16, len16 735 drivers/crypto/chelsio/chcr_algo.c htonl(FW_CRYPTO_LOOKASIDE_WR_LEN16_V(DIV_ROUND_UP(len16, 16))); len16 743 drivers/crypto/chelsio/chcr_algo.c chcr_req->ulptx.len = htonl((DIV_ROUND_UP(len16, 16) - len16 290 drivers/crypto/chelsio/chtls/chtls.h __be32 len16; /* command length */ len16 344 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->req.len16 = cpu_to_be32((csk->tid << 8) | len16 389 drivers/firmware/efi/vars.c unsigned long len16) len16 391 drivers/firmware/efi/vars.c size_t i, len8 = len16 / sizeof(efi_char16_t); len16 478 drivers/infiniband/hw/cxgb4/cq.c c4iw_copy_wr_to_srq(srq, &pwr->wqe, pwr->len16); len16 480 drivers/infiniband/hw/cxgb4/cq.c t4_srq_produce(srq, pwr->len16); len16 481 drivers/infiniband/hw/cxgb4/cq.c idx += DIV_ROUND_UP(pwr->len16 * 16, T4_EQ_ENTRY_SIZE); len16 485 drivers/infiniband/hw/cxgb4/cq.c t4_ring_srq_db(srq, idx, pwr->len16, &pwr->wqe); len16 1050 drivers/infiniband/hw/cxgb4/iw_cxgb4.h void c4iw_copy_wr_to_srq(struct t4_srq *srq, union t4_recv_wr *wqe, u8 len16); len16 94 drivers/infiniband/hw/cxgb4/mem.c req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), 16)); len16 159 drivers/infiniband/hw/cxgb4/mem.c req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), len16 489 drivers/infiniband/hw/cxgb4/qp.c const struct ib_send_wr *wr, u8 *len16) len16 550 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(size, 16); len16 556 drivers/infiniband/hw/cxgb4/qp.c const struct ib_send_wr *wr, u8 *len16) len16 601 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(size, 16); len16 617 drivers/infiniband/hw/cxgb4/qp.c const struct ib_send_wr *wr, u8 *len16) len16 656 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(size, 16); len16 660 drivers/infiniband/hw/cxgb4/qp.c u8 *len16) len16 685 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(sizeof(wqe->read), 16); len16 698 drivers/infiniband/hw/cxgb4/qp.c u8 len16; len16 707 drivers/infiniband/hw/cxgb4/qp.c build_rdma_write_cmpl(&qhp->wq.sq, &wqe->write_cmpl, wr, &len16); len16 751 drivers/infiniband/hw/cxgb4/qp.c write_signaled ? FW_RI_COMPLETION_FLAG : 0, len16); len16 752 drivers/infiniband/hw/cxgb4/qp.c t4_sq_produce(&qhp->wq, len16); len16 753 drivers/infiniband/hw/cxgb4/qp.c idx = DIV_ROUND_UP(len16 * 16, T4_EQ_ENTRY_SIZE); len16 759 drivers/infiniband/hw/cxgb4/qp.c const struct ib_recv_wr *wr, u8 *len16) len16 768 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP( len16 774 drivers/infiniband/hw/cxgb4/qp.c u8 *len16) len16 782 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(sizeof(wqe->recv) + len16 789 drivers/infiniband/hw/cxgb4/qp.c u8 *len16) len16 816 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(sizeof(*fr), 16); len16 821 drivers/infiniband/hw/cxgb4/qp.c u8 *len16, bool dsgl_supported) len16 856 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(sizeof(wqe->fr) + sizeof(*sglp), 16); len16 877 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(sizeof(wqe->fr) + sizeof(*imdp) len16 884 drivers/infiniband/hw/cxgb4/qp.c u8 *len16) len16 888 drivers/infiniband/hw/cxgb4/qp.c *len16 = DIV_ROUND_UP(sizeof(wqe->inv), 16); len16 1080 drivers/infiniband/hw/cxgb4/qp.c u8 len16 = 0; len16 1160 drivers/infiniband/hw/cxgb4/qp.c err = build_rdma_send(&qhp->wq.sq, wqe, wr, &len16); len16 1172 drivers/infiniband/hw/cxgb4/qp.c err = build_rdma_write(&qhp->wq.sq, wqe, wr, &len16); len16 1184 drivers/infiniband/hw/cxgb4/qp.c err = build_rdma_read(wqe, wr, &len16); len16 1199 drivers/infiniband/hw/cxgb4/qp.c mhp, &len16); len16 1203 drivers/infiniband/hw/cxgb4/qp.c mhp, &len16, len16 1216 drivers/infiniband/hw/cxgb4/qp.c err = build_inv_stag(wqe, wr, &len16); len16 1240 drivers/infiniband/hw/cxgb4/qp.c init_wr_hdr(wqe, qhp->wq.sq.pidx, fw_opcode, fw_flags, len16); len16 1247 drivers/infiniband/hw/cxgb4/qp.c t4_sq_produce(&qhp->wq, len16); len16 1248 drivers/infiniband/hw/cxgb4/qp.c idx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); len16 1267 drivers/infiniband/hw/cxgb4/qp.c u8 len16 = 0; len16 1299 drivers/infiniband/hw/cxgb4/qp.c err = build_rdma_recv(qhp, wqe, wr, &len16); len16 1322 drivers/infiniband/hw/cxgb4/qp.c wqe->recv.len16 = len16; len16 1325 drivers/infiniband/hw/cxgb4/qp.c t4_rq_produce(&qhp->wq, len16); len16 1326 drivers/infiniband/hw/cxgb4/qp.c idx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); len16 1341 drivers/infiniband/hw/cxgb4/qp.c u64 wr_id, u8 len16) len16 1351 drivers/infiniband/hw/cxgb4/qp.c pwr->len16 = len16; len16 1352 drivers/infiniband/hw/cxgb4/qp.c memcpy(&pwr->wqe, wqe, len16 * 16); len16 1362 drivers/infiniband/hw/cxgb4/qp.c u8 len16 = 0; len16 1382 drivers/infiniband/hw/cxgb4/qp.c err = build_srq_recv(wqe, wr, &len16); len16 1396 drivers/infiniband/hw/cxgb4/qp.c wqe->recv.len16 = len16; len16 1401 drivers/infiniband/hw/cxgb4/qp.c defer_srq_wr(&srq->wq, wqe, wr->wr_id, len16); len16 1405 drivers/infiniband/hw/cxgb4/qp.c c4iw_copy_wr_to_srq(&srq->wq, wqe, len16); len16 1411 drivers/infiniband/hw/cxgb4/qp.c t4_srq_produce(&srq->wq, len16); len16 1412 drivers/infiniband/hw/cxgb4/qp.c idx += DIV_ROUND_UP(len16 * 16, T4_EQ_ENTRY_SIZE); len16 1418 drivers/infiniband/hw/cxgb4/qp.c t4_ring_srq_db(&srq->wq, idx, len16, wqe); len16 1734 drivers/infiniband/hw/cxgb4/qp.c init->u.write.len16 = DIV_ROUND_UP( len16 1743 drivers/infiniband/hw/cxgb4/qp.c init->u.read.len16 = DIV_ROUND_UP(sizeof(init->u.read), 16); len16 2652 drivers/infiniband/hw/cxgb4/qp.c void c4iw_copy_wr_to_srq(struct t4_srq *srq, union t4_recv_wr *wqe, u8 len16) len16 2658 drivers/infiniband/hw/cxgb4/qp.c while (len16) { len16 2665 drivers/infiniband/hw/cxgb4/qp.c len16--; len16 120 drivers/infiniband/hw/cxgb4/t4.h enum fw_wr_opcodes opcode, u8 flags, u8 len16) len16 128 drivers/infiniband/hw/cxgb4/t4.h wqe->send.len16 = len16; len16 395 drivers/infiniband/hw/cxgb4/t4.h u8 len16; len16 430 drivers/infiniband/hw/cxgb4/t4.h static inline void t4_srq_produce(struct t4_srq *srq, u8 len16) len16 435 drivers/infiniband/hw/cxgb4/t4.h srq->wq_pidx += DIV_ROUND_UP(len16 * 16, T4_EQ_ENTRY_SIZE); len16 500 drivers/infiniband/hw/cxgb4/t4.h static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) len16 505 drivers/infiniband/hw/cxgb4/t4.h wq->rq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); len16 547 drivers/infiniband/hw/cxgb4/t4.h static inline void t4_sq_produce(struct t4_wq *wq, u8 len16) len16 552 drivers/infiniband/hw/cxgb4/t4.h wq->sq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); len16 592 drivers/infiniband/hw/cxgb4/t4.h static inline void t4_ring_srq_db(struct t4_srq *srq, u16 inc, u8 len16, len16 599 drivers/infiniband/hw/cxgb4/t4.h __func__, srq->pidx, len16); len16 603 drivers/infiniband/hw/cxgb4/t4.h __func__, srq->pidx, len16); len16 550 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 578 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 603 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 634 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 651 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 660 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 698 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 735 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 747 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 len16; len16 7980 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, len16 7993 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c FW_CMD_LEN16_V(len16)); len16 8068 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, len16 8081 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c FW_CMD_LEN16_V(len16)); len16 1715 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be32 len16; /* command length */ len16 629 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c size_t len16; len16 638 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c len16 = DIV_ROUND_UP(offsetof(struct fw_params_cmd, len16 640 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); len16 667 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c size_t len16; len16 676 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c len16 = DIV_ROUND_UP(offsetof(struct fw_params_cmd, len16 678 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); len16 1544 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, len16 1557 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c FW_CMD_LEN16_V(len16)); len16 1628 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, len16 1641 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c FW_CMD_LEN16_V(len16)); len16 1696 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, len16 1712 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.freemacs_to_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); len16 1741 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, len16 1751 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c FW_CMD_LEN16_V(len16)); len16 1783 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c size_t len16 = DIV_ROUND_UP(len, 16); len16 1791 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); len16 1905 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16)); len16 88 drivers/target/iscsi/cxgbit/cxgbit_ddp.c req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16));