Lines Matching refs:ring

54  * extended jumbo receive ring desciptors and a mini receive ring.
875 * Send the NIC a command via the command ring.
999 bus_dma_tag_t *tag, uint8_t **ring, bus_dmamap_t *map, bus_addr_t *paddr,
1013 /* Allocate DMA'able memory for ring. */
1014 error = bus_dmamem_alloc(*tag, (void **)ring,
1021 /* Load the address of the ring. */
1023 error = bus_dmamap_load(*tag, *map, *ring, maxsize, ti_dma_map_addr,
1035 ti_dma_ring_free(struct ti_softc *sc, bus_dma_tag_t *tag, uint8_t **ring,
1043 if (*ring != NULL) {
1044 bus_dmamem_free(*tag, *ring, map);
1045 *ring = NULL;
1083 "event ring");
1087 /* Event ring */
1092 "event ring");
1096 /* Command ring lives in shared memory so no need to create DMA area. */
1098 /* Standard RX ring */
1103 &sc->ti_rdata.ti_rx_std_ring_paddr, "RX ring");
1107 /* Jumbo RX ring */
1112 &sc->ti_rdata.ti_rx_jumbo_ring_paddr, "jumbo RX ring");
1116 /* RX return ring */
1121 &sc->ti_rdata.ti_rx_return_ring_paddr, "RX return ring");
1211 /* Mini ring and TX ring is not available on Tigon 1. */
1215 /* TX ring */
1219 "TX ring");
1223 /* Mini RX ring */
1228 &sc->ti_rdata.ti_rx_mini_ring_paddr, "mini RX ring");
1335 /* Destroy standard RX ring. */
1340 /* Destroy jumbo RX ring. */
1345 /* Destroy mini RX ring. */
1350 /* Destroy RX return ring. */
1355 /* Destroy TX ring. */
1363 /* Destroy event ring. */
1380 * Intialize a standard receive ring descriptor.
1434 * Intialize a mini receive ring descriptor. This only applies to
1491 * Initialize a jumbo receive ring descriptor. This allocates
1561 * Initialize a jumbo receive ring descriptor. This allocates
1709 * The standard receive ring has 512 entries in it. At 2K per mbuf cluster,
1711 * 256 ring entries and hope that our CPU is fast enough to keep up with
2202 /* Set up the contents of the general info and ring control blocks. */
2204 /* Set up the event ring and producer pointer. */
2216 /* Set up the command ring and producer mailbox. */
2237 /* Set up the standard receive ring. */
2248 /* Set up the jumbo receive ring. */
2266 * Set up the mini ring. Only activated on the
2284 * Set up the receive return ring.
2295 * Set up the tx ring. Note: for the Tigon 2, we have the option
2296 * of putting the transmit ring in the host's address space and
2297 * letting the chip DMA it instead of leaving the ring in the NIC's
2748 * 1) the frame is from the mini receive ring (can only happen)
2750 * 2) the frame is from the jumbo receive ring
2751 * 3) the frame is from the standard receive ring
2943 * Go through our tx ring and free mbufs for those
2996 /* Check RX return ring producer/consumer */
2999 /* Check TX ring producer/consumer */
3049 * Encapsulate an mbuf chain in the tx ring by coupling the mbuf data
3177 * Pack the data into the transmit ring. If we
3179 * for the NIC to drain the ring.
3233 /* Init the gen info block, ring control blocks and firmware. */
3283 /* Init RX ring. */
3290 /* Init jumbo RX ring. */
3302 * mini ring.
3316 /* Init TX ring. */