Home
last modified time | relevance | path

Searched refs:cdns2_device (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/usb/gadget/udc/cdns2/
Dcdns2-ep0.c32 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 …]
Dcdns2-gadget.h404 #define gadget_to_cdns2_device(g) (container_of(g, struct cdns2_device, gadget))
494 struct cdns2_device;
547 struct cdns2_device *pdev;
642 struct cdns2_device { struct
685 void cdns2_select_ep(struct cdns2_device *pdev, u32 ep); argument
695 void cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep);
696 void cdns2_ep0_config(struct cdns2_device *pdev);
697 void cdns2_handle_ep0_interrupt(struct cdns2_device *pdev, int dir);
698 void cdns2_handle_setup_packet(struct cdns2_device *pdev);
699 int cdns2_gadget_resume(struct cdns2_device *pdev, bool hibernated);
[all …]
Dcdns2-gadget.c74 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 …]
Dcdns2-pci.c28 struct cdns2_device *priv_dev; in cdns2_pci_probe()
90 struct cdns2_device *priv_dev = pci_get_drvdata(pdev); in cdns2_pci_remove()
100 struct cdns2_device *priv_dev = dev_get_drvdata(dev); in cdns2_pci_suspend()
107 struct cdns2_device *priv_dev = dev_get_drvdata(dev); in cdns2_pci_resume()
Dcdns2-trace.h190 TP_PROTO(struct cdns2_device *pdev, struct cdns2_endpoint *pep),
212 TP_PROTO(struct cdns2_device *pdev, struct cdns2_endpoint *pep),
217 TP_PROTO(struct cdns2_device *pdev),
236 TP_PROTO(struct cdns2_device *pdev),
359 TP_PROTO(struct cdns2_device *dev_priv, struct usb_request *request),
559 TP_PROTO(struct cdns2_device *pdev, struct cdns2_endpoint *pep),
591 TP_PROTO(struct cdns2_device *pdev, struct cdns2_endpoint *pep),