Home
last modified time | relevance | path

Searched full:txp (Results 1 – 25 of 58) sorted by relevance

123

/linux/drivers/net/
H A Difb.c91 struct ifb_q_private *txp = from_tasklet(txp, t, ifb_tasklet); in ifb_ri_tasklet() local
95 txq = netdev_get_tx_queue(txp->dev, txp->txqnum); in ifb_ri_tasklet()
96 skb = skb_peek(&txp->tq); in ifb_ri_tasklet()
100 skb_queue_splice_tail_init(&txp->rq, &txp->tq); in ifb_ri_tasklet()
104 while ((skb = __skb_dequeue(&txp->tq)) != NULL) { in ifb_ri_tasklet()
112 ifb_update_q_stats(&txp->tx_stats, skb->len); in ifb_ri_tasklet()
115 skb->dev = dev_get_by_index_rcu(dev_net(txp->dev), skb->skb_iif); in ifb_ri_tasklet()
119 txp->dev->stats.tx_dropped++; in ifb_ri_tasklet()
120 if (skb_queue_len(&txp->tq) != 0) in ifb_ri_tasklet()
125 skb->skb_iif = txp->dev->ifindex; in ifb_ri_tasklet()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c200 struct ipoib_txparms *txp) in hfi1_ipoib_build_ulp_payload() argument
202 struct hfi1_devdata *dd = txp->dd; in hfi1_ipoib_build_ulp_payload()
231 struct ipoib_txparms *txp) in hfi1_ipoib_build_tx_desc() argument
233 struct hfi1_devdata *dd = txp->dd; in hfi1_ipoib_build_tx_desc()
237 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2) + tx->skb->len; in hfi1_ipoib_build_tx_desc()
248 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2)); in hfi1_ipoib_build_tx_desc()
253 return hfi1_ipoib_build_ulp_payload(tx, txp); in hfi1_ipoib_build_tx_desc()
257 struct ipoib_txparms *txp) in hfi1_ipoib_build_ib_tx_headers() argument
262 struct hfi1_pportdata *ppd = ppd_from_ibp(txp->ibp); in hfi1_ipoib_build_ib_tx_headers()
263 struct rdma_ah_attr *ah_attr = txp->ah_attr; in hfi1_ipoib_build_ib_tx_headers()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_mac.c25 struct mt76_connac_fw_txp *txp = txp_ptr; in mt7615_write_fw_txp() local
26 u8 *rept_wds_wcid = (u8 *)&txp->rept_wds_wcid; in mt7615_write_fw_txp()
31 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7615_write_fw_txp()
32 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7615_write_fw_txp()
34 txp->nbuf = nbuf; in mt7615_write_fw_txp()
37 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_fw_txp()
42 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD); in mt7615_write_fw_txp()
45 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7615_write_fw_txp()
48 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7615_write_fw_txp()
53 txp->bss_idx = mvif->idx; in mt7615_write_fw_txp()
[all …]
/linux/drivers/net/xen-netback/
H A Dnetback.c111 const struct xen_netif_tx_request *txp,
208 struct xen_netif_tx_request *txp, in xenvif_tx_err() argument
214 make_tx_response(queue, txp, extra_count, XEN_NETIF_RSP_ERROR); in xenvif_tx_err()
217 RING_COPY_REQUEST(&queue->tx, cons++, txp); in xenvif_tx_err()
235 struct xen_netif_tx_request *txp, in xenvif_count_requests() argument
284 txp = &dropped_tx; in xenvif_count_requests()
286 RING_COPY_REQUEST(&queue->tx, cons + slots, txp); in xenvif_count_requests()
297 if (!drop_err && txp->size > first->size) { in xenvif_count_requests()
301 txp->size, first->size); in xenvif_count_requests()
305 first->size -= txp->size; in xenvif_count_requests()
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dbrcm,bcm2835-txp.yaml4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-txp.yaml#
7 title: Broadcom VC4 (VideoCore4) TXP (writeback) Controller
17 - brcm,bcm2835-txp
34 txp: txp@7e004000 {
35 compatible = "brcm,bcm2835-txp";
/linux/drivers/rtc/
H A Drtc-rs5c348.c63 u8 txbuf[5+7], *txp; in rs5c348_rtc_set_time() local
78 txp = txbuf; in rs5c348_rtc_set_time()
84 txp = &txbuf[5]; in rs5c348_rtc_set_time()
85 txp[RS5C348_REG_SECS] = bin2bcd(tm->tm_sec); in rs5c348_rtc_set_time()
86 txp[RS5C348_REG_MINS] = bin2bcd(tm->tm_min); in rs5c348_rtc_set_time()
88 txp[RS5C348_REG_HOURS] = bin2bcd(tm->tm_hour); in rs5c348_rtc_set_time()
91 txp[RS5C348_REG_HOURS] = bin2bcd((tm->tm_hour + 11) % 12 + 1) | in rs5c348_rtc_set_time()
94 txp[RS5C348_REG_WDAY] = bin2bcd(tm->tm_wday); in rs5c348_rtc_set_time()
95 txp[RS5C348_REG_DAY] = bin2bcd(tm->tm_mday); in rs5c348_rtc_set_time()
96 txp[RS5C348_REG_MONTH] = bin2bcd(tm->tm_mon + 1) | in rs5c348_rtc_set_time()
[all …]
/linux/drivers/spi/
H A Dspi-falcon.c103 const u8 *txp = t->tx_buf; in falcon_sflash_xfer() local
123 if (!txp) { in falcon_sflash_xfer()
139 priv->sfcmd |= *txp; in falcon_sflash_xfer()
140 txp++; in falcon_sflash_xfer()
155 if (txp && bytelen) { in falcon_sflash_xfer()
174 /* txp is valid, already checked */ in falcon_sflash_xfer()
180 val = (val << 8) | (*txp++); in falcon_sflash_xfer()
182 } else if ((dumlen < 15) && (*txp == 0)) { in falcon_sflash_xfer()
188 txp++; in falcon_sflash_xfer()
221 /* txp still valid */ in falcon_sflash_xfer()
[all …]
/linux/drivers/memory/
H A Djedec_ddr_data.c43 .tXP = 7500,
64 .tXP = 7500,
85 .tXP = 7500,
106 .tXP = 7500,
127 .tXP = 2,
H A Dof_memory.c44 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_get_min_tck()
76 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_do_get_timings()
192 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_lpddr3_get_min_tck()
235 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_lpddr3_do_get_timings()
H A Djedec_ddr.h156 u32 tXP; member
180 u32 tXP; member
245 u32 tXP; member
274 u32 tXP; member
/linux/drivers/net/ethernet/vertexcom/
H A Dmse102x.c224 static int mse102x_tx_frame_spi(struct mse102x_net *mse, struct sk_buff *txp, in mse102x_tx_frame_spi() argument
234 __func__, txp, txp->len, txp->data); in mse102x_tx_frame_spi()
236 if ((skb_headroom(txp) < DET_SOF_LEN) || in mse102x_tx_frame_spi()
237 (skb_tailroom(txp) < DET_DFT_LEN + pad)) { in mse102x_tx_frame_spi()
238 tskb = skb_copy_expand(txp, DET_SOF_LEN, DET_DFT_LEN + pad, in mse102x_tx_frame_spi()
243 txp = tskb; in mse102x_tx_frame_spi()
246 mse102x_push_header(txp); in mse102x_tx_frame_spi()
249 skb_put_zero(txp, pad); in mse102x_tx_frame_spi()
251 mse102x_put_footer(txp); in mse102x_tx_frame_spi()
253 xfer->tx_buf = txp->data; in mse102x_tx_frame_spi()
[all …]
/linux/drivers/net/wireless/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()
/linux/drivers/net/ethernet/micrel/
H A Dks8851_spi.c242 * @txp: The sk_buff to transmit.
245 * Send the @txp to the chip. This means creating the relevant packet header
250 static void ks8851_wrfifo_spi(struct ks8851_net *ks, struct sk_buff *txp, in ks8851_wrfifo_spi() argument
260 __func__, txp, txp->len, txp->data, irq); in ks8851_wrfifo_spi()
271 ks->txh.txw[2] = cpu_to_le16(txp->len); in ks8851_wrfifo_spi()
278 xfer->tx_buf = txp->data; in ks8851_wrfifo_spi()
280 xfer->len = ALIGN(txp->len, 4); in ks8851_wrfifo_spi()
/linux/drivers/net/wireless/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()
/linux/arch/arm/boot/dts/ti/omap/
H A Delpida_ecb240abacn.dtsi18 tXP-min-tck = <2>;
34 tXP = <7500>;
56 tXP = <7500>;
/linux/drivers/net/wireless/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 …]
/linux/Documentation/devicetree/bindings/memory-controllers/ddr/
H A Djedec,lpddr2.yaml63 tXP-min-tck:
157 tXP-min-tck = <2>;
173 tXP = <7500>;
194 tXP = <7500>;
H A Djedec,lpddr3.yaml161 tXP-min-tck:
217 tXP-min-tck = <2>;
240 tXP = <3750>;
H A Djedec,lpddr2-timings.yaml87 tXP:
131 tXP = <7500>;
H A Djedec,lpddr3-timings.yaml114 tXP:
154 tXP = <3750>;
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
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()
/linux/drivers/net/wireless/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,
/linux/Documentation/devicetree/bindings/phy/
H A Dphy-miphy365x.txt36 - st,pcie-tx-pol-inv : Bool property to invert the polarity PCIe Tx (Txn/Txp)
37 - st,sata-tx-pol-inv : Bool property to invert the polarity SATA Tx (Txn/Txp)
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c751 struct mt76_connac_fw_txp *txp; in mt7915_tx_prepare_skb() local
785 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb()
787 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7915_tx_prepare_skb()
788 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7915_tx_prepare_skb()
790 txp->nbuf = nbuf; in mt7915_tx_prepare_skb()
792 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD | MT_CT_INFO_FROM_HOST); in mt7915_tx_prepare_skb()
795 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7915_tx_prepare_skb()
799 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7915_tx_prepare_skb()
804 txp->bss_idx = mvif->mt76.idx; in mt7915_tx_prepare_skb()
807 txp->token = cpu_to_le16(id); in mt7915_tx_prepare_skb()
[all …]

123