/linux/drivers/infiniband/hw/cxgb4/ |
H A D | t4.h | 120 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 …]
|
H A D | t4fw_ri_api.h | 542 __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
|
H A D | cq.c | 478 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()
|
H A D | mem.c | 94 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()
|
H A D | iw_cxgb4.h | 1065 void c4iw_copy_wr_to_srq(struct t4_srq *srq, union t4_recv_wr *wqe, u8 len16);
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 628 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/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 997 int len16, pktlen; in chcr_ktls_write_tcp_options() local 1014 len16 = DIV_ROUND_UP(sizeof(*wr) + ctrl, 16); in chcr_ktls_write_tcp_options() 1016 ndesc = DIV_ROUND_UP(len16, 4); in chcr_ktls_write_tcp_options() 1036 wr->equiq_to_len16 = htonl(wr_mid | FW_WR_LEN16_V(len16)); in chcr_ktls_write_tcp_options() 1103 u32 len16, wr_mid = 0, flits = 0, ndesc, cipher_start; in chcr_ktls_xmit_wr_complete() local 1153 len16 = DIV_ROUND_UP(flits, 2); in chcr_ktls_xmit_wr_complete() 1155 wr->flowid_len16 = htonl(wr_mid | FW_WR_LEN16_V(len16)); in chcr_ktls_xmit_wr_complete() 1164 ulptx->len = htonl(len16 - 1); in chcr_ktls_xmit_wr_complete() 1278 u32 len16, wr_mid = 0, cipher_start, nfrags; in chcr_ktls_xmit_wr_short() local 1335 len16 = DIV_ROUND_UP(flits, 2); in chcr_ktls_xmit_wr_short() [all …]
|
/linux/fs/efivarfs/ |
H A D | vars.c | 346 unsigned long len16) in dup_variable_bug() argument 348 size_t i, len8 = len16 / sizeof(efi_char16_t); in dup_variable_bug()
|
/linux/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_ddp.c | 88 req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16)); in cxgbit_ppod_init_idata()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 7988 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()
|
H A D | t4_msg.h | 1748 __be32 len16; /* command length */ member
|
/linux/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 1986 req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16)); in ulp_mem_io_set_hdr()
|