Home
last modified time | relevance | path

Searched full:tx (Results 1 – 25 of 4710) sorted by relevance

12345678910>>...189

/Linux-v6.1/sound/soc/codecs/
Dlpass-tx-macro.c243 struct tx_macro *tx; member
249 struct tx_macro *tx; member
283 /* TX Macro */
427 /* Update volatile list for tx/tx macros */ in tx_is_volatile_register()
600 static int tx_macro_mclk_enable(struct tx_macro *tx, in tx_macro_mclk_enable() argument
603 struct regmap *regmap = tx->regmap; in tx_macro_mclk_enable()
606 if (tx->tx_mclk_users == 0) { in tx_macro_mclk_enable()
618 tx->tx_mclk_users++; in tx_macro_mclk_enable()
620 if (tx->tx_mclk_users <= 0) { in tx_macro_mclk_enable()
621 dev_err(tx->dev, "clock already disabled\n"); in tx_macro_mclk_enable()
[all …]
/Linux-v6.1/drivers/net/ethernet/google/gve/
Dgve_tx_dqo.c16 static bool gve_has_pending_packet(struct gve_tx_ring *tx) in gve_has_pending_packet() argument
18 /* Check TX path's list. */ in gve_has_pending_packet()
19 if (tx->dqo_tx.free_pending_packets != -1) in gve_has_pending_packet()
23 if (atomic_read_acquire(&tx->dqo_compl.free_pending_packets) != -1) in gve_has_pending_packet()
30 gve_alloc_pending_packet(struct gve_tx_ring *tx) in gve_alloc_pending_packet() argument
35 index = tx->dqo_tx.free_pending_packets; in gve_alloc_pending_packet()
41 tx->dqo_tx.free_pending_packets = in gve_alloc_pending_packet()
42 atomic_xchg(&tx->dqo_compl.free_pending_packets, -1); in gve_alloc_pending_packet()
43 index = tx->dqo_tx.free_pending_packets; in gve_alloc_pending_packet()
49 pending_packet = &tx->dqo.pending_packets[index]; in gve_alloc_pending_packet()
[all …]
Dgve_tx.c23 * We copy skb payloads into the registered segment before writing Tx
24 * descriptors and ringing the Tx doorbell.
65 /* gve_tx_alloc_fifo - Allocate fragment(s) from Tx FIFO
126 /* gve_tx_free_fifo - Return space to Tx FIFO
135 static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx,
140 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_free_ring() local
146 slots = tx->mask + 1; in gve_tx_free_ring()
147 gve_clean_tx_done(priv, tx, priv->tx_desc_cnt, false); in gve_tx_free_ring()
148 netdev_tx_reset_queue(tx->netdev_txq); in gve_tx_free_ring()
150 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring()
[all …]
/Linux-v6.1/drivers/media/i2c/adv748x/
Dadv748x-csi2.c17 int adv748x_csi2_set_virtual_channel(struct adv748x_csi2 *tx, unsigned int vc) in adv748x_csi2_set_virtual_channel() argument
19 return tx_write(tx, ADV748X_CSI_VC_REF, vc << ADV748X_CSI_VC_REF_SHIFT); in adv748x_csi2_set_virtual_channel()
25 * @tx: CSI2 private entity
28 * @src_pad: Pad number of source to link to this @tx
34 static int adv748x_csi2_register_link(struct adv748x_csi2 *tx, in adv748x_csi2_register_link() argument
49 &tx->sd.entity, ADV748X_CSI2_SINK, in adv748x_csi2_register_link()
55 tx->src = src; in adv748x_csi2_register_link()
70 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); in adv748x_csi2_registered() local
71 struct adv748x_state *state = tx->state; in adv748x_csi2_registered()
74 adv_dbg(state, "Registered %s (%s)", is_txa(tx) ? "TXA":"TXB", in adv748x_csi2_registered()
[all …]
/Linux-v6.1/drivers/firmware/tegra/
Divc.c48 * written through the tx.channel pointer, while the second is only written
62 } tx; member
97 u32 tx = READ_ONCE(header->tx.count); in tegra_ivc_empty() local
110 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
113 return tx == rx; in tegra_ivc_empty()
119 u32 tx = READ_ONCE(header->tx.count); in tegra_ivc_full() local
126 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
132 u32 tx = READ_ONCE(header->tx.count); in tegra_ivc_available() local
141 return tx - rx; in tegra_ivc_available()
146 WRITE_ONCE(ivc->tx.channel->tx.count, in tegra_ivc_advance_tx()
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/netdevsim/
Dethtool-coalesce.sh31 ["tx-frames-low"]="tx-frame-low"
33 ["tx-frames-high"]="tx-frame-high"
38 ["tx-usecs"]="tx-usecs"
39 ["tx-frames"]="tx-frames"
40 ["tx-usecs-irq"]="tx-usecs-irq"
41 ["tx-frames-irq"]="tx-frames-irq"
45 ["tx-usecs-low"]="tx-usecs-low"
48 ["tx-usecs-high"]="tx-usecs-high"
54 ["tx-frames-low"]=""
56 ["tx-frames-high"]=""
[all …]
/Linux-v6.1/drivers/net/wireless/ti/wl18xx/
Ddebugfs.c45 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_prepared_descs, "%u");
46 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_cmplt, "%u");
47 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_prepared, "%u");
48 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_prepared, "%u");
49 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_programmed, "%u");
50 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_programmed, "%u");
51 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_burst_programmed, "%u");
52 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_starts, "%u");
53 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_stop, "%u");
54 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_start_templates, "%u");
[all …]
/Linux-v6.1/drivers/fpga/
Dmachxo2-spi.c69 struct spi_transfer rx, tx; in get_status() local
74 memset(&tx, 0, sizeof(tx)); in get_status()
75 tx.tx_buf = cmd; in get_status()
76 tx.len = sizeof(cmd); in get_status()
80 spi_message_add_tail(&tx, &msg); in get_status()
139 struct spi_transfer tx[2]; in machxo2_cleanup() local
144 memset(tx, 0, sizeof(tx)); in machxo2_cleanup()
146 tx[0].tx_buf = &erase; in machxo2_cleanup()
147 tx[0].len = sizeof(erase); in machxo2_cleanup()
148 spi_message_add_tail(&tx[0], &msg); in machxo2_cleanup()
[all …]
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dvnic_sdma.c41 struct vnic_txreq *tx = container_of(txreq, struct vnic_txreq, txreq); in vnic_sdma_complete() local
42 struct hfi1_vnic_sdma *vnic_sdma = tx->sdma; in vnic_sdma_complete()
45 dev_kfree_skb_any(tx->skb); in vnic_sdma_complete()
46 kmem_cache_free(vnic_sdma->dd->vnic.txreq_cache, tx); in vnic_sdma_complete()
50 struct vnic_txreq *tx) in build_vnic_ulp_payload() argument
56 &tx->txreq, in build_vnic_ulp_payload()
57 tx->skb->data, in build_vnic_ulp_payload()
58 skb_headlen(tx->skb)); in build_vnic_ulp_payload()
62 for (i = 0; i < skb_shinfo(tx->skb)->nr_frags; i++) { in build_vnic_ulp_payload()
63 skb_frag_t *frag = &skb_shinfo(tx->skb)->frags[i]; in build_vnic_ulp_payload()
[all …]
Dipoib_tx.c101 * The tx queue len can be adjusted upward while the interface is in hfi1_ipoib_check_queue_stopped()
103 * The tx queue len can be large enough to overflow the txreq_ring. in hfi1_ipoib_check_queue_stopped()
114 static void hfi1_ipoib_free_tx(struct ipoib_txreq *tx, int budget) in hfi1_ipoib_free_tx() argument
116 struct hfi1_ipoib_dev_priv *priv = tx->txq->priv; in hfi1_ipoib_free_tx()
118 if (likely(!tx->sdma_status)) { in hfi1_ipoib_free_tx()
119 dev_sw_netstats_tx_add(priv->netdev, 1, tx->skb->len); in hfi1_ipoib_free_tx()
124 __func__, tx->sdma_status, in hfi1_ipoib_free_tx()
125 le64_to_cpu(tx->sdma_hdr->pbc), tx->txq->q_idx, in hfi1_ipoib_free_tx()
126 tx->txq->sde->this_idx); in hfi1_ipoib_free_tx()
129 napi_consume_skb(tx->skb, budget); in hfi1_ipoib_free_tx()
[all …]
Dsdma.h190 * The tx request, once initialized, is manipulated with calls to
199 * in the tx. Memory locations added with sdma_txadd_page()
201 * to the tx and nmapped as part of the progress processing in the
205 * tx. An example of a use case would be a pre-allocated
212 * a tx to the ring after the appropriate number of
219 * long as the tx isn't in flight.
440 struct sdma_txreq *tx,
448 * @tx: tx request to initialize
479 * being submitted. The callback will be provided this tx, a status, and a flag.
499 struct sdma_txreq *tx, in sdma_txinit_ahg() argument
[all …]
/Linux-v6.1/crypto/async_tx/
Dasync_tx.c62 * @tx: the new operation
66 struct dma_async_tx_descriptor *tx) in async_tx_channel_switch() argument
74 if (txd_parent(depend_tx) && depend_tx->chan == tx->chan) { in async_tx_channel_switch()
75 txd_chain(depend_tx, tx); in async_tx_channel_switch()
100 txd_chain(intr_tx, tx); in async_tx_channel_switch()
121 tx->tx_submit(tx); in async_tx_channel_switch()
143 async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx, in async_tx_submit() argument
148 tx->callback = submit->cb_fn; in async_tx_submit()
149 tx->callback_param = submit->cb_param; in async_tx_submit()
161 txd_parent(tx)); in async_tx_submit()
[all …]
/Linux-v6.1/drivers/clk/mediatek/
Dclk-apmixed.c32 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_is_prepared() local
34 return (readl(tx->base_addr) & REF2USB_EN_MASK) == REF2USB_EN_MASK; in mtk_ref2usb_tx_is_prepared()
39 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_prepare() local
42 val = readl(tx->base_addr); in mtk_ref2usb_tx_prepare()
45 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
49 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
52 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
59 struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw); in mtk_ref2usb_tx_unprepare() local
62 val = readl(tx->base_addr); in mtk_ref2usb_tx_unprepare()
64 writel(val, tx->base_addr); in mtk_ref2usb_tx_unprepare()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_tx.c14 * 1) Allocates TX WQE array using coherent DMA mapping
15 * 2) Allocates TX completion counter using coherent DMA mapping
30 /* Write TX WQE base address into MMIO reg */ in mlxbf_gige_tx_init()
33 /* Allocate address for TX completion count */ in mlxbf_gige_tx_init()
42 /* Write TX CC base address into MMIO reg */ in mlxbf_gige_tx_init()
56 * namely the TX WQE array and the TX completion counter
92 /* Function that returns status of TX ring:
93 * 0: TX ring is full, i.e. there are no
94 * available un-used entries in TX ring.
95 * non-null: TX ring is not full, i.e. there are
[all …]
/Linux-v6.1/tools/testing/selftests/timers/
Dleap-a-day.c97 struct timex tx; in clear_time_state() local
106 tx.modes = ADJ_STATUS; in clear_time_state()
107 tx.status = STA_PLL; in clear_time_state()
108 ret = adjtimex(&tx); in clear_time_state()
111 tx.modes = ADJ_MAXERROR; in clear_time_state()
112 tx.maxerror = 0; in clear_time_state()
113 ret = adjtimex(&tx); in clear_time_state()
116 tx.modes = ADJ_STATUS; in clear_time_state()
117 tx.status = 0; in clear_time_state()
118 ret = adjtimex(&tx); in clear_time_state()
[all …]
/Linux-v6.1/drivers/net/ethernet/engleder/
Dtsnep_main.c10 * It supports multiple TX/RX queue pairs. The first TX/RX queue pair is used
66 /* handle TX/RX queue 0 interrupt */ in tsnep_irq()
79 /* handle TX/RX queue interrupt */ in tsnep_irq_txrx()
217 static void tsnep_tx_ring_cleanup(struct tsnep_tx *tx) in tsnep_tx_ring_cleanup() argument
219 struct device *dmadev = tx->adapter->dmadev; in tsnep_tx_ring_cleanup()
222 memset(tx->entry, 0, sizeof(tx->entry)); in tsnep_tx_ring_cleanup()
225 if (tx->page[i]) { in tsnep_tx_ring_cleanup()
226 dma_free_coherent(dmadev, PAGE_SIZE, tx->page[i], in tsnep_tx_ring_cleanup()
227 tx->page_dma[i]); in tsnep_tx_ring_cleanup()
228 tx->page[i] = NULL; in tsnep_tx_ring_cleanup()
[all …]
/Linux-v6.1/drivers/net/phy/
Dlinkmode.c19 * 0 1 1 1 TX
21 * 1 X 1 X TX+RX
49 * @tx: boolean from ethtool struct ethtool_pauseparam tx_pause member
53 * capabilities of provided in @tx and @rx.
56 * tx rx Pause AsymDir
62 * Note: this translation from ethtool tx/rx notation to the advertisement
65 * For tx=0 rx=1, meaning transmit is unsupported, receive is supported:
69 * 1 1 1 0 TX + RX - but we have no TX support.
72 * For tx=1 rx=1, meaning we have the capability to transmit and receive
77 * 1 0 0 1 Disabled - but since we do support tx and rx,
[all …]
/Linux-v6.1/drivers/staging/gdm724x/
Dgdm_usb.c149 static struct usb_tx_sdu *get_tx_sdu_struct(struct tx_cxt *tx, int *no_spc) in get_tx_sdu_struct() argument
153 if (list_empty(&tx->free_list)) in get_tx_sdu_struct()
156 t_sdu = list_entry(tx->free_list.next, struct usb_tx_sdu, list); in get_tx_sdu_struct()
159 tx->avail_count--; in get_tx_sdu_struct()
161 *no_spc = list_empty(&tx->free_list) ? 1 : 0; in get_tx_sdu_struct()
166 static void put_tx_struct(struct tx_cxt *tx, struct usb_tx_sdu *t_sdu) in put_tx_struct() argument
168 list_add_tail(&t_sdu->list, &tx->free_list); in put_tx_struct()
169 tx->avail_count++; in put_tx_struct()
251 struct tx_cxt *tx = &udev->tx; in release_usb() local
257 spin_lock_irqsave(&tx->lock, flags); in release_usb()
[all …]
/Linux-v6.1/sound/soc/mediatek/common/
Dmtk-btcvsd.c27 /* TX */
130 spinlock_t tx_lock; /* spinlock for bt tx stream control */
135 struct mtk_btcvsd_snd_stream *tx; member
209 dev_dbg(bt->dev, "%s(), stream %d, state %d, tx->state %d, rx->state %d, irq_disabled %d\n", in mtk_btcvsd_snd_set_state()
212 bt->tx->state, bt->rx->state, bt->irq_disabled); in mtk_btcvsd_snd_set_state()
216 if (bt->tx->state == BT_SCO_STATE_IDLE && in mtk_btcvsd_snd_set_state()
234 memset(bt->tx, 0, sizeof(*bt->tx)); in mtk_btcvsd_snd_tx_init()
237 bt->tx->packet_size = BTCVSD_TX_PACKET_SIZE; in mtk_btcvsd_snd_tx_init()
238 bt->tx->buf_size = BTCVSD_TX_BUF_SIZE; in mtk_btcvsd_snd_tx_init()
239 bt->tx->timeout = 0; in mtk_btcvsd_snd_tx_init()
[all …]
/Linux-v6.1/drivers/spi/
Dspi-dln2.c108 } tx; in dln2_spi_enable() local
109 unsigned len = sizeof(tx); in dln2_spi_enable()
111 tx.port = dln2->port; in dln2_spi_enable()
115 len -= sizeof(tx.wait_for_completion); in dln2_spi_enable()
117 tx.wait_for_completion = DLN2_TRANSFERS_WAIT_COMPLETE; in dln2_spi_enable()
121 return dln2_transfer_tx(dln2->pdev, cmd, &tx, len); in dln2_spi_enable()
137 } tx; in dln2_spi_cs_set() local
139 tx.port = dln2->port; in dln2_spi_cs_set()
146 tx.cs = ~cs_mask; in dln2_spi_cs_set()
148 return dln2_transfer_tx(dln2->pdev, DLN2_SPI_SET_SS, &tx, sizeof(tx)); in dln2_spi_cs_set()
[all …]
/Linux-v6.1/drivers/media/cec/core/
Dcec-pin-error-inj.c28 { CEC_ERROR_INJ_TX_NO_EOM_OFFSET, -1, "tx-no-eom" },
29 { CEC_ERROR_INJ_TX_EARLY_EOM_OFFSET, -1, "tx-early-eom" },
31 CEC_ERROR_INJ_TX_ADD_BYTES_ARG_IDX, "tx-add-bytes" },
32 { CEC_ERROR_INJ_TX_REMOVE_BYTE_OFFSET, -1, "tx-remove-byte" },
34 CEC_ERROR_INJ_TX_SHORT_BIT_ARG_IDX, "tx-short-bit" },
36 CEC_ERROR_INJ_TX_LONG_BIT_ARG_IDX, "tx-long-bit" },
38 CEC_ERROR_INJ_TX_CUSTOM_BIT_ARG_IDX, "tx-custom-bit" },
39 { CEC_ERROR_INJ_TX_SHORT_START_OFFSET, -1, "tx-short-start" },
40 { CEC_ERROR_INJ_TX_LONG_START_OFFSET, -1, "tx-long-start" },
41 { CEC_ERROR_INJ_TX_CUSTOM_START_OFFSET, -1, "tx-custom-start" },
[all …]
/Linux-v6.1/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c411 const struct pkvm_mem_transition tx; member
475 const struct pkvm_mem_transition *tx) in host_request_owned_transition() argument
477 u64 size = tx->nr_pages * PAGE_SIZE; in host_request_owned_transition()
478 u64 addr = tx->initiator.addr; in host_request_owned_transition()
480 *completer_addr = tx->initiator.host.completer_addr; in host_request_owned_transition()
485 const struct pkvm_mem_transition *tx) in host_request_unshare() argument
487 u64 size = tx->nr_pages * PAGE_SIZE; in host_request_unshare()
488 u64 addr = tx->initiator.addr; in host_request_unshare()
490 *completer_addr = tx->initiator.host.completer_addr; in host_request_unshare()
495 const struct pkvm_mem_transition *tx) in host_initiate_share() argument
[all …]
/Linux-v6.1/drivers/net/ethernet/microchip/
Dlan743x_main.c216 struct lan743x_tx *tx = context; in lan743x_tx_isr() local
217 struct lan743x_adapter *adapter = tx->adapter; in lan743x_tx_isr()
223 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_isr()
226 if (int_sts & INT_BIT_DMA_TX_(tx->channel_number)) { in lan743x_tx_isr()
227 u32 ioc_bit = DMAC_INT_BIT_TX_IOC_(tx->channel_number); in lan743x_tx_isr()
244 napi_schedule(&tx->napi); in lan743x_tx_isr()
252 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_isr()
319 lan743x_tx_isr(&adapter->tx[channel], in lan743x_intr_shared_isr()
669 /* map TX interrupt to vector */ in lan743x_intr_open()
673 /* Remove TX interrupt from shared mask */ in lan743x_intr_open()
[all …]
/Linux-v6.1/drivers/net/wireless/purelifi/plfxlc/
Dusb.c38 struct plfxlc_usb_tx *tx = &usb->tx; in plfxlc_send_packet_from_data_queue() local
43 spin_lock_irqsave(&tx->lock, flags); in plfxlc_send_packet_from_data_queue()
47 if (!(tx->station[usb->sidx].flag & STATION_CONNECTED_FLAG)) in plfxlc_send_packet_from_data_queue()
49 if (!(tx->station[usb->sidx].flag & STATION_FIFO_FULL_FLAG)) in plfxlc_send_packet_from_data_queue()
50 skb = skb_peek(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue()
54 skb = skb_dequeue(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue()
57 if (skb_queue_len(&tx->station[usb->sidx].data_list) <= 60) in plfxlc_send_packet_from_data_queue()
60 spin_unlock_irqrestore(&tx->lock, flags); in plfxlc_send_packet_from_data_queue()
71 struct plfxlc_usb_tx *tx; in rx_urb_complete() local
94 tx = &usb->tx; in rx_urb_complete()
[all …]
/Linux-v6.1/drivers/net/wireless/broadcom/b43/
Dradio_2055.h21 #define B2055_C1_SP_TXGC1 0x0D /* SP TX GC1 Core 1 */
22 #define B2055_C1_SP_TXGC2 0x0E /* SP TX GC2 Core 1 */
23 #define B2055_C2_SP_TXGC1 0x0F /* SP TX GC1 Core 2 */
24 #define B2055_C2_SP_TXGC2 0x10 /* SP TX GC2 Core 2 */
30 #define B2055_C1_PD_TX 0x16 /* PD Core 1 TX */
34 #define B2055_C2_PD_TX 0x1A /* PD Core 2 TX */
129 #define B2055_C1_RX_TXBBRCAL 0x79 /* Core 1 RX TX BB RCAL */
130 #define B2055_C1_TX_RF_SPGA 0x7A /* Core 1 TX RF SGM PGA */
131 #define B2055_C1_TX_RF_SPAD 0x7B /* Core 1 TX RF SGM PAD */
132 #define B2055_C1_TX_RF_CNTPGA1 0x7C /* Core 1 TX RF counter PGA 1 */
[all …]

12345678910>>...189