Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/libcxgb4/
H A Dqp.c45 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
[all …]
H A Dt4.h143 enum fw_wr_opcodes opcode, u8 flags, u8 len16) in init_wr_hdr() argument
151 wqe->send.len16 = len16; in init_wr_hdr()
383 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) in t4_rq_produce() argument
388 wq->rq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_rq_produce()
426 static inline void t4_sq_produce(struct t4_wq *wq, u8 len16) in t4_sq_produce() argument
431 wq->sq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_sq_produce()
461 int len16 = 4; in copy_wqe_to_udb() local
466 while (len16) { in copy_wqe_to_udb()
469 len16--; in copy_wqe_to_udb()
476 static inline void t4_ring_sq_db(struct t4_wq *wq, u16 inc, u8 t4, u8 len16, in t4_ring_sq_db() argument
[all …]
H A Dt4fw_ri_api.h533 __u8 len16; member
551 __u8 len16; member
576 __u8 len16; member
593 __u8 len16; member
602 __u8 len16; member
640 __u8 len16; member
677 __u8 len16; member
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c409 const struct ib_send_wr *wr, u8 *len16) in build_rdma_send() argument
470 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_send()
476 const struct ib_send_wr *wr, u8 *len16) in build_rdma_write() argument
513 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write()
518 static int build_rdma_read(union t4_wr *wqe, const struct ib_send_wr *wr, u8 *len16) in build_rdma_read() argument
544 *len16 = DIV_ROUND_UP(sizeof wqe->read, 16); in build_rdma_read()
549 const struct ib_recv_wr *wr, u8 *len16) in build_rdma_recv() argument
558 *len16 = DIV_ROUND_UP(sizeof wqe->recv + in build_rdma_recv()
564 u8 *len16) in build_inv_stag() argument
568 *len16 = DIV_ROUND_UP(sizeof wqe->inv, 16); in build_inv_stag()
[all …]
H A Dt4.h132 enum fw_wr_opcodes opcode, u8 flags, u8 len16) in init_wr_hdr() argument
140 wqe->send.len16 = len16; in init_wr_hdr()
387 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) in t4_rq_produce() argument
392 wq->rq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_rq_produce()
435 static inline void t4_sq_produce(struct t4_wq *wq, u8 len16) in t4_sq_produce() argument
440 wq->sq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_sq_produce()
H A Dmem.c90 ulpmc->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(ulpmc->wr), 16)); in _c4iw_write_mem_dma_aligned()
154 ulpmc->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(ulpmc->wr), in _c4iw_write_mem_inline()
/freebsd/sys/dev/qlxgb/
H A Dqla_dbg.c88 void qla_dump_buf16(qla_host_t *ha, char *msg, void *dbuf16, uint32_t len16) in qla_dump_buf16() argument
99 while (len16 >= 8) { in qla_dump_buf16()
104 len16 -= 8; in qla_dump_buf16()
107 switch (len16) { in qla_dump_buf16()
H A Dqla_dbg.h43 uint32_t len16);
/freebsd/sys/dev/qlxgbe/
H A Dql_dbg.c85 void ql_dump_buf16(qla_host_t *ha, const char *msg, void *dbuf16, uint32_t len16) in ql_dump_buf16() argument
96 while (len16 >= 8) { in ql_dump_buf16()
101 len16 -= 8; in ql_dump_buf16()
104 switch (len16) { in ql_dump_buf16()
H A Dql_dbg.h41 uint32_t len16);
/freebsd/sys/dev/qlxge/
H A Dqls_dbg.c90 qls_dump_buf16(qla_host_t *ha, const char *msg, void *dbuf16, uint32_t len16) in qls_dump_buf16() argument
101 while (len16 >= 8) { in qls_dump_buf16()
106 len16 -= 8; in qls_dump_buf16()
109 switch (len16) { in qls_dump_buf16()
H A Dqls_dbg.h43 uint32_t len16);
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c2317 set_mbuf_eo_len16(struct mbuf *m, uint8_t len16) in set_mbuf_eo_len16() argument
2321 m->m_pkthdr.PH_loc.eight[2] = len16; in set_mbuf_eo_len16()
2911 start_wrq_wr(struct sge_wrq *wrq, int len16, struct wrq_cookie *cookie) in start_wrq_wr() argument
2919 MPASS(len16 > 0); in start_wrq_wr()
2920 ndesc = tx_len16_to_desc(len16); in start_wrq_wr()
2935 wr = alloc_wrqe(len16 * 16, wrq); in start_wrq_wr()
2960 wrq->ss_len = len16 * 16; in start_wrq_wr()
3215 MPASS(avail >= tx_len16_to_desc(txp->len16)); in eth_tx()
3315 MPASS(avail >= tx_len16_to_desc(txp->len16)); in eth_tx()
5451 int len16, ndesc, pktlen; in write_txpkt_vm_wr() local
[all …]
H A Dadapter.h588 uint8_t len16; /* # of 16B pieces used by this work request */ member
1190 set_mbuf_len16(struct mbuf *m, uint8_t len16) in set_mbuf_len16() argument
1194 MPASS(len16 > 0 && len16 <= SGE_MAX_WR_LEN / 16); in set_mbuf_len16()
1195 m->m_pkthdr.PH_loc.eight[0] = len16; in set_mbuf_len16()
1592 tx_len16_to_desc(int len16) in tx_len16_to_desc() argument
1595 return (howmany(len16, EQ_ESIZE / 16)); in tx_len16_to_desc()
H A Dt4_filter.c669 int len16; in set_tcamfilter() local
672 len16 = howmany(sizeof(struct fw_filter2_wr), 16); in set_tcamfilter()
674 len16 = howmany(sizeof(struct fw_filter_wr), 16); in set_tcamfilter()
675 fwr = start_wrq_wr(&sc->sge.ctrlq[0], len16, &cookie); in set_tcamfilter()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c1117 int len16, ndesc, pktlen; in ktls_write_tcp_options() local
1130 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) + ctrl, 16); in ktls_write_tcp_options()
1131 ndesc = tx_len16_to_desc(len16); in ktls_write_tcp_options()
1138 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tcp_options()
1211 int len16, ndesc, pktlen; in ktls_write_tunnel_packet() local
1230 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) + ctrl, 16); in ktls_write_tunnel_packet()
1231 ndesc = tx_len16_to_desc(len16); in ktls_write_tunnel_packet()
1238 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tunnel_packet()
1859 int len16, ndesc, pktlen; in ktls_write_tcp_fin() local
1872 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) + ctrl, 16); in ktls_write_tcp_fin()
[all …]
H A Dt4_crypto.h207 __be32 len16; /* command length */ member
H A Dt4_keyctx.c672 kwr->len16 = htobe32((tid << 8) | in t4_write_tlskey_wr()
/freebsd/sys/dev/usb/wlan/
H A Dif_zyd.c2244 uint16_t len16 = UGETW(desc.len[i]); in zyd_bulk_read_callback() local
2246 if (len16 == 0 || len16 > actlen) in zyd_bulk_read_callback()
2249 zyd_rx_data(xfer, offset, len16); in zyd_bulk_read_callback()
2252 len16 = (len16 + 3) & ~3; in zyd_bulk_read_callback()
2253 offset += len16; in zyd_bulk_read_callback()
2254 if (len16 > actlen) in zyd_bulk_read_callback()
2256 actlen -= len16; in zyd_bulk_read_callback()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1659 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_ps()
1741 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_rcvbuf()
1846 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_bio()
1926 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_buf()
2017 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_sgl()
/freebsd/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h1817 __u8 len16; member
1835 __u8 len16; member
1860 __u8 len16; member
1891 __u8 len16; member
1908 __u8 len16; member
1917 __u8 len16; member
1955 __u8 len16; member
1992 __u8 len16; member
2004 __u8 len16; member
2014 __u8 len16; member
[all …]
/freebsd/sys/dev/cxgbe/common/
H A Dt4_hw.c8191 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_alloc_mac_filt() local
8203 V_FW_CMD_LEN16(len16)); in t4_alloc_mac_filt()
8364 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_free_mac_filt() local
8377 V_FW_CMD_LEN16(len16)); in t4_free_mac_filt()
H A Dt4_msg.h2899 __be32 len16; /* command length */ member