Lines Matching refs:descs
163 struct ep93xx_descs *descs; member
245 rstat = ep->descs->rstat + entry; in ep93xx_rx()
287 struct ep93xx_rdesc *rxd = &ep->descs->rdesc[entry]; in ep93xx_rx()
316 struct ep93xx_rstat *rstat = ep->descs->rstat + ep->rx_pointer; in ep93xx_have_more_rx()
368 txd = &ep->descs->tdesc[entry]; in ep93xx_xmit()
403 tstat = ep->descs->tstat + entry; in ep93xx_tx_complete()
417 int length = ep->descs->tdesc[entry].tdesc1 & 0xfff; in ep93xx_tx_complete()
475 d = ep->descs->rdesc[i].buf_addr; in ep93xx_free_buffers()
486 d = ep->descs->tdesc[i].buf_addr; in ep93xx_free_buffers()
494 dma_free_coherent(dev, sizeof(struct ep93xx_descs), ep->descs, in ep93xx_free_buffers()
503 ep->descs = dma_alloc_coherent(dev, sizeof(struct ep93xx_descs), in ep93xx_alloc_buffers()
505 if (ep->descs == NULL) in ep93xx_alloc_buffers()
523 ep->descs->rdesc[i].buf_addr = d; in ep93xx_alloc_buffers()
524 ep->descs->rdesc[i].rdesc1 = (i << 16) | PKT_BUF_SIZE; in ep93xx_alloc_buffers()
542 ep->descs->tdesc[i].buf_addr = d; in ep93xx_alloc_buffers()