Home
last modified time | relevance | path

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

12

/linux-6.14.4/net/rxrpc/
Dtxbuf.c22 struct rxrpc_txbuf *txb; in rxrpc_alloc_data_txbuf() local
26 txb = kzalloc(sizeof(*txb), gfp); in rxrpc_alloc_data_txbuf()
27 if (!txb) in rxrpc_alloc_data_txbuf()
42 kfree(txb); in rxrpc_alloc_data_txbuf()
46 refcount_set(&txb->ref, 1); in rxrpc_alloc_data_txbuf()
47 txb->call_debug_id = call->debug_id; in rxrpc_alloc_data_txbuf()
48 txb->debug_id = atomic_inc_return(&rxrpc_txbuf_debug_ids); in rxrpc_alloc_data_txbuf()
49 txb->alloc_size = data_size; in rxrpc_alloc_data_txbuf()
50 txb->space = data_size; in rxrpc_alloc_data_txbuf()
51 txb->offset = 0; in rxrpc_alloc_data_txbuf()
[all …]
Drxkad.c150 struct rxrpc_txbuf *txb; in rxkad_alloc_txbuf() local
176 txb = rxrpc_alloc_data_txbuf(call, alloc, RXKAD_ALIGN, gfp); in rxkad_alloc_txbuf()
177 if (!txb) in rxkad_alloc_txbuf()
180 txb->offset += shdr; in rxkad_alloc_txbuf()
181 txb->space = part; in rxkad_alloc_txbuf()
182 return txb; in rxkad_alloc_txbuf()
257 struct rxrpc_txbuf *txb, in rxkad_secure_packet_auth() argument
260 struct rxkad_level1_hdr *hdr = txb->data; in rxkad_secure_packet_auth()
268 check = txb->seq ^ call->call_id; in rxkad_secure_packet_auth()
269 hdr->data_size = htonl((u32)check << 16 | txb->len); in rxkad_secure_packet_auth()
[all …]
Dsendmsg.c242 struct rxrpc_txbuf *txb, in rxrpc_queue_packet() argument
246 rxrpc_seq_t seq = txb->seq; in rxrpc_queue_packet()
247 bool poke, last = txb->flags & RXRPC_LAST_PACKET; in rxrpc_queue_packet()
251 ASSERTCMP(txb->seq, ==, call->send_top + 1); in rxrpc_queue_packet()
265 sq->bufs[ix] = txb; in rxrpc_queue_packet()
266 /* Order send_top after the queue->next pointer and txb content. */ in rxrpc_queue_packet()
326 struct rxrpc_txbuf *txb; in rxrpc_send_data() local
356 txb = call->tx_pending; in rxrpc_send_data()
358 if (txb) in rxrpc_send_data()
359 rxrpc_see_txbuf(txb, rxrpc_txbuf_see_send_more); in rxrpc_send_data()
[all …]
Dinsecure.c25 static int none_secure_packet(struct rxrpc_call *call, struct rxrpc_txbuf *txb) in none_secure_packet() argument
27 txb->pkt_len = txb->len; in none_secure_packet()
28 if (txb->len == RXRPC_JUMBO_DATALEN) in none_secure_packet()
29 txb->jumboable = true; in none_secure_packet()
Doutput.c430 struct rxrpc_txbuf *txb, in rxrpc_prepare_data_subpacket() argument
434 struct rxrpc_jumbo_header *jumbo = txb->data - sizeof(*jumbo); in rxrpc_prepare_data_subpacket()
438 size_t len = txb->pkt_len; in rxrpc_prepare_data_subpacket()
442 _enter("%x,%zd", txb->seq, len); in rxrpc_prepare_data_subpacket()
444 txb->serial = serial; in rxrpc_prepare_data_subpacket()
447 txb->seq == 1) in rxrpc_prepare_data_subpacket()
450 txb->flags &= ~RXRPC_REQUEST_ACK; in rxrpc_prepare_data_subpacket()
451 flags = txb->flags & RXRPC_TXBUF_WIRE_FLAGS; in rxrpc_prepare_data_subpacket()
452 last = txb->flags & RXRPC_LAST_PACKET; in rxrpc_prepare_data_subpacket()
466 if (last && rxrpc_sending_to_client(txb)) in rxrpc_prepare_data_subpacket()
[all …]
Dcall_event.c65 struct rxrpc_txbuf *txb = tq->bufs[ix]; in rxrpc_retransmit_data() local
67 _enter("%x,%x,%x,%x", tq->qbase, req->seq, ix, txb->debug_id); in rxrpc_retransmit_data()
70 trace_rxrpc_retransmit(call, req, txb); in rxrpc_retransmit_data()
72 txb->flags |= RXRPC_TXBUF_RESENT; in rxrpc_retransmit_data()
112 struct rxrpc_txbuf *txb = tq->bufs[ix]; in rxrpc_resend() local
115 rxrpc_see_txbuf(txb, rxrpc_txbuf_see_lost); in rxrpc_resend()
213 struct rxrpc_txbuf *txb; in rxrpc_transmit_fresh_data() local
241 txb = tq->bufs[ix]; in rxrpc_transmit_fresh_data()
243 if (!txb->jumboable) in rxrpc_transmit_fresh_data()
247 if (txb->flags & RXRPC_LAST_PACKET) { in rxrpc_transmit_fresh_data()
/linux-6.14.4/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 = kzalloc(struct_size(txb, fragments, nr_frags), gfp_mask); in libipw_alloc_txb()
184 if (!txb) in libipw_alloc_txb()
187 txb->nr_frags = nr_frags; in libipw_alloc_txb()
[all …]
Dipw2100.c2913 libipw_txb_free(packet->info.d_struct.txb); in __ipw2100_tx_process()
2914 packet->info.d_struct.txb = NULL; in __ipw2100_tx_process()
3069 if (unlikely(1 + packet->info.d_struct.txb->nr_frags > in ipw2100_tx_send_data()
3078 if (txq->available <= 3 + packet->info.d_struct.txb->nr_frags) { in ipw2100_tx_send_data()
3091 hdr = (struct libipw_hdr_3addr *)packet->info.d_struct.txb-> in ipw2100_tx_send_data()
3111 ipw_hdr->encrypted = packet->info.d_struct.txb->encrypted; in ipw2100_tx_send_data()
3112 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
3114 packet->info.d_struct.txb->frag_size - in ipw2100_tx_send_data()
3121 tbd->num_fragments = 1 + packet->info.d_struct.txb->nr_frags; in ipw2100_tx_send_data()
3131 if (packet->info.d_struct.txb->nr_frags > 1) in ipw2100_tx_send_data()
[all …]
/linux-6.14.4/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-6.14.4/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-6.14.4/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.c108 adv_dbg(state, "Registered %s (%s)", is_txa(tx) ? "TXA":"TXB", in adv748x_csi2_registered()
112 * Link TXA to AFE and HDMI, and TXB to AFE only as TXB cannot output in adv748x_csi2_registered()
115 * The HDMI->TXA link is enabled by default, as is the AFE->TXB one. in adv748x_csi2_registered()
125 /* TXB can output AFE signals only. */ in adv748x_csi2_registered()
341 is_txa(tx) ? "txa" : "txb"); in adv748x_csi2_init()
Dadv748x.h95 #define is_txb(_tx) ((_tx) == &(_tx)->state->txb)
181 * @txb: state of TXB transmitter context
196 struct adv748x_csi2 txb; member
379 /* CSI : TXA/TXB Maps */
/linux-6.14.4/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()
372 static int mse102x_tx_pkt_spi(struct mse102x_net *mse, struct sk_buff *txb, in mse102x_tx_pkt_spi() argument
381 if (txb->len < ETH_ZLEN) in mse102x_tx_pkt_spi()
[all …]
/linux-6.14.4/drivers/net/ethernet/adi/
Dadin1110.c370 struct sk_buff *txb) in adin1110_write_fifo() argument
385 if (txb->len + ADIN1110_FEC_LEN < 64) in adin1110_write_fifo()
386 padding = 64 - (txb->len + ADIN1110_FEC_LEN); in adin1110_write_fifo()
388 padded_len = txb->len + padding + ADIN1110_FRAME_HEADER_LEN; in adin1110_write_fifo()
414 txb->data, txb->len); in adin1110_write_fifo()
420 port_priv->tx_bytes += txb->len; in adin1110_write_fifo()
968 struct sk_buff *txb; in adin1110_tx_work() local
976 while ((txb = skb_dequeue(&port_priv->txq))) { in adin1110_tx_work()
977 ret = adin1110_write_fifo(port_priv, txb); in adin1110_tx_work()
982 dev_kfree_skb(txb); in adin1110_tx_work()
/linux-6.14.4/drivers/spi/
Dspi-loopback-test.c607 u8 rxb, txb; in spi_test_check_loopback_result() local
630 txb = ((u8 *)xfer->tx_buf)[i]; in spi_test_check_loopback_result()
632 if (txb != rxb) in spi_test_check_loopback_result()
637 txb = ((u8 *)xfer->rx_buf)[0]; in spi_test_check_loopback_result()
639 if (!((txb == 0) || (txb == 0xff))) { in spi_test_check_loopback_result()
642 txb); in spi_test_check_loopback_result()
648 if (rxb != txb) in spi_test_check_loopback_result()
659 i, txb, rxb); in spi_test_check_loopback_result()
/linux-6.14.4/Documentation/devicetree/bindings/sound/
Dfsl,imx-asrc.yaml49 - const: txb
173 "txa", "txb", "txc";
Dapple,mca.yaml52 as associated to the TXA, RXA, TXB, RXB units.
/linux-6.14.4/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()
1005 * if txb[n].finished (bit 2) in ctucan_tx_interrupt()
1018 ctucan_netdev_dbg(ndev, "TXI: TXB#%u: status 0x%x\n", txtb_id, txtb_status); in ctucan_tx_interrupt()
1032 netdev_warn(ndev, "TXB in Error state\n"); in ctucan_tx_interrupt()
1041 netdev_warn(ndev, "TXB in Aborted state\n"); in ctucan_tx_interrupt()
1051 "BUG: TXB#%u not in a finished state (0x%x)!\n", in ctucan_tx_interrupt()
1158 netdev_err(ndev, "txb[%d] txb status=0x%08x\n", i, status); in ctucan_interrupt()
/linux-6.14.4/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-6.14.4/Documentation/networking/device_drivers/can/ctu/
Dctucanfd-driver.rst412 :math:`txb\_head \equiv txb\_tail\ (\textrm{mod}\ 4)`. An example of how
418 | TXB# | 0 | 1 | 2 | 3 |
430 | TXB# | 0 | 1 | 2 | 3 |
442 | TXB# | 0 | 1 | 2 | 3 | 0’ |
/linux-6.14.4/drivers/net/ethernet/mscc/
Docelot_fdma.c725 struct ocelot_fdma_tx_buf *txb; in ocelot_fdma_free_tx_ring() local
733 txb = &tx_ring->bufs[idx]; in ocelot_fdma_free_tx_ring()
734 skb = txb->skb; in ocelot_fdma_free_tx_ring()
735 dma_unmap_single(ocelot->dev, dma_unmap_addr(txb, dma_addr), in ocelot_fdma_free_tx_ring()
/linux-6.14.4/drivers/net/ethernet/atheros/alx/
Dmain.c55 struct alx_buffer *txb = &txq->bufs[entry]; in alx_free_txbuf() local
57 if (dma_unmap_len(txb, size)) { in alx_free_txbuf()
59 dma_unmap_addr(txb, dma), in alx_free_txbuf()
60 dma_unmap_len(txb, size), in alx_free_txbuf()
62 dma_unmap_len_set(txb, size, 0); in alx_free_txbuf()
65 if (txb->skb) { in alx_free_txbuf()
66 dev_kfree_skb_any(txb->skb); in alx_free_txbuf()
67 txb->skb = NULL; in alx_free_txbuf()
/linux-6.14.4/drivers/usb/host/
Dfhci-dbg.c66 "RXB: %d\n" "TXB: %d\n" "BSY: %d\n" in fhci_dfs_irq_stat_show()

12