/freebsd/sys/dev/axgbe/ |
H A D | xgbe-i2c.c | 227 axgbe_printf(3, "%s: tx_slots %d tx_len %d\n", __func__, tx_slots, in xgbe_i2c_write() 228 state->tx_len); in xgbe_i2c_write() 230 while (tx_slots && state->tx_len) { in xgbe_i2c_write() 236 axgbe_printf(3, "%s: cmd %d tx_len %d\n", __func__, cmd, in xgbe_i2c_write() 237 state->tx_len); in xgbe_i2c_write() 239 if (state->tx_len == 1) in xgbe_i2c_write() 245 state->tx_len--; in xgbe_i2c_write() 249 if (!state->tx_len) in xgbe_i2c_write() 403 state->tx_len = op->len; in xgbe_i2c_xfer()
|
H A D | xgbe.h | 671 unsigned int tx_len; member
|
/freebsd/contrib/libfido2/src/ |
H A D | io.c | 55 const size_t len = d->tx_len + 1; in tx_empty() 75 const size_t len = d->tx_len + 1; in tx_preamble() 78 if (d->tx_len - CTAP_INIT_HEADER_LEN > sizeof(fp->body.init.data)) in tx_preamble() 87 count = MIN(count, d->tx_len - CTAP_INIT_HEADER_LEN); in tx_preamble() 102 const size_t len = d->tx_len + 1; in tx_frame() 105 if (d->tx_len - CTAP_CONT_HEADER_LEN > sizeof(fp->body.cont.data)) in tx_frame() 112 count = MIN(count, d->tx_len - CTAP_CONT_HEADER_LEN); in tx_frame()
|
H A D | dev.c | 22 dev->tx_len = CTAP_MIN_REPORT_LEN + in set_random_report_len() 123 dev->tx_len = CTAP_MAX_REPORT_LEN; in fido_dev_open_tx() 126 dev->tx_len = fido_hid_report_out_len(dev->io_handle); in fido_dev_open_tx() 140 if (dev->tx_len < CTAP_MIN_REPORT_LEN || in fido_dev_open_tx() 141 dev->tx_len > CTAP_MAX_REPORT_LEN) { in fido_dev_open_tx() 142 fido_log_debug("%s: invalid tx_len %zu", __func__, dev->tx_len); in fido_dev_open_tx()
|
/freebsd/sys/dev/qcom_qup/ |
H A D | qcom_spi.c | 467 char *tx_buf, int tx_len, char *rx_buf, int rx_len) in qcom_spi_transfer_pio_block() argument 474 if (rx_len != tx_len) { in qcom_spi_transfer_pio_block() 477 tx_len, rx_len); in qcom_spi_transfer_pio_block() 486 ret = qcom_spi_hw_setup_transfer_selection(sc, tx_len); in qcom_spi_transfer_pio_block() 496 sc->transfer.tx_len = tx_len; in qcom_spi_transfer_pio_block() 509 while (sc->transfer.tx_offset < sc->transfer.tx_len) { in qcom_spi_transfer_pio_block() 521 sc->transfer.tx_offset, sc->transfer.tx_len, in qcom_spi_transfer_pio_block() 604 ret = qcom_spi_hw_setup_qup_config(sc, !! (tx_len > 0), in qcom_spi_transfer_pio_block()
|
H A D | qcom_spi_hw.c | 390 sc->transfer.tx_len = 0; in qcom_spi_hw_setup_transfer_selection() 421 sc->transfer.tx_len = 0; in qcom_spi_hw_complete_transfer() 449 bytes_left = sc->transfer.tx_len - sc->transfer.tx_offset; in qcom_spi_hw_setup_current_transfer() 483 sc->transfer.tx_len, in qcom_spi_hw_setup_current_transfer() 751 if (sc->transfer.tx_offset < sc->transfer.tx_len) { in qcom_spi_hw_write_from_tx_buf()
|
H A D | qcom_spi_var.h | 101 int tx_len; member
|
/freebsd/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.c | 99 uint32_t tx_len, rx_len, r, v; in read_pdu_limits() local 102 tx_len = t4_read_reg(sc, A_TP_PMM_TX_PAGE_SIZE); in read_pdu_limits() 106 tx_len = min(tx_len, G_MAXRXDATA(r)); in read_pdu_limits() 111 tx_len = min(tx_len, v); in read_pdu_limits() 119 tx_len -= ISCSI_BHS_SIZE + ISCSI_HEADER_DIGEST_SIZE + in read_pdu_limits() 131 tx_len = min(tx_len, 15360); in read_pdu_limits() 134 tx_len = rounddown2(tx_len, 512); in read_pdu_limits() 137 *max_tx_data_len = tx_len; in read_pdu_limits()
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | fuzz_pcsc.c | 192 size_t tx_len = 0; in test_tx() local 204 tx_len = apdu->len; in test_tx() 207 fido_pcsc_tx(&dev, cmd, tx_ptr, tx_len); in test_tx()
|
/freebsd/sys/dev/firmware/arm/ |
H A D | scmi_smc.c | 105 msg->tx_len, msg->polling); in scmi_smc_xfer_msg()
|
/freebsd/sys/dev/bxe/ |
H A D | bxe_stats.c | 416 uint16_t rx_len, tx_len; in bxe_port_stats_init() local 429 tx_len = ((8 + BIGMAC_REGISTER_TX_STAT_GTBYT - in bxe_port_stats_init() 438 tx_len = ((8 + BIGMAC2_REGISTER_TX_STAT_GTBYT - in bxe_port_stats_init() 454 tx_len = in bxe_port_stats_init() 466 dmae->len = tx_len; in bxe_port_stats_init() 479 U64_LO(BXE_SP_MAPPING(sc, mac_stats) + (tx_len << 2)); in bxe_port_stats_init() 481 U64_HI(BXE_SP_MAPPING(sc, mac_stats) + (tx_len << 2)); in bxe_port_stats_init()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | testmode.c | 261 u16 flags = 0, tx_len; in mt7915_tm_set_tx_len() local 325 tx_len = bitrate * tx_time / 10 / 8; in mt7915_tm_set_tx_len() 327 ret = mt76_testmode_alloc_skb(phy->mt76, tx_len); in mt7915_tm_set_tx_len()
|
/freebsd/contrib/libfido2/src/fido/ |
H A D | types.h | 313 size_t tx_len; /* length of HID output reports */ 311 size_t tx_len; /* length of HID output reports */ global() member
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 9719 u32 tx_len, rx_len, r, v; in t4_init_tp_params() local 9735 tx_len = t4_read_reg(adap, A_TP_PMM_TX_PAGE_SIZE); in t4_init_tp_params() 9739 tx_len = min(tx_len, G_MAXRXDATA(r)); in t4_init_tp_params() 9744 tx_len = min(tx_len, v); in t4_init_tp_params() 9746 tpp->max_tx_pdu = tx_len; in t4_init_tp_params()
|