Lines Matching refs:dummy_hcd

162 struct dummy_hcd {  struct
199 struct dummy_hcd *hs_hcd; argument
200 struct dummy_hcd *ss_hcd;
203 static inline struct dummy_hcd *hcd_to_dummy_hcd(struct usb_hcd *hcd) in hcd_to_dummy_hcd()
205 return (struct dummy_hcd *) (hcd->hcd_priv); in hcd_to_dummy_hcd()
208 static inline struct usb_hcd *dummy_hcd_to_hcd(struct dummy_hcd *dum) in dummy_hcd_to_hcd()
213 static inline struct device *dummy_dev(struct dummy_hcd *dum) in dummy_dev()
228 static inline struct dummy_hcd *gadget_to_dummy_hcd(struct usb_gadget *gadget) in gadget_to_dummy_hcd()
289 static void set_link_state_by_speed(struct dummy_hcd *dum_hcd) in set_link_state_by_speed()
350 static void set_link_state(struct dummy_hcd *dum_hcd) in set_link_state()
415 struct dummy_hcd *dum_hcd; in dummy_enable()
623 struct dummy_hcd *dum_hcd; in dummy_queue()
779 struct dummy_hcd *dum_hcd; in dummy_wakeup()
822 struct dummy_hcd *dum_hcd; in dummy_pullup()
901 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g); in dummy_udc_start()
923 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g); in dummy_udc_stop()
1023 static void dummy_udc_pm(struct dummy *dum, struct dummy_hcd *dum_hcd, in dummy_udc_pm()
1035 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(&dum->gadget); in dummy_udc_suspend()
1046 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(&dum->gadget); in dummy_udc_resume()
1089 static int dummy_ep_stream_en(struct dummy_hcd *dum_hcd, struct urb *urb) in dummy_ep_stream_en()
1108 static int get_max_streams_for_pipe(struct dummy_hcd *dum_hcd, in get_max_streams_for_pipe()
1122 static void set_max_streams_for_pipe(struct dummy_hcd *dum_hcd, in set_max_streams_for_pipe()
1139 static int dummy_validate_stream(struct dummy_hcd *dum_hcd, struct urb *urb) in dummy_validate_stream()
1169 struct dummy_hcd *dum_hcd; in dummy_urb_enqueue()
1217 struct dummy_hcd *dum_hcd; in dummy_urb_dequeue()
1302 static int transfer(struct dummy_hcd *dum_hcd, struct urb *urb, in transfer()
1500 static int handle_control_request(struct dummy_hcd *dum_hcd, struct urb *urb, in handle_control_request()
1668 struct dummy_hcd *dum_hcd = (struct dummy_hcd *) _dum_hcd; in dummy_timer()
1893 struct dummy_hcd *dum_hcd; in dummy_hub_status()
1953 struct dummy_hcd *dum_hcd; in dummy_hub_control()
2196 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_bus_suspend()
2210 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_bus_resume()
2279 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in show_urbs()
2298 static int dummy_start_ss(struct dummy_hcd *dum_hcd) in dummy_start_ss()
2320 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_start()
2394 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_alloc_streams()
2441 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_free_streams()
2468 static struct hc_driver dummy_hcd = { variable
2471 .hcd_priv_size = sizeof(struct dummy_hcd),
2502 dummy_hcd.flags = HCD_USB2; in dummy_hcd_probe()
2503 hs_hcd = usb_create_hcd(&dummy_hcd, &pdev->dev, dev_name(&pdev->dev)); in dummy_hcd_probe()
2513 ss_hcd = usb_create_shared_hcd(&dummy_hcd, &pdev->dev, in dummy_hcd_probe()
2559 struct dummy_hcd *dum_hcd; in dummy_hcd_suspend()