| /freebsd-13.1/contrib/ofed/libcxgb4/ |
| H A D | qp.c | 55 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 D | t4.h | 143 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 D | t4fw_ri_api.h | 533 __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-13.1/sys/dev/qlxgb/ |
| H A D | qla_dbg.c | 90 void qla_dump_buf16(qla_host_t *ha, char *msg, void *dbuf16, uint32_t len16) in qla_dump_buf16() argument 101 while (len16 >= 8) { in qla_dump_buf16() 106 len16 -= 8; in qla_dump_buf16() 109 switch (len16) { in qla_dump_buf16()
|
| H A D | qla_dbg.h | 45 uint32_t len16);
|
| /freebsd-13.1/sys/dev/qlxgbe/ |
| H A D | ql_dbg.c | 87 void ql_dump_buf16(qla_host_t *ha, const char *msg, void *dbuf16, uint32_t len16) in ql_dump_buf16() argument 98 while (len16 >= 8) { in ql_dump_buf16() 103 len16 -= 8; in ql_dump_buf16() 106 switch (len16) { in ql_dump_buf16()
|
| H A D | ql_dbg.h | 43 uint32_t len16);
|
| /freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/ |
| H A D | qp.c | 469 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_send() 512 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write() 563 u8 *len16) in build_inv_stag() argument 703 *len16 = DIV_ROUND_UP(sizeof(*fr), 16); in build_tpte_memreg() 779 u8 len16 = 0; in c4iw_post_send() local 862 mhp, &len16); in c4iw_post_send() 866 mhp, &len16, in c4iw_post_send() 906 t4_sq_produce(&qhp->wq, len16); in c4iw_post_send() 922 u8 len16 = 0; in c4iw_post_receive() local 965 wqe->recv.len16 = len16; in c4iw_post_receive() [all …]
|
| H A D | t4.h | 134 enum fw_wr_opcodes opcode, u8 flags, u8 len16) in init_wr_hdr() argument 142 wqe->send.len16 = len16; in init_wr_hdr() 389 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) in t4_rq_produce() argument 394 wq->rq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_rq_produce() 437 static inline void t4_sq_produce(struct t4_wq *wq, u8 len16) in t4_sq_produce() argument 442 wq->sq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_sq_produce()
|
| H A D | mem.c | 92 ulpmc->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(ulpmc->wr), 16)); in _c4iw_write_mem_dma_aligned() 156 ulpmc->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(ulpmc->wr), in _c4iw_write_mem_inline()
|
| /freebsd-13.1/sys/dev/qlxge/ |
| H A D | qls_dbg.c | 92 qls_dump_buf16(qla_host_t *ha, const char *msg, void *dbuf16, uint32_t len16) in qls_dump_buf16() argument 103 while (len16 >= 8) { in qls_dump_buf16() 108 len16 -= 8; in qls_dump_buf16() 111 switch (len16) { in qls_dump_buf16()
|
| H A D | qls_dbg.h | 45 uint32_t len16);
|
| /freebsd-13.1/sys/dev/cxgbe/ |
| H A D | t4_sge.c | 2307 MPASS(len16 > 0 && len16 <= SGE_MAX_WR_LEN / 16); in set_mbuf_len16() 2723 int len16; in parse_pkt() local 2946 MPASS(len16 > 0); in start_wrq_wr() 2983 wrq->ss_len = len16 * 16; in start_wrq_wr() 5400 int len16, ndesc, pktlen; in write_txpkt_vm_wr() local 5406 len16 = mbuf_len16(m0); in write_txpkt_vm_wr() 5496 int len16, ndesc; in write_raw_wr() local 5498 len16 = mbuf_len16(m0); in write_raw_wr() 5538 len16 = mbuf_len16(m0); in write_txpkt_wr() 5733 txp->len16 = in add_to_txpkts_pf() [all …]
|
| H A D | adapter.h | 583 uint8_t len16; /* # of 16B pieces used by this work request */ member 1476 tx_len16_to_desc(int len16) in tx_len16_to_desc() argument 1479 return (howmany(len16, EQ_ESIZE / 16)); in tx_len16_to_desc()
|
| H A D | t4_filter.c | 671 int len16; in set_tcamfilter() local 674 len16 = howmany(sizeof(struct fw_filter2_wr), 16); in set_tcamfilter() 676 len16 = howmany(sizeof(struct fw_filter_wr), 16); in set_tcamfilter() 677 fwr = start_wrq_wr(&sc->sge.ctrlq[0], len16, &cookie); in set_tcamfilter()
|
| /freebsd-13.1/sys/dev/cxgbe/crypto/ |
| H A D | t4_kern_tls.c | 85 __be32 len16; /* command length */ member 855 kwr->len16 = htobe32((tlsp->tid << 8) | in ktls_setup_keys() 1364 int len16, ndesc, pktlen; in ktls_write_tcp_options() local 1378 ndesc = tx_len16_to_desc(len16); in ktls_write_tcp_options() 1385 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tcp_options() 1458 int len16, ndesc, pktlen; in ktls_write_tunnel_packet() local 1478 ndesc = tx_len16_to_desc(len16); in ktls_write_tunnel_packet() 1485 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tunnel_packet() 2105 int len16, ndesc, pktlen; in ktls_write_tcp_fin() local 2119 ndesc = tx_len16_to_desc(len16); in ktls_write_tcp_fin() [all …]
|
| /freebsd-13.1/sys/dev/usb/wlan/ |
| H A D | if_zyd.c | 2249 uint16_t len16 = UGETW(desc.len[i]); in zyd_bulk_read_callback() local 2251 if (len16 == 0 || len16 > actlen) in zyd_bulk_read_callback() 2254 zyd_rx_data(xfer, offset, len16); in zyd_bulk_read_callback() 2257 len16 = (len16 + 3) & ~3; in zyd_bulk_read_callback() 2258 offset += len16; in zyd_bulk_read_callback() 2259 if (len16 > actlen) in zyd_bulk_read_callback() 2261 actlen -= len16; in zyd_bulk_read_callback()
|
| /freebsd-13.1/sys/dev/cxgbe/tom/ |
| H A D | t4_tls.h | 290 __be32 len16; /* command length */ member
|
| H A D | t4_ddp.c | 1129 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_ps() 1228 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_buf() 1318 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_sgl()
|
| H A D | t4_tls.c | 541 kwr->len16 = htobe32((toep->tid << 8) | in tls_program_key_id()
|
| /freebsd-13.1/sys/dev/cxgbe/firmware/ |
| H A D | t4fw_interface.h | 1819 __u8 len16; member 1837 __u8 len16; member 1862 __u8 len16; member 1893 __u8 len16; member 1910 __u8 len16; member 1919 __u8 len16; member 1957 __u8 len16; member 1994 __u8 len16; member 2006 __u8 len16; member 2016 __u8 len16; member [all …]
|
| /freebsd-13.1/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 8256 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_alloc_mac_filt() local 8268 V_FW_CMD_LEN16(len16)); in t4_alloc_mac_filt() 8429 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_free_mac_filt() local 8442 V_FW_CMD_LEN16(len16)); in t4_free_mac_filt()
|
| H A D | t4_msg.h | 2901 __be32 len16; /* command length */ member
|