Searched refs:cdns2_device (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-ep0.c | 32 static bool cdns2_check_new_setup(struct cdns2_device *pdev) in cdns2_check_new_setup() 41 static void cdns2_ep0_enqueue(struct cdns2_device *pdev, dma_addr_t dma_addr, in cdns2_ep0_enqueue() 79 static int cdns2_ep0_delegate_req(struct cdns2_device *pdev) in cdns2_ep0_delegate_req() 90 static void cdns2_ep0_stall(struct cdns2_device *pdev) in cdns2_ep0_stall() 107 static void cdns2_status_stage(struct cdns2_device *pdev) in cdns2_status_stage() 120 static int cdns2_req_ep0_set_configuration(struct cdns2_device *pdev, in cdns2_req_ep0_set_configuration() 144 static int cdns2_req_ep0_set_address(struct cdns2_device *pdev, u32 addr) in cdns2_req_ep0_set_address() 173 static int cdns2_req_ep0_handle_status(struct cdns2_device *pdev, in cdns2_req_ep0_handle_status() 210 static int cdns2_ep0_handle_feature_device(struct cdns2_device *pdev, in cdns2_ep0_handle_feature_device() 263 static int cdns2_ep0_handle_feature_intf(struct cdns2_device *pdev, in cdns2_ep0_handle_feature_intf() [all …]
|
H A D | cdns2-gadget.h | 413 #define gadget_to_cdns2_device(g) (container_of(g, struct cdns2_device, gadget)) 503 struct cdns2_device; 556 struct cdns2_device *pdev; 651 struct cdns2_device { struct 694 void cdns2_select_ep(struct cdns2_device *pdev, u32 ep); argument 704 void cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep); 705 void cdns2_ep0_config(struct cdns2_device *pdev); 706 void cdns2_handle_ep0_interrupt(struct cdns2_device *pdev, int dir); 707 void cdns2_handle_setup_packet(struct cdns2_device *pdev); 708 int cdns2_gadget_resume(struct cdns2_device *pdev, bool hibernated); [all …]
|
H A D | cdns2-gadget.c | 74 static int cdns2_get_dma_pos(struct cdns2_device *pdev, in cdns2_get_dma_pos() 90 void cdns2_select_ep(struct cdns2_device *pdev, u32 ep) in cdns2_select_ep() 109 struct cdns2_device *pdev = pep->pdev; in cdns2_free_tr_segment() 121 struct cdns2_device *pdev = pep->pdev; in cdns2_alloc_tr_segment() 155 struct cdns2_device *pdev = pep->pdev; in cdns2_ep_stall_flush() 205 static void cdns2_enable_l1(struct cdns2_device *pdev, int enable) in cdns2_enable_l1() 215 static enum usb_device_speed cdns2_get_speed(struct cdns2_device *pdev) in cdns2_get_speed() 241 struct cdns2_device *pdev = pep->pdev; in cdns2_gadget_giveback() 283 struct cdns2_device *pdev = pep->pdev; in cdns2_wa1_update_guard() 302 static void cdns2_wa1_tray_restore_cycle_bit(struct cdns2_device *pdev, in cdns2_wa1_tray_restore_cycle_bit() [all …]
|