| /Linux-v5.4/drivers/net/ethernet/google/gve/ | 
| D | gve_tx.c | 22  * 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 …] 
 | 
| /Linux-v5.4/drivers/media/i2c/adv748x/ | 
| D | adv748x-csi2.c | 17 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 …] 
 | 
| /Linux-v5.4/drivers/firmware/tegra/ | 
| D | ivc.c | 48  * 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-v5.4/drivers/net/wireless/ti/wl18xx/ | 
| D | debugfs.c | 45 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-v5.4/drivers/net/ethernet/microchip/ | 
| D | lan743x_main.c | 155 	struct lan743x_tx *tx = context;  in lan743x_tx_isr()  local 156 	struct lan743x_adapter *adapter = tx->adapter;  in lan743x_tx_isr() 163 				  INT_BIT_DMA_TX_(tx->channel_number));  in lan743x_tx_isr() 166 	if (int_sts & INT_BIT_DMA_TX_(tx->channel_number)) {  in lan743x_tx_isr() 167 		u32 ioc_bit = DMAC_INT_BIT_TX_IOC_(tx->channel_number);  in lan743x_tx_isr() 184 			napi_schedule(&tx->napi);  in lan743x_tx_isr() 192 				  INT_BIT_DMA_TX_(tx->channel_number));  in lan743x_tx_isr() 259 				lan743x_tx_isr(&adapter->tx[channel],  in lan743x_intr_shared_isr() 598 			/* map TX interrupt to vector */  in lan743x_intr_open() 602 			/* Remove TX interrupt from shared mask */  in lan743x_intr_open() [all …] 
 | 
| /Linux-v5.4/crypto/async_tx/ | 
| D | async_tx.c | 62  * @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 …] 
 | 
| D | async_raid6_recov.c | 35 		struct dma_async_tx_descriptor *tx;  in async_sum_product()  local 50 		tx = dma->device_prep_dma_pq(chan, pq, unmap->addr, 2, coef,  in async_sum_product() 52 		if (tx) {  in async_sum_product() 53 			dma_set_unmap(tx, unmap);  in async_sum_product() 54 			async_tx_submit(chan, tx, submit);  in async_sum_product() 56 			return tx;  in async_sum_product() 99 		struct dma_async_tx_descriptor *tx;  in async_mult()  local 115 		tx = dma->device_prep_dma_pq(chan, dma_dest, unmap->addr,  in async_mult() 118 		if (tx) {  in async_mult() 119 			dma_set_unmap(tx, unmap);  in async_mult() [all …] 
 | 
| /Linux-v5.4/drivers/fpga/ | 
| D | machxo2-spi.c | 69 	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-v5.4/tools/testing/selftests/timers/ | 
| D | leap-a-day.c | 97 	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 …] 
 | 
| D | valid-adjtimex.c | 43 static int clock_adjtime(clockid_t id, struct timex *tx)  in clock_adjtime()  argument 45 	return syscall(__NR_clock_adjtime, id, tx);  in clock_adjtime() 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 122 	memset(&tx, 0, sizeof(struct timex));  in validate_freq() 128 		tx.modes = ADJ_FREQUENCY;  in validate_freq() 129 		tx.freq = valid_freq[i];  in validate_freq() [all …] 
 | 
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ | 
| D | vnic_sdma.c | 83 	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 …] 
 | 
| D | sdma.h | 231  * The tx request, once initialized,  is manipulated with calls to 240  * in the tx. Memory locations added with sdma_txadd_page() 242  * to the tx and nmapped as part of the progress processing in the 246  * tx.   An example of a use case would be a pre-allocated 253  * a tx to the ring after the appropriate number of 260  * long as the tx isn't in flight. 481 	struct sdma_txreq *tx, 489  * @tx: tx request to initialize 520  * being submitted. The callback will be provided this tx, a status, and a flag. 540 	struct sdma_txreq *tx,  in sdma_txinit_ahg()  argument [all …] 
 | 
| /Linux-v5.4/drivers/clk/mediatek/ | 
| D | clk-apmixed.c | 31 	struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw);  in mtk_ref2usb_tx_is_prepared()  local 33 	return (readl(tx->base_addr) & REF2USB_EN_MASK) == REF2USB_EN_MASK;  in mtk_ref2usb_tx_is_prepared() 38 	struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw);  in mtk_ref2usb_tx_prepare()  local 41 	val = readl(tx->base_addr);  in mtk_ref2usb_tx_prepare() 44 	writel(val, tx->base_addr);  in mtk_ref2usb_tx_prepare() 48 	writel(val, tx->base_addr);  in mtk_ref2usb_tx_prepare() 51 	writel(val, tx->base_addr);  in mtk_ref2usb_tx_prepare() 58 	struct mtk_ref2usb_tx *tx = to_mtk_ref2usb_tx(hw);  in mtk_ref2usb_tx_unprepare()  local 61 	val = readl(tx->base_addr);  in mtk_ref2usb_tx_unprepare() 63 	writel(val, tx->base_addr);  in mtk_ref2usb_tx_unprepare() [all …] 
 | 
