Home
last modified time | relevance | path

Searched refs:cdns2_endpoint (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c75 struct cdns2_endpoint *pep) in cdns2_get_dma_pos()
99 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep, in cdns2_trb_virt_to_dma()
107 static void cdns2_free_tr_segment(struct cdns2_endpoint *pep) in cdns2_free_tr_segment()
119 static int cdns2_alloc_tr_segment(struct cdns2_endpoint *pep) in cdns2_alloc_tr_segment()
153 static void cdns2_ep_stall_flush(struct cdns2_endpoint *pep) in cdns2_ep_stall_flush()
227 static struct cdns2_trb *cdns2_next_trb(struct cdns2_endpoint *pep, in cdns2_next_trb()
236 void cdns2_gadget_giveback(struct cdns2_endpoint *pep, in cdns2_gadget_giveback()
265 static void cdns2_wa1_restore_cycle_bit(struct cdns2_endpoint *pep) in cdns2_wa1_restore_cycle_bit()
280 static int cdns2_wa1_update_guard(struct cdns2_endpoint *pep, in cdns2_wa1_update_guard()
303 struct cdns2_endpoint *pep) in cdns2_wa1_tray_restore_cycle_bit()
[all …]
H A Dcdns2-gadget.h414 #define ep_to_cdns2_ep(ep) (container_of(ep, struct cdns2_endpoint, endpoint))
551 struct cdns2_endpoint { struct
600 struct cdns2_endpoint *pep; argument
671 struct cdns2_endpoint eps[CDNS2_ENDPOINTS_NUM];
691 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep,
701 void cdns2_gadget_giveback(struct cdns2_endpoint *pep,
704 void cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep);
713 int cdns2_halt_endpoint(struct cdns2_device *pdev, struct cdns2_endpoint *pep,
H A Dcdns2-ep0.c45 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_enqueue()
92 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_stall()
109 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_status_stage()
176 struct cdns2_endpoint *pep; in cdns2_req_ep0_handle_status()
286 struct cdns2_endpoint *pep; in cdns2_ep0_handle_feature_endpoint()
381 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_handle_setup_packet()
461 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_transfer_completed()
517 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); in cdns2_gadget_ep0_set_halt()
540 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); in cdns2_gadget_ep0_queue()
621 struct cdns2_endpoint *pep; in cdns2_ep0_config()
[all …]
H A Dcdns2-debug.h98 static inline const char *cdns2_raw_ring(struct cdns2_endpoint *pep, in cdns2_raw_ring()