Lines Matching refs:descs
157 struct ep93xx_descs *descs; member
240 rstat = ep->descs->rstat + entry; in ep93xx_rx()
282 struct ep93xx_rdesc *rxd = &ep->descs->rdesc[entry]; in ep93xx_rx()
345 txd = &ep->descs->tdesc[entry]; in ep93xx_xmit()
380 tstat = ep->descs->tstat + entry; in ep93xx_tx_complete()
394 int length = ep->descs->tdesc[entry].tdesc1 & 0xfff; in ep93xx_tx_complete()
449 if (!ep->descs) in ep93xx_free_buffers()
455 d = ep->descs->rdesc[i].buf_addr; in ep93xx_free_buffers()
465 d = ep->descs->tdesc[i].buf_addr; in ep93xx_free_buffers()
472 dma_free_coherent(dev, sizeof(struct ep93xx_descs), ep->descs, in ep93xx_free_buffers()
474 ep->descs = NULL; in ep93xx_free_buffers()
482 ep->descs = dma_alloc_coherent(dev, sizeof(struct ep93xx_descs), in ep93xx_alloc_buffers()
484 if (ep->descs == NULL) in ep93xx_alloc_buffers()
502 ep->descs->rdesc[i].buf_addr = d; in ep93xx_alloc_buffers()
503 ep->descs->rdesc[i].rdesc1 = (i << 16) | PKT_BUF_SIZE; in ep93xx_alloc_buffers()
521 ep->descs->tdesc[i].buf_addr = d; in ep93xx_alloc_buffers()