/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_tx_dqo.c | 193 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_free_ring_dqo() local 201 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring_dqo() 214 bytes = sizeof(tx->dqo.tx_ring[0]) * (tx->mask + 1); in gve_tx_free_ring_dqo() 258 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_alloc_ring_dqo() local 264 memset(tx, 0, sizeof(*tx)); in gve_tx_alloc_ring_dqo() 274 tx->mask; in gve_tx_alloc_ring_dqo() 377 struct gve_tx_ring *tx = &priv->tx[i]; in gve_tx_free_rings_dqo() local 390 u32 num_used = (tx->dqo_tx.tail - tx->dqo_tx.head) & tx->mask; in num_avail_tx_slots() 935 tx = &priv->tx[skb_get_queue_mapping(skb)]; in gve_tx_dqo() 1191 &tx->dqo.compl_ring[tx->dqo_compl.head]; in gve_clean_tx_done_dqo() [all …]
|
H A D | gve_tx.c | 26 struct gve_tx_ring *tx = &priv->tx[tx_qid]; in gve_xdp_tx_flush() local 168 idx = tx->done & tx->mask; in gve_clean_xdp_done() 244 memset(tx, 0, sizeof(*tx)); in gve_tx_alloc_ring() 345 return tx->mask + 1 - (tx->req - tx->done); in gve_tx_avail() 516 u32 idx = tx->req & tx->mask; in gve_tx_add_skb_copy() 592 u32 idx = tx->req & tx->mask; in gve_tx_add_skb_no_copy() 677 gve_tx_unmap_buf(tx->dev, &tx->info[idx & tx->mask]); in gve_tx_add_skb_no_copy() 736 info = &tx->info[reqi & tx->mask]; in gve_tx_fill_xdp() 786 tx = &priv->tx[qid]; in gve_xdp_xmit() 836 idx = tx->done & tx->mask; in gve_clean_tx_done() [all …]
|
/openbmc/linux/drivers/media/i2c/adv748x/ |
H 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() 296 if (!is_tx_enabled(tx)) in adv748x_csi2_init() [all …]
|
/openbmc/linux/drivers/firmware/tegra/ |
H 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 …]
|
/openbmc/linux/tools/testing/selftests/timers/ |
H 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 …]
|
H A D | valid-adjtimex.c | 49 struct timex tx; in clear_time_state() local 52 tx.modes = ADJ_STATUS; in clear_time_state() 53 tx.status = 0; in clear_time_state() 54 ret = adjtimex(&tx); in clear_time_state() 115 struct timex tx; in validate_freq() local 130 ret = adjtimex(&tx); in validate_freq() 138 tx.modes = 0; in validate_freq() 157 tx.modes = 0; in validate_freq() 162 tx.freq); in validate_freq() 188 tx.freq = 0; in validate_freq() [all …]
|
H 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 …]
|
H 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()
|
H A D | change_skew.c | 38 struct timex tx; in change_skew_test() local 41 tx.modes = ADJ_FREQUENCY; in change_skew_test() 42 tx.freq = ppm << 16; in change_skew_test() 44 ret = adjtimex(&tx); in change_skew_test() 60 struct timex tx; in main() local 69 tx.modes = ADJ_OFFSET; in main() 70 tx.offset = 0; in main() 71 ret = adjtimex(&tx); in main() 86 tx.modes = ADJ_FREQUENCY; in main() 87 tx.offset = 0; in main() [all …]
|
/openbmc/linux/crypto/async_tx/ |
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/fpga/ |
H 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 …]
|
/openbmc/linux/drivers/clk/mediatek/ |
H 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 …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H 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() 603 struct sdma_desc *desc = &tx->descp[tx->num_desc]; in make_tx_sdma_desc() 664 tx, in _sdma_txadd_daddr() 669 tx->num_desc++; in _sdma_txadd_daddr() 670 tx->tlen -= len; in _sdma_txadd_daddr() 721 if ((unlikely(tx->num_desc == tx->desc_limit))) { in sdma_txadd_page() 768 if ((unlikely(tx->num_desc == tx->desc_limit))) { in sdma_txadd_daddr() [all …]
|
H A D | vnic_sdma.c | 56 &tx->txreq, in build_vnic_ulp_payload() 57 tx->skb->data, in build_vnic_ulp_payload() 76 if (tx->plen) in build_vnic_ulp_payload() 78 tx->pad + HFI1_VNIC_MAX_PAD - tx->plen, in build_vnic_ulp_payload() 79 tx->plen); in build_vnic_ulp_payload() 93 &tx->txreq, in build_vnic_tx_desc() 95 hdrbytes + tx->skb->len + tx->plen, in build_vnic_tx_desc() 108 &tx->txreq, in build_vnic_tx_desc() 109 &tx->pbc_val, in build_vnic_tx_desc() 148 tx->skb = skb; in hfi1_vnic_send_dma() [all …]
|
H 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 …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | ethtool_mm.sh | 42 local tx=$1; shift 54 ethtool --set-mm $tx verify-enabled on tx-enabled on 66 traffic_test $tx "pmac" 69 ethtool --set-mm $tx verify-enabled off tx-enabled off 87 local tx=$1; shift 92 ethtool --set-mm $tx verify-enabled off tx-enabled on 101 traffic_test $tx "pmac" 104 ethtool --set-mm $tx verify-enabled off tx-enabled off 121 local tx=$1; shift 127 ethtool --set-mm $tx verify-enabled on tx-enabled on [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | lpass-tx-macro.c | 244 struct tx_macro *tx; member 250 struct tx_macro *tx; member 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() 1834 tx->tx_hpf_work[i].tx = tx; in tx_macro_component_probe() 1841 tx->tx_mute_dwork[i].tx = tx; in tx_macro_component_probe() 1923 if (tx->npl) in tx_macro_register_mclk_output() 1934 hw = &tx->hw; in tx_macro_register_mclk_output() 1964 tx = devm_kzalloc(dev, sizeof(*tx), GFP_KERNEL); in tx_macro_probe() 1965 if (!tx) in tx_macro_probe() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl18xx/ |
H 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 …]
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | mem_protect.c | 826 const struct pkvm_mem_transition *tx = &share->tx; in check_share() local 861 const struct pkvm_mem_transition *tx = &share->tx; in __do_share() local 916 const struct pkvm_mem_transition *tx = &share->tx; in check_unshare() local 948 const struct pkvm_mem_transition *tx = &share->tx; in __do_unshare() local 1000 const struct pkvm_mem_transition *tx = &donation->tx; in check_donation() local 1092 .tx = { in __pkvm_host_share_hyp() 1125 .tx = { in __pkvm_host_unshare_hyp() 1158 .tx = { in __pkvm_host_donate_hyp() 1190 .tx = { in __pkvm_hyp_donate_host() 1265 .tx = { in __pkvm_host_share_ffa() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/ |
H A D | 0014-timeSync-Portable-way-to-print-64bit-time_t.patch | 11 | prefix, tx->offset, tx->freq, tx->maxerror, tx->esterror, 28 TimeSyncLogPLLState(const char *prefix, struct timex *tx) 32 - prefix, tx->offset, tx->freq, tx->maxerror, tx->esterror, 33 - tx->status, tx->constant, tx->precision, tx->tolerance, tx->tick); 36 + prefix, (intmax_t)tx->offset, (intmax_t)tx->freq, (intmax_t)tx->maxerror, (intmax_t)tx-… 37 + tx->status, (intmax_t)tx->constant, (intmax_t)tx->precision, (intmax_t)tx->tolerance, (… 49 - g_debug("time slew start: %ld\n", tx.tick); 50 + g_debug("time slew start: %jd\n", (intmax_t)tx.tick);
|
/openbmc/linux/drivers/spi/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_main.c | 430 if (tx->read <= tx->write) in tsnep_tx_desc_available() 433 return tx->read - tx->write - 1; in tsnep_tx_desc_available() 527 entry = &tx->entry[tx->write]; in tsnep_xmit_frame_ring() 532 tsnep_tx_unmap(tx, tx->write, count); in tsnep_xmit_frame_ring() 639 entry = &tx->entry[tx->write]; in tsnep_xdp_xmit_frame_ring() 705 entry = &tx->entry[tx->write]; in tsnep_xdp_tx_map_zc() 771 if (tx->read == tx->write) in tsnep_tx_poll() 774 entry = &tx->entry[tx->read]; in tsnep_tx_poll() 860 if (tx->read != tx->write) { in tsnep_tx_pending() 861 entry = &tx->entry[tx->read]; in tsnep_tx_pending() [all …]
|
/openbmc/linux/sound/soc/mediatek/common/ |
H 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() 790 (unsigned long long)(bt->tx->packet_w - bt->tx->packet_r) * in mtk_btcvsd_snd_write() 800 (bt->tx->packet_w - bt->tx->packet_r) * packet_size; in mtk_btcvsd_snd_write() 854 return bt->tx; in get_bt_stream() 1104 if (!bt->tx) { in btcvsd_tx_mute_get() 1119 if (!bt->tx) in btcvsd_tx_mute_set() [all …]
|
/openbmc/linux/drivers/staging/gdm724x/ |
H 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 …]
|