Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 25 of 1505) sorted by relevance

12345678910>>...61

/linux/drivers/net/ethernet/google/gve/
A Dgve_tx_dqo.c109 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_free_ring_dqo() local
117 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring_dqo()
130 bytes = sizeof(tx->dqo.tx_ring[0]) * (tx->mask + 1); in gve_tx_free_ring_dqo()
143 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_alloc_ring_dqo() local
149 memset(tx, 0, sizeof(*tx)); in gve_tx_alloc_ring_dqo()
196 bytes = sizeof(tx->dqo.tx_ring[0]) * (tx->mask + 1); in gve_tx_alloc_ring_dqo()
251 struct gve_tx_ring *tx = &priv->tx[i]; in gve_tx_free_rings_dqo() local
264 u32 num_used = (tx->dqo_tx.tail - tx->dqo_tx.head) & tx->mask; in num_avail_tx_slots()
687 tx = &priv->tx[skb_get_queue_mapping(skb)]; in gve_tx_dqo()
935 &tx->dqo.compl_ring[tx->dqo_compl.head]; in gve_clean_tx_done_dqo()
[all …]
A Dgve_tx.c140 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_free_ring() local
172 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_alloc_ring() local
178 memset(tx, 0, sizeof(*tx)); in gve_tx_alloc_ring()
277 return tx->mask + 1 - (tx->req - tx->done); in gve_tx_avail()
430 u32 idx = tx->req & tx->mask; in gve_tx_add_skb_copy()
499 u32 idx = tx->req & tx->mask; in gve_tx_add_skb_no_copy()
537 idx = (tx->req + 1) & tx->mask; in gve_tx_add_skb_no_copy()
569 gve_tx_unmap_buf(tx->dev, &tx->info[idx & tx->mask]); in gve_tx_add_skb_no_copy()
631 idx = tx->done & tx->mask; in gve_clean_tx_done()
634 tx->q_num, __func__, idx, tx->req, tx->done); in gve_clean_tx_done()
[all …]
/linux/drivers/media/i2c/adv748x/
A Dadv748x-csi2.c55 tx->src = src; in adv748x_csi2_register_link()
87 is_txb(tx)); in adv748x_csi2_registered()
92 if (is_txb(tx)) in adv748x_csi2_registered()
93 state->afe.tx = tx; in adv748x_csi2_registered()
106 state->hdmi.tx = tx; in adv748x_csi2_registered()
152 return &tx->format; in adv748x_csi2_get_pad_format()
269 if (!tx->pixel_rate) in adv748x_csi2_set_pixelrate()
294 tx->pixel_rate = v4l2_ctrl_new_std(&tx->ctrl_hdl, in adv748x_csi2_init_controls()
299 tx->sd.ctrl_handler = &tx->ctrl_hdl; in adv748x_csi2_init_controls()
320 tx->sd.fwnode = of_fwnode_handle(state->endpoints[tx->port]); in adv748x_csi2_init()
[all …]
/linux/drivers/firmware/tegra/
A Divc.c62 } tx; member
97 u32 tx = READ_ONCE(header->tx.count); in tegra_ivc_empty() local
119 u32 tx = READ_ONCE(header->tx.count); in tegra_ivc_full() local
132 u32 tx = READ_ONCE(header->tx.count); in tegra_ivc_available() local
146 WRITE_ONCE(ivc->tx.channel->tx.count, in tegra_ivc_advance_tx()
147 READ_ONCE(ivc->tx.channel->tx.count) + 1); in tegra_ivc_advance_tx()
364 tegra_ivc_flush(ivc, ivc->tx.phys + tx); in tegra_ivc_write_advance()
390 ivc->tx.channel->tx.state = TEGRA_IVC_STATE_SYNC; in tegra_ivc_reset()
439 ivc->tx.channel->tx.count = 0; in tegra_ivc_notified()
478 ivc->tx.channel->tx.count = 0; in tegra_ivc_notified()
[all …]
/linux/tools/testing/selftests/timers/
A Dleap-a-day.c97 struct timex tx; in clear_time_state() local
112 tx.maxerror = 0; in clear_time_state()
117 tx.status = 0; in clear_time_state()
135 tx.modes = 0; in sigalarm()
144 tx.tai, in sigalarm()
153 tx.tai, in sigalarm()
275 tx.modes = 0; in main()
277 if (tx.status != STA_INS && tx.status != STA_DEL) { in main()
315 tx.modes = 0; in main()
317 if (tx.status != STA_INS && tx.status != STA_DEL) { in main()
[all …]
A Dvalid-adjtimex.c52 struct timex tx; in clear_time_state() local
55 tx.modes = ADJ_STATUS; in clear_time_state()
56 tx.status = 0; in clear_time_state()
57 ret = adjtimex(&tx); in clear_time_state()
116 struct timex tx; in validate_freq() local
131 ret = adjtimex(&tx); in validate_freq()
139 tx.modes = 0; in validate_freq()
158 tx.modes = 0; in validate_freq()
163 tx.freq); in validate_freq()
189 tx.freq = 0; in validate_freq()
[all …]
A Dleapcrash.c30 struct timex tx; in clear_time_state() local
39 tx.modes = ADJ_STATUS; in clear_time_state()
40 tx.status = STA_PLL; in clear_time_state()
41 ret = adjtimex(&tx); in clear_time_state()
43 tx.modes = ADJ_STATUS; in clear_time_state()
44 tx.status = 0; in clear_time_state()
45 ret = adjtimex(&tx); in clear_time_state()
60 struct timex tx; in main() local
92 tx.modes = 0; in main()
93 adjtimex(&tx); in main()
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Dsdma.h512 tx->desc_limit = ARRAY_SIZE(tx->descs); in sdma_txinit_ahg()
513 tx->descp = &tx->descs[0]; in sdma_txinit_ahg()
521 tx->tlen = tx->packet_len; in sdma_txinit_ahg()
600 struct sdma_desc *desc = &tx->descp[tx->num_desc]; in make_tx_sdma_desc()
634 tx->descp[tx->num_desc].qw[0] |= in _sdma_close_tx()
636 tx->descp[tx->num_desc].qw[1] |= in _sdma_close_tx()
639 tx->descp[tx->num_desc].qw[1] |= in _sdma_close_tx()
654 tx, in _sdma_txadd_daddr()
699 if ((unlikely(tx->num_desc == tx->desc_limit))) { in sdma_txadd_page()
746 if ((unlikely(tx->num_desc == tx->desc_limit))) { in sdma_txadd_daddr()
[all …]
A Dvnic_sdma.c56 &tx->txreq, in build_vnic_ulp_payload()
57 tx->skb->data, in build_vnic_ulp_payload()
75 if (tx->plen) in build_vnic_ulp_payload()
77 tx->pad + HFI1_VNIC_MAX_PAD - tx->plen, in build_vnic_ulp_payload()
78 tx->plen); in build_vnic_ulp_payload()
92 &tx->txreq, in build_vnic_tx_desc()
94 hdrbytes + tx->skb->len + tx->plen, in build_vnic_tx_desc()
107 &tx->txreq, in build_vnic_tx_desc()
108 &tx->pbc_val, in build_vnic_tx_desc()
147 tx->skb = skb; in hfi1_vnic_send_dma()
[all …]
A Dverbs_txreq.h38 struct verbs_txreq *tx; in get_txreq() local
42 if (unlikely(!tx)) { in get_txreq()
44 tx = __get_txreq(dev, qp); in get_txreq()
45 if (!tx) in get_txreq()
46 return tx; in get_txreq()
48 tx->qp = qp; in get_txreq()
49 tx->mr = NULL; in get_txreq()
50 tx->sde = priv->s_sde; in get_txreq()
53 tx->txreq.num_desc = 0; in get_txreq()
56 tx->txreq.flags = 0; in get_txreq()
[all …]
A Dipoib_tx.c125 le64_to_cpu(tx->sdma_hdr.pbc), tx->txq->q_idx, in hfi1_ipoib_free_tx()
130 tx->skb = NULL; in hfi1_ipoib_free_tx()
142 tx->complete = 0; in hfi1_ipoib_drain_tx_ring()
144 tx->skb = NULL; in hfi1_ipoib_drain_tx_ring()
169 tx->complete = 0; in hfi1_ipoib_poll_tx_ring()
377 tx->txq = txq; in hfi1_ipoib_send_dma_common()
378 tx->skb = skb; in hfi1_ipoib_send_dma_common()
395 return tx; in hfi1_ipoib_send_dma_common()
465 if (IS_ERR(tx)) { in hfi1_ipoib_send_dma_single()
528 if (IS_ERR(tx)) { in hfi1_ipoib_send_dma_list()
[all …]
/linux/drivers/fpga/
A Dmachxo2-spi.c74 memset(&tx, 0, sizeof(tx)); in get_status()
75 tx.tx_buf = cmd; in get_status()
76 tx.len = sizeof(cmd); in get_status()
144 memset(tx, 0, sizeof(tx)); in machxo2_cleanup()
146 tx[0].tx_buf = &erase; in machxo2_cleanup()
208 memset(tx, 0, sizeof(tx)); in machxo2_write_init()
210 tx[0].tx_buf = &enable; in machxo2_write_init()
216 tx[1].tx_buf = &erase; in machxo2_write_init()
272 memset(&tx, 0, sizeof(tx)); in machxo2_write()
274 tx.tx_buf = payload; in machxo2_write()
[all …]
/linux/crypto/async_tx/
A Dasync_tx.c121 tx->tx_submit(tx); in async_tx_channel_switch()
196 tx->tx_submit(tx); in async_tx_submit()
200 txd_clear_parent(tx); in async_tx_submit()
201 tx->tx_submit(tx); in async_tx_submit()
205 async_tx_ack(tx); in async_tx_submit()
240 tx = NULL; in async_trigger_callback()
242 if (tx) { in async_trigger_callback()
255 return tx; in async_trigger_callback()
265 if (*tx) { in async_tx_quiesce()
273 async_tx_ack(*tx); in async_tx_quiesce()
[all …]
A Dasync_raid6_recov.c36 struct dma_async_tx_descriptor *tx; in async_sum_product() local
56 if (tx) { in async_sum_product()
57 dma_set_unmap(tx, unmap); in async_sum_product()
60 return tx; in async_sum_product()
125 if (tx) { in async_mult()
126 dma_set_unmap(tx, unmap); in async_mult()
129 return tx; in async_mult()
198 return tx; in __2data_recov_4()
290 return tx; in __2data_recov_5()
379 return tx; in __2data_recov_n()
[all …]
/linux/drivers/net/wireless/ti/wl18xx/
A Ddebugfs.c437 DEBUGFS_FWSTATS_ADD(tx, tx_cmplt); in wl18xx_debugfs_add_files()
443 DEBUGFS_FWSTATS_ADD(tx, tx_starts); in wl18xx_debugfs_add_files()
444 DEBUGFS_FWSTATS_ADD(tx, tx_stop); in wl18xx_debugfs_add_files()
448 DEBUGFS_FWSTATS_ADD(tx, tx_start_data); in wl18xx_debugfs_add_files()
450 DEBUGFS_FWSTATS_ADD(tx, tx_exch); in wl18xx_debugfs_add_files()
452 DEBUGFS_FWSTATS_ADD(tx, tx_retry_data); in wl18xx_debugfs_add_files()
457 DEBUGFS_FWSTATS_ADD(tx, tx_done_data); in wl18xx_debugfs_add_files()
459 DEBUGFS_FWSTATS_ADD(tx, tx_cfe1); in wl18xx_debugfs_add_files()
460 DEBUGFS_FWSTATS_ADD(tx, tx_cfe2); in wl18xx_debugfs_add_files()
461 DEBUGFS_FWSTATS_ADD(tx, frag_called); in wl18xx_debugfs_add_files()
[all …]
/linux/drivers/net/ethernet/microchip/
A Dlan743x_main.c1312 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors()
1323 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors()
1386 tx->frame_first = tx->last_tail; in lan743x_tx_frame_start()
1387 tx->frame_tail = tx->frame_first; in lan743x_tx_frame_start()
1390 buffer_info = &tx->buffer_info[tx->frame_tail]; in lan743x_tx_frame_start()
1443 tx->frame_tail = lan743x_tx_next_index(tx, tx->frame_tail); in lan743x_tx_frame_add_lso()
1487 tx->frame_tail = lan743x_tx_next_index(tx, tx->frame_tail); in lan743x_tx_frame_add_fragment()
1558 tx->frame_tail = lan743x_tx_next_index(tx, tx->frame_tail); in lan743x_tx_frame_end()
1559 tx->last_tail = tx->frame_tail; in lan743x_tx_frame_end()
1688 lan743x_tx_xmit_frame(tx, tx->overflow_skb); in lan743x_tx_napi_poll()
[all …]
/linux/sound/soc/codecs/
A Dlpass-tx-macro.c240 struct tx_macro *tx; member
246 struct tx_macro *tx; member
658 tx = hpf_work->tx; in tx_macro_tx_hpf_corner_freq_callback()
701 tx = tx_mute_dwork->tx; in tx_macro_mute_update_callback()
1661 tx->tx_hpf_work[i].tx = tx; in tx_macro_component_probe()
1668 tx->tx_mute_dwork[i].tx = tx; in tx_macro_component_probe()
1690 if (tx->reset_swr) in swclk_gate_enable()
1760 hw = &tx->hw; in tx_macro_register_mclk_output()
1789 tx = devm_kzalloc(dev, sizeof(*tx), GFP_KERNEL); in tx_macro_probe()
1790 if (!tx) in tx_macro_probe()
[all …]
/linux/drivers/spi/
A Dspi-dln2.c107 } tx; in dln2_spi_enable() local
136 } tx; in dln2_spi_cs_set() local
166 } tx; in dln2_spi_cs_enable() local
173 return dln2_transfer_tx(dln2->pdev, cmd, &tx, sizeof(tx)); in dln2_spi_cs_enable()
188 } tx; in dln2_spi_get_cs_num() local
214 } tx; in dln2_spi_get_speed() local
291 } tx; in dln2_spi_set_mode() local
307 } tx; in dln2_spi_set_bpw() local
313 &tx, sizeof(tx)); in dln2_spi_set_bpw()
322 } tx; in dln2_spi_get_supported_frame_sizes() local
[all …]
/linux/drivers/clk/mediatek/
A Dclk-apmixed.c42 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()
62 val = readl(tx->base_addr); in mtk_ref2usb_tx_unprepare()
76 struct mtk_ref2usb_tx *tx; in mtk_clk_register_ref2usb_tx() local
80 tx = kzalloc(sizeof(*tx), GFP_KERNEL); in mtk_clk_register_ref2usb_tx()
81 if (!tx) in mtk_clk_register_ref2usb_tx()
84 tx->base_addr = reg; in mtk_clk_register_ref2usb_tx()
85 tx->hw.init = &init; in mtk_clk_register_ref2usb_tx()
[all …]
/linux/sound/soc/mediatek/common/
A Dmtk-btcvsd.c234 memset(bt->tx, 0, sizeof(*bt->tx)); in mtk_btcvsd_snd_tx_init()
435 memcpy(bt->tx->temp_packet_buf + (bt->tx->packet_size * i), in mtk_btcvsd_write_to_bt()
475 if (bt->tx->mute) in mtk_btcvsd_write_to_bt()
593 if (bt->tx->packet_w - bt->tx->packet_r >= in mtk_btcvsd_snd_irq_handler()
602 (bt->tx->packet_w - bt->tx->packet_r >= buf_cnt_tx)) || in mtk_btcvsd_snd_irq_handler()
794 (unsigned long long)(bt->tx->packet_w - bt->tx->packet_r) * in mtk_btcvsd_snd_write()
804 (bt->tx->packet_w - bt->tx->packet_r) * packet_size; in mtk_btcvsd_snd_write()
861 return bt->tx; in get_bt_stream()
1113 if (!bt->tx) { in btcvsd_tx_mute_get()
1128 if (!bt->tx) in btcvsd_tx_mute_set()
[all …]
/linux/drivers/staging/gdm724x/
A Dgdm_usb.c251 struct tx_cxt *tx = &udev->tx; in release_usb() local
304 struct tx_cxt *tx = &udev->tx; in init_usb() local
546 struct tx_cxt *tx = t->tx; in gdm_usb_send_complete() local
547 struct lte_udev *udev = container_of(tx, struct lte_udev, tx); in gdm_usb_send_complete()
594 struct tx_cxt *tx = &udev->tx; in packet_aggregation() local
643 struct tx_cxt *tx = &udev->tx; in do_tx() local
681 t->tx = tx; in do_tx()
710 struct tx_cxt *tx = &udev->tx; in gdm_usb_sdu_send() local
766 struct tx_cxt *tx = &udev->tx; in gdm_usb_hci_send() local
785 t->tx = tx; in gdm_usb_hci_send()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_fdma.c164 spx5_wr(((u64)tx->dma) >> 32, sparx5, FDMA_DCB_LLP1(tx->channel_id)); in sparx5_fdma_tx_activate()
310 struct sparx5_tx *tx = &sparx5->tx; in sparx5_fdma_xmit() local
315 next_dcb_hw = sparx5_fdma_next_dcb(tx, tx->curr_entry); in sparx5_fdma_xmit()
318 tx->dropped++; in sparx5_fdma_xmit()
322 tx->curr_entry->nextptr = tx->dma + in sparx5_fdma_xmit()
390 struct sparx5_tx *tx = &sparx5->tx; in sparx5_fdma_tx_alloc() local
398 if (!tx->curr_entry) in sparx5_fdma_tx_alloc()
400 tx->dma = virt_to_phys(tx->curr_entry); in sparx5_fdma_tx_alloc()
401 tx->first_entry = tx->curr_entry; in sparx5_fdma_tx_alloc()
426 sparx5_fdma_tx_add_dcb(tx, dcb, tx->dma + sizeof(*dcb) * idx); in sparx5_fdma_tx_alloc()
[all …]
/linux/drivers/staging/iio/meter/
A Dade7854-spi.c26 .tx_buf = st->tx, in ade7854_spi_write_reg()
32 st->tx[0] = ADE7854_WRITE_REG; in ade7854_spi_write_reg()
34 st->tx[2] = reg_address & 0xFF; in ade7854_spi_write_reg()
37 st->tx[3] = val & 0xFF; in ade7854_spi_write_reg()
41 st->tx[3] = (val >> 8) & 0xFF; in ade7854_spi_write_reg()
42 st->tx[4] = val & 0xFF; in ade7854_spi_write_reg()
47 st->tx[4] = (val >> 8) & 0xFF; in ade7854_spi_write_reg()
48 st->tx[5] = val & 0xFF; in ade7854_spi_write_reg()
55 st->tx[6] = val & 0xFF; in ade7854_spi_write_reg()
79 .tx_buf = st->tx, in ade7854_spi_read_reg()
[all …]
/linux/net/mac80211/
A Dtx.c744 rate_control_get_rate(tx->sdata, tx->sta, &txrc); in ieee80211_tx_h_rate_ctrl()
770 if (tx->sta && ieee80211_is_tx_data(tx->skb)) in ieee80211_tx_h_rate_ctrl()
1129 tx->sta->sta.addr, tx->sta->sta.aid); in ieee80211_tx_prep_agg()
1190 memset(tx, 0, sizeof(*tx)); in ieee80211_tx_prepare()
1804 ieee80211_free_txskb(&tx->local->hw, tx->skb); in invoke_tx_handlers_early()
1829 __skb_queue_tail(&tx->skbs, tx->skb); in invoke_tx_handlers_late()
1848 ieee80211_free_txskb(&tx->local->hw, tx->skb); in invoke_tx_handlers_late()
3675 memset(&tx, 0, sizeof(tx)); in ieee80211_tx_dequeue()
3739 tx.key, &tx); in ieee80211_tx_dequeue()
3784 tx.sdata = container_of(tx.sdata->bss, in ieee80211_tx_dequeue()
[all …]
/linux/drivers/iio/gyro/
A Dadxrs450.c93 u32 tx; in adxrs450_spi_read_reg_16() local
97 .tx_buf = &st->tx, in adxrs450_spi_read_reg_16()
112 tx |= ADXRS450_P; in adxrs450_spi_read_reg_16()
114 st->tx = cpu_to_be32(tx); in adxrs450_spi_read_reg_16()
141 u32 tx; in adxrs450_spi_write_reg_16() local
148 tx |= ADXRS450_P; in adxrs450_spi_write_reg_16()
150 st->tx = cpu_to_be32(tx); in adxrs450_spi_write_reg_16()
151 ret = spi_write(st->us, &st->tx, sizeof(st->tx)); in adxrs450_spi_write_reg_16()
208 u32 tx; in adxrs450_spi_initial() local
210 .tx_buf = &st->tx, in adxrs450_spi_initial()
[all …]

Completed in 62 milliseconds

12345678910>>...61