Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/ofed/libcxgb4/
H A Dqp.c55 len16 = align(len16, 4); in copy_wr_to_sq()
66 total = len16 * 16; in copy_wr_to_sq()
91 total = len16 * 16; in copy_wr_to_rq()
202 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_send()
243 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write()
313 u8 len16 = 0; in c4iw_post_send() local
400 t4_sq_produce(&qhp->wq, len16); in c4iw_post_send()
405 len16, wqe); in c4iw_post_send()
424 u8 len16 = 0; in c4iw_post_receive() local
465 wqe->recv.len16 = len16; in c4iw_post_receive()
[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()
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()
483 __func__, wq->sq.pidx, len16); in t4_ring_sq_db()
487 __func__, wq->sq.pidx, len16); in t4_ring_sq_db()
532 __func__, wq->rq.pidx, len16); in t4_ring_rq_db()
[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-14.2/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-14.2/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-14.2/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c470 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_send()
513 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write()
564 u8 *len16) in build_inv_stag() argument
702 *len16 = DIV_ROUND_UP(sizeof(*fr), 16); in build_tpte_memreg()
778 u8 len16 = 0; in c4iw_post_send() local
863 mhp, &len16); in c4iw_post_send()
867 mhp, &len16, in c4iw_post_send()
907 t4_sq_produce(&qhp->wq, len16); in c4iw_post_send()
923 u8 len16 = 0; in c4iw_post_receive() local
968 wqe->recv.len16 = len16; in c4iw_post_receive()
[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-14.2/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-14.2/sys/dev/cxgbe/
H A Dt4_sge.c2919 MPASS(len16 > 0); in start_wrq_wr()
2960 wrq->ss_len = len16 * 16; in start_wrq_wr()
5453 int len16, ndesc, pktlen; in write_txpkt_vm_wr() local
5459 len16 = mbuf_len16(m0); in write_txpkt_vm_wr()
5472 ctrl = V_FW_WR_LEN16(len16); in write_txpkt_vm_wr()
5550 int len16, ndesc; in write_raw_wr() local
5552 len16 = mbuf_len16(m0); in write_raw_wr()
5592 len16 = mbuf_len16(m0); in write_txpkt_wr()
5787 txp->len16 = in add_to_txpkts_pf()
5792 txp->len16 = in add_to_txpkts_pf()
[all …]
H A Dadapter.h588 uint8_t len16; /* # of 16B pieces used by this work request */ member
1188 set_mbuf_len16(struct mbuf *m, uint8_t len16) in set_mbuf_len16() argument
1192 MPASS(len16 > 0 && len16 <= SGE_MAX_WR_LEN / 16); in set_mbuf_len16()
1193 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-14.2/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c1118 int len16, ndesc, pktlen; in ktls_write_tcp_options() local
1131 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) + ctrl, 16); in ktls_write_tcp_options()
1132 ndesc = tx_len16_to_desc(len16); in ktls_write_tcp_options()
1139 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tcp_options()
1212 int len16, ndesc, pktlen; in ktls_write_tunnel_packet() local
1231 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) + ctrl, 16); in ktls_write_tunnel_packet()
1232 ndesc = tx_len16_to_desc(len16); in ktls_write_tunnel_packet()
1239 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tunnel_packet()
1860 int len16, ndesc, pktlen; in ktls_write_tcp_fin() local
1874 ndesc = tx_len16_to_desc(len16); in ktls_write_tcp_fin()
[all …]
H A Dt4_crypto.h207 __be32 len16; /* command length */ member
H A Dt4_keyctx.c673 kwr->len16 = htobe32((tid << 8) | in t4_write_tlskey_wr()
/freebsd-14.2/sys/dev/usb/wlan/
H A Dif_zyd.c2245 uint16_t len16 = UGETW(desc.len[i]); in zyd_bulk_read_callback() local
2247 if (len16 == 0 || len16 > actlen) in zyd_bulk_read_callback()
2250 zyd_rx_data(xfer, offset, len16); in zyd_bulk_read_callback()
2253 len16 = (len16 + 3) & ~3; in zyd_bulk_read_callback()
2254 offset += len16; in zyd_bulk_read_callback()
2255 if (len16 > actlen) in zyd_bulk_read_callback()
2257 actlen -= len16; in zyd_bulk_read_callback()
/freebsd-14.2/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-14.2/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-14.2/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