Home
last modified time | relevance | path

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

12345678910>>...322

/kernel/linux/linux-6.6/sound/soc/codecs/
Dlpass-tx-macro.c244 struct tx_macro *tx; member
250 struct tx_macro *tx; member
284 /* TX Macro */
428 /* Update volatile list for tx/tx macros */ in tx_is_volatile_register()
601 static int tx_macro_mclk_enable(struct tx_macro *tx, in tx_macro_mclk_enable() argument
604 struct regmap *regmap = tx->regmap; in tx_macro_mclk_enable()
607 if (tx->tx_mclk_users == 0) { in tx_macro_mclk_enable()
619 tx->tx_mclk_users++; in tx_macro_mclk_enable()
621 if (tx->tx_mclk_users <= 0) { in tx_macro_mclk_enable()
622 dev_err(tx->dev, "clock already disabled\n"); in tx_macro_mclk_enable()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
Dgve_tx_dqo.c17 static bool gve_has_free_tx_qpl_bufs(struct gve_tx_ring *tx, int count) in gve_has_free_tx_qpl_bufs() argument
21 if (!tx->dqo.qpl) in gve_has_free_tx_qpl_bufs()
24 num_avail = tx->dqo.num_tx_qpl_bufs - in gve_has_free_tx_qpl_bufs()
25 (tx->dqo_tx.alloc_tx_qpl_buf_cnt - in gve_has_free_tx_qpl_bufs()
26 tx->dqo_tx.free_tx_qpl_buf_cnt); in gve_has_free_tx_qpl_bufs()
32 tx->dqo_tx.free_tx_qpl_buf_cnt = in gve_has_free_tx_qpl_bufs()
33 atomic_read_acquire(&tx->dqo_compl.free_tx_qpl_buf_cnt); in gve_has_free_tx_qpl_bufs()
35 num_avail = tx->dqo.num_tx_qpl_bufs - in gve_has_free_tx_qpl_bufs()
36 (tx->dqo_tx.alloc_tx_qpl_buf_cnt - in gve_has_free_tx_qpl_bufs()
37 tx->dqo_tx.free_tx_qpl_buf_cnt); in gve_has_free_tx_qpl_bufs()
[all …]
Dgve_tx.c26 struct gve_tx_ring *tx = &priv->tx[tx_qid]; in gve_xdp_tx_flush() local
28 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_xdp_tx_flush()
32 * We copy skb payloads into the registered segment before writing Tx
33 * descriptors and ringing the Tx doorbell.
74 /* gve_tx_alloc_fifo - Allocate fragment(s) from Tx FIFO
135 /* gve_tx_free_fifo - Return space to Tx FIFO
157 static int gve_clean_xdp_done(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_clean_xdp_done() argument
168 idx = tx->done & tx->mask; in gve_clean_xdp_done()
169 info = &tx->info[idx]; in gve_clean_xdp_done()
170 tx->done++; in gve_clean_xdp_done()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
Dgve_tx.c22 * We copy skb payloads into the registered segment before writing Tx
23 * descriptors and ringing the Tx doorbell.
64 /* gve_tx_alloc_fifo - Allocate fragment(s) from Tx FIFO
125 /* gve_tx_free_fifo - Return space to Tx FIFO
139 block->tx = NULL; in gve_tx_remove_from_block()
142 static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx,
147 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_free_ring() local
153 slots = tx->mask + 1; in gve_tx_free_ring()
154 gve_clean_tx_done(priv, tx, tx->req, false); in gve_tx_free_ring()
155 netdev_tx_reset_queue(tx->netdev_txq); in gve_tx_free_ring()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
Dadv748x-csi2.c17 static int adv748x_csi2_set_virtual_channel(struct adv748x_csi2 *tx, in adv748x_csi2_set_virtual_channel() argument
20 return tx_write(tx, ADV748X_CSI_VC_REF, vc << ADV748X_CSI_VC_REF_SHIFT); in adv748x_csi2_set_virtual_channel()
26 * @tx: CSI2 private entity
29 * @src_pad: Pad number of source to link to this @tx
35 static int adv748x_csi2_register_link(struct adv748x_csi2 *tx, in adv748x_csi2_register_link() argument
50 &tx->sd.entity, ADV748X_CSI2_SINK, in adv748x_csi2_register_link()
56 tx->src = src; in adv748x_csi2_register_link()
71 struct adv748x_csi2 *tx = adv748x_sd_to_csi2(sd); in adv748x_csi2_registered() local
72 struct adv748x_state *state = tx->state; in adv748x_csi2_registered()
75 adv_dbg(state, "Registered %s (%s)", is_txa(tx) ? "TXA":"TXB", in adv748x_csi2_registered()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dethtool_mm.sh42 local tx=$1; shift
50 # MAC Merge TX direction is disabled. That being said, at least the
51 # NXP ENETC does not, and requires tx-enabled on in order to respond to
53 ethtool --set-mm $rx tx-enabled on
54 ethtool --set-mm $tx verify-enabled on tx-enabled on
59 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
63 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
64 check_err "$?" "pMAC TX is not active"
66 traffic_test $tx "pmac"
67 check_err "$?" "Traffic did not get sent through $tx's pMAC"
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/firmware/tegra/
Divc.c48 * written through the tx.channel pointer, while the second is only written
62 } tx; member
102 u32 tx = tegra_ivc_header_read_field(map, tx.count); in tegra_ivc_empty() local
115 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
118 return tx == rx; in tegra_ivc_empty()
123 u32 tx = tegra_ivc_header_read_field(map, tx.count); in tegra_ivc_full() local
130 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
135 u32 tx = tegra_ivc_header_read_field(map, tx.count); in tegra_ivc_available() local
144 return tx - rx; in tegra_ivc_available()
149 unsigned int count = tegra_ivc_header_read_field(&ivc->tx.map, tx.count); in tegra_ivc_advance_tx()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dlan743x_main.c171 struct lan743x_tx *tx = context; in lan743x_tx_isr() local
172 struct lan743x_adapter *adapter = tx->adapter; in lan743x_tx_isr()
178 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_isr()
181 if (int_sts & INT_BIT_DMA_TX_(tx->channel_number)) { in lan743x_tx_isr()
182 u32 ioc_bit = DMAC_INT_BIT_TX_IOC_(tx->channel_number); in lan743x_tx_isr()
199 napi_schedule(&tx->napi); in lan743x_tx_isr()
207 INT_BIT_DMA_TX_(tx->channel_number)); in lan743x_tx_isr()
274 lan743x_tx_isr(&adapter->tx[channel], in lan743x_intr_shared_isr()
613 /* map TX interrupt to vector */ in lan743x_intr_open()
617 /* Remove TX interrupt from shared mask */ in lan743x_intr_open()
[all …]
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c568 const struct pkvm_mem_transition tx; member
573 const struct pkvm_mem_transition tx; member
633 const struct pkvm_mem_transition *tx) in host_request_owned_transition() argument
635 u64 size = tx->nr_pages * PAGE_SIZE; in host_request_owned_transition()
636 u64 addr = tx->initiator.addr; in host_request_owned_transition()
638 *completer_addr = tx->initiator.host.completer_addr; in host_request_owned_transition()
643 const struct pkvm_mem_transition *tx) in host_request_unshare() argument
645 u64 size = tx->nr_pages * PAGE_SIZE; in host_request_unshare()
646 u64 addr = tx->initiator.addr; in host_request_unshare()
648 *completer_addr = tx->initiator.host.completer_addr; in host_request_unshare()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
Dtsnep_main.c10 * It supports multiple TX/RX queue pairs. The first TX/RX queue pair is used
100 /* handle TX/RX queue 0 interrupt */ in tsnep_irq()
116 /* handle TX/RX queue interrupt */ in tsnep_irq_txrx()
277 static void tsnep_tx_ring_cleanup(struct tsnep_tx *tx) in tsnep_tx_ring_cleanup() argument
279 struct device *dmadev = tx->adapter->dmadev; in tsnep_tx_ring_cleanup()
282 memset(tx->entry, 0, sizeof(tx->entry)); in tsnep_tx_ring_cleanup()
285 if (tx->page[i]) { in tsnep_tx_ring_cleanup()
286 dma_free_coherent(dmadev, PAGE_SIZE, tx->page[i], in tsnep_tx_ring_cleanup()
287 tx->page_dma[i]); in tsnep_tx_ring_cleanup()
288 tx->page[i] = NULL; in tsnep_tx_ring_cleanup()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dvnic_sdma.c83 struct vnic_txreq *tx = container_of(txreq, struct vnic_txreq, txreq); in vnic_sdma_complete() local
84 struct hfi1_vnic_sdma *vnic_sdma = tx->sdma; in vnic_sdma_complete()
87 dev_kfree_skb_any(tx->skb); in vnic_sdma_complete()
88 kmem_cache_free(vnic_sdma->dd->vnic.txreq_cache, tx); in vnic_sdma_complete()
92 struct vnic_txreq *tx) in build_vnic_ulp_payload() argument
98 &tx->txreq, in build_vnic_ulp_payload()
99 tx->skb->data, in build_vnic_ulp_payload()
100 skb_headlen(tx->skb)); in build_vnic_ulp_payload()
104 for (i = 0; i < skb_shinfo(tx->skb)->nr_frags; i++) { in build_vnic_ulp_payload()
105 skb_frag_t *frag = &skb_shinfo(tx->skb)->frags[i]; in build_vnic_ulp_payload()
[all …]

12345678910>>...322