| /openbsd-src/sys/arch/riscv64/stand/efiboot/ |
| H A D | efipxe.c | 53 static EFI_PHYSICAL_ADDRESS txbuf; variable 330 EFI_SIZE_TO_PAGES(RECV_SIZE), &txbuf); in tftpopen() 335 BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE)); in tftpopen() 352 BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE)); in tftpclose() 353 txbuf = 0; in tftpclose() 490 memcpy((void *)txbuf, pkt, len); in efinet_put() 491 status = net->Transmit(net, 0, len, (void *)txbuf, NULL, NULL, NULL); in efinet_put()
|
| /openbsd-src/sys/arch/armv7/stand/efiboot/ |
| H A D | efipxe.c | 53 static EFI_PHYSICAL_ADDRESS txbuf; variable 330 EFI_SIZE_TO_PAGES(RECV_SIZE), &txbuf); in tftpopen() 335 BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE)); in tftpopen() 352 BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE)); in tftpclose() 353 txbuf = 0; in tftpclose() 490 memcpy((void *)txbuf, pkt, len); in efinet_put() 491 status = net->Transmit(net, 0, len, (void *)txbuf, NULL, NULL, NULL); in efinet_put()
|
| /openbsd-src/sys/arch/arm64/stand/efiboot/ |
| H A D | efipxe.c | 53 static EFI_PHYSICAL_ADDRESS txbuf; variable 330 EFI_SIZE_TO_PAGES(RECV_SIZE), &txbuf); in tftpopen() 335 BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE)); in tftpopen() 352 BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE)); in tftpclose() 353 txbuf = 0; in tftpclose() 490 memcpy((void *)txbuf, pkt, len); in efinet_put() 491 status = net->Transmit(net, 0, len, (void *)txbuf, NULL, NULL, NULL); in efinet_put()
|
| /openbsd-src/sys/dev/pci/drm/i915/display/ |
| H A D | intel_dp_aux.c | 423 intel_dp_aux_header(u8 txbuf[HEADER_SIZE], in intel_dp_aux_header() 426 txbuf[0] = (msg->request << 4) | ((msg->address >> 16) & 0xf); in intel_dp_aux_header() 427 txbuf[1] = (msg->address >> 8) & 0xff; in intel_dp_aux_header() 428 txbuf[2] = msg->address & 0xff; in intel_dp_aux_header() 429 txbuf[3] = msg->size - 1; in intel_dp_aux_header() 451 u8 txbuf[20], rxbuf[20]; in intel_dp_aux_transfer() local 456 intel_dp_aux_header(txbuf, msg); in intel_dp_aux_transfer() 471 memcpy(txbuf + HEADER_SIZE, msg->buffer, msg->size); in intel_dp_aux_transfer() 473 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer() 496 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer()
|
| /openbsd-src/sys/dev/pci/drm/apple/ |
| H A D | afk.c | 321 void *rxbuf, *txbuf; in afk_recv_handle_reply() local 368 txbuf = service->cmds[idx].txbuf; in afk_recv_handle_reply() 375 rxbuf = txbuf = NULL; in afk_recv_handle_reply() 385 if (txbuf && txlen) in afk_recv_handle_reply() 386 dma_free_coherent(ep->dcp->dev, txlen, txbuf, txbuf_dma); in afk_recv_handle_reply() 843 void *rxbuf, *txbuf; in afk_send_command() local 855 txbuf = dma_alloc_coherent(ep->dcp->dev, payload_len, &txbuf_dma, in afk_send_command() 857 if (!txbuf) { in afk_send_command() 862 memcpy(txbuf, payload, payload_len); in afk_send_command() 868 cmd.txbuf = cpu_to_le64(txbuf_dma); in afk_send_command() [all …]
|
| H A D | afk.h | 25 void *txbuf; member 108 __le64 txbuf; member
|
| /openbsd-src/sys/dev/pci/ |
| H A D | if_igc.c | 965 struct igc_tx_buf *txbuf; in igc_start() local 1003 txbuf = &txr->tx_buffers[prod]; in igc_start() 1004 map = txbuf->map; in igc_start() 1048 txbuf->m_head = m; in igc_start() 1049 txbuf->eop_index = last; in igc_start() 1076 struct igc_tx_buf *txbuf; in igc_txeof() local 1094 txbuf = &txr->tx_buffers[cons]; in igc_txeof() 1095 last = txbuf->eop_index; in igc_txeof() 1101 map = txbuf->map; in igc_txeof() 1106 m_freem(txbuf in igc_txeof() 1840 struct igc_tx_buf *txbuf; igc_allocate_transmit_buffers() local 2001 struct igc_tx_buf *txbuf; igc_free_transmit_buffers() local [all...] |
| H A D | if_ix.c | 1429 struct ixgbe_tx_buf *txbuf; in ixgbe_encap() 1442 txbuf = &txr->tx_buffers[first]; in ixgbe_encap() 1443 map = txbuf->map; in ixgbe_encap() 1494 txbuf->m_head = m_head; in ixgbe_encap() 1495 txbuf->eop_index = last; in ixgbe_encap() 1504 bus_dmamap_unload(txr->txdma.dma_tag, txbuf->map); in ixgbe_encap() 2255 struct ixgbe_tx_buf *txbuf; in ixgbe_allocate_transmit_buffers() 2269 txbuf = &txr->tx_buffers[i]; in ixgbe_allocate_transmit_buffers() 2272 BUS_DMA_NOWAIT, &txbuf->map); in ixgbe_allocate_transmit_buffers() 1433 struct ixgbe_tx_buf *txbuf; ixgbe_encap() local 2259 struct ixgbe_tx_buf *txbuf; ixgbe_allocate_transmit_buffers() local
|
| H A D | if_ngbe.c | 1382 struct ngbe_tx_buf *txbuf; in ngbe_allocate_transmit_buffers() local 1397 txbuf = &txr->tx_buffers[i]; in ngbe_allocate_transmit_buffers() 1400 &txbuf->map); in ngbe_allocate_transmit_buffers() 2636 struct ngbe_tx_buf *txbuf; in ngbe_encap() local 2648 txbuf = &txr->tx_buffers[first]; in ngbe_encap() 2649 map = txbuf->map; in ngbe_encap() 2699 txbuf->m_head = m; in ngbe_encap() 2700 txbuf->eop_index = last; in ngbe_encap() 2707 bus_dmamap_unload(txr->txdma.dma_tag, txbuf->map); in ngbe_encap()
|
| /openbsd-src/sys/dev/fdt/ |
| H A D | rkiic.c | 240 uint8_t txbuf[32]; in rkiic_write() local 248 txbuf[len++] = addr << 1; in rkiic_write() 250 txbuf[len++] = ((uint8_t *)cmd)[i]; in rkiic_write() 252 txbuf[len++] = ((uint8_t *)buf)[i]; in rkiic_write() 256 *((uint32_t *)&txbuf[i])); in rkiic_write()
|
| /openbsd-src/sys/dev/ic/ |
| H A D | acx.c | 2175 acx_encap(struct acx_softc *sc, struct acx_txbuf *txbuf, struct mbuf *m, in acx_encap() argument 2185 if (txbuf->tb_mbuf != NULL) in acx_encap() 2198 error = bus_dmamap_load_mbuf(sc->sc_dmat, txbuf->tb_mbuf_dmamap, m, in acx_encap() 2214 txbuf->tb_mbuf_dmamap, m, BUS_DMA_NOWAIT); in acx_encap() 2224 bus_dmamap_sync(sc->sc_dmat, txbuf->tb_mbuf_dmamap, 0, in acx_encap() 2225 txbuf->tb_mbuf_dmamap->dm_mapsize, BUS_DMASYNC_PREWRITE); in acx_encap() 2227 txbuf->tb_mbuf = m; in acx_encap() 2228 txbuf->tb_node = node; in acx_encap() 2229 txbuf->tb_rate = rate; in acx_encap() 2250 paddr = txbuf->tb_mbuf_dmamap->dm_segs[0].ds_addr; in acx_encap() [all …]
|
| /openbsd-src/sys/arch/armv7/sunxi/ |
| H A D | sxie.c | 478 uint32_t txbuf[SXIE_MAX_PKT_SIZE / sizeof(uint32_t)]; /* XXX !!! */ in sxie_start() local 484 td = (uint8_t *)&txbuf[0]; in sxie_start()
|