Lines Matching refs:txts_req
128 struct bnxt_ptp_tx_req *txts_req = &bp->ptp_cfg->txts_req[slot]; in bnxt_hwrm_port_ts_query() local
132 req->ptp_seq_id = cpu_to_le32(txts_req->tx_seqid); in bnxt_hwrm_port_ts_query()
133 req->ptp_hdr_offset = cpu_to_le16(txts_req->tx_hdr_off); in bnxt_hwrm_port_ts_query()
698 struct bnxt_ptp_tx_req *txts_req; in bnxt_stamp_tx_skb() local
705 txts_req = &ptp->txts_req[slot]; in bnxt_stamp_tx_skb()
708 if (!time_after_eq(now, txts_req->abs_txts_tmo)) in bnxt_stamp_tx_skb()
709 tmo = jiffies_to_msecs(txts_req->abs_txts_tmo - now); in bnxt_stamp_tx_skb()
718 skb_tstamp_tx(txts_req->tx_skb, ×tamp); in bnxt_stamp_tx_skb()
721 if (!time_after_eq(jiffies, txts_req->abs_txts_tmo)) in bnxt_stamp_tx_skb()
729 dev_kfree_skb_any(txts_req->tx_skb); in bnxt_stamp_tx_skb()
730 txts_req->tx_skb = NULL; in bnxt_stamp_tx_skb()
748 if (IS_ERR(ptp->txts_req[cons].tx_skb)) in bnxt_ptp_ts_aux_work()
750 if (!ptp->txts_req[cons].tx_skb) in bnxt_ptp_ts_aux_work()
798 struct bnxt_ptp_tx_req *txts_req; in bnxt_get_tx_ts_p5() local
800 txts_req = &ptp->txts_req[prod]; in bnxt_get_tx_ts_p5()
801 txts_req->abs_txts_tmo = jiffies + msecs_to_jiffies(ptp->txts_tmo); in bnxt_get_tx_ts_p5()
804 txts_req->tx_skb = skb; in bnxt_get_tx_ts_p5()
1111 if (ptp->txts_req[i].tx_skb) { in bnxt_ptp_clear()
1112 dev_kfree_skb_any(ptp->txts_req[i].tx_skb); in bnxt_ptp_clear()
1113 ptp->txts_req[i].tx_skb = NULL; in bnxt_ptp_clear()