Home
last modified time | relevance | path

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

12

/drivers/net/
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()
136 skb = skb_peek(&txp->rq); in ifb_ri_tasklet()
148 txp->tasklet_pending = 1; in ifb_ri_tasklet()
190 txp = kcalloc(dev->num_tx_queues, sizeof(*txp), GFP_KERNEL); in ifb_dev_init()
191 if (!txp) in ifb_dev_init()
193 dp->tx_private = txp; in ifb_dev_init()
195 txp->txqnum = i; in ifb_dev_init()
[all …]
/drivers/infiniband/hw/hfi1/
A Dipoib_tx.c200 struct ipoib_txparms *txp) in hfi1_ipoib_build_ulp_payload() argument
283 txp->hdr_dwords = 7; in hfi1_ipoib_build_ib_tx_headers()
287 txp->hdr_dwords += in hfi1_ipoib_build_ib_tx_headers()
288 hfi1_make_grh(txp->ibp, in hfi1_ipoib_build_ib_tx_headers()
391 txp->flow.tx_queue, in hfi1_ipoib_send_dma_common()
392 txp->flow.sc5); in hfi1_ipoib_send_dma_common()
552 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_list()
577 struct ipoib_txparms txp; in hfi1_ipoib_send() local
590 txp.dd = priv->dd; in hfi1_ipoib_send()
594 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()
541 struct sdma_txreq *txp = get_txhead(sde); in sdma_flush_descq() local
554 if (txp && txp->next_descq_idx == head) { in sdma_flush_descq()
557 complete_tx(sde, txp, SDMA_TXREQ_S_ABORTED); in sdma_flush_descq()
559 txp = get_txhead(sde); in sdma_flush_descq()
1769 struct sdma_txreq *txp = NULL; in sdma_make_progress() local
1783 txp = get_txhead(sde); in sdma_make_progress()
1791 if (txp && txp->next_descq_idx == swhead) { in sdma_make_progress()
1794 complete_tx(sde, txp, SDMA_TXREQ_S_OK); in sdma_make_progress()
[all …]
/drivers/gpu/drm/vc4/
A Dvc4_txp.c493 struct vc4_txp *txp = data; in vc4_txp_interrupt() local
559 struct vc4_txp *txp; in vc4_txp_bind() local
566 txp = drmm_kzalloc(drm, sizeof(*txp), GFP_KERNEL); in vc4_txp_bind()
567 if (!txp) in vc4_txp_bind()
574 txp->data = txp_data; in vc4_txp_bind()
575 txp->pdev = pdev; in vc4_txp_bind()
577 if (IS_ERR(txp->regs)) in vc4_txp_bind()
578 return PTR_ERR(txp->regs); in vc4_txp_bind()
580 vc4_crtc = &txp->base; in vc4_txp_bind()
590 vc4_encoder = &txp->encoder; in vc4_txp_bind()
[all …]
/drivers/net/xen-netback/
A Dnetback.c308 if (unlikely((txp->offset + txp->size) > XEN_PAGE_SIZE)) { in xenvif_count_requests()
310 txp->offset, txp->size); in xenvif_count_requests()
318 txp++; in xenvif_count_requests()
404 int amount = data_len > txp->size ? txp->size : data_len; in xenvif_get_requests()
442 txp, sizeof(*txp)); in xenvif_get_requests()
447 txp = txfrags; in xenvif_get_requests()
449 txp++; in xenvif_get_requests()
466 ++txp; in xenvif_get_requests()
479 txp = txfrags; in xenvif_get_requests()
481 txp++; in xenvif_get_requests()
[all …]
/drivers/net/wireless/mediatek/mt76/mt76x2/
A Dphy.c141 struct mt76x2_tx_power_info txp; in mt76x2_phy_set_txpower() local
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()
229 t.offset0 = txp.chain[0].tssi_offset; in mt76x2_phy_tssi_compensate()
[all …]
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()
/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.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()
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()
227 val |= (*txp++) << (8 * len++); in falcon_sflash_xfer()
A Dspi-ti-qspi.c262 u32 *txp = (u32 *)txbuf; in qspi_write_msg() local
264 data = cpu_to_be32(*txp++); in qspi_write_msg()
267 data = cpu_to_be32(*txp++); in qspi_write_msg()
270 data = cpu_to_be32(*txp++); in qspi_write_msg()
273 data = cpu_to_be32(*txp++); in qspi_write_msg()
/drivers/net/wireless/intel/iwlwifi/dvm/
A Deeprom.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()
376 txp = &txp_array[idx]; in iwl_eeprom_enhanced_txpower()
382 (txp->channel && (txp->flags & in iwl_eeprom_enhanced_txpower()
386 (txp->channel), in iwl_eeprom_enhanced_txpower()
395 txp->flags); in iwl_eeprom_enhanced_txpower()
398 txp->chain_a_max, txp->chain_b_max, in iwl_eeprom_enhanced_txpower()
399 txp->chain_c_max); in iwl_eeprom_enhanced_txpower()
[all …]
/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 …]
/drivers/net/wireless/mediatek/mt76/mt7615/
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()
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()
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()
56 txp->token = cpu_to_le16(id); in mt7615_write_fw_txp()
72 void *txp; in mt7615_tx_prepare_skb() local
102 txp = txwi + MT_TXD_SIZE; in mt7615_tx_prepare_skb()
[all …]
/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.c250 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()
/drivers/net/ethernet/vertexcom/
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 …]
/drivers/net/wireless/mediatek/mt76/mt7921/
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()
/drivers/net/wireless/mediatek/mt76/mt7925/
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()
/drivers/net/wireless/mediatek/mt76/
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()
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()
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()
251 struct mt76_connac_txp_common *txp; in mt76_connac_txp_skb_unmap() local
253 txp = mt76_connac_txwi_to_txp(dev, t); in mt76_connac_txp_skb_unmap()
255 mt76_connac_txp_skb_unmap_fw(dev, &txp->fw); in mt76_connac_txp_skb_unmap()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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()
1514 txp = di->txp[i]; in dma_getnexttxp()
1515 di->txp[i] = NULL; in dma_getnexttxp()
1525 return txp; in dma_getnexttxp()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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()
A Dbcdc.h12 void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmac.c751 struct mt76_connac_fw_txp *txp; in mt7915_tx_prepare_skb() local
790 txp->nbuf = nbuf; 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()
809 txp->rept_wds_wcid = cpu_to_le16(wcid->idx); in mt7915_tx_prepare_skb()
811 txp->rept_wds_wcid = cpu_to_le16(0x3ff); in mt7915_tx_prepare_skb()
828 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf()
838 txp->token = cpu_to_le16(token_id); in mt7915_wed_init_buf()
839 txp->nbuf = 1; in mt7915_wed_init_buf()
840 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7996/
A Dmac.c1028 struct mt76_connac_txp_common *txp; in mt7996_tx_prepare_skb() local
1065 txp->fw.len[i] = cpu_to_le16(len); in mt7996_tx_prepare_skb()
1067 txp->fw.nbuf = nbuf; in mt7996_tx_prepare_skb()
1069 txp->fw.flags = cpu_to_le16(MT_CT_INFO_FROM_HOST); in mt7996_tx_prepare_skb()
1092 txp->fw.token = cpu_to_le16(id); in mt7996_tx_prepare_skb()
1107 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE; in mt7996_wed_init_buf() local
1111 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7996_wed_init_buf()
1121 txp->token = cpu_to_le16(token_id); in mt7996_wed_init_buf()
1122 txp->nbuf = 1; in mt7996_wed_init_buf()
1123 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7996_wed_init_buf()
[all …]

Completed in 55 milliseconds

12