Lines Matching refs:ring
214 /* Kernel virtual base address of the ring memory. */
220 /* (Unadjusted) DMA base bus-address of the ring memory. */
222 /* Number of descriptor slots in the ring. */
226 /* Currently used slot in the ring. */
239 /* Boolean. Is this a TX ring? */
243 /* Boolean. Are transfers suspended on this ring? */
254 int bcm43xx_dma_desc2idx(struct bcm43xx_dmaring *ring,
257 if (ring->dma64) {
258 struct bcm43xx_dmadesc64 *dd64 = ring->descbase;
261 struct bcm43xx_dmadesc32 *dd32 = ring->descbase;
267 struct bcm43xx_dmadesc_generic * bcm43xx_dma_idx2desc(struct bcm43xx_dmaring *ring,
271 *meta = &(ring->meta[slot]);
272 if (ring->dma64) {
273 struct bcm43xx_dmadesc64 *dd64 = ring->descbase;
276 struct bcm43xx_dmadesc32 *dd32 = ring->descbase;
282 u32 bcm43xx_dma_read(struct bcm43xx_dmaring *ring,
285 return bcm43xx_read32(ring->bcm, ring->mmio_base + offset);
289 void bcm43xx_dma_write(struct bcm43xx_dmaring *ring,
292 bcm43xx_write32(ring->bcm, ring->mmio_base + offset, value);
308 void bcm43xx_dma_tx_suspend(struct bcm43xx_dmaring *ring);
309 void bcm43xx_dma_tx_resume(struct bcm43xx_dmaring *ring);
316 void bcm43xx_dma_rx(struct bcm43xx_dmaring *ring);
373 void bcm43xx_dma_rx(struct bcm43xx_dmaring *ring)
377 void bcm43xx_dma_tx_suspend(struct bcm43xx_dmaring *ring)
381 void bcm43xx_dma_tx_resume(struct bcm43xx_dmaring *ring)