| /Linux-v5.4/drivers/staging/gdm724x/ | 
| D | gdm_usb.c | 145 static struct usb_tx_sdu *get_tx_sdu_struct(struct tx_cxt *tx, int *no_spc)  in get_tx_sdu_struct()  argument 149 	if (list_empty(&tx->free_list))  in get_tx_sdu_struct() 152 	t_sdu = list_entry(tx->free_list.next, struct usb_tx_sdu, list);  in get_tx_sdu_struct() 155 	tx->avail_count--;  in get_tx_sdu_struct() 157 	*no_spc = list_empty(&tx->free_list) ? 1 : 0;  in get_tx_sdu_struct() 162 static void put_tx_struct(struct tx_cxt *tx, struct usb_tx_sdu *t_sdu)  in put_tx_struct()  argument 164 	list_add_tail(&t_sdu->list, &tx->free_list);  in put_tx_struct() 165 	tx->avail_count++;  in put_tx_struct() 247 	struct tx_cxt	*tx = &udev->tx;  in release_usb()  local 253 	spin_lock_irqsave(&tx->lock, flags);  in release_usb() [all …] 
 | 
| /Linux-v5.4/drivers/media/cec/ | 
| D | cec-pin-error-inj.c | 28 	{ 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-v5.4/drivers/spi/ | 
| D | spi-dln2.c | 107 	} tx;  in dln2_spi_enable()  local 108 	unsigned len = sizeof(tx);  in dln2_spi_enable() 110 	tx.port = dln2->port;  in dln2_spi_enable() 114 		len -= sizeof(tx.wait_for_completion);  in dln2_spi_enable() 116 		tx.wait_for_completion = DLN2_TRANSFERS_WAIT_COMPLETE;  in dln2_spi_enable() 120 	return dln2_transfer_tx(dln2->pdev, cmd, &tx, len);  in dln2_spi_enable() 136 	} tx;  in dln2_spi_cs_set()  local 138 	tx.port = dln2->port;  in dln2_spi_cs_set() 145 	tx.cs = ~cs_mask;  in dln2_spi_cs_set() 147 	return dln2_transfer_tx(dln2->pdev, DLN2_SPI_SET_SS, &tx, sizeof(tx));  in dln2_spi_cs_set() [all …] 
 | 
| /Linux-v5.4/sound/soc/mediatek/common/ | 
| D | mtk-btcvsd.c | 27 /* 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-v5.4/drivers/dma/ | 
| D | dmaengine.h | 24  * @tx: descriptor needing cookie 29 static inline dma_cookie_t dma_cookie_assign(struct dma_async_tx_descriptor *tx)  in dma_cookie_assign()  argument 31 	struct dma_chan *chan = tx->chan;  in dma_cookie_assign() 37 	tx->cookie = chan->cookie = cookie;  in dma_cookie_assign() 44  * @tx: descriptor to complete 52 static inline void dma_cookie_complete(struct dma_async_tx_descriptor *tx)  in dma_cookie_complete()  argument 54 	BUG_ON(tx->cookie < DMA_MIN_COOKIE);  in dma_cookie_complete() 55 	tx->chan->completed_cookie = tx->cookie;  in dma_cookie_complete() 56 	tx->cookie = 0;  in dma_cookie_complete() 98  * @tx: tx descriptor [all …] 
 | 
| /Linux-v5.4/drivers/net/wireless/broadcom/b43/ | 
| D | radio_2055.h | 21 #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 …] 
 | 
| /Linux-v5.4/Documentation/media/uapi/cec/ | 
| D | cec-pin-error-inj.rst | 42 	#   clear          clear all rx and tx error injections 44 	#   tx-clear       clear all tx error injections 45 	#   <op> clear     clear all rx and tx error injections for <op> 47 	#   <op> tx-clear  clear all tx error injections for <op> 56 	# TX error injection settings: 57 	#   tx-ignore-nack-until-eom           ignore early NACKs until EOM 58 	#   tx-custom-low-usecs <usecs>        define the 'low' time for the custom pulse 59 	#   tx-custom-high-usecs <usecs>       define the 'high' time for the custom pulse 60 	#   tx-custom-pulse                    transmit the custom pulse once the bus is idle 62 	# TX error injection: [all …] 
 | 
| /Linux-v5.4/drivers/net/ethernet/brocade/bna/ | 
| D | bna_tx_rx.c | 2756 /* TX */ 2758 #define call_tx_stop_cbfn(tx)						\  argument 2760 	if ((tx)->stop_cbfn) {						\ 2763 		cbfn = (tx)->stop_cbfn;					\ 2764 		cbarg = (tx)->stop_cbarg;				\ 2765 		(tx)->stop_cbfn = NULL;					\ 2766 		(tx)->stop_cbarg = NULL;				\ 2767 		cbfn(cbarg, (tx));					\ 2771 static void bna_tx_mod_cb_tx_stopped(void *tx_mod, struct bna_tx *tx); 2772 static void bna_bfi_tx_enet_start(struct bna_tx *tx); [all …] 
 | 
| /Linux-v5.4/net/mac80211/ | 
| D | tx.c | 51 static __le16 ieee80211_duration(struct ieee80211_tx_data *tx,  in ieee80211_duration()  argument 57 	struct ieee80211_local *local = tx->local;  in ieee80211_duration() 65 	if (tx->rate.flags & (IEEE80211_TX_RC_MCS | IEEE80211_TX_RC_VHT_MCS))  in ieee80211_duration() 69 	chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf);  in ieee80211_duration() 77 	if (WARN_ON_ONCE(tx->rate.idx < 0))  in ieee80211_duration() 81 	txrate = &sband->bitrates[tx->rate.idx];  in ieee80211_duration() 150 		if (tx->sdata->vif.bss_conf.basic_rates & BIT(i))  in ieee80211_duration() 156 			if (tx->sdata->flags & IEEE80211_SDATA_OPERATING_GMODE)  in ieee80211_duration() 191 				tx->sdata->vif.bss_conf.use_short_preamble,  in ieee80211_duration() 201 				tx->sdata->vif.bss_conf.use_short_preamble,  in ieee80211_duration() [all …] 
 | 
| /Linux-v5.4/drivers/net/ethernet/pasemi/ | 
| D | pasemi_mac_ethtool.c | 36 	{ "tx-bytes" }, 37 	{ "tx-packets" }, 38 	{ "tx-broadcast-packets" }, 39 	{ "tx-multicast-packets" }, 40 	{ "tx-collisions" }, 41 	{ "tx-late-collisions" }, 42 	{ "tx-excessive-collisions" }, 43 	{ "tx-crc-errors" }, 44 	{ "tx-undersize-errors" }, 45 	{ "tx-oversize-errors" }, [all …] 
 | 
| /Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/ | 
| D | tx.h | 66  * enum iwl_tx_flags - bitmasks for tx_flags in TX command 68  * @TX_CMD_FLG_WRITE_TX_POWER: update current tx power value in the mgmt frame 70  * @TX_CMD_FLG_STA_RATE: use RS table with initial index from the TX command. 71  *	Otherwise, use rate_n_flags from the TX command 86  * @TX_CMD_FLG_CALIB: activate PA TX power calibrations 126  * enum iwl_tx_cmd_flags - bitmasks for tx_flags in TX command for 22000 127  * @IWL_TX_FLAGS_CMD_RATE: use rate from the TX command 140  * enum iwl_tx_pm_timeouts - pm timeout values in TX command 156  * enum iwl_tx_cmd_sec_ctrl - bitmasks for security control in TX command 164  *	from the table instead of from the TX command. [all …] 
 | 
| /Linux-v5.4/drivers/net/wireless/ath/ath9k/ | 
| D | htc_drv_txrx.c | 20 /* TX */ 58 	spin_lock_bh(&priv->tx.tx_lock);  in ath9k_htc_check_stop_queues() 59 	priv->tx.queued_cnt++;  in ath9k_htc_check_stop_queues() 60 	if ((priv->tx.queued_cnt >= ATH9K_HTC_TX_THRESHOLD) &&  in ath9k_htc_check_stop_queues() 61 	    !(priv->tx.flags & ATH9K_HTC_OP_TX_QUEUES_STOP)) {  in ath9k_htc_check_stop_queues() 62 		priv->tx.flags |= ATH9K_HTC_OP_TX_QUEUES_STOP;  in ath9k_htc_check_stop_queues() 65 	spin_unlock_bh(&priv->tx.tx_lock);  in ath9k_htc_check_stop_queues() 70 	spin_lock_bh(&priv->tx.tx_lock);  in ath9k_htc_check_wake_queues() 71 	if ((priv->tx.queued_cnt < ATH9K_HTC_TX_THRESHOLD) &&  in ath9k_htc_check_wake_queues() 72 	    (priv->tx.flags & ATH9K_HTC_OP_TX_QUEUES_STOP)) {  in ath9k_htc_check_wake_queues() [all …] 
 |