| /src/sys/contrib/dev/athk/ath10k/ |
| H A D | htt_tx.c | 231 if (!htt->txbuf.vaddr_txbuff_32) in ath10k_htt_tx_free_cont_txbuf_32() 234 size = htt->txbuf.size; in ath10k_htt_tx_free_cont_txbuf_32() 235 dma_free_coherent(ar->dev, size, htt->txbuf.vaddr_txbuff_32, in ath10k_htt_tx_free_cont_txbuf_32() 236 htt->txbuf.paddr); in ath10k_htt_tx_free_cont_txbuf_32() 237 htt->txbuf.vaddr_txbuff_32 = NULL; in ath10k_htt_tx_free_cont_txbuf_32() 248 htt->txbuf.vaddr_txbuff_32 = dma_alloc_coherent(ar->dev, size, in ath10k_htt_tx_alloc_cont_txbuf_32() 249 &htt->txbuf.paddr, in ath10k_htt_tx_alloc_cont_txbuf_32() 251 if (!htt->txbuf.vaddr_txbuff_32) in ath10k_htt_tx_alloc_cont_txbuf_32() 254 htt->txbuf.size = size; in ath10k_htt_tx_alloc_cont_txbuf_32() 264 if (!htt->txbuf.vaddr_txbuff_64) in ath10k_htt_tx_free_cont_txbuf_64() [all …]
|
| H A D | htt.h | 1931 } txbuf; member
|
| /src/sys/dev/irdma/ |
| H A D | irdma_puda.c | 1314 struct irdma_puda_buf *txbuf, in irdma_ieq_copy_to_txbuf() argument 1318 void *mem2 = (u8 *)txbuf->mem.va + txbuf_offset; in irdma_ieq_copy_to_txbuf() 1330 struct irdma_puda_buf *txbuf) in irdma_ieq_setup_tx_buf() argument 1332 txbuf->tcphlen = buf->tcphlen; in irdma_ieq_setup_tx_buf() 1333 txbuf->ipv4 = buf->ipv4; in irdma_ieq_setup_tx_buf() 1336 txbuf->hdrlen = txbuf->tcphlen; in irdma_ieq_setup_tx_buf() 1337 irdma_ieq_copy_to_txbuf(buf, txbuf, IRDMA_TCP_OFFSET, 0, in irdma_ieq_setup_tx_buf() 1338 txbuf->hdrlen); in irdma_ieq_setup_tx_buf() 1340 txbuf->maclen = buf->maclen; in irdma_ieq_setup_tx_buf() 1341 txbuf->hdrlen = buf->hdrlen; in irdma_ieq_setup_tx_buf() [all …]
|
| /src/crypto/openssl/demos/sslecho/ |
| H A D | main.c | 149 char *txbuf; in main() local 321 txbuf = fgets(buffer, BUFFERSIZE, stdin); in main() 324 if (txbuf == NULL) { in main() 328 if (txbuf[0] == '\n') { in main() 332 if ((result = SSL_write(ssl, txbuf, strlen(txbuf))) <= 0) { in main()
|
| /src/sys/netinet/ |
| H A D | tcp_log_buf.h | 464 #define TCP_LOG_EVENT_VERBOSE(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder… argument 467 tcp_log_event(tp, th, rxbuf, txbuf, eventid, \ 530 #define TCP_LOG_EVENT(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder) \ argument 533 TCP_LOG_EVENT_VERBOSE(tp, th, rxbuf, txbuf, \ 537 tcp_log_event(tp, th, rxbuf, txbuf, eventid, \ 543 #define TCP_LOG_EVENTP(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder, tv) \ argument 546 tcp_log_event(tp, th, rxbuf, txbuf, eventid, errornum, len, \ 556 struct sockbuf *txbuf, uint8_t eventid, int errornum, uint32_t len, 581 struct sockbuf *txbuf, uint8_t eventid, int errornum, uint32_t len, in tcp_log_event() argument
|
| H A D | tcp_log_buf.c | 1685 struct sockbuf *txbuf, uint8_t eventid, int errornum, uint32_t len, in tcp_log_event() argument 1843 if (txbuf != NULL) { in tcp_log_event() 1845 log_buf->tlb_txbuf.tls_sb_acc = txbuf->sb_acc; in tcp_log_event() 1846 log_buf->tlb_txbuf.tls_sb_ccc = txbuf->sb_ccc; in tcp_log_event()
|
| /src/sys/dev/mmc/ |
| H A D | mmcspi.c | 1184 uint8_t txbuf[8]; in mmcspi_send_cmd() local 1203 txbuf[0] = 0xff; in mmcspi_send_cmd() 1205 txbuf[1] = 0x40 | (opcode & 0x3f); in mmcspi_send_cmd() 1206 txbuf[2] = arg >> 24; in mmcspi_send_cmd() 1207 txbuf[3] = (arg >> 16) & 0xff; in mmcspi_send_cmd() 1208 txbuf[4] = (arg >> 8) & 0xff; in mmcspi_send_cmd() 1209 txbuf[5] = arg & 0xff; in mmcspi_send_cmd() 1212 crc = update_crc7(CRC7_INITIAL, &txbuf[1], 5); in mmcspi_send_cmd() 1216 txbuf[6] = (crc << 1) | 0x01; in mmcspi_send_cmd() 1225 txbuf[7] = 0xff; in mmcspi_send_cmd() [all …]
|
| /src/sys/arm/freescale/imx/ |
| H A D | imx_spi.c | 137 uint8_t *txbuf; member 287 WR4(sc, ECSPI_TXDATA, sc->txbuf[sc->txidx++]); in spi_fill_txfifo() 372 spi_xfer_buf(struct spi_softc *sc, void *rxbuf, void *txbuf, uint32_t len) in spi_xfer_buf() argument 379 rxbuf, txbuf, len); in spi_xfer_buf() 388 sc->txbuf = txbuf; in spi_xfer_buf()
|
| /src/sys/dev/spibus/controller/rockchip/ |
| H A D | rk_spi.c | 115 uint8_t *txbuf; member 226 RK_SPI_WRITE_4(sc, RK_SPI_TXDR, sc->txbuf[sc->txidx++]); in rk_spi_fill_txfifo() 235 rk_spi_xfer_buf(struct rk_spi_softc *sc, void *rxbuf, void *txbuf, uint32_t len) in rk_spi_xfer_buf() argument 245 sc->txbuf = txbuf; in rk_spi_xfer_buf()
|
| /src/sys/dev/neta/ |
| H A D | if_mvneta.c | 1297 struct mvneta_buf *txbuf; in mvneta_ring_dealloc_tx_queue() local 1318 txbuf = &tx->txbuf[i]; in mvneta_ring_dealloc_tx_queue() 1319 if (txbuf->dmap != NULL) { in mvneta_ring_dealloc_tx_queue() 1321 txbuf->dmap); in mvneta_ring_dealloc_tx_queue() 1406 struct mvneta_buf *txbuf; in mvneta_ring_init_tx_queue() local 1416 txbuf = &tx->txbuf[i]; in mvneta_ring_init_tx_queue() 1417 txbuf->m = NULL; in mvneta_ring_init_tx_queue() 1420 &txbuf->dmap); in mvneta_ring_init_tx_queue() 1448 struct mvneta_buf *txbuf; in mvneta_ring_flush_tx_queue() local 1456 txbuf = &tx->txbuf[i]; in mvneta_ring_flush_tx_queue() [all …]
|
| H A D | if_mvnetavar.h | 150 struct mvneta_buf txbuf[MVNETA_TX_RING_CNT]; member
|
| /src/sys/riscv/sifive/ |
| H A D | sifive_spi.c | 182 sfspi_xfer_buf(struct sfspi_softc *sc, uint8_t *rxbuf, uint8_t *txbuf, in sfspi_xfer_buf() argument 189 KASSERT(txbuf != NULL, ("TX buffer cannot be NULL")); in sfspi_xfer_buf() 193 sfspi_tx(sc, txbuf, bytes); in sfspi_xfer_buf() 194 txbuf += bytes; in sfspi_xfer_buf()
|
| /src/sys/dev/spibus/controller/allwinner/ |
| H A D | aw_spi.c | 150 uint8_t *txbuf; member 393 AW_SPI_WRITE_1(sc, AW_SPI_TXD, sc->txbuf[sc->txcnt++]); in aw_spi_fill_txfifo() 462 aw_spi_xfer(struct aw_spi_softc *sc, void *rxbuf, void *txbuf, uint32_t txlen, uint32_t rxlen) in aw_spi_xfer() argument 469 sc->txbuf = txbuf; in aw_spi_xfer()
|
| /src/contrib/ntp/ntpd/ |
| H A D | refclock_parse.c | 5050 struct txbuf struct 5056 void sendcmd (struct txbuf *buf, int c); argument 5057 void sendbyte (struct txbuf *buf, int b); 5058 void sendetx (struct txbuf *buf, struct parseunit *parse); 5059 void sendint (struct txbuf *buf, int a); 5060 void sendflt (struct txbuf *buf, double a); 5064 struct txbuf *buf, in sendcmd() 5073 void sendcmd (struct txbuf *buf, int c); 5074 void sendbyte (struct txbuf *buf, int b); 5075 void sendetx (struct txbuf *buf, struct parseunit *parse); [all …]
|
| /src/tools/tools/netmap/ |
| H A D | bridge.c | 115 char *txbuf = NETMAP_BUF(txring, ts->buf_idx); in rings_move() local 116 nm_pkt_copy(rxbuf, txbuf, ts->len); in rings_move()
|
| /src/contrib/bsnmp/snmpd/ |
| H A D | action.c | 644 value->v.integer = snmpd.txbuf; in op_snmpd_config() 666 ctx->scratch->int1 = snmpd.txbuf; in op_snmpd_config() 670 snmpd.txbuf = value->v.integer; in op_snmpd_config() 715 snmpd.txbuf = ctx->scratch->int1; in op_snmpd_config()
|
| H A D | snmpd.h | 230 u_int32_t txbuf; member
|
| H A D | main.c | 258 if ((buf = malloc(tx ? snmpd.txbuf : snmpd.rxbuf)) == NULL) { in buf_alloc() 275 return (tx ? snmpd.txbuf : snmpd.rxbuf); in buf_size() 289 resp_b.asn_len = snmpd.txbuf; in snmp_output() 669 resp_b.asn_len = snmpd.txbuf; in snmp_input_finish() 745 resp_b.asn_len = snmpd.txbuf; in snmp_input_finish()
|
| /src/sys/dev/malo/ |
| H A D | if_malo.c | 75 SYSCTL_INT(_hw_malo, OID_AUTO, txbuf, CTLFLAG_RWTUN, &malo_txbuf,
|
| /src/sys/dev/mwl/ |
| H A D | if_mwl.c | 195 SYSCTL_INT(_hw_mwl, OID_AUTO, txbuf, CTLFLAG_RWTUN, &mwl_txbuf,
|
| /src/sys/dev/ath/ |
| H A D | if_ath.c | 248 SYSCTL_INT(_hw_ath, OID_AUTO, txbuf, CTLFLAG_RWTUN, &ath_txbuf,
|