Home
last modified time | relevance | path

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

/linux-6.6.21/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()
495 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) in t4_rq_produce() argument
500 wq->rq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_rq_produce()
537 static inline void t4_sq_produce(struct t4_wq *wq, u8 len16) in t4_sq_produce() argument
542 wq->sq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_sq_produce()
582 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.h542 __u8 len16; member
568 __u8 len16; member
591 __u8 len16; member
620 __u8 len16; member
637 __u8 len16; member
646 __u8 len16; member
684 __u8 len16; member
721 __u8 len16; member
733 __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.h1035 void c4iw_copy_wr_to_srq(struct t4_srq *srq, union t4_recv_wr *wqe, u8 len16);
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c628 size_t len16; in t4vf_query_params() local
637 len16 = DIV_ROUND_UP(offsetof(struct fw_params_cmd, in t4vf_query_params()
639 cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); in t4vf_query_params()
666 size_t len16; in t4vf_set_params() local
675 len16 = DIV_ROUND_UP(offsetof(struct fw_params_cmd, in t4vf_set_params()
677 cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); in t4vf_set_params()
1544 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4vf_alloc_mac_filt() local
1557 FW_CMD_LEN16_V(len16)); in t4vf_alloc_mac_filt()
1628 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4vf_free_mac_filt() local
1641 FW_CMD_LEN16_V(len16)); in t4vf_free_mac_filt()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c1001 int len16, pktlen; in chcr_ktls_write_tcp_options() local
1018 len16 = DIV_ROUND_UP(sizeof(*wr) + ctrl, 16); in chcr_ktls_write_tcp_options()
1020 ndesc = DIV_ROUND_UP(len16, 4); in chcr_ktls_write_tcp_options()
1040 wr->equiq_to_len16 = htonl(wr_mid | FW_WR_LEN16_V(len16)); in chcr_ktls_write_tcp_options()
1107 u32 len16, wr_mid = 0, flits = 0, ndesc, cipher_start; in chcr_ktls_xmit_wr_complete() local
1157 len16 = DIV_ROUND_UP(flits, 2); in chcr_ktls_xmit_wr_complete()
1159 wr->flowid_len16 = htonl(wr_mid | FW_WR_LEN16_V(len16)); in chcr_ktls_xmit_wr_complete()
1168 ulptx->len = htonl(len16 - 1); in chcr_ktls_xmit_wr_complete()
1282 u32 len16, wr_mid = 0, cipher_start, nfrags; in chcr_ktls_xmit_wr_short() local
1339 len16 = DIV_ROUND_UP(flits, 2); in chcr_ktls_xmit_wr_short()
[all …]
/linux-6.6.21/fs/efivarfs/
Dvars.c343 unsigned long len16) in dup_variable_bug() argument
345 size_t i, len8 = len16 / sizeof(efi_char16_t); in dup_variable_bug()
/linux-6.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c88 req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16)); in cxgbit_ppod_init_idata()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h385 __be32 len16; /* command length */ member
Dchtls_hw.c411 kwr->req.len16 = cpu_to_be32((csk->tid << 8) | in chtls_setkey()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c2543 u32 len, len16, nparams = 6; in cxgb4_ethofld_send_flowc() local
2551 len16 = DIV_ROUND_UP(len, 16); in cxgb4_ethofld_send_flowc()
2588 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(len16) | in cxgb4_ethofld_send_flowc()
Dt4_hw.c7988 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_alloc_mac_filt() local
8001 FW_CMD_LEN16_V(len16)); in t4_alloc_mac_filt()
8076 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_free_mac_filt() local
8089 FW_CMD_LEN16_V(len16)); in t4_free_mac_filt()
Dt4_msg.h1748 __be32 len16; /* command length */ member
/linux-6.6.21/drivers/crypto/chelsio/
Dchcr_algo.c760 unsigned int len16, in create_wreq() argument
781 htonl(FW_CRYPTO_LOOKASIDE_WR_LEN16_V(DIV_ROUND_UP(len16, 16))); in create_wreq()
787 chcr_req->ulptx.len = htonl((DIV_ROUND_UP(len16, 16) - in create_wreq()
/linux-6.6.21/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1986 req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16)); in ulp_mem_io_set_hdr()