/linux-6.3-rc2/drivers/net/ethernet/google/gve/ |
A D | gve_tx_dqo.c | 109 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 D | gve_tx.c | 140 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() 447 u32 idx = tx->req & tx->mask; in gve_tx_add_skb_copy() 489 next_idx = (tx->req + 1) & tx->mask; in gve_tx_add_skb_copy() 522 u32 idx = tx->req & tx->mask; in gve_tx_add_skb_no_copy() 602 gve_tx_unmap_buf(tx->dev, &tx->info[idx & tx->mask]); in gve_tx_add_skb_no_copy() 664 idx = tx->done & tx->mask; in gve_clean_tx_done() 667 tx->q_num, __func__, idx, tx->req, tx->done); in gve_clean_tx_done() [all …]
|
/linux-6.3-rc2/drivers/media/i2c/adv748x/ |
A D | adv748x-csi2.c | 55 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() 253 if (!tx->pixel_rate) in adv748x_csi2_set_pixelrate() 278 tx->pixel_rate = v4l2_ctrl_new_std(&tx->ctrl_hdl, in adv748x_csi2_init_controls() 283 tx->sd.ctrl_handler = &tx->ctrl_hdl; in adv748x_csi2_init_controls() 304 tx->sd.fwnode = of_fwnode_handle(state->endpoints[tx->port]); in adv748x_csi2_init() [all …]
|
/linux-6.3-rc2/drivers/firmware/tegra/ |
A D | ivc.c | 62 } tx; member 102 u32 tx = tegra_ivc_header_read_field(map, tx.count); in tegra_ivc_empty() local 123 u32 tx = tegra_ivc_header_read_field(map, tx.count); in tegra_ivc_full() local 135 u32 tx = tegra_ivc_header_read_field(map, tx.count); in tegra_ivc_available() local 144 return tx - rx; in tegra_ivc_available() 184 state = tegra_ivc_header_read_field(&ivc->tx.map, tx.state); in tegra_ivc_check_read() 211 state = tegra_ivc_header_read_field(&ivc->tx.map, tx.state); in tegra_ivc_check_write() 376 tegra_ivc_flush(ivc, ivc->tx.phys + tx); in tegra_ivc_write_advance() 452 tegra_ivc_header_write_field(&ivc->tx.map, tx.count, 0); in tegra_ivc_notified() 491 tegra_ivc_header_write_field(&ivc->tx.map, tx.count, 0); in tegra_ivc_notified() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/timers/ |
A D | leap-a-day.c | 97 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 D | valid-adjtimex.c | 52 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 D | leapcrash.c | 30 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 …]
|
A D | set-tai.c | 30 struct timex tx; in set_tai() local 32 memset(&tx, 0, sizeof(tx)); in set_tai() 34 tx.modes = ADJ_TAI; in set_tai() 35 tx.constant = offset; in set_tai() 37 return adjtimex(&tx); in set_tai() 42 struct timex tx; in get_tai() local 44 memset(&tx, 0, sizeof(tx)); in get_tai() 46 adjtimex(&tx); in get_tai() 47 return tx.tai; in get_tai()
|
/linux-6.3-rc2/crypto/async_tx/ |
A D | async_tx.c | 121 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 D | async_raid6_recov.c | 36 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-6.3-rc2/drivers/fpga/ |
A D | machxo2-spi.c | 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() 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-6.3-rc2/drivers/infiniband/hw/hfi1/ |
A D | sdma.h | 512 tx->desc_limit = ARRAY_SIZE(tx->descs); in sdma_txinit_ahg() 513 tx->descp = &tx->descs[0]; in sdma_txinit_ahg() 519 tx->wait = NULL; 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() 653 tx, in _sdma_txadd_daddr() 657 tx->num_desc++; in _sdma_txadd_daddr() 658 tx->tlen -= len; in _sdma_txadd_daddr() 698 if ((unlikely(tx->num_desc == tx->desc_limit))) { in sdma_txadd_page() 745 if ((unlikely(tx->num_desc == tx->desc_limit))) { in sdma_txadd_daddr() [all …]
|
A D | vnic_sdma.c | 56 &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 D | verbs_txreq.h | 38 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 D | ipoib_tx.c | 125 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-6.3-rc2/sound/soc/codecs/ |
A D | lpass-tx-macro.c | 244 struct tx_macro *tx; member 250 struct tx_macro *tx; member 659 struct tx_macro *tx; in tx_macro_tx_hpf_corner_freq_callback() local 666 tx = hpf_work->tx; in tx_macro_tx_hpf_corner_freq_callback() 709 tx = tx_mute_dwork->tx; in tx_macro_mute_update_callback() 1828 tx->tx_hpf_work[i].tx = tx; in tx_macro_component_probe() 1835 tx->tx_mute_dwork[i].tx = tx; in tx_macro_component_probe() 1925 hw = &tx->hw; in tx_macro_register_mclk_output() 1952 tx = devm_kzalloc(dev, sizeof(*tx), GFP_KERNEL); in tx_macro_probe() 1953 if (!tx) in tx_macro_probe() [all …]
|
/linux-6.3-rc2/drivers/clk/mediatek/ |
A D | clk-apmixed.c | 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() 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() 95 kfree(tx); in mtk_clk_register_ref2usb_tx() 99 return &tx->hw; in mtk_clk_register_ref2usb_tx() [all …]
|
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/ |
A D | mem_protect.c | 819 const struct pkvm_mem_transition *tx = &share->tx; in check_share() local 823 switch (tx->initiator.id) { in check_share() 847 const struct pkvm_mem_transition *tx = &share->tx; in __do_share() local 895 const struct pkvm_mem_transition *tx = &share->tx; in check_unshare() local 923 const struct pkvm_mem_transition *tx = &share->tx; in __do_unshare() local 971 const struct pkvm_mem_transition *tx = &donation->tx; in check_donation() local 1005 const struct pkvm_mem_transition *tx = &donation->tx; in __do_donate() local 1063 .tx = { in __pkvm_host_share_hyp() 1096 .tx = { in __pkvm_host_unshare_hyp() 1129 .tx = { in __pkvm_host_donate_hyp() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ti/wl18xx/ |
A D | debugfs.c | 431 DEBUGFS_FWSTATS_ADD(tx, tx_cmplt); in wl18xx_debugfs_add_files() 437 DEBUGFS_FWSTATS_ADD(tx, tx_starts); in wl18xx_debugfs_add_files() 438 DEBUGFS_FWSTATS_ADD(tx, tx_stop); in wl18xx_debugfs_add_files() 442 DEBUGFS_FWSTATS_ADD(tx, tx_start_data); in wl18xx_debugfs_add_files() 444 DEBUGFS_FWSTATS_ADD(tx, tx_exch); in wl18xx_debugfs_add_files() 446 DEBUGFS_FWSTATS_ADD(tx, tx_retry_data); in wl18xx_debugfs_add_files() 451 DEBUGFS_FWSTATS_ADD(tx, tx_done_data); in wl18xx_debugfs_add_files() 453 DEBUGFS_FWSTATS_ADD(tx, tx_cfe1); in wl18xx_debugfs_add_files() 454 DEBUGFS_FWSTATS_ADD(tx, tx_cfe2); in wl18xx_debugfs_add_files() 455 DEBUGFS_FWSTATS_ADD(tx, frag_called); in wl18xx_debugfs_add_files() [all …]
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-dln2.c | 108 } tx; in dln2_spi_enable() local 137 } tx; in dln2_spi_cs_set() local 167 } tx; in dln2_spi_cs_enable() local 174 return dln2_transfer_tx(dln2->pdev, cmd, &tx, sizeof(tx)); in dln2_spi_cs_enable() 189 } tx; in dln2_spi_get_cs_num() local 215 } tx; in dln2_spi_get_speed() local 292 } tx; in dln2_spi_set_mode() local 308 } tx; in dln2_spi_set_bpw() local 314 &tx, sizeof(tx)); in dln2_spi_set_bpw() 323 } tx; in dln2_spi_get_supported_frame_sizes() local [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/engleder/ |
A D | tsnep_main.c | 369 if (tx->read <= tx->write) in tsnep_tx_desc_available() 372 return tx->read - tx->write - 1; in tsnep_tx_desc_available() 466 entry = &tx->entry[tx->write]; in tsnep_xmit_frame_ring() 471 tsnep_tx_unmap(tx, tx->write, count); in tsnep_xmit_frame_ring() 578 entry = &tx->entry[tx->write]; in tsnep_xdp_xmit_frame_ring() 643 if (tx->read == tx->write) in tsnep_tx_poll() 646 entry = &tx->entry[tx->read]; in tsnep_tx_poll() 722 if (tx->read != tx->write) { in tsnep_tx_pending() 723 entry = &tx->entry[tx->read]; in tsnep_tx_pending() 741 memset(tx, 0, sizeof(*tx)); in tsnep_tx_open() [all …]
|
/linux-6.3-rc2/sound/soc/mediatek/common/ |
A D | mtk-btcvsd.c | 234 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() 1111 if (!bt->tx) { in btcvsd_tx_mute_get() 1126 if (!bt->tx) in btcvsd_tx_mute_set() [all …]
|
/linux-6.3-rc2/drivers/staging/iio/meter/ |
A D | ade7854-spi.c | 26 .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-6.3-rc2/drivers/staging/gdm724x/ |
A D | gdm_usb.c | 251 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-6.3-rc2/drivers/net/ethernet/microchip/ |
A D | lan743x_main.c | 1822 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors() 1833 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors() 1896 tx->frame_first = tx->last_tail; in lan743x_tx_frame_start() 1897 tx->frame_tail = tx->frame_first; in lan743x_tx_frame_start() 1900 buffer_info = &tx->buffer_info[tx->frame_tail]; in lan743x_tx_frame_start() 1953 tx->frame_tail = lan743x_tx_next_index(tx, tx->frame_tail); in lan743x_tx_frame_add_lso() 1955 buffer_info = &tx->buffer_info[tx->frame_tail]; in lan743x_tx_frame_add_lso() 1997 tx->frame_tail = lan743x_tx_next_index(tx, tx->frame_tail); in lan743x_tx_frame_add_fragment() 2068 tx->frame_tail = lan743x_tx_next_index(tx, tx->frame_tail); in lan743x_tx_frame_end() 2069 tx->last_tail = tx->frame_tail; in lan743x_tx_frame_end() [all …]
|