Home
last modified time | relevance | path

Searched refs:txd (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Ddavicom.c140 static struct txdesc txd[NTXD] __attribute__ ((aligned(4))); variable
436 txd[i].buf1addr = (void *)virt_to_bus(&txb[0]); /* Used same TX buffer */ in davicom_init_chain()
437 txd[i].buf2addr = (void *)virt_to_bus(&txd[i+1]); /* Point to Next TX desc */ in davicom_init_chain()
438 txd[i].buf1sz = 0; in davicom_init_chain()
439 txd[i].buf2sz = 0; in davicom_init_chain()
440 txd[i].control = 0x184; /* Begin/End/Chain */ in davicom_init_chain()
441 txd[i].status = 0x00000000; /* give ownership to Host */ in davicom_init_chain()
465 txd[NTXD - 1].buf2addr = (void *)virt_to_bus(&txd[0]); in davicom_init_chain()
497 outl(virt_to_bus(&txd[0]), ioaddr + CSR4); /* Sten 10/9 */ in davicom_reset()
504 txd[TxPtr].buf1sz = 192; in davicom_reset()
[all …]
H A Dnatsemi.c205 static BufferDesc txd __attribute__ ((aligned(4))); variable
507 txd.link = (u32) 0; in natsemi_init_txd()
508 txd.cmdsts = (u32) 0; in natsemi_init_txd()
509 txd.bufptr = virt_to_bus(&txb[0]); in natsemi_init_txd()
512 outl(virt_to_bus(&txd), ioaddr + TxRingPtr); in natsemi_init_txd()
616 outl(virt_to_bus(&txd), ioaddr + TxRingPtr); in natsemi_transmit()
638 txd.bufptr = virt_to_bus(&txb[0]); in natsemi_transmit()
639 txd.cmdsts = (u32) OWN | s; in natsemi_transmit()
649 while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to)) in natsemi_transmit()
H A Dsis900.c64 static BufferDesc txd; variable
698 txd.link = (u32) 0; in sis900_init_txd()
699 txd.cmdsts = (u32) 0; in sis900_init_txd()
700 txd.bufptr = virt_to_bus(&txb[0]); in sis900_init_txd()
703 outl(virt_to_bus(&txd), ioaddr + txdp); in sis900_init_txd()
1085 outl(virt_to_bus(&txd), ioaddr + txdp); in sis900_transmit()
1107 txd.bufptr = virt_to_bus(&txb[0]); in sis900_transmit()
1108 txd.cmdsts = (u32) OWN | s; in sis900_transmit()
1118 while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to)) in sis900_transmit()
H A Dtg3.c3042 struct tg3_tx_buffer_desc *txd = &tp->tx_ring[entry];
3048 txd->addr_hi = 0;
3049 txd->addr_lo = mapping & 0xffffffff;
3050 txd->len_flags = (len << TXD_LEN_SHIFT) | flags;
3051 txd->vlan_tag = 0 << TXD_VLAN_TAG_SHIFT;
3067 struct tg3_tx_buffer_desc *txd; in tg3_transmit() local
3099 txd = &tp->tx_ring[entry]; in tg3_transmit()
3100 txd->addr_hi = 0; /* Etherboot runs under 4GB */ in tg3_transmit()
3101 txd->addr_lo = virt_to_bus(&frame[frame_idx]); in tg3_transmit()
3102 txd->len_flags = ((size + ETH_HLEN) << TXD_LEN_SHIFT) | TXD_FLAG_END; in tg3_transmit()
[all …]
/titanic_44/usr/src/uts/common/io/elxl/
H A Delxl.c1054 ex_desc_t *txd; in elxl_m_tx() local
1121 txd = r->r_head; in elxl_m_tx()
1122 if (paddr == txd->ed_descaddr) { in elxl_m_tx()
1134 r->r_head = txd->ed_next; in elxl_m_tx()
1149 txd = tail ? tail->ed_next : &r->r_desc[0]; in elxl_m_tx()
1177 mcopymsg(mp, txd->ed_buf); /* frees the mblk! */ in elxl_m_tx()
1184 if (txd->ed_buf[0] & 0x1) { in elxl_m_tx()
1185 if (bcmp(txd->ed_buf, ex_broadcast, ETHERADDRL) != 0) { in elxl_m_tx()
1192 pd = txd->ed_pd; in elxl_m_tx()
1200 bzero(txd->ed_buf + len, ETHERMIN - len); in elxl_m_tx()
[all …]
/titanic_44/usr/src/uts/common/io/atge/
H A Datge_main.c539 atge_tx_desc_t *txd; in atge_tx_reclaim() local
567 txd = (atge_tx_desc_t *)c; in atge_tx_reclaim()
573 txd->addr = 0; in atge_tx_reclaim()
574 txd->len = 0; in atge_tx_reclaim()
575 txd->flags = 0; in atge_tx_reclaim()
2823 l1c_tx_desc_t *txd; in atge_send_a_packet() local
2826 txd = (l1c_tx_desc_t *)c; in atge_send_a_packet()
2828 ATGE_PUT64(r->r_desc_ring, &txd->addr, in atge_send_a_packet()
2831 ATGE_PUT32(r->r_desc_ring, &txd->len, L1C_TX_BYTES(pktlen)); in atge_send_a_packet()
2834 ATGE_PUT32(r->r_desc_ring, &txd->flags, cflags); in atge_send_a_packet()
[all …]
/titanic_44/usr/src/uts/common/io/rwn/
H A Drt2860.c769 ring->txd = (struct rt2860_txd *)ring->txdesc_dma.mem_va; in rt2860_alloc_tx_ring()
776 (void) bzero(ring->txd, size); in rt2860_alloc_tx_ring()
790 ring->txd[i].sdl0 &= ~LE_16(RT2860_TX_DDONE); in rt2860_reset_tx_ring()
820 if (ring->txd != NULL) { in rt2860_free_tx_ring()
1084 struct rt2860_txd *txd; in rt2860_send() local
1226 txd = &ring->txd[ring->cur]; in rt2860_send()
1227 txd->sdp0 = LE_32(data->paddr); in rt2860_send()
1228 txd->sdl0 = LE_16(16 + hdrlen); in rt2860_send()
1229 txd->flags = qsel; in rt2860_send()
1232 txd->sdp1 = LE_32(data->txbuf_dma.cookie.dmac_address); in rt2860_send()
[all …]
H A Drt2860_var.h83 struct rt2860_txd *txd; member
/titanic_44/usr/src/lib/libshell/common/tests/
H A Dsignal.sh124 *) o=$(gen -txd) ;;
/titanic_44/usr/src/uts/common/io/pcn/
H A Dpcn.c1502 pcn_tx_desc_t *txd = &pcnp->pcn_txdescp[i]; in pcn_resetrings() local
1505 txd->pcn_txstat = txd->pcn_txctl = txd->pcn_uspace = 0; in pcn_resetrings()
1506 txd->pcn_tbaddr = txb->pb_paddr; in pcn_resetrings()
/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-device.c3215 xge_hal_fifo_txd_t txd; in __hal_device_poll() local
3231 return xge_hal_device_handle_tcode(&channel, &txd, in __hal_device_poll()