Home
last modified time | relevance | path

Searched refs:txb (Results 1 – 25 of 31) sorted by relevance

12

/linux-5.19.10/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 …]
Dlibipw.h794 netdev_tx_t (*hard_start_xmit) (struct libipw_txb * txb,
Dipw2100.h323 struct libipw_txb *txb; member
/linux-5.19.10/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.c2038 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()
2085 ieee80211_txb_free(txb); in ieee80211_softmac_xmit()
2096 for (i = ieee->tx_pending.frag; i < ieee->tx_pending.txb->nr_frags; i++) { in ieee80211_resume_tx()
[all …]
Dieee80211.h1458 struct ieee80211_txb *txb; member
1908 int (*hard_start_xmit)(struct ieee80211_txb *txb,
2182 void ieee80211_txb_free(struct ieee80211_txb *txb);
2227 void ieee80211_softmac_xmit(struct ieee80211_txb *txb,
/linux-5.19.10/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 = kmalloc(sizeof(struct rtllib_txb) + (sizeof(u8 *) * nr_frags), in rtllib_alloc_txb()
210 if (!txb) in rtllib_alloc_txb()
213 memset(txb, 0, sizeof(struct rtllib_txb)); in rtllib_alloc_txb()
214 txb->nr_frags = nr_frags; in rtllib_alloc_txb()
215 txb->frag_size = cpu_to_le16(txb_size); in rtllib_alloc_txb()
218 txb->fragments[i] = dev_alloc_skb(txb_size); in rtllib_alloc_txb()
[all …]
Drtllib_softmac.c2454 void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee) in rtllib_softmac_xmit() argument
2457 unsigned int queue_index = txb->queue_index; in rtllib_softmac_xmit()
2469 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + in rtllib_softmac_xmit()
2477 for (i = 0; i < txb->nr_frags; i++) { in rtllib_softmac_xmit()
2488 txb->fragments[i]); in rtllib_softmac_xmit()
2490 kfree_skb(txb->fragments[i]); in rtllib_softmac_xmit()
2493 txb->fragments[i], in rtllib_softmac_xmit()
2498 rtllib_txb_free(txb); in rtllib_softmac_xmit()
2510 if (ieee->tx_pending.txb) { in rtllib_reset_queue()
2511 rtllib_txb_free(ieee->tx_pending.txb); in rtllib_reset_queue()
[all …]
Drtllib.h1208 struct rtllib_txb *txb; member
1695 int (*hard_start_xmit)(struct rtllib_txb *txb,
1942 void rtllib_txb_free(struct rtllib_txb *txb);
1980 void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee);
/linux-5.19.10/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.h337 u8 txb[6]; member
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()
Dks8851_common.c553 struct sk_buff *txb = skb_dequeue(&ks->txq); in ks8851_net_stop() local
556 "%s: freeing txb %p\n", __func__, txb); in ks8851_net_stop()
558 dev_kfree_skb(txb); in ks8851_net_stop()
/linux-5.19.10/Documentation/devicetree/bindings/media/i2c/
Dadv748x.yaml38 - 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 ]
47 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
[all …]
/linux-5.19.10/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-5.19.10/drivers/media/i2c/adv748x/
Dadv748x-core.c526 adv748x_tx_power(&state->txb, 1); in adv748x_reset()
527 adv748x_tx_power(&state->txb, 0); in adv748x_reset()
537 if (is_tx_enabled(&state->txb)) { in adv748x_reset()
539 adv748x_csi2_set_virtual_channel(&state->txb, 0); in adv748x_reset()
644 state->txb.num_lanes = num_lanes; in adv748x_parse_csi2_lanes()
645 state->txb.active_lanes = num_lanes; in adv748x_parse_csi2_lanes()
646 adv_dbg(state, "TXB: using %u lanes\n", state->txb.num_lanes); in adv748x_parse_csi2_lanes()
732 state->txa.state = state->txb.state = state; in adv748x_probe()
734 state->txb.page = ADV748X_PAGE_TXB; in adv748x_probe()
736 state->txb.port = ADV748X_PORT_TXB; in adv748x_probe()
[all …]
Dadv748x.h96 #define is_txb(_tx) ((_tx) == &(_tx)->state->txb)
198 struct adv748x_csi2 txb; member
/linux-5.19.10/drivers/spi/
Dspi-loopback-test.c570 u8 rxb, txb; in spi_test_check_loopback_result() local
593 txb = ((u8 *)xfer->tx_buf)[i]; in spi_test_check_loopback_result()
595 if (txb != rxb) in spi_test_check_loopback_result()
600 txb = ((u8 *)xfer->rx_buf)[0]; in spi_test_check_loopback_result()
602 if (!((txb == 0) || (txb == 0xff))) { in spi_test_check_loopback_result()
605 txb); in spi_test_check_loopback_result()
611 if (rxb != txb) in spi_test_check_loopback_result()
622 i, txb, rxb); in spi_test_check_loopback_result()
/linux-5.19.10/Documentation/devicetree/bindings/sound/
Dfsl,asrc.txt25 - dma-names : Contains "rxa", "rxb", "rxc", "txa", "txb" and "txc".
77 "txa", "txb", "txc";
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/arch/arm64/boot/dts/renesas/
Dsalvator-common.dtsi524 "infoframe", "cbus", "cec", "sdp", "txa", "txb" ;

12