| /linux/net/rxrpc/ |
| H A D | txbuf.c | 22 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 in rxrpc_alloc_data_txbuf() 63 rxrpc_get_txbuf(struct rxrpc_txbuf * txb,enum rxrpc_txbuf_trace what) rxrpc_get_txbuf() argument 71 rxrpc_see_txbuf(struct rxrpc_txbuf * txb,enum rxrpc_txbuf_trace what) rxrpc_see_txbuf() argument 78 rxrpc_free_txbuf(struct rxrpc_txbuf * txb) rxrpc_free_txbuf() argument 88 rxrpc_put_txbuf(struct rxrpc_txbuf * txb,enum rxrpc_txbuf_trace what) rxrpc_put_txbuf() argument [all...] |
| H A D | rxkad.c | 150 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->crypto_header = 0; in rxkad_alloc_txbuf() 181 txb->sec_header = shdr; in rxkad_alloc_txbuf() 182 txb->offset += shdr; in rxkad_alloc_txbuf() 183 txb->space = part; in rxkad_alloc_txbuf() 184 return txb; 259 struct rxrpc_txbuf *txb, in rxkad_secure_packet_auth() 262 struct rxkad_level1_hdr *hdr = txb in rxkad_secure_packet_auth() 257 rxkad_secure_packet_auth(const struct rxrpc_call * call,struct rxrpc_txbuf * txb,struct skcipher_request * req) rxkad_secure_packet_auth() argument 298 rxkad_secure_packet_encrypt(const struct rxrpc_call * call,struct rxrpc_txbuf * txb,struct skcipher_request * req) rxkad_secure_packet_encrypt() argument 338 rxkad_secure_packet(struct rxrpc_call * call,struct rxrpc_txbuf * txb) rxkad_secure_packet() argument [all...] |
| H A D | rxgk.c | 287 struct rxrpc_txbuf *txb; in rxgk_alloc_txbuf() local 325 txb = rxrpc_alloc_data_txbuf(call, alloc, 16, gfp); in rxgk_alloc_txbuf() 326 if (!txb) in rxgk_alloc_txbuf() 329 txb->crypto_header = offset; in rxgk_alloc_txbuf() 330 txb->sec_header = shdr; in rxgk_alloc_txbuf() 331 txb->offset += offset + shdr; in rxgk_alloc_txbuf() 332 txb->space = part; in rxgk_alloc_txbuf() 336 memset(txb->data + alloc - gap, 0, gap); in rxgk_alloc_txbuf() 337 return txb; in rxgk_alloc_txbuf() 345 struct rxrpc_txbuf *txb) in rxgk_secure_packet_integrity() argument [all …]
|
| H A D | sendmsg.c | 242 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_mor in rxrpc_send_data() [all...] |
| H A D | insecure.c | 25 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()
|
| H A D | output.c | 430 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 …]
|
| H A D | call_event.c | 65 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()
|
| H A D | ar-internal.h | 935 static inline bool rxrpc_sending_to_server(const struct rxrpc_txbuf *txb) in rxrpc_sending_to_server() argument 937 return txb->flags & RXRPC_CLIENT_INITIATED; in rxrpc_sending_to_server() 940 static inline bool rxrpc_sending_to_client(const struct rxrpc_txbuf *txb) in rxrpc_sending_to_client() argument 942 return !rxrpc_sending_to_server(txb); in rxrpc_sending_to_client() 1513 void rxrpc_see_txbuf(struct rxrpc_txbuf *txb, enum rxrpc_txbuf_trace what); 1514 void rxrpc_put_txbuf(struct rxrpc_txbuf *txb, enum rxrpc_txbuf_trace what);
|
| /linux/drivers/net/ethernet/micrel/ |
| H A D | ks8851_spi.c | 120 __le16 txb[2]; in ks8851_wrreg16_spi() local 123 txb[0] = cpu_to_le16(MK_OP(reg & 2 ? 0xC : 0x03, reg) | KS_SPIOP_WR); in ks8851_wrreg16_spi() 124 txb[1] = cpu_to_le16(val); in ks8851_wrreg16_spi() 126 xfer->tx_buf = txb; in ks8851_wrreg16_spi() 151 __le16 *txb = (__le16 *)ks->txd; in ks8851_rdreg() local 155 txb[0] = cpu_to_le16(op | KS_SPIOP_RD); in ks8851_rdreg() 161 xfer->tx_buf = txb; in ks8851_rdreg() 173 xfer->tx_buf = txb; in ks8851_rdreg() 216 u8 txb[1]; in ks8851_rdfifo_spi() local 223 txb[0] = KS_SPIOP_RXFIFO; in ks8851_rdfifo_spi() [all …]
|
| H A D | ks8851.h | 329 * @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/drivers/media/i2c/adv748x/ |
| H A D | adv748x-core.c | 56 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 …]
|
| H A D | adv748x-csi2.c | 108 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()
|
| /linux/drivers/net/ethernet/vertexcom/ |
| H A D | mse102x.c | 158 __be16 txb[2]; in mse102x_tx_cmd_spi() local 161 txb[0] = cpu_to_be16(DET_CMD); in mse102x_tx_cmd_spi() 162 txb[1] = cpu_to_be16(cmd); in mse102x_tx_cmd_spi() 164 xfer->tx_buf = txb; in mse102x_tx_cmd_spi() 181 __be16 *txb = (__be16 *)mse->txd; in mse102x_rx_cmd_spi() local 186 txb[0] = 0; in mse102x_rx_cmd_spi() 187 txb[1] = 0; in mse102x_rx_cmd_spi() 189 xfer->tx_buf = txb; in mse102x_rx_cmd_spi() 381 static int mse102x_tx_pkt_spi(struct mse102x_net *mse, struct sk_buff *txb, in mse102x_tx_pkt_spi() argument 390 if (txb->len < ETH_ZLEN) in mse102x_tx_pkt_spi() [all …]
|
| /linux/drivers/net/ethernet/adi/ |
| H A D | adin1110.c | 370 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/drivers/net/can/ctucanfd/ |
| H A D | ctucanfd_base.c | 609 netdev_err(ndev, "BUG!, no TXB free when queue awake!\n"); in ctucan_start_xmit() 614 ctucan_netdev_dbg(ndev, "%s: using TXB#%u\n", __func__, txtb_id); in ctucan_start_xmit() 1006 * if txb[n].finished (bit 2) in ctucan_tx_interrupt() 1019 ctucan_netdev_dbg(ndev, "TXI: TXB#%u: status 0x%x\n", txtb_id, txtb_status); in ctucan_tx_interrupt() 1033 netdev_warn(ndev, "TXB in Error state\n"); in ctucan_tx_interrupt() 1042 netdev_warn(ndev, "TXB in Aborted state\n"); in ctucan_tx_interrupt() 1052 "BUG: TXB#%u not in a finished state (0x%x)!\n", in ctucan_tx_interrupt() 1159 netdev_err(ndev, "txb[%d] txb status=0x%08x\n", i, status); in ctucan_interrupt()
|
| /linux/drivers/net/fjes/ |
| H A D | fjes_hw.h | 74 #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/Documentation/networking/device_drivers/can/ctu/ |
| H A D | ctucanfd-driver.rst | 412 :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/drivers/net/ethernet/mscc/ |
| H A D | ocelot_fdma.c | 725 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/drivers/usb/host/ |
| H A D | fhci-dbg.c | 66 "RXB: %d\n" "TXB: %d\n" "BSY: %d\n" in fhci_dfs_irq_stat_show()
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | wlan.c | 842 u8 *txb = wilc->tx_buffer; in wilc_wlan_handle_txq() local 1054 memcpy(&txb[offset], &header, 4); in wilc_wlan_handle_txq() 1062 memcpy(&txb[offset + 4], &prio, sizeof(prio)); in wilc_wlan_handle_txq() 1063 memcpy(&txb[offset + 8], bssid, 6); in wilc_wlan_handle_txq() 1068 memcpy(&txb[offset + buffer_offset], in wilc_wlan_handle_txq() 1091 ret = func->hif_block_tx_ext(wilc, 0, txb, offset); in wilc_wlan_handle_txq()
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | ipw2200.c | 3726 q->txb = kmalloc_array(count, sizeof(q->txb[0]), GFP_KERNEL); in ipw_queue_tx_init() 3727 if (!q->txb) in ipw_queue_tx_init() 3736 kfree(q->txb); in ipw_queue_tx_init() 3737 q->txb = NULL; in ipw_queue_tx_init() 3778 if (txq->txb[txq->q.last_used]) { in ipw_queue_tx_free_tfd() 3779 libipw_txb_free(txq->txb[txq->q.last_used]); in ipw_queue_tx_free_tfd() 3780 txq->txb[txq->q.last_used] = NULL; in ipw_queue_tx_free_tfd() 3811 kfree(txq->txb); in ipw_queue_tx_free() 5003 txq->txb[q->first_empty] = NULL; in ipw_queue_tx_hcmd() 10047 static int ipw_tx_skb(struct ipw_priv *priv, struct libipw_txb *txb, in ipw_tx_skb() argument [all …]
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | r8a77970-eagle-function-expansion.dtso | 115 "infoframe", "cbus", "cec", "sdp", "txa", "txb" ;
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8-ss-audio.dtsi | 159 dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc"; 486 dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc";
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw8822b.c | 311 /* TXA+RXA or TXB+RXB */ in rtw8822b_set_channel_rfe_efem() 314 /* TXB+RXA or TXA+RXB */ in rtw8822b_set_channel_rfe_efem() 341 /* TXA+RXA or TXB+RXB */ in rtw8822b_set_channel_rfe_ifem() 344 /* TXB+RXA or TXA+RXB */ in rtw8822b_set_channel_rfe_ifem()
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qmp-combo.c | 1753 u16 txb; member 1928 .txb = 0x1600, 1944 .txb = 0x0a00, 1958 .txb = 0x1800, 4072 qmp->tx2 = base + offs->txb; in qmp_combo_parse_dt() 4086 qmp->dp_tx2 = base + offs->txb; in qmp_combo_parse_dt()
|