Home
last modified time | relevance | path

Searched refs:tx_len (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/sys/dev/axgbe/
H A Dxgbe-i2c.c230 state->tx_len); in xgbe_i2c_write()
232 while (tx_slots && state->tx_len) { in xgbe_i2c_write()
239 state->tx_len); in xgbe_i2c_write()
241 if (state->tx_len == 1) in xgbe_i2c_write()
247 state->tx_len--; in xgbe_i2c_write()
251 if (!state->tx_len) in xgbe_i2c_write()
407 state->tx_len = op->len; in xgbe_i2c_xfer()
H A Dxgbe.h673 unsigned int tx_len; member
/freebsd-13.1/contrib/libfido2/src/
H A Dio.c37 const size_t len = d->tx_len + 1;
57 const size_t len = d->tx_len + 1; in tx_preamble()
60 if (d->tx_len - CTAP_INIT_HEADER_LEN > sizeof(fp->body.init.data)) in tx_preamble()
69 count = MIN(count, d->tx_len - CTAP_INIT_HEADER_LEN); in tx_preamble()
84 const size_t len = d->tx_len + 1; in tx_frame()
87 if (d->tx_len - CTAP_CONT_HEADER_LEN > sizeof(fp->body.cont.data)) in tx_frame()
94 count = MIN(count, d->tx_len - CTAP_CONT_HEADER_LEN); in tx_frame()
H A Ddev.c41 dev->tx_len = CTAP_MIN_REPORT_LEN + in set_random_report_len()
140 dev->tx_len = CTAP_MAX_REPORT_LEN; in fido_dev_open_tx()
143 dev->tx_len = fido_hid_report_out_len(dev->io_handle); in fido_dev_open_tx()
157 if (dev->tx_len < CTAP_MIN_REPORT_LEN || in fido_dev_open_tx()
158 dev->tx_len > CTAP_MAX_REPORT_LEN) { in fido_dev_open_tx()
159 fido_log_debug("%s: invalid tx_len %zu", __func__, dev->tx_len); in fido_dev_open_tx()
/freebsd-13.1/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c103 uint32_t tx_len, rx_len, r, v; in read_pdu_limits() local
106 tx_len = t4_read_reg(sc, A_TP_PMM_TX_PAGE_SIZE); in read_pdu_limits()
110 tx_len = min(tx_len, G_MAXRXDATA(r)); in read_pdu_limits()
115 tx_len = min(tx_len, v); in read_pdu_limits()
123 tx_len -= ISCSI_BHS_SIZE + ISCSI_HEADER_DIGEST_SIZE + in read_pdu_limits()
135 tx_len = min(tx_len, 15360); in read_pdu_limits()
138 tx_len = rounddown2(tx_len, 512); in read_pdu_limits()
141 *max_tx_data_len = tx_len; in read_pdu_limits()
/freebsd-13.1/sys/dev/bxe/
H A Dbxe_stats.c418 uint16_t rx_len, tx_len; in bxe_port_stats_init() local
431 tx_len = ((8 + BIGMAC_REGISTER_TX_STAT_GTBYT - in bxe_port_stats_init()
440 tx_len = ((8 + BIGMAC2_REGISTER_TX_STAT_GTBYT - in bxe_port_stats_init()
456 tx_len = in bxe_port_stats_init()
468 dmae->len = tx_len; in bxe_port_stats_init()
481 U64_LO(BXE_SP_MAPPING(sc, mac_stats) + (tx_len << 2)); in bxe_port_stats_init()
483 U64_HI(BXE_SP_MAPPING(sc, mac_stats) + (tx_len << 2)); in bxe_port_stats_init()
/freebsd-13.1/contrib/libfido2/src/fido/
H A Dtypes.h259 size_t tx_len; /* length of HID output reports */ member
/freebsd-13.1/sys/dev/cxgbe/common/
H A Dt4_hw.c9782 u32 tx_len, rx_len, r, v; in t4_init_tp_params() local
9802 tx_len = t4_read_reg(adap, A_TP_PMM_TX_PAGE_SIZE); in t4_init_tp_params()
9806 tx_len = min(tx_len, G_MAXRXDATA(r)); in t4_init_tp_params()
9811 tx_len = min(tx_len, v); in t4_init_tp_params()
9813 tpp->max_tx_pdu = tx_len; in t4_init_tp_params()