Lines Matching defs:ring

56  * extended jumbo receive ring desciptors and a mini receive ring.
877 * Send the NIC a command via the command ring.
1001 bus_dma_tag_t *tag, uint8_t **ring, bus_dmamap_t *map, bus_addr_t *paddr,
1015 /* Allocate DMA'able memory for ring. */
1016 error = bus_dmamem_alloc(*tag, (void **)ring,
1023 /* Load the address of the ring. */
1025 error = bus_dmamap_load(*tag, *map, *ring, maxsize, ti_dma_map_addr,
1037 ti_dma_ring_free(struct ti_softc *sc, bus_dma_tag_t *tag, uint8_t **ring,
1045 if (*ring != NULL) {
1046 bus_dmamem_free(*tag, *ring, map);
1047 *ring = NULL;
1085 "event ring");
1089 /* Event ring */
1094 "event ring");
1098 /* Command ring lives in shared memory so no need to create DMA area. */
1100 /* Standard RX ring */
1105 &sc->ti_rdata.ti_rx_std_ring_paddr, "RX ring");
1109 /* Jumbo RX ring */
1114 &sc->ti_rdata.ti_rx_jumbo_ring_paddr, "jumbo RX ring");
1118 /* RX return ring */
1123 &sc->ti_rdata.ti_rx_return_ring_paddr, "RX return ring");
1213 /* Mini ring and TX ring is not available on Tigon 1. */
1217 /* TX ring */
1221 "TX ring");
1225 /* Mini RX ring */
1230 &sc->ti_rdata.ti_rx_mini_ring_paddr, "mini RX ring");
1337 /* Destroy standard RX ring. */
1342 /* Destroy jumbo RX ring. */
1347 /* Destroy mini RX ring. */
1352 /* Destroy RX return ring. */
1357 /* Destroy TX ring. */
1365 /* Destroy event ring. */
1382 * Intialize a standard receive ring descriptor.
1436 * Intialize a mini receive ring descriptor. This only applies to
1493 * Initialize a jumbo receive ring descriptor. This allocates
1563 * Initialize a jumbo receive ring descriptor. This allocates
1711 * The standard receive ring has 512 entries in it. At 2K per mbuf cluster,
1713 * 256 ring entries and hope that our CPU is fast enough to keep up with
2204 /* Set up the contents of the general info and ring control blocks. */
2206 /* Set up the event ring and producer pointer. */
2218 /* Set up the command ring and producer mailbox. */
2239 /* Set up the standard receive ring. */
2250 /* Set up the jumbo receive ring. */
2268 * Set up the mini ring. Only activated on the
2286 * Set up the receive return ring.
2297 * Set up the tx ring. Note: for the Tigon 2, we have the option
2298 * of putting the transmit ring in the host's address space and
2299 * letting the chip DMA it instead of leaving the ring in the NIC's
2750 * 1) the frame is from the mini receive ring (can only happen)
2752 * 2) the frame is from the jumbo receive ring
2753 * 3) the frame is from the standard receive ring
2945 * Go through our tx ring and free mbufs for those
2998 /* Check RX return ring producer/consumer */
3001 /* Check TX ring producer/consumer */
3051 * Encapsulate an mbuf chain in the tx ring by coupling the mbuf data
3179 * Pack the data into the transmit ring. If we
3181 * for the NIC to drain the ring.
3235 /* Init the gen info block, ring control blocks and firmware. */
3285 /* Init RX ring. */
3292 /* Init jumbo RX ring. */
3304 * mini ring.
3318 /* Init TX ring. */