Home
last modified time | relevance | path

Searched full:txb (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v6.1/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c166 void libipw_txb_free(struct libipw_txb *txb) in libipw_txb_free() argument
169 if (unlikely(!txb)) in libipw_txb_free()
171 for (i = 0; i < txb->nr_frags; i++) in libipw_txb_free()
172 if (txb->fragments[i]) in libipw_txb_free()
173 dev_kfree_skb_any(txb->fragments[i]); in libipw_txb_free()
174 kfree(txb); in libipw_txb_free()
180 struct libipw_txb *txb; in libipw_alloc_txb() local
183 txb = kmalloc(struct_size(txb, fragments, nr_frags), gfp_mask); in libipw_alloc_txb()
184 if (!txb) in libipw_alloc_txb()
187 memset(txb, 0, sizeof(struct libipw_txb)); in libipw_alloc_txb()
[all …]
Dipw2100.c2929 libipw_txb_free(packet->info.d_struct.txb); in __ipw2100_tx_process()
2930 packet->info.d_struct.txb = NULL; in __ipw2100_tx_process()
3085 if (unlikely(1 + packet->info.d_struct.txb->nr_frags > in ipw2100_tx_send_data()
3094 if (txq->available <= 3 + packet->info.d_struct.txb->nr_frags) { in ipw2100_tx_send_data()
3107 hdr = (struct libipw_hdr_3addr *)packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3127 ipw_hdr->encrypted = packet->info.d_struct.txb->encrypted; in ipw2100_tx_send_data()
3128 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
3130 packet->info.d_struct.txb->frag_size - in ipw2100_tx_send_data()
3137 tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3147 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
[all …]
Dipw2200.c3769 q->txb = kmalloc_array(count, sizeof(q->txb[0]), GFP_KERNEL); in ipw_queue_tx_init()
3770 if (!q->txb) in ipw_queue_tx_init()
3779 kfree(q->txb); in ipw_queue_tx_init()
3780 q->txb = NULL; in ipw_queue_tx_init()
3821 if (txq->txb[txq->q.last_used]) { in ipw_queue_tx_free_tfd()
3822 libipw_txb_free(txq->txb[txq->q.last_used]); in ipw_queue_tx_free_tfd()
3823 txq->txb[txq->q.last_used] = NULL; in ipw_queue_tx_free_tfd()
3854 kfree(txq->txb); in ipw_queue_tx_free()
5046 txq->txb[q->first_empty] = NULL; in ipw_queue_tx_hcmd()
10083 static int ipw_tx_skb(struct ipw_priv *priv, struct libipw_txb *txb, in ipw_tx_skb() argument
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/media/i2c/
Dadv748x.yaml15 HDMI receiver. They can output CSI-2 on two independent outputs TXA and TXB
38 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
39 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
40 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
41 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
42 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
43 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
44 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
45 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
46 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
[all …]
/Linux-v6.1/drivers/staging/rtl8192e/
Drtllib_tx.c195 void rtllib_txb_free(struct rtllib_txb *txb) in rtllib_txb_free() argument
197 if (unlikely(!txb)) in rtllib_txb_free()
199 kfree(txb); in rtllib_txb_free()
205 struct rtllib_txb *txb; in rtllib_alloc_txb() local
208 txb = kzalloc(struct_size(txb, fragments, nr_frags), gfp_mask); in rtllib_alloc_txb()
209 if (!txb) in rtllib_alloc_txb()
212 txb->nr_frags = nr_frags; in rtllib_alloc_txb()
213 txb->frag_size = cpu_to_le16(txb_size); in rtllib_alloc_txb()
216 txb->fragments[i] = dev_alloc_skb(txb_size); in rtllib_alloc_txb()
217 if (unlikely(!txb->fragments[i])) in rtllib_alloc_txb()
[all …]
Drtllib_softmac.c2439 * ieee802.11 stack passed a TXB struct then you need
2446 void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee) in rtllib_softmac_xmit() argument
2449 unsigned int queue_index = txb->queue_index; in rtllib_softmac_xmit()
2461 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + in rtllib_softmac_xmit()
2469 for (i = 0; i < txb->nr_frags; i++) { in rtllib_softmac_xmit()
2480 txb->fragments[i]); in rtllib_softmac_xmit()
2482 kfree_skb(txb->fragments[i]); in rtllib_softmac_xmit()
2485 txb->fragments[i], in rtllib_softmac_xmit()
2490 rtllib_txb_free(txb); in rtllib_softmac_xmit()
2502 if (ieee->tx_pending.txb) { in rtllib_reset_queue()
[all …]
/Linux-v6.1/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c216 void ieee80211_txb_free(struct ieee80211_txb *txb) in ieee80211_txb_free() argument
219 if (unlikely(!txb)) in ieee80211_txb_free()
221 kfree(txb); in ieee80211_txb_free()
228 struct ieee80211_txb *txb; in ieee80211_alloc_txb() local
230 txb = kmalloc( in ieee80211_alloc_txb()
233 if (!txb) in ieee80211_alloc_txb()
236 memset(txb, 0, sizeof(struct ieee80211_txb)); in ieee80211_alloc_txb()
237 txb->nr_frags = nr_frags; in ieee80211_alloc_txb()
238 txb->frag_size = __cpu_to_le16(txb_size); in ieee80211_alloc_txb()
241 txb->fragments[i] = dev_alloc_skb(txb_size); in ieee80211_alloc_txb()
[all …]
Dieee80211_softmac.c2031 * ieee802.11 stack passed a TXB struct, then you would need
2038 void ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *ieee) in ieee80211_softmac_xmit() argument
2040 unsigned int queue_index = txb->queue_index; in ieee80211_softmac_xmit()
2051 ieee->stats.tx_bytes += le16_to_cpu(txb->payload_size); in ieee80211_softmac_xmit()
2053 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + MAX_DEV_ADDR_SIZE); in ieee80211_softmac_xmit()
2058 for (i = 0; i < txb->nr_frags; i++) { in ieee80211_softmac_xmit()
2073 skb_queue_tail(&ieee->skb_drv_aggQ[queue_index], txb->fragments[i]); in ieee80211_softmac_xmit()
2075 skb_queue_tail(&ieee->skb_waitQ[queue_index], txb->fragments[i]); in ieee80211_softmac_xmit()
2078 ieee->softmac_data_hard_start_xmit(txb->fragments[i], in ieee80211_softmac_xmit()
2081 //ieee->stats.tx_bytes += txb->fragments[i]->len; in ieee80211_softmac_xmit()
[all …]
/Linux-v6.1/drivers/net/ethernet/micrel/
Dks8851_spi.c122 __le16 txb[2]; in ks8851_wrreg16_spi() local
125 txb[0] = cpu_to_le16(MK_OP(reg & 2 ? 0xC : 0x03, reg) | KS_SPIOP_WR); in ks8851_wrreg16_spi()
126 txb[1] = cpu_to_le16(val); in ks8851_wrreg16_spi()
128 xfer->tx_buf = txb; in ks8851_wrreg16_spi()
153 __le16 *txb = (__le16 *)ks->txd; in ks8851_rdreg() local
157 txb[0] = cpu_to_le16(op | KS_SPIOP_RD); in ks8851_rdreg()
163 xfer->tx_buf = txb; in ks8851_rdreg()
175 xfer->tx_buf = txb; in ks8851_rdreg()
218 u8 txb[1]; in ks8851_rdfifo_spi() local
225 txb[0] = KS_SPIOP_RXFIFO; in ks8851_rdfifo_spi()
[all …]
Dks8851.h329 * @txb: The header as bytes
337 u8 txb[6]; member
440 * @txb: The buffer transmitted
443 struct sk_buff *txb) in ks8851_done_tx() argument
447 dev->stats.tx_bytes += txb->len; in ks8851_done_tx()
450 dev_kfree_skb(txb); in ks8851_done_tx()
/Linux-v6.1/drivers/media/i2c/adv748x/
Dadv748x-core.c56 ADV748X_REGMAP_CONF("txb"),
96 [ADV748X_PAGE_TXB] = { "txb", 0x48 },
234 * TXA and TXB
358 /* AFE Requires TXA enabled, even when output to TXB */ in adv748x_link_setup()
370 /* TXB has a single data lane, no need to adjust. */ in adv748x_link_setup()
523 /* Reset TXA and TXB */ in adv748x_reset()
526 adv748x_tx_power(&state->txb, 1); in adv748x_reset()
527 adv748x_tx_power(&state->txb, 0); in adv748x_reset()
532 /* Conditionally enable TXa and TXb. */ in adv748x_reset()
537 if (is_tx_enabled(&state->txb)) { in adv748x_reset()
[all …]
Dadv748x-csi2.c74 adv_dbg(state, "Registered %s (%s)", is_txa(tx) ? "TXA":"TXB", in adv748x_csi2_registered()
78 * Link TXA to AFE and HDMI, and TXB to AFE only as TXB cannot output in adv748x_csi2_registered()
81 * The HDMI->TXA link is enabled by default, as is the AFE->TXB one. in adv748x_csi2_registered()
91 /* TXB can output AFE signals only. */ in adv748x_csi2_registered()
301 is_txa(tx) ? "txa" : "txb"); in adv748x_csi2_init()
Dadv748x.h96 #define is_txb(_tx) ((_tx) == &(_tx)->state->txb)
183 * @txb: state of TXB transmitter context
198 struct adv748x_csi2 txb; member
381 /* CSI : TXA/TXB Maps */
/Linux-v6.1/drivers/net/ethernet/vertexcom/
Dmse102x.c153 __be16 txb[2]; in mse102x_tx_cmd_spi() local
156 txb[0] = cpu_to_be16(DET_CMD); in mse102x_tx_cmd_spi()
157 txb[1] = cpu_to_be16(cmd); in mse102x_tx_cmd_spi()
159 xfer->tx_buf = txb; in mse102x_tx_cmd_spi()
176 __be16 *txb = (__be16 *)mse->txd; in mse102x_rx_cmd_spi() local
181 txb[0] = 0; in mse102x_rx_cmd_spi()
182 txb[1] = 0; in mse102x_rx_cmd_spi()
184 xfer->tx_buf = txb; in mse102x_rx_cmd_spi()
371 static int mse102x_tx_pkt_spi(struct mse102x_net *mse, struct sk_buff *txb, in mse102x_tx_pkt_spi() argument
380 if (txb->len < 60) in mse102x_tx_pkt_spi()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dfsl,asrc.txt25 - dma-names : Contains "rxa", "rxb", "rxc", "txa", "txb" and "txc".
77 "txa", "txb", "txc";
Dapple,mca.yaml48 as associated to the TXA, RXA, TXB, RXB units.
/Linux-v6.1/drivers/net/ethernet/adi/
Dadin1110.c375 struct sk_buff *txb) in adin1110_write_fifo() argument
390 if (txb->len + ADIN1110_FEC_LEN < 64) in adin1110_write_fifo()
391 padding = 64 - (txb->len + ADIN1110_FEC_LEN); in adin1110_write_fifo()
393 padded_len = txb->len + padding + ADIN1110_FRAME_HEADER_LEN; in adin1110_write_fifo()
419 txb->data, txb->len); in adin1110_write_fifo()
425 port_priv->tx_bytes += txb->len; in adin1110_write_fifo()
972 struct sk_buff *txb; in adin1110_tx_work() local
980 while ((txb = skb_dequeue(&port_priv->txq))) { in adin1110_tx_work()
981 ret = adin1110_write_fifo(port_priv, txb); in adin1110_tx_work()
986 dev_kfree_skb(txb); in adin1110_tx_work()
/Linux-v6.1/drivers/spi/
Dspi-loopback-test.c597 u8 rxb, txb; in spi_test_check_loopback_result() local
620 txb = ((u8 *)xfer->tx_buf)[i]; in spi_test_check_loopback_result()
622 if (txb != rxb) in spi_test_check_loopback_result()
627 txb = ((u8 *)xfer->rx_buf)[0]; in spi_test_check_loopback_result()
629 if (!((txb == 0) || (txb == 0xff))) { in spi_test_check_loopback_result()
632 txb); in spi_test_check_loopback_result()
638 if (rxb != txb) in spi_test_check_loopback_result()
649 i, txb, rxb); in spi_test_check_loopback_result()
/Linux-v6.1/drivers/net/can/ctucanfd/
Dctucanfd_base.c608 netdev_err(ndev, "BUG!, no TXB free when queue awake!\n"); in ctucan_start_xmit()
613 ctucan_netdev_dbg(ndev, "%s: using TXB#%u\n", __func__, txtb_id); in ctucan_start_xmit()
1003 * if txb[n].finished (bit 2) in ctucan_tx_interrupt()
1016 ctucan_netdev_dbg(ndev, "TXI: TXB#%u: status 0x%x\n", txtb_id, txtb_status); in ctucan_tx_interrupt()
1030 netdev_warn(ndev, "TXB in Error state\n"); in ctucan_tx_interrupt()
1039 netdev_warn(ndev, "TXB in Aborted state\n"); in ctucan_tx_interrupt()
1049 "BUG: TXB#%u not in a finished state (0x%x)!\n", in ctucan_tx_interrupt()
1156 netdev_err(ndev, "txb[%d] txb status=0x%08x\n", i, status); in ctucan_interrupt()
/Linux-v6.1/drivers/net/fjes/
Dfjes_hw.h74 #define FJES_DEV_COMMAND_SHARE_BUFFER_REQ_LEN(txb, rxb) \ argument
75 (24 + (8 * ((txb) / EP_BUFFER_INFO_SIZE + (rxb) / EP_BUFFER_INFO_SIZE)))
/Linux-v6.1/Documentation/networking/device_drivers/can/ctu/
Dctucanfd-driver.rst413 :math:`txb\_head \equiv txb\_tail\ (\textrm{mod}\ 4)`. An example of how
419 | TXB# | 0 | 1 | 2 | 3 |
431 | TXB# | 0 | 1 | 2 | 3 |
443 | TXB# | 0 | 1 | 2 | 3 | 0’ |
/Linux-v6.1/drivers/net/ethernet/mscc/
Docelot_fdma.c726 struct ocelot_fdma_tx_buf *txb; in ocelot_fdma_free_tx_ring() local
734 txb = &tx_ring->bufs[idx]; in ocelot_fdma_free_tx_ring()
735 skb = txb->skb; in ocelot_fdma_free_tx_ring()
736 dma_unmap_single(ocelot->dev, dma_unmap_addr(txb, dma_addr), in ocelot_fdma_free_tx_ring()
/Linux-v6.1/drivers/net/wireless/microchip/wilc1000/
Dwlan.c721 u8 *txb = wilc->tx_buffer; in wilc_wlan_handle_txq() local
901 memcpy(&txb[offset], &header, 4); in wilc_wlan_handle_txq()
909 memcpy(&txb[offset + 4], &prio, sizeof(prio)); in wilc_wlan_handle_txq()
910 memcpy(&txb[offset + 8], bssid, 6); in wilc_wlan_handle_txq()
915 memcpy(&txb[offset + buffer_offset], in wilc_wlan_handle_txq()
936 ret = func->hif_block_tx_ext(wilc, 0, txb, offset); in wilc_wlan_handle_txq()
/Linux-v6.1/drivers/net/ethernet/atheros/alx/
Dmain.c56 struct alx_buffer *txb = &txq->bufs[entry]; in alx_free_txbuf() local
58 if (dma_unmap_len(txb, size)) { in alx_free_txbuf()
60 dma_unmap_addr(txb, dma), in alx_free_txbuf()
61 dma_unmap_len(txb, size), in alx_free_txbuf()
63 dma_unmap_len_set(txb, size, 0); in alx_free_txbuf()
66 if (txb->skb) { in alx_free_txbuf()
67 dev_kfree_skb_any(txb->skb); in alx_free_txbuf()
68 txb->skb = NULL; in alx_free_txbuf()
/Linux-v6.1/drivers/usb/host/
Dfhci-dbg.c66 "RXB: %d\n" "TXB: %d\n" "BSY: %d\n" in fhci_dfs_irq_stat_show()

12