/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | davicom.c | 141 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4))); variable 441 txd[i].buf1addr = (void *)virt_to_bus(&txb[0]); /* Used same TX buffer */ 451 for (i=0; i<192; i++) txb[i] = 0xFF; 452 txb[0] = nic->node_addr[0]; 453 txb[1] = nic->node_addr[1]; 454 txb[4] = nic->node_addr[2]; 455 txb[5] = nic->node_addr[3]; 456 txb[8] = nic->node_addr[4]; 457 txb[9] = nic->node_addr[5]; 557 memcpy(&txb[ [all...] |
H A D | r8169.c | 296 static unsigned char txb[NUM_TX_DESC * RX_BUF_SIZE]; variable 512 /* point to the current txb incase multiple tx_rings are used */ 622 tpc->Tx_skbuff[i] = &txb[i]; 673 txb[i] = 0xFF; 675 txb[0] = nic->node_addr[0]; 676 txb[1] = nic->node_addr[1]; 677 txb[2] = nic->node_addr[2]; 678 txb[3] = nic->node_addr[3]; 679 txb[4] = nic->node_addr[4]; 680 txb[ [all...] |
H A D | sundance.c | 258 static unsigned char txb[PKT_BUF_SZ * TX_RING_SIZE]; variable 372 tx_ring[0].addr = virt_to_bus(&txb[0]); 377 tx_ring[1].addr = 0; /*virt_to_bus(&txb[0]); */ 429 txb[i] = 0xFF; 431 txb[0] = nic->node_addr[0]; 432 txb[1] = nic->node_addr[1]; 433 txb[2] = nic->node_addr[2]; 434 txb[3] = nic->node_addr[3]; 435 txb[4] = nic->node_addr[4]; 436 txb[ [all...] |
H A D | natsemi.c | 208 static unsigned char txb[TX_BUF_SIZE] __attribute__ ((aligned(4))); variable 509 txd.bufptr = virt_to_bus(&txb[0]); 621 memcpy(txb, d, ETH_ALEN); 622 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); 624 memcpy(txb + 2 * ETH_ALEN, (char*)&nstype, 2); 625 memcpy(txb + ETH_HLEN, p, s); 635 txb[s++] = '\0'; 638 txd.bufptr = virt_to_bus(&txb[0]);
|
H A D | sis900.c | 66 static unsigned char txb[TX_BUF_SIZE]; variable 700 txd.bufptr = virt_to_bus(&txb[0]); 1090 memcpy(txb, d, ETH_ALEN); 1091 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); 1093 memcpy(txb + 2 * ETH_ALEN, (char*)&nstype, 2); 1094 memcpy(txb + ETH_HLEN, p, s); 1104 txb[s++] = '\0'; 1107 txd.bufptr = virt_to_bus(&txb[0]);
|
H A D | ns83820.c | 380 static unsigned char txb[NR_TX_DESC * REAL_RX_BUF_SIZE]; variable 730 /* point to the current txb incase multiple tx_rings are used */ 731 memcpy(txb, d, ETH_ALEN); 732 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); 734 memcpy(txb + 2 * ETH_ALEN, (u8 *) & nstype, 2); 735 memcpy(txb + ETH_HLEN, p, s); 739 txb[s++] = '\0'; 745 tx_ring[cur_tx].bufptr = virt_to_le32desc(&txb);
|
H A D | tulip.c | 399 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4))); variable 921 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); 927 tx_ring[1].buffer1 = virt_to_le32desc(&txb[0]); 1020 txb[i] = 0xFF; 1021 txb[0] = nic->node_addr[0]; 1022 txb[1] = nic->node_addr[1]; 1023 txb[4] = nic->node_addr[2]; 1024 txb[5] = nic->node_addr[3]; 1025 txb[8] = nic->node_addr[4]; 1026 txb[ [all...] |
H A D | tlan.c | 199 static unsigned char txb[TLAN_MAX_FRAME_SIZE * TLAN_NUM_TX_LISTS]; variable 285 list->buffer[0].address = virt_to_bus(txb + 651 tail_buffer = txb + (priv->txTail * TLAN_MAX_FRAME_SIZE);
|
H A D | forcedeth.c | 299 static unsigned char txb[TX_RING * RX_NIC_BUFSIZE]; variable 848 /* point to the current txb incase multiple tx_rings are used */ 849 ptxb = txb + (nr * RX_NIC_BUFSIZE);
|
H A D | pcnet32.c | 188 static unsigned char txb[PKT_BUF_SZ * TX_RING_SIZE]; variable 594 /* point to the current txb incase multiple tx_rings are used */ 595 ptxb = txb + (lp->cur_tx * PKT_BUF_SZ); 628 /* Stop pointing at the current txb
|
/illumos-gate/usr/src/uts/common/io/afe/ |
H A D | afe.c | 1557 afe_txbuf_t *txb; local 1560 txb = kmem_zalloc(sizeof (*txb), KM_SLEEP); 1563 DDI_DMA_SLEEP, NULL, &txb->txb_dmah) != DDI_SUCCESS) { 1567 if (ddi_dma_mem_alloc(txb->txb_dmah, AFE_BUFSZ, &afe_bufattr, 1568 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &txb->txb_buf, &len, 1569 &txb->txb_acch) != DDI_SUCCESS) { 1572 if (ddi_dma_addr_bind_handle(txb->txb_dmah, NULL, txb->txb_buf, 1577 txb 1583 afe_destroytxbuf(afe_txbuf_t *txb) argument 1761 afe_txbuf_t *txb = afe_alloctxbuf(afep); local 1957 afe_txbuf_t *txb; local [all...] |
H A D | afeimpl.h | 309 #define SYNCTXBUF(txb, len, who) \ 310 (void) ddi_dma_sync(txb->txb_dmah, 0, len, who)
|
/illumos-gate/usr/src/uts/common/io/mxfe/ |
H A D | mxfe.c | 1903 mxfe_txbuf_t *txb; local 1906 txb = kmem_zalloc(sizeof (*txb), KM_SLEEP); 1909 DDI_DMA_SLEEP, NULL, &txb->txb_dmah) != DDI_SUCCESS) { 1913 if (ddi_dma_mem_alloc(txb->txb_dmah, MXFE_BUFSZ, &mxfe_bufattr, 1914 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &txb->txb_buf, 1915 &len, &txb->txb_acch) != DDI_SUCCESS) { 1918 if (ddi_dma_addr_bind_handle(txb->txb_dmah, NULL, txb->txb_buf, 1923 txb 1929 mxfe_destroytxbuf(mxfe_txbuf_t *txb) argument 2107 mxfe_txbuf_t *txb = mxfe_alloctxbuf(mxfep); local 2296 mxfe_txbuf_t *txb; local 2353 mxfe_txbuf_t *txb; local [all...] |
H A D | mxfeimpl.h | 350 #define SYNCTXBUF(txb, len, who) \ 351 (void) (ddi_dma_sync(txb->txb_dmah, 0, len, who))
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 485 char *txb; local 517 txb = DMA_VPTR(ssbdp->pbuf); 524 bcopy(bp->b_rptr, txb, 2 * ETHERADDRL); 525 txb += 2 * ETHERADDRL; 532 txb, mblen); 533 txb += mblen; 541 bcopy(bp->b_rptr, txb, mblen); 542 txb += mblen;
|
/illumos-gate/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 723 pcn_buf_t *txb; local 755 txb = pcnp->pcn_txbufs[txsend]; 756 mcopymsg(mp, txb->pb_buf); /* frees mp! */ 760 if (txb->pb_buf[0] & 0x1) { 761 if (bcmp(txb->pb_buf, pcn_broadcast, ETHERADDRL) != 0) 769 SYNCBUF(txb, len, DDI_DMA_SYNC_FORDEV); 771 tmd->pcn_tbaddr = txb->pb_paddr; 1503 pcn_buf_t *txb = pcnp->pcn_txbufs[i]; local 1506 txd->pcn_tbaddr = txb->pb_paddr; 1622 pcn_buf_t *txb local [all...] |
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 359 char *txb; local 387 txb = DMA_VPTR(ssbdp->pbuf); 393 bcopy(bp->b_rptr, txb, mblen); 394 txb += mblen;
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 1009 char *txb; local 1091 txb = &dmfep->tx_buff.mem_va[index*DMFE_BUF_SIZE]; 1101 bcopy(bp->b_rptr, txb, mblen); 1102 txb += mblen; 1111 txb = &dmfep->tx_buff.mem_va[index*DMFE_BUF_SIZE]; 1112 if (txb[0] & 0x1) { 1113 if (bcmp(txb, dmfe_broadcast_addr, ETHERADDRL) == 0) {
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 774 char *txb; local 805 txb = pbuf->dma_area.vaddr; 810 bcopy(bp->b_rptr, txb, mblen); 811 txb += mblen;
|
/illumos-gate/usr/src/uts/common/io/yge/ |
H A D | yge.c | 1666 yge_buf_t *txb; local 1690 txb = &port->p_tx_buf[prod]; 1691 mcopymsg(mp, txb->b_buf); 1692 SYNCBUF(txb, DDI_DMA_SYNC_FORDEV); 1694 PUTADDR(ring, prod, txb->b_paddr);
|