| H A D | udc.c | 53 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, 358 static int add_td_to_list(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, in add_td_to_list() argument 369 node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, &node->dma); in add_td_to_list() 378 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) { in add_td_to_list() 379 u32 mul = hwreq->req.length / hwep->ep.maxpacket; in add_td_to_list() 382 || hwreq->req.length % hwep->ep.maxpacket) in add_td_to_list() 427 static int prepare_td_for_non_sg(struct ci_hw_ep *hwep, in prepare_td_for_non_sg() argument 435 ret = add_td_to_list(hwep, hwreq, 0, NULL); in prepare_td_for_non_sg() 451 ret = add_td_to_list(hwep, hwre in prepare_td_for_non_sg() 468 prepare_td_per_sg(struct ci_hw_ep * hwep,struct ci_hw_req * hwreq,struct scatterlist * s) prepare_td_per_sg() argument 508 prepare_td_for_sg(struct ci_hw_ep * hwep,struct ci_hw_req * hwreq) prepare_td_for_sg() argument 671 _hardware_enqueue(struct ci_hw_ep * hwep,struct ci_hw_req * hwreq) _hardware_enqueue() argument 793 free_pending_td(struct ci_hw_ep * hwep) free_pending_td() argument 802 reprime_dtd(struct ci_hdrc * ci,struct ci_hw_ep * hwep,struct td_node * node) reprime_dtd() argument 820 _hardware_dequeue(struct ci_hw_ep * hwep,struct ci_hw_req * hwreq) _hardware_dequeue() argument 908 _ep_nuke(struct ci_hw_ep * hwep) _ep_nuke() argument 956 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); _ep_set_halt() local 1102 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); _ep_queue() local 1165 struct ci_hw_ep *hwep = ci->ep0in; isr_get_status_response() local 1252 struct ci_hw_ep *hwep; isr_setup_status_phase() local 1277 isr_tr_complete_low(struct ci_hw_ep * hwep) isr_tr_complete_low() argument 1324 struct ci_hw_ep *hwep = &ci->ci_hw_ep[0]; isr_setup_packet_handler() local 1498 struct ci_hw_ep *hwep = &ci->ci_hw_ep[i]; isr_tr_complete_handler() local 1536 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_enable() local 1603 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_disable() local 1664 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_free_request() local 1698 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_queue() local 1722 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_dequeue() local 1779 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_set_wedge() local 1799 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_fifo_flush() local 1951 struct ci_hw_ep *hwep = ci->ep0in; ci_udc_selfpowered() local 2036 struct ci_hw_ep *hwep = &ci->ci_hw_ep[k]; init_eps() local 2099 struct ci_hw_ep *hwep = &ci->ci_hw_ep[i]; destroy_eps() local [all...] |