Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/net/
Difb.c64 struct ifb_q_private *txp = (struct ifb_q_private *)_txp; in ifb_ri_tasklet() local
68 txq = netdev_get_tx_queue(txp->dev, txp->txqnum); in ifb_ri_tasklet()
69 skb = skb_peek(&txp->tq); in ifb_ri_tasklet()
73 skb_queue_splice_tail_init(&txp->rq, &txp->tq); in ifb_ri_tasklet()
77 while ((skb = __skb_dequeue(&txp->tq)) != NULL) { in ifb_ri_tasklet()
81 u64_stats_update_begin(&txp->tsync); in ifb_ri_tasklet()
82 txp->tx_packets++; in ifb_ri_tasklet()
83 txp->tx_bytes += skb->len; in ifb_ri_tasklet()
84 u64_stats_update_end(&txp->tsync); in ifb_ri_tasklet()
87 skb->dev = dev_get_by_index_rcu(dev_net(txp->dev), skb->skb_iif); in ifb_ri_tasklet()
[all …]
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_txp.c144 #define TXP_READ(offset) readl(txp->regs + (offset))
145 #define TXP_WRITE(offset, val) writel(val, txp->regs + (offset))
267 struct vc4_txp *txp = connector_to_vc4_txp(conn); in vc4_txp_connector_atomic_commit() local
304 drm_writeback_queue_job(&txp->connector, conn_state); in vc4_txp_connector_atomic_commit()
337 struct vc4_txp *txp = encoder_to_vc4_txp(encoder); in vc4_txp_encoder_disable() local
360 struct vc4_txp *txp = data; in vc4_txp_interrupt() local
363 vc4_crtc_handle_vblank(to_vc4_crtc(txp->connector.base.state->crtc)); in vc4_txp_interrupt()
364 drm_writeback_signal_completion(&txp->connector, 0); in vc4_txp_interrupt()
374 struct vc4_txp *txp; in vc4_txp_bind() local
381 txp = devm_kzalloc(dev, sizeof(*txp), GFP_KERNEL); in vc4_txp_bind()
[all …]
Dvc4_drv.h80 struct vc4_txp *txp; member
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c352 struct iwl_eeprom_enhanced_txpwr *txp) in iwl_get_max_txpwr_half_dbm() argument
357 if (data->valid_tx_ant & ANT_A && txp->chain_a_max > result) in iwl_get_max_txpwr_half_dbm()
358 result = txp->chain_a_max; in iwl_get_max_txpwr_half_dbm()
360 if (data->valid_tx_ant & ANT_B && txp->chain_b_max > result) in iwl_get_max_txpwr_half_dbm()
361 result = txp->chain_b_max; in iwl_get_max_txpwr_half_dbm()
363 if (data->valid_tx_ant & ANT_C && txp->chain_c_max > result) in iwl_get_max_txpwr_half_dbm()
364 result = txp->chain_c_max; in iwl_get_max_txpwr_half_dbm()
368 data->valid_tx_ant == ANT_AC) && txp->mimo2_max > result) in iwl_get_max_txpwr_half_dbm()
369 result = txp->mimo2_max; in iwl_get_max_txpwr_half_dbm()
371 if (data->valid_tx_ant == ANT_ABC && txp->mimo3_max > result) in iwl_get_max_txpwr_half_dbm()
[all …]
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt76x2/
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 …]
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-v5.4/drivers/rtc/
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-v5.4/drivers/spi/
Dspi-oc-tiny.c51 const u8 *txp; member
123 const u8 *txp = t->tx_buf; in tiny_spi_txrx_bufs() local
130 hw->txp = t->tx_buf; in tiny_spi_txrx_bufs()
137 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
140 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
145 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_txrx_bufs()
154 writeb(txp ? *txp++ : 0, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
156 writeb(txp ? *txp++ : 0, hw->base + TINY_SPI_TXDATA); in tiny_spi_txrx_bufs()
186 writeb(hw->txp ? *hw->txp++ : 0, in tiny_spi_irq()
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()
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-v5.4/drivers/infiniband/hw/qib/
Dqib_sdma.c103 struct qib_sdma_txreq *txp, *txp_next; in clear_sdma_activelist() local
105 list_for_each_entry_safe(txp, txp_next, &ppd->sdma_activelist, list) { in clear_sdma_activelist()
106 list_del_init(&txp->list); in clear_sdma_activelist()
107 if (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) { in clear_sdma_activelist()
110 idx = txp->start_idx; in clear_sdma_activelist()
111 while (idx != txp->next_descq_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()
327 struct qib_sdma_txreq *txp = NULL; in qib_sdma_make_progress() local
343 txp = list_entry(lp, struct qib_sdma_txreq, list); in qib_sdma_make_progress()
[all …]
/Linux-v5.4/drivers/net/xen-netback/
Dnetback.c103 struct xen_netif_tx_request *txp,
194 struct xen_netif_tx_request *txp, in xenvif_tx_err() argument
202 make_tx_response(queue, txp, extra_count, XEN_NETIF_RSP_ERROR); in xenvif_tx_err()
207 RING_COPY_REQUEST(&queue->tx, cons++, txp); in xenvif_tx_err()
225 struct xen_netif_tx_request *txp, in xenvif_count_requests() argument
274 txp = &dropped_tx; in xenvif_count_requests()
276 RING_COPY_REQUEST(&queue->tx, cons + slots, txp); in xenvif_count_requests()
287 if (!drop_err && txp->size > first->size) { in xenvif_count_requests()
291 txp->size, first->size); in xenvif_count_requests()
295 first->size -= txp->size; in xenvif_count_requests()
[all …]
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c234 struct mt7615_txp *txp; in mt7615_tx_complete_skb() local
237 txp = mt7615_txwi_to_txp(mdev, e->txwi); in mt7615_tx_complete_skb()
240 t = idr_remove(&dev->token, le16_to_cpu(txp->token)); in mt7615_tx_complete_skb()
449 struct mt7615_txp *txp; in mt7615_txp_skb_unmap() local
452 txp = mt7615_txwi_to_txp(dev, t); in mt7615_txp_skb_unmap()
453 for (i = 1; i < txp->nbuf; i++) in mt7615_txp_skb_unmap()
454 dma_unmap_single(dev->dev, le32_to_cpu(txp->buf[i]), in mt7615_txp_skb_unmap()
455 le16_to_cpu(txp->len[i]), DMA_TO_DEVICE); in mt7615_txp_skb_unmap()
776 struct mt7615_txp *txp; in mt7615_tx_prepare_skb() local
794 txp = (struct mt7615_txp *)(txwi + MT_TXD_SIZE); in mt7615_tx_prepare_skb()
[all …]
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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()
Dbcdc.h12 void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
Dcore.h210 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success);
Dcore.c534 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success) in brcmf_txfinalize() argument
539 eh = (struct ethhdr *)(txp->data); in brcmf_txfinalize()
551 brcmu_pkt_buf_free_skb(txp); in brcmf_txfinalize()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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()
1511 for (i = start; i != end && !txp; i = nexttxd(di, i)) { in dma_getnexttxp()
1524 txp = di->txp[i]; in dma_getnexttxp()
1525 di->txp[i] = NULL; in dma_getnexttxp()
[all …]
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dtrace_tx.h402 struct sdma_txreq *txp
404 TP_ARGS(sde, hwhead, swhead, txp),
419 __entry->txnext = txp ? txp->next_descq_idx : ~0;
421 __entry->sn = txp ? txp->sn : ~0;
439 struct sdma_txreq *txp
441 TP_ARGS(sde, hwhead, swhead, txp),
455 __entry->txnext = txp ? txp->next_descq_idx : ~0;
Dsdma.c406 struct sdma_txreq *txp, *txp_next; in sdma_flush() local
418 list_for_each_entry_safe(txp, txp_next, &flushlist, list) in sdma_flush()
419 complete_tx(sde, txp, SDMA_TXREQ_S_ABORTED); in sdma_flush()
581 struct sdma_txreq *txp = get_txhead(sde); in sdma_flush_descq() local
594 if (txp && txp->next_descq_idx == head) { in sdma_flush_descq()
597 complete_tx(sde, txp, SDMA_TXREQ_S_ABORTED); in sdma_flush_descq()
598 trace_hfi1_sdma_progress(sde, head, tail, txp); in sdma_flush_descq()
599 txp = get_txhead(sde); in sdma_flush_descq()
1828 struct sdma_txreq *txp = NULL; in sdma_make_progress() local
1842 txp = get_txhead(sde); in sdma_make_progress()
[all …]
/Linux-v5.4/drivers/net/ethernet/micrel/
Dks8851.c699 static void ks8851_wrpkt(struct ks8851_net *ks, struct sk_buff *txp, bool irq) in ks8851_wrpkt() argument
707 __func__, txp, txp->len, txp->data, irq); in ks8851_wrpkt()
718 ks->txh.txw[2] = cpu_to_le16(txp->len); in ks8851_wrpkt()
725 xfer->tx_buf = txp->data; in ks8851_wrpkt()
727 xfer->len = ALIGN(txp->len, 4); in ks8851_wrpkt()
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c438 struct host_cmd_ds_rf_tx_pwr *txp = &resp->params.txp; in mwifiex_ret_rf_tx_power() local
439 u16 action = le16_to_cpu(txp->action); in mwifiex_ret_rf_tx_power()
441 priv->tx_power_level = le16_to_cpu(txp->cur_level); in mwifiex_ret_rf_tx_power()
444 priv->max_tx_power_level = txp->max_power; in mwifiex_ret_rf_tx_power()
445 priv->min_tx_power_level = txp->min_power; in mwifiex_ret_rf_tx_power()
Dsta_cmd.c244 struct host_cmd_ds_txpwr_cfg *txp) in mwifiex_cmd_tx_power_cfg() argument
254 if (txp->mode) { in mwifiex_cmd_tx_power_cfg()
256 *) ((unsigned long) txp + in mwifiex_cmd_tx_power_cfg()
258 memmove(cmd_txp_cfg, txp, in mwifiex_cmd_tx_power_cfg()
270 memmove(cmd_txp_cfg, txp, sizeof(*txp)); in mwifiex_cmd_tx_power_cfg()
289 struct host_cmd_ds_rf_tx_pwr *txp = &cmd->params.txp; in mwifiex_cmd_rf_tx_power() local
294 txp->action = cpu_to_le16(cmd_action); in mwifiex_cmd_rf_tx_power()
/Linux-v5.4/arch/arm/boot/dts/
Dbcm283x.dtsi70 txp@7e004000 {
71 compatible = "brcm,bcm2835-txp";
/Linux-v5.4/Documentation/devicetree/bindings/display/
Dbrcm,bcm-vc4.txt78 - compatible: Should be "brcm,bcm2835-txp"

12