Home
last modified time | relevance | path

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

12

/linux/drivers/net/
A Difb.c65 struct ifb_q_private *txp = from_tasklet(txp, t, ifb_tasklet); in ifb_ri_tasklet() local
69 txq = netdev_get_tx_queue(txp->dev, txp->txqnum); in ifb_ri_tasklet()
70 skb = skb_peek(&txp->tq); in ifb_ri_tasklet()
74 skb_queue_splice_tail_init(&txp->rq, &txp->tq); in ifb_ri_tasklet()
87 txp->tx_packets++; in ifb_ri_tasklet()
167 txp = kcalloc(dev->num_tx_queues, sizeof(*txp), GFP_KERNEL); in ifb_dev_init()
168 if (!txp) in ifb_dev_init()
170 dp->tx_private = txp; in ifb_dev_init()
172 txp->txqnum = i; in ifb_dev_init()
173 txp->dev = dev; in ifb_dev_init()
[all …]
/linux/drivers/gpu/drm/vc4/
A Dvc4_txp.c447 struct vc4_txp *txp = data; in vc4_txp_interrupt() local
468 struct vc4_txp *txp; in vc4_txp_bind() local
477 txp = devm_kzalloc(dev, sizeof(*txp), GFP_KERNEL); in vc4_txp_bind()
478 if (!txp) in vc4_txp_bind()
480 vc4_crtc = &txp->base; in vc4_txp_bind()
486 txp->pdev = pdev; in vc4_txp_bind()
489 if (IS_ERR(txp->regs)) in vc4_txp_bind()
491 txp->regset.base = txp->regs; in vc4_txp_bind()
517 dev_set_drvdata(dev, txp); in vc4_txp_bind()
518 vc4->txp = txp; in vc4_txp_bind()
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Dipoib_tx.c200 struct ipoib_txparms *txp) in hfi1_ipoib_build_ulp_payload() argument
282 txp->hdr_dwords = 7; in hfi1_ipoib_build_ib_tx_headers()
286 txp->hdr_dwords += in hfi1_ipoib_build_ib_tx_headers()
287 hfi1_make_grh(txp->ibp, in hfi1_ipoib_build_ib_tx_headers()
390 txp->flow.tx_queue, in hfi1_ipoib_send_dma_common()
391 txp->flow.sc5); in hfi1_ipoib_send_dma_common()
551 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_list()
576 struct ipoib_txparms txp; in hfi1_ipoib_send() local
589 txp.dd = priv->dd; in hfi1_ipoib_send()
593 txp.dqpn = dqpn; in hfi1_ipoib_send()
[all …]
A Dtrace_tx.h362 struct sdma_txreq *txp
364 TP_ARGS(sde, hwhead, swhead, txp),
379 __entry->txnext = txp ? txp->next_descq_idx : ~0;
381 __entry->sn = txp ? txp->sn : ~0;
399 struct sdma_txreq *txp
401 TP_ARGS(sde, hwhead, swhead, txp),
415 __entry->txnext = txp ? txp->next_descq_idx : ~0;
A Dsdma.c364 struct sdma_txreq *txp, *txp_next; in sdma_flush() local
377 complete_tx(sde, txp, SDMA_TXREQ_S_ABORTED); in sdma_flush()
540 struct sdma_txreq *txp = get_txhead(sde); in sdma_flush_descq() local
553 if (txp && txp->next_descq_idx == head) { in sdma_flush_descq()
556 complete_tx(sde, txp, SDMA_TXREQ_S_ABORTED); in sdma_flush_descq()
558 txp = get_txhead(sde); in sdma_flush_descq()
1786 struct sdma_txreq *txp = NULL; in sdma_make_progress() local
1800 txp = get_txhead(sde); in sdma_make_progress()
1808 if (txp && txp->next_descq_idx == swhead) { in sdma_make_progress()
1811 complete_tx(sde, txp, SDMA_TXREQ_S_OK); in sdma_make_progress()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dpci_mac.c28 struct mt7615_txp_common *txp; in mt7615_tx_complete_skb() local
32 txp = mt7615_txwi_to_txp(mdev, e->txwi); in mt7615_tx_complete_skb()
35 token = le16_to_cpu(txp->fw.token); in mt7615_tx_complete_skb()
52 struct mt7615_hw_txp *txp = txp_ptr; in mt7615_write_hw_txp() local
94 struct mt7615_fw_txp *txp = txp_ptr; in mt7615_write_fw_txp() local
102 txp->nbuf = nbuf; in mt7615_write_fw_txp()
121 txp->bss_idx = mvif->idx; in mt7615_write_fw_txp()
124 txp->token = cpu_to_le16(id); in mt7615_write_fw_txp()
125 txp->rept_wds_wcid = 0xff; in mt7615_write_fw_txp()
140 void *txp; in mt7615_tx_prepare_skb() local
[all …]
A Dmac.c773 mt7615_txp_skb_unmap_fw(struct mt76_dev *dev, struct mt7615_fw_txp *txp) in mt7615_txp_skb_unmap_fw() argument
777 for (i = 0; i < txp->nbuf; i++) in mt7615_txp_skb_unmap_fw()
778 dma_unmap_single(dev->dev, le32_to_cpu(txp->buf[i]), in mt7615_txp_skb_unmap_fw()
779 le16_to_cpu(txp->len[i]), DMA_TO_DEVICE); in mt7615_txp_skb_unmap_fw()
783 mt7615_txp_skb_unmap_hw(struct mt76_dev *dev, struct mt7615_hw_txp *txp) in mt7615_txp_skb_unmap_hw() argument
790 for (i = 0; i < ARRAY_SIZE(txp->ptr); i++) { in mt7615_txp_skb_unmap_hw()
791 struct mt7615_txp_ptr *ptr = &txp->ptr[i]; in mt7615_txp_skb_unmap_hw()
816 struct mt7615_txp_common *txp; in mt7615_txp_skb_unmap() local
818 txp = mt7615_txwi_to_txp(dev, t); in mt7615_txp_skb_unmap()
820 mt7615_txp_skb_unmap_fw(dev, &txp->fw); in mt7615_txp_skb_unmap()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-eeprom-parse.c303 result = txp->chain_a_max; in iwl_get_max_txpwr_half_dbm()
314 result = txp->mimo2_max; in iwl_get_max_txpwr_half_dbm()
317 result = txp->mimo3_max; in iwl_get_max_txpwr_half_dbm()
344 if (txp->channel != 0 && chan->hw_value != txp->channel) in iwl_eeprom_enh_txp_read_element()
378 txp = &txp_array[idx]; in iwl_eeprom_enhanced_txpower()
384 (txp->channel && (txp->flags & in iwl_eeprom_enhanced_txpower()
388 (txp->channel), in iwl_eeprom_enhanced_txpower()
397 txp->flags); in iwl_eeprom_enhanced_txpower()
400 txp->chain_a_max, txp->chain_b_max, in iwl_eeprom_enhanced_txpower()
401 txp->chain_c_max); in iwl_eeprom_enhanced_txpower()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
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()
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()
206 struct mt76x2_tx_power_info txp; in mt76x2_phy_tssi_compensate() local
228 t.slope0 = txp.chain[0].tssi_slope; in mt76x2_phy_tssi_compensate()
[all …]
A Dinit.c155 struct mt76x2_tx_power_info txp; in mt76x2_init_txpower() local
162 mt76x2_get_power_info(dev, &txp, chan); in mt76x2_init_txpower()
166 txp.target_power; in mt76x2_init_txpower()
/linux/drivers/spi/
A Dspi-oc-tiny.c50 const u8 *txp; member
110 const u8 *txp = t->tx_buf; in tiny_spi_txrx_bufs() local
117 hw->txp = t->tx_buf; in tiny_spi_txrx_bufs()
124 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
127 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
132 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
141 writeb(txp ? *txp++ : 0, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
143 writeb(txp ? *txp++ : 0, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
173 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_irq()
A Dspi-falcon.c102 const u8 *txp = t->tx_buf; in falcon_sflash_xfer() local
122 if (!txp) { in falcon_sflash_xfer()
138 priv->sfcmd |= *txp; in falcon_sflash_xfer()
139 txp++; in falcon_sflash_xfer()
154 if (txp && bytelen) { in falcon_sflash_xfer()
179 val = (val << 8) | (*txp++); in falcon_sflash_xfer()
181 } else if ((dumlen < 15) && (*txp == 0)) { in falcon_sflash_xfer()
187 txp++; in falcon_sflash_xfer()
226 val |= (*txp++) << (8 * len++); in falcon_sflash_xfer()
A Dspi-ti-qspi.c266 u32 *txp = (u32 *)txbuf; in qspi_write_msg() local
268 data = cpu_to_be32(*txp++); in qspi_write_msg()
271 data = cpu_to_be32(*txp++); in qspi_write_msg()
274 data = cpu_to_be32(*txp++); in qspi_write_msg()
277 data = cpu_to_be32(*txp++); in qspi_write_msg()
/linux/drivers/rtc/
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/infiniband/hw/qib/
A Dqib_sdma.c110 idx = txp->start_idx; in clear_sdma_activelist()
117 if (txp->callback) in clear_sdma_activelist()
118 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_ABORTED); in clear_sdma_activelist()
345 idx = txp->start_idx; in qib_sdma_make_progress()
350 if (txp && (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) && in qib_sdma_make_progress()
365 if (txp && txp->next_descq_idx == ppd->sdma_descq_head) { in qib_sdma_make_progress()
368 if (txp->callback) in qib_sdma_make_progress()
369 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_OK); in qib_sdma_make_progress()
372 txp = NULL; in qib_sdma_make_progress()
377 idx = txp->start_idx; in qib_sdma_make_progress()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
A Dpci_mac.c12 struct mt7921_hw_txp *txp = txp_ptr; in mt7921_write_hw_txp() local
13 struct mt7921_txp_ptr *ptr = &txp->ptr[0]; in mt7921_write_hw_txp()
16 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7921_write_hw_txp()
48 struct mt7921_txp_common *txp; in mt7921e_tx_prepare_skb() local
80 mt7921_write_hw_txp(dev, tx_info, txp, id); in mt7921e_tx_prepare_skb()
90 struct mt7921_txp_common *txp; in mt7921_txp_skb_unmap() local
93 txp = mt7921_txwi_to_txp(dev, t); in mt7921_txp_skb_unmap()
95 for (i = 0; i < ARRAY_SIZE(txp->hw.ptr); i++) { in mt7921_txp_skb_unmap()
96 struct mt7921_txp_ptr *ptr = &txp->hw.ptr[i]; in mt7921_txp_skb_unmap()
254 struct mt7921_txp_common *txp; in mt7921e_tx_complete_skb() local
[all …]
/linux/drivers/net/xen-netback/
A Dnetback.c285 txp = &dropped_tx; in xenvif_count_requests()
306 first->size -= txp->size; in xenvif_count_requests()
309 if (unlikely((txp->offset + txp->size) > XEN_PAGE_SIZE)) { in xenvif_count_requests()
311 txp->offset, txp->size); in xenvif_count_requests()
319 txp++; in xenvif_count_requests()
350 sizeof(*txp)); in xenvif_tx_create_map_op()
599 __skb_fill_page_desc(skb, i, page, txp->offset, txp->size); in xenvif_fill_frags()
600 skb->len += txp->size; in xenvif_fill_frags()
1140 txp->offset += data_len; in xenvif_tx_submit()
1141 txp->size -= data_len; in xenvif_tx_submit()
[all …]
/linux/Documentation/devicetree/bindings/display/
A Dbrcm,bcm2835-txp.yaml4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-txp.yaml#
14 const: brcm,bcm2835-txp
31 txp: txp@7e004000 {
32 compatible = "brcm,bcm2835-txp";
/linux/drivers/net/ethernet/micrel/
A Dks8851_par.c191 static void ks8851_wrfifo_par(struct ks8851_net *ks, struct sk_buff *txp, in ks8851_wrfifo_par() argument
195 unsigned int len = ALIGN(txp->len, 4); in ks8851_wrfifo_par()
199 __func__, txp, txp->len, txp->data, irq); in ks8851_wrfifo_par()
208 iowrite16(txp->len, ksp->hw_addr); in ks8851_wrfifo_par()
210 iowrite16_rep(ksp->hw_addr, txp->data, len / 2); in ks8851_wrfifo_par()
A Dks8851_spi.c252 static void ks8851_wrfifo_spi(struct ks8851_net *ks, struct sk_buff *txp, in ks8851_wrfifo_spi() argument
262 __func__, txp, txp->len, txp->data, irq); in ks8851_wrfifo_spi()
273 ks->txh.txw[2] = cpu_to_le16(txp->len); in ks8851_wrfifo_spi()
280 xfer->tx_buf = txp->data; in ks8851_wrfifo_spi()
282 xfer->len = ALIGN(txp->len, 4); in ks8851_wrfifo_spi()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A Ddma.c236 struct sk_buff **txp; member
652 di->txp = kzalloc(size, GFP_ATOMIC); in dma_attach()
653 if (di->txp == NULL) in dma_attach()
764 kfree(di->txp); in dma_detach()
1311 di->txp[prevtxd(di, txout)] = p; in dma_txenq()
1473 struct sk_buff *txp; in dma_getnexttxp() local
1484 txp = NULL; in dma_getnexttxp()
1524 txp = di->txp[i]; in dma_getnexttxp()
1525 di->txp[i] = NULL; in dma_getnexttxp()
1535 return txp; in dma_getnexttxp()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dbcdc.c362 brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp, in brcmf_proto_bcdc_txcomplete() argument
372 brcmf_fws_bustxfail(bcdc->fws, txp); in brcmf_proto_bcdc_txcomplete()
374 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) in brcmf_proto_bcdc_txcomplete()
375 brcmu_pkt_buf_free_skb(txp); in brcmf_proto_bcdc_txcomplete()
377 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete()
A Dbcdc.h12 void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmac.c1132 struct mt7915_txp *txp; in mt7915_tx_prepare_skb() local
1170 txp->nbuf = nbuf; in mt7915_tx_prepare_skb()
1184 txp->bss_idx = mvif->idx; in mt7915_tx_prepare_skb()
1187 txp->token = cpu_to_le16(id); in mt7915_tx_prepare_skb()
1189 txp->rept_wds_wcid = cpu_to_le16(wcid->idx); in mt7915_tx_prepare_skb()
1191 txp->rept_wds_wcid = cpu_to_le16(0x3ff); in mt7915_tx_prepare_skb()
1230 struct mt7915_txp *txp; in mt7915_txp_skb_unmap() local
1233 txp = mt7915_txwi_to_txp(dev, t); in mt7915_txp_skb_unmap()
1234 for (i = 0; i < txp->nbuf; i++) in mt7915_txp_skb_unmap()
1562 struct mt7915_txp *txp; in mt7915_tx_complete_skb() local
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
A Dsta_cmdresp.c439 struct host_cmd_ds_rf_tx_pwr *txp = &resp->params.txp; in mwifiex_ret_rf_tx_power() local
440 u16 action = le16_to_cpu(txp->action); in mwifiex_ret_rf_tx_power()
442 priv->tx_power_level = le16_to_cpu(txp->cur_level); in mwifiex_ret_rf_tx_power()
445 priv->max_tx_power_level = txp->max_power; in mwifiex_ret_rf_tx_power()
446 priv->min_tx_power_level = txp->min_power; in mwifiex_ret_rf_tx_power()

Completed in 80 milliseconds

12