Home
last modified time | relevance | path

Searched refs:txp (Results 1 – 25 of 36) sorted by relevance

12

/src/crypto/openssl/ssl/quic/
H A Dquic_txp.c128 OSSL_QUIC_TX_PACKETISER *txp; member
189 static int tx_helper_init(struct tx_helper *h, OSSL_QUIC_TX_PACKETISER *txp, in tx_helper_init() argument
195 h->txp = txp; in tx_helper_init()
207 if (max_ppl > h->txp->el[enc_level].scratch_len) { in tx_helper_init()
210 scratch = OPENSSL_realloc(h->txp->el[enc_level].scratch, max_ppl); in tx_helper_init()
214 h->txp->el[enc_level].scratch = scratch; in tx_helper_init()
215 h->txp->el[enc_level].scratch_len = max_ppl; in tx_helper_init()
226 h->txp = NULL; in tx_helper_cleanup()
252 struct txp_el *el = &h->txp->el[h->enc_level]; in tx_helper_append_iovec()
291 struct txp_el *el = &h->txp->el[h->enc_level]; in tx_helper_begin()
[all …]
H A Dquic_channel.c287 ch->txp = ossl_quic_tx_packetiser_new(&txp_args); in ch_init()
288 if (ch->txp == NULL) in ch_init()
293 ossl_quic_tx_packetiser_set_validated(ch->txp); in ch_init()
295 ossl_quic_tx_packetiser_set_ack_tx_cb(ch->txp, ch_on_txp_ack_tx, ch); in ch_init()
400 ossl_quic_tx_packetiser_free(ch->txp); in ch_cleanup()
735 = ossl_quic_tx_packetiser_get_next_pn(ch->txp, QUIC_PN_SPACE_APP); in ch_trigger_txku()
920 ossl_quic_tx_packetiser_schedule_ack(ch->txp, QUIC_PN_SPACE_APP); in rxku_detected()
1143 ossl_quic_tx_packetiser_set_validated(ch->txp); in ch_on_handshake_complete()
1164 ossl_quic_tx_packetiser_notify_handshake_complete(ch->txp); in ch_on_handshake_complete()
1191 ossl_quic_tx_packetiser_schedule_handshake_done(ch->txp); in ch_on_handshake_complete()
[all …]
H A Dquic_channel_local.h79 OSSL_QUIC_TX_PACKETISER *txp; member
H A Dquic_rx_depack.c57 ossl_quic_tx_packetiser_schedule_ack_eliciting(ch->txp, enc_level); in depack_do_frame_ping()
1463 ossl_quic_tx_packetiser_set_validated(ch->txp); in ossl_quic_handle_frames()
1465 ossl_quic_tx_packetiser_add_unvalidated_credit(ch->txp, dgram_len); in ossl_quic_handle_frames()
/src/crypto/openssl/include/internal/
H A Dquic_txp.h69 void ossl_quic_tx_packetiser_set_validated(OSSL_QUIC_TX_PACKETISER *txp);
70 void ossl_quic_tx_packetiser_add_unvalidated_credit(OSSL_QUIC_TX_PACKETISER *txp,
72 void ossl_quic_tx_packetiser_consume_unvalidated_credit(OSSL_QUIC_TX_PACKETISER *txp,
74 int ossl_quic_tx_packetiser_check_unvalidated_credit(OSSL_QUIC_TX_PACKETISER *txp,
80 void ossl_quic_tx_packetiser_free(OSSL_QUIC_TX_PACKETISER *txp);
88 OSSL_QUIC_TX_PACKETISER *txp, size_t n);
108 int ossl_quic_tx_packetiser_generate(OSSL_QUIC_TX_PACKETISER *txp,
121 OSSL_TIME ossl_quic_tx_packetiser_get_deadline(OSSL_QUIC_TX_PACKETISER *txp);
130 int ossl_quic_tx_packetiser_set_initial_token(OSSL_QUIC_TX_PACKETISER *txp,
140 int ossl_quic_tx_packetiser_set_protocol_version(OSSL_QUIC_TX_PACKETISER *txp,
[all …]
/src/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dphy.c141 struct mt76x2_tx_power_info txp; in mt76x2_phy_set_txpower() local
146 mt76x2_get_power_info(dev, &txp, chan); in mt76x2_phy_set_txpower()
149 delta = txp.delta_bw40; in mt76x2_phy_set_txpower()
151 delta = txp.delta_bw80; in mt76x2_phy_set_txpower()
154 mt76x02_add_rate_power_offset(&t, txp.target_power + delta); in mt76x2_phy_set_txpower()
159 delta = base_power - txp.target_power; in mt76x2_phy_set_txpower()
160 txp_0 = txp.chain[0].target_power + txp.chain[0].delta + delta; in mt76x2_phy_set_txpower()
161 txp_1 = txp.chain[1].target_power + txp.chain[1].delta + delta; in mt76x2_phy_set_txpower()
175 dev->target_power = txp.target_power; in mt76x2_phy_set_txpower()
176 dev->target_power_delta[0] = txp_0 - txp.chain[0].target_power; in mt76x2_phy_set_txpower()
[all …]
H A Dinit.c184 struct mt76x2_tx_power_info txp; in mt76x2_init_txpower() local
191 mt76x2_get_power_info(dev, &txp, chan); in mt76x2_init_txpower()
195 txp.target_power; in mt76x2_init_txpower()
/src/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dpci_mac.c28 struct mt76_connac_fw_txp *txp = txp_ptr; in mt7615_write_fw_txp() local
29 u8 *rept_wds_wcid = (u8 *)&txp->rept_wds_wcid; in mt7615_write_fw_txp()
34 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7615_write_fw_txp()
35 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7615_write_fw_txp()
37 txp->nbuf = nbuf; in mt7615_write_fw_txp()
40 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_fw_txp()
45 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD); in mt7615_write_fw_txp()
48 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7615_write_fw_txp()
51 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7615_write_fw_txp()
56 txp->bss_idx = mvif->idx; in mt7615_write_fw_txp()
[all …]
/src/sys/dev/fxp/
H A Dif_fxp.c428 struct fxp_tx *txp; in fxp_attach() local
749 txp = sc->fxp_desc.tx_list; in fxp_attach()
752 txp[i].tx_cb = tcbp + i; in fxp_attach()
753 error = bus_dmamap_create(sc->fxp_txmtag, 0, &txp[i].tx_map); in fxp_attach()
929 struct fxp_tx *txp; in fxp_release() local
967 txp = &sc->fxp_desc.tx_list[i]; in fxp_release()
968 if (txp->tx_mbuf != NULL) { in fxp_release()
969 bus_dmamap_sync(sc->fxp_txmtag, txp->tx_map, in fxp_release()
971 bus_dmamap_unload(sc->fxp_txmtag, txp->tx_map); in fxp_release()
972 m_freem(txp->tx_mbuf); in fxp_release()
[all …]
/src/sys/dev/cxgbe/
H A Dt4_sge.c3147 struct txpkts *txp = &txq->txp; in set_txupdate_flags() local
3149 if ((txp->npkt > 0 || avail < eq->sidx / 2) && in set_txupdate_flags()
3189 struct txpkts *txp = &txq->txp; in eth_tx() local
3204 for (i = 0; i < txp->npkt; i++) in eth_tx()
3205 m_freem(txp->mb[i]); in eth_tx()
3206 txp->npkt = 0; in eth_tx()
3226 txp->score = 0; in eth_tx()
3241 if (t4_tx_coalesce == 0 && txp->npkt == 0) in eth_tx()
3244 txp->score = 0; in eth_tx()
3246 if (++txp->score == 0) in eth_tx()
[all …]
/src/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dpci_mac.c16 struct mt76_connac_hw_txp *txp; in mt7921e_tx_prepare_skb() local
47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7921e_tx_prepare_skb()
48 memset(txp, 0, sizeof(struct mt76_connac_hw_txp)); in mt7921e_tx_prepare_skb()
49 mt76_connac_write_hw_txp(mdev, tx_info, txp, id); in mt7921e_tx_prepare_skb()
/src/sys/contrib/dev/mediatek/mt76/mt7925/
H A Dpci_mac.c16 struct mt76_connac_hw_txp *txp; in mt7925e_tx_prepare_skb() local
47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7925e_tx_prepare_skb()
48 memset(txp, 0, sizeof(struct mt76_connac_hw_txp)); in mt7925e_tx_prepare_skb()
49 mt76_connac_write_hw_txp(mdev, tx_info, txp, id); in mt7925e_tx_prepare_skb()
/src/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mac.c166 struct mt76_connac_hw_txp *txp = txp_ptr; in mt76_connac_write_hw_txp() local
167 struct mt76_connac_txp_ptr *ptr = &txp->ptr[0]; in mt76_connac_write_hw_txp()
171 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt76_connac_write_hw_txp()
174 txp->msdu_id[0] = cpu_to_le16(id | MT_MSDU_ID_VALID); in mt76_connac_write_hw_txp()
203 struct mt76_connac_fw_txp *txp) in mt76_connac_txp_skb_unmap_fw() argument
208 for (i = 0; i < txp->nbuf; i++) in mt76_connac_txp_skb_unmap_fw()
209 dma_unmap_single(dev, le32_to_cpu(txp->buf[i]), in mt76_connac_txp_skb_unmap_fw()
210 le16_to_cpu(txp->len[i]), DMA_TO_DEVICE); in mt76_connac_txp_skb_unmap_fw()
215 struct mt76_connac_hw_txp *txp) in mt76_connac_txp_skb_unmap_hw() argument
225 for (i = 0; i < ARRAY_SIZE(txp->ptr); i++) { in mt76_connac_txp_skb_unmap_hw()
[all …]
/src/crypto/openssl/test/
H A Dquic_txp_test.c58 OSSL_QUIC_TX_PACKETISER *txp; member
106 ossl_quic_tx_packetiser_free(h->txp); in helper_cleanup()
227 if (!TEST_ptr(h->txp = ossl_quic_tx_packetiser_new(&h->args))) in helper_init()
234 ossl_quic_tx_packetiser_set_validated(h->txp); in helper_init()
343 ossl_quic_tx_packetiser_schedule_handshake_done(h->txp); in schedule_handshake_done()
349 ossl_quic_tx_packetiser_schedule_ack_eliciting(h->txp, QUIC_PN_SPACE_APP); in schedule_ack_eliciting_app()
1111 if (!TEST_true(ossl_quic_tx_packetiser_schedule_conn_close(h->txp, &f))) in gen_conn_close()
1241 if (!TEST_false(ossl_quic_tx_packetiser_set_initial_token(h->txp, in try_big_token()
1256 if (ossl_quic_tx_packetiser_set_initial_token(h->txp, big_token, i, in try_big_token()
1328 if (!TEST_true(ossl_quic_tx_packetiser_generate(h.txp, &status)) in run_script()
[all …]
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dbcdc.c364 brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp, in brcmf_proto_bcdc_txcomplete() argument
373 brcmf_fws_bustxcomplete(bcdc->fws, txp, success); in brcmf_proto_bcdc_txcomplete()
375 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) in brcmf_proto_bcdc_txcomplete()
376 brcmu_pkt_buf_free_skb(txp); in brcmf_proto_bcdc_txcomplete()
378 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete()
H A Dbcdc.h12 void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
H A Dcore.h219 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success);
H A Dcore.c543 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success) in brcmf_txfinalize() argument
549 brcmu_pkt_buf_free_skb(txp); in brcmf_txfinalize()
553 eh = (struct ethhdr *)(txp->data); in brcmf_txfinalize()
565 brcmu_pkt_buf_free_skb(txp); in brcmf_txfinalize()
/src/sys/contrib/dev/broadcom/brcm80211/brcmsmac/
H A Ddma.c236 struct sk_buff **txp; member
651 di->txp = kzalloc(size, GFP_ATOMIC); in dma_attach()
652 if (di->txp == NULL) in dma_attach()
763 kfree(di->txp); in dma_detach()
1310 di->txp[prevtxd(di, txout)] = p; in dma_txenq()
1463 struct sk_buff *txp; in dma_getnexttxp() local
1474 txp = NULL; in dma_getnexttxp()
1501 for (i = start; i != end && !txp; i = nexttxd(di, i)) { in dma_getnexttxp()
1514 txp = di->txp[i]; in dma_getnexttxp()
1515 di->txp[i] = NULL; in dma_getnexttxp()
[all …]
/src/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmac.c759 struct mt76_connac_fw_txp *txp; in mt7915_tx_prepare_skb() local
793 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb()
795 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7915_tx_prepare_skb()
796 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7915_tx_prepare_skb()
798 txp->nbuf = nbuf; in mt7915_tx_prepare_skb()
800 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD | MT_CT_INFO_FROM_HOST); in mt7915_tx_prepare_skb()
803 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7915_tx_prepare_skb()
807 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7915_tx_prepare_skb()
812 txp->bss_idx = mvif->mt76.idx; in mt7915_tx_prepare_skb()
815 txp->token = cpu_to_le16(id); in mt7915_tx_prepare_skb()
[all …]
/src/sys/amd64/conf/
H A DLINT-NOIP22 nodevice txp
/src/sys/conf/
H A DWITHOUT_SOURCELESS_UCODE15 nodevice txp
/src/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmac.c1168 struct mt76_connac_txp_common *txp; in mt7996_tx_prepare_skb() local
1170 txp = (struct mt76_connac_txp_common *)(txwi + MT_TXD_SIZE); in mt7996_tx_prepare_skb()
1180 txp->fw.buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7996_tx_prepare_skb()
1181 txp->fw.len[i] = cpu_to_le16(len); in mt7996_tx_prepare_skb()
1183 txp->fw.nbuf = nbuf; in mt7996_tx_prepare_skb()
1185 txp->fw.flags = cpu_to_le16(MT_CT_INFO_FROM_HOST); in mt7996_tx_prepare_skb()
1188 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_APPLY_TXD); in mt7996_tx_prepare_skb()
1191 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7996_tx_prepare_skb()
1194 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7996_tx_prepare_skb()
1202 txp->fw.bss_idx = mlink ? mlink->idx : mvif->deflink.mt76.idx; in mt7996_tx_prepare_skb()
[all …]
/src/sys/contrib/device-tree/src/arm/broadcom/
H A Dbcm283x.dtsi80 txp: txp@7e004000 { label
81 compatible = "brcm,bcm2835-txp";
/src/sys/dev/netmap/
H A Dnetmap_generic.c184 void generic_rate(int txp, int txs, int txi, int rxp, int rxs, int rxi) in generic_rate() argument
186 if (txp) rate_ctx.new.txpkt++; in generic_rate()

12