Home
last modified time | relevance | path

Searched refs:txdata (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dtxrx.c73 struct wil_ring_tx_data *txdata = in wil_is_tx_idle() local
76 spin_lock(&txdata->lock); in wil_is_tx_idle()
78 if (!vring->va || !txdata->enabled) { in wil_is_tx_idle()
79 spin_unlock(&txdata->lock); in wil_is_tx_idle()
90 spin_unlock(&txdata->lock); in wil_is_tx_idle()
95 spin_unlock(&txdata->lock); in wil_is_tx_idle()
98 spin_lock(&txdata->lock); in wil_is_tx_idle()
99 if (!vring->va || !txdata->enabled) in wil_is_tx_idle()
104 spin_unlock(&txdata->lock); in wil_is_tx_idle()
1118 void wil_tx_data_init(struct wil_ring_tx_data *txdata) in wil_tx_data_init() argument
[all …]
Dtxrx_edma.c702 struct wil_ring_tx_data *txdata = &wil->ring_tx_data[ring_id]; in wil_ring_init_tx_edma() local
710 wil_tx_data_init(txdata); in wil_ring_init_tx_edma()
719 txdata->dot1x_open = true; in wil_ring_init_tx_edma()
727 if (txdata->dot1x_open && agg_wsize >= 0) in wil_ring_init_tx_edma()
732 spin_lock_bh(&txdata->lock); in wil_ring_init_tx_edma()
733 txdata->dot1x_open = false; in wil_ring_init_tx_edma()
734 txdata->enabled = 0; in wil_ring_init_tx_edma()
735 spin_unlock_bh(&txdata->lock); in wil_ring_init_tx_edma()
1164 struct wil_ring_tx_data *txdata; in wil_tx_sring_handler() local
1202 txdata = &wil->ring_tx_data[ring_id]; in wil_tx_sring_handler()
[all …]
Drx_reorder.c379 struct wil_ring_tx_data *txdata = &wil->ring_tx_data[ringid]; in wil_addba_tx_request() local
382 if (txdata->addba_in_progress) { in wil_addba_tx_request()
387 if (txdata->agg_wsize) { in wil_addba_tx_request()
390 ringid, txdata->agg_wsize); in wil_addba_tx_request()
393 txdata->addba_in_progress = true; in wil_addba_tx_request()
394 rc = wmi_addba(wil, txdata->mid, ringid, agg_wsize, agg_timeout); in wil_addba_tx_request()
397 txdata->addba_in_progress = false; in wil_addba_tx_request()
Dnetdev.c143 struct wil_ring_tx_data *txdata = &wil->ring_tx_data[i]; in wil6210_netdev_poll_tx() local
146 if (!ring->va || !txdata->enabled || in wil6210_netdev_poll_tx()
147 txdata->mid >= GET_MAX_VIFS(wil)) in wil6210_netdev_poll_tx()
150 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx()
152 wil_dbg_txrx(wil, "Invalid MID %d\n", txdata->mid); in wil6210_netdev_poll_tx()
Dwmi.c1269 struct wil_ring_tx_data *txdata; in wmi_evt_ba_status() local
1288 txdata = &wil->ring_tx_data[evt->ringid]; in wmi_evt_ba_status()
1290 txdata->agg_timeout = le16_to_cpu(evt->ba_timeout); in wmi_evt_ba_status()
1291 txdata->agg_wsize = evt->agg_wsize; in wmi_evt_ba_status()
1292 txdata->agg_amsdu = evt->amsdu; in wmi_evt_ba_status()
1293 txdata->addba_in_progress = false; in wmi_evt_ba_status()
1348 struct wil_ring_tx_data *txdata = in wmi_evt_delba() local
1352 txdata->agg_timeout = 0; in wmi_evt_delba()
1353 txdata->agg_wsize = 0; in wmi_evt_delba()
1354 txdata->addba_in_progress = false; in wmi_evt_delba()
[all …]
Ddebugfs.c141 struct wil_ring_tx_data *txdata = &wil->ring_tx_data[i]; in ring_show() local
155 uint64_t idle = txdata->idle * 100; in ring_show()
156 uint64_t total = now - txdata->begin; in ring_show()
165 txdata->begin = now; in ring_show()
166 txdata->idle = 0ULL; in ring_show()
174 txdata->dot1x_open ? "+" : "-", in ring_show()
175 txdata->agg_wsize, in ring_show()
176 txdata->agg_timeout, in ring_show()
177 txdata->agg_amsdu ? "+" : "-", in ring_show()
182 txdata->dot1x_open ? "+" : "-", in ring_show()
[all …]
Dmain.c201 struct wil_ring_tx_data *txdata = &wil->ring_tx_data[id]; in wil_ring_fini_tx() local
210 spin_lock_bh(&txdata->lock); in wil_ring_fini_tx()
211 txdata->dot1x_open = false; in wil_ring_fini_tx()
212 txdata->mid = U8_MAX; in wil_ring_fini_tx()
213 txdata->enabled = 0; /* no Tx can be in progress or start anew */ in wil_ring_fini_tx()
214 spin_unlock_bh(&txdata->lock); in wil_ring_fini_tx()
Dtxrx.h687 void wil_tx_data_init(struct wil_ring_tx_data *txdata);
Dcfg80211.c2278 struct wil_ring_tx_data *txdata = NULL; in wil_cfg80211_change_station() local
2300 txdata = &wil->ring_tx_data[i]; in wil_cfg80211_change_station()
2304 if (!txdata) { in wil_cfg80211_change_station()
2310 txdata->dot1x_open = authorize ? 1 : 0; in wil_cfg80211_change_station()
2312 txdata->dot1x_open); in wil_cfg80211_change_station()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h542 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata);
727 static inline int bnx2x_has_tx_work_unload(struct bnx2x_fp_txdata *txdata) in bnx2x_has_tx_work_unload() argument
731 return txdata->tx_pkt_prod != txdata->tx_pkt_cons; in bnx2x_has_tx_work_unload()
735 struct bnx2x_fp_txdata *txdata) in bnx2x_tx_avail() argument
741 prod = txdata->tx_bd_prod; in bnx2x_tx_avail()
742 cons = txdata->tx_bd_cons; in bnx2x_tx_avail()
748 WARN_ON(used > txdata->tx_ring_size); in bnx2x_tx_avail()
749 WARN_ON((txdata->tx_ring_size - used) > MAX_TX_AVAIL); in bnx2x_tx_avail()
752 return (s16)(txdata->tx_ring_size) - used; in bnx2x_tx_avail()
755 static inline int bnx2x_tx_queue_has_work(struct bnx2x_fp_txdata *txdata) in bnx2x_tx_queue_has_work() argument
[all …]
Dbnx2x_cmn.c193 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt() argument
197 struct sw_tx_bd *tx_buf = &txdata->tx_buf_ring[idx]; in bnx2x_free_tx_pkt()
209 txdata->txq_index, idx, tx_buf, skb); in bnx2x_free_tx_pkt()
211 tx_start_bd = &txdata->tx_desc_ring[bd_idx].start_bd; in bnx2x_free_tx_pkt()
237 tx_data_bd = &txdata->tx_desc_ring[bd_idx].reg_bd; in bnx2x_free_tx_pkt()
251 tx_data_bd = &txdata->tx_desc_ring[bd_idx].reg_bd; in bnx2x_free_tx_pkt()
272 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int() argument
275 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int()
283 txq = netdev_get_tx_queue(bp->dev, txdata->txq_index); in bnx2x_tx_int()
284 hw_cons = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_tx_int()
[all …]
Dbnx2x_ethtool.c2501 struct bnx2x_fp_txdata *txdata = fp_tx->txdata_ptr[0]; in bnx2x_run_loopback() local
2515 txdata->txq_index); in bnx2x_run_loopback()
2578 tx_start_idx = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_run_loopback()
2583 pkt_prod = txdata->tx_pkt_prod++; in bnx2x_run_loopback()
2584 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_run_loopback()
2585 tx_buf->first_bd = txdata->tx_bd_prod; in bnx2x_run_loopback()
2589 bd_prod = TX_BD(txdata->tx_bd_prod); in bnx2x_run_loopback()
2590 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; in bnx2x_run_loopback()
2610 &txdata->tx_desc_ring[bd_prod].parse_bd_e1x; in bnx2x_run_loopback()
2618 &txdata->tx_desc_ring[bd_prod].parse_bd_e2; in bnx2x_run_loopback()
[all …]
Dbnx2x_main.c985 struct bnx2x_fp_txdata txdata; in bnx2x_panic_dump() local
1008 txdata = *fp->txdata_ptr[cos]; in bnx2x_panic_dump()
1010 if (!txdata.tx_cons_sb) in bnx2x_panic_dump()
1014 i, txdata.tx_pkt_prod, in bnx2x_panic_dump()
1015 txdata.tx_pkt_cons, txdata.tx_bd_prod, in bnx2x_panic_dump()
1016 txdata.tx_bd_cons, in bnx2x_panic_dump()
1017 le16_to_cpu(*txdata.tx_cons_sb)); in bnx2x_panic_dump()
1158 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_panic_dump() local
1163 if (!txdata->tx_cons_sb) in bnx2x_panic_dump()
1166 start = TX_BD(le16_to_cpu(*txdata->tx_cons_sb) - 10); in bnx2x_panic_dump()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-fsl-dspi.c244 void (*host_to_dev)(struct fsl_dspi *dspi, u32 *txdata);
248 static void dspi_native_host_to_dev(struct fsl_dspi *dspi, u32 *txdata) in dspi_native_host_to_dev() argument
252 *txdata = *(u8 *)dspi->tx; in dspi_native_host_to_dev()
255 *txdata = *(u16 *)dspi->tx; in dspi_native_host_to_dev()
258 *txdata = *(u32 *)dspi->tx; in dspi_native_host_to_dev()
280 static void dspi_8on32_host_to_dev(struct fsl_dspi *dspi, u32 *txdata) in dspi_8on32_host_to_dev() argument
282 *txdata = cpu_to_be32(*(u32 *)dspi->tx); in dspi_8on32_host_to_dev()
292 static void dspi_8on16_host_to_dev(struct fsl_dspi *dspi, u32 *txdata) in dspi_8on16_host_to_dev() argument
294 *txdata = cpu_to_be16(*(u16 *)dspi->tx); in dspi_8on16_host_to_dev()
304 static void dspi_16on32_host_to_dev(struct fsl_dspi *dspi, u32 *txdata) in dspi_16on32_host_to_dev() argument
[all …]
/linux-6.1.9/drivers/i2c/busses/
Di2c-uniphier.c61 static int uniphier_i2c_xfer_byte(struct i2c_adapter *adap, u32 txdata, in uniphier_i2c_xfer_byte() argument
70 txdata |= UNIPHIER_I2C_DTRM_IRQEN; in uniphier_i2c_xfer_byte()
71 writel(txdata, priv->membase + UNIPHIER_I2C_DTRM); in uniphier_i2c_xfer_byte()
86 static int uniphier_i2c_send_byte(struct i2c_adapter *adap, u32 txdata) in uniphier_i2c_send_byte() argument
91 ret = uniphier_i2c_xfer_byte(adap, txdata, &rxdata); in uniphier_i2c_send_byte()
/linux-6.1.9/arch/powerpc/include/asm/
Dmpc52xx_psc.h280 } txdata; /* PSC + 0xbc */ member
281 #define txdata_8 txdata.txdata_8
282 #define txdata_16 txdata.txdata_16
283 #define txdata_32 txdata.txdata_32
/linux-6.1.9/drivers/usb/gadget/udc/
Dmax3420_udc.c206 u8 txdata[1]; in spi_ack_ctrl() local
212 txdata[0] = MAX3420_ACKSTAT; in spi_ack_ctrl()
213 transfer.tx_buf = txdata; in spi_ack_ctrl()
225 u8 txdata[2], rxdata[2]; in spi_rd8_ack() local
231 txdata[0] = MAX3420_SPI_CMD_RD(reg) | (actstat ? MAX3420_ACKSTAT : 0); in spi_rd8_ack()
232 transfer.tx_buf = txdata; in spi_rd8_ack()
252 u8 txdata[2]; in spi_wr8_ack() local
258 txdata[0] = MAX3420_SPI_CMD_WR(reg) | (actstat ? MAX3420_ACKSTAT : 0); in spi_wr8_ack()
259 txdata[1] = val; in spi_wr8_ack()
261 transfer.tx_buf = txdata; in spi_wr8_ack()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dproto.h27 int (*txdata)(struct brcmf_pub *drvr, int ifidx, u8 offset, member
85 return drvr->proto->txdata(drvr, ifidx, offset, skb); in brcmf_proto_txdata()
Dbus.h80 int (*txdata)(struct device *dev, struct sk_buff *skb); member
181 return bus->ops->txdata(bus->dev, skb); in brcmf_bus_txdata()
Dbcdc.c461 drvr->proto->txdata = brcmf_proto_bcdc_txdata; in brcmf_proto_bcdc_attach()
/linux-6.1.9/drivers/net/wireless/zydas/
Dzd1201.h39 unsigned char txdata[ZD1201_RXSIZE]; member
/linux-6.1.9/drivers/clk/
Dclk-renesas-pcie.c115 u8 txdata = reg; in rs9_regmap_i2c_read() local
122 xfer[0].buf = (void *)&txdata; in rs9_regmap_i2c_read()
/linux-6.1.9/drivers/input/touchscreen/
Dwdt87xx_i2c.c188 void *txdata, size_t txlen, in wdt87xx_i2c_xfer() argument
196 .buf = txdata, in wdt87xx_i2c_xfer()
/linux-6.1.9/arch/m68k/include/asm/
DMC68EZ328.h813 volatile unsigned char txdata; member
DMC68VZ328.h906 volatile unsigned char txdata; member

12