Home
last modified time | relevance | path

Searched refs:len16 (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dqp.c490 const struct ib_send_wr *wr, u8 *len16) in build_rdma_send() argument
551 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_send()
557 const struct ib_send_wr *wr, u8 *len16) in build_rdma_write() argument
602 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write()
618 const struct ib_send_wr *wr, u8 *len16) in build_rdma_write_cmpl() argument
657 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write_cmpl()
661 u8 *len16) in build_rdma_read() argument
686 *len16 = DIV_ROUND_UP(sizeof(wqe->read), 16); in build_rdma_read()
699 u8 len16; in post_write_cmpl() local
708 build_rdma_write_cmpl(&qhp->wq.sq, &wqe->write_cmpl, wr, &len16); in post_write_cmpl()
[all …]
Dt4.h120 enum fw_wr_opcodes opcode, u8 flags, u8 len16) in init_wr_hdr() argument
128 wqe->send.len16 = len16; in init_wr_hdr()
395 u8 len16; member
430 static inline void t4_srq_produce(struct t4_srq *srq, u8 len16) in t4_srq_produce() argument
435 srq->wq_pidx += DIV_ROUND_UP(len16 * 16, T4_EQ_ENTRY_SIZE); in t4_srq_produce()
500 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) in t4_rq_produce() argument
505 wq->rq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_rq_produce()
547 static inline void t4_sq_produce(struct t4_wq *wq, u8 len16) in t4_sq_produce() argument
552 wq->sq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_sq_produce()
592 static inline void t4_ring_srq_db(struct t4_srq *srq, u16 inc, u8 len16, in t4_ring_srq_db() argument
[all …]
Dt4fw_ri_api.h550 __u8 len16; member
578 __u8 len16; member
603 __u8 len16; member
634 __u8 len16; member
651 __u8 len16; member
660 __u8 len16; member
698 __u8 len16; member
735 __u8 len16; member
747 __u8 len16; member
Dcq.c478 c4iw_copy_wr_to_srq(srq, &pwr->wqe, pwr->len16); in post_pending_srq_wrs()
480 t4_srq_produce(srq, pwr->len16); in post_pending_srq_wrs()
481 idx += DIV_ROUND_UP(pwr->len16 * 16, T4_EQ_ENTRY_SIZE); in post_pending_srq_wrs()
485 t4_ring_srq_db(srq, idx, pwr->len16, &pwr->wqe); in post_pending_srq_wrs()
Dmem.c94 req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), 16)); in _c4iw_write_mem_dma_aligned()
159 req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), in _c4iw_write_mem_inline()
Diw_cxgb4.h1049 void c4iw_copy_wr_to_srq(struct t4_srq *srq, union t4_recv_wr *wqe, u8 len16);
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c627 size_t len16; in t4vf_query_params() local
636 len16 = DIV_ROUND_UP(offsetof(struct fw_params_cmd, in t4vf_query_params()
638 cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); in t4vf_query_params()
665 size_t len16; in t4vf_set_params() local
674 len16 = DIV_ROUND_UP(offsetof(struct fw_params_cmd, in t4vf_set_params()
676 cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); in t4vf_set_params()
1543 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4vf_alloc_mac_filt() local
1556 FW_CMD_LEN16_V(len16)); in t4vf_alloc_mac_filt()
1627 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4vf_free_mac_filt() local
1640 FW_CMD_LEN16_V(len16)); in t4vf_free_mac_filt()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c1007 int len16, pktlen; in chcr_ktls_write_tcp_options() local
1024 len16 = DIV_ROUND_UP(sizeof(*wr) + ctrl, 16); in chcr_ktls_write_tcp_options()
1026 ndesc = DIV_ROUND_UP(len16, 4); in chcr_ktls_write_tcp_options()
1046 wr->equiq_to_len16 = htonl(wr_mid | FW_WR_LEN16_V(len16)); in chcr_ktls_write_tcp_options()
1113 u32 len16, wr_mid = 0, flits = 0, ndesc, cipher_start; in chcr_ktls_xmit_wr_complete() local
1163 len16 = DIV_ROUND_UP(flits, 2); in chcr_ktls_xmit_wr_complete()
1165 wr->flowid_len16 = htonl(wr_mid | FW_WR_LEN16_V(len16)); in chcr_ktls_xmit_wr_complete()
1174 ulptx->len = htonl(len16 - 1); in chcr_ktls_xmit_wr_complete()
1288 u32 len16, wr_mid = 0, cipher_start, nfrags; in chcr_ktls_xmit_wr_short() local
1345 len16 = DIV_ROUND_UP(flits, 2); in chcr_ktls_xmit_wr_short()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dvars.c385 unsigned long len16) in dup_variable_bug() argument
387 size_t i, len8 = len16 / sizeof(efi_char16_t); in dup_variable_bug()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c88 req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16)); in cxgbit_ppod_init_idata()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c411 kwr->req.len16 = cpu_to_be32((csk->tid << 8) | in chtls_setkey()
Dchtls.h382 __be32 len16; /* command length */ member
/kernel/linux/linux-5.10/drivers/crypto/chelsio/
Dchcr_algo.c764 unsigned int len16, in create_wreq() argument
785 htonl(FW_CRYPTO_LOOKASIDE_WR_LEN16_V(DIV_ROUND_UP(len16, 16))); in create_wreq()
791 chcr_req->ulptx.len = htonl((DIV_ROUND_UP(len16, 16) - in create_wreq()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c2537 u32 len, len16, nparams = 6; in cxgb4_ethofld_send_flowc() local
2545 len16 = DIV_ROUND_UP(len, 16); in cxgb4_ethofld_send_flowc()
2582 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(len16) | in cxgb4_ethofld_send_flowc()
Dt4_hw.c8017 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_alloc_mac_filt() local
8030 FW_CMD_LEN16_V(len16)); in t4_alloc_mac_filt()
8105 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_free_mac_filt() local
8118 FW_CMD_LEN16_V(len16)); in t4_free_mac_filt()
Dt4_msg.h1748 __be32 len16; /* command length */ member
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1985 req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16)); in ulp_mem_io_set_hdr()