• Home
  • Raw
  • Download

Lines Matching refs:td_data

289 	struct pch_udc_data_dma_desc	*td_data;  member
393 struct pch_udc_data_dma_desc *td_data; member
1476 struct pch_udc_data_dma_desc *td = req->td_data; in pch_udc_free_dma_chain()
1509 struct pch_udc_data_dma_desc *td = req->td_data, *last; in pch_udc_create_dma_chain()
1530 td->dataptr = req->td_data->dataptr + i; in pch_udc_create_dma_chain()
1572 req->td_data->status = (req->td_data->status & in prepare_dma()
1612 struct pch_udc_data_dma_desc *td_data; in pch_udc_start_rxrequest() local
1615 td_data = req->td_data; in pch_udc_start_rxrequest()
1618 td_data->status = (td_data->status & ~PCH_UDC_BUFF_STS) | in pch_udc_start_rxrequest()
1620 if ((td_data->status & PCH_UDC_DMA_LAST) == PCH_UDC_DMA_LAST) in pch_udc_start_rxrequest()
1622 td_data = phys_to_virt(td_data->next); in pch_udc_start_rxrequest()
1738 req->td_data = dma_desc; in pch_udc_alloc_request()
1765 if (req->td_data != NULL) { in pch_udc_free_request()
1768 dma_pool_free(ep->dev->data_requests, req->td_data, in pch_udc_free_request()
2016 struct pch_udc_data_dma_desc *td_data; in pch_udc_start_next_txrequest() local
2028 if (!req->td_data) in pch_udc_start_next_txrequest()
2033 td_data = req->td_data; in pch_udc_start_next_txrequest()
2035 td_data->status = (td_data->status & ~PCH_UDC_BUFF_STS) | in pch_udc_start_next_txrequest()
2037 if ((td_data->status & PCH_UDC_DMA_LAST) == PCH_UDC_DMA_LAST) in pch_udc_start_next_txrequest()
2039 td_data = phys_to_virt(td_data->next); in pch_udc_start_next_txrequest()
2074 req->td_data->status = PCH_UDC_BS_HST_BSY | PCH_UDC_DMA_LAST; in pch_udc_complete_transfer()
2110 td = req->td_data; in pch_udc_complete_receiver()
2116 (req->td_data->status & PCH_UDC_RXTX_STS), in pch_udc_complete_receiver()
2135 req->td_data->status |= PCH_UDC_DMA_LAST; in pch_udc_complete_receiver()
2290 ep_out->td_data->status = (ep_out->td_data->status & in pch_udc_svc_control_in()
2343 ep->td_data->status = (ep->td_data->status & in pch_udc_svc_control_out()
2440 ep->td_data = NULL; in pch_udc_activate_control_ep()
2462 ep->td_data->status = PCH_UDC_DMA_LAST; in pch_udc_activate_control_ep()
2463 ep->td_data->dataptr = dev->dma_addr; in pch_udc_activate_control_ep()
2464 ep->td_data->next = ep->td_data_phys; in pch_udc_activate_control_ep()
2852 struct pch_udc_data_dma_desc *td_data; in init_dma_pools() local
2883 td_data = dma_pool_alloc(dev->data_requests, GFP_KERNEL, in init_dma_pools()
2885 if (!td_data) { in init_dma_pools()
2890 dev->ep[UDC_EP0OUT_IDX].td_data = td_data; in init_dma_pools()
2893 dev->ep[UDC_EP0IN_IDX].td_data = NULL; in init_dma_pools()
3003 if (dev->ep[UDC_EP0OUT_IDX].td_data) { in pch_udc_remove()
3005 dev->ep[UDC_EP0OUT_IDX].td_data, in pch_udc_remove()