Lines Matching refs:dummy_hcd

242 struct dummy_hcd {  struct
284 struct dummy_hcd *hs_hcd;
285 struct dummy_hcd *ss_hcd;
288 static inline struct dummy_hcd *hcd_to_dummy_hcd(struct usb_hcd *hcd) in hcd_to_dummy_hcd()
290 return (struct dummy_hcd *) (hcd->hcd_priv); in hcd_to_dummy_hcd()
293 static inline struct usb_hcd *dummy_hcd_to_hcd(struct dummy_hcd *dum) in dummy_hcd_to_hcd()
298 static inline struct device *dummy_dev(struct dummy_hcd *dum) in dummy_dev()
313 static inline struct dummy_hcd *gadget_to_dummy_hcd(struct usb_gadget *gadget) in gadget_to_dummy_hcd()
372 static void set_link_state_by_speed(struct dummy_hcd *dum_hcd) in set_link_state_by_speed()
432 static void set_link_state(struct dummy_hcd *dum_hcd) in set_link_state()
506 struct dummy_hcd *dum_hcd; in dummy_enable()
699 struct dummy_hcd *dum_hcd; in dummy_queue()
856 struct dummy_hcd *dum_hcd; in dummy_wakeup()
900 struct dummy_hcd *dum_hcd; in dummy_pullup()
998 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g); in dummy_udc_start()
1029 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g); in dummy_udc_stop()
1122 static void dummy_udc_pm(struct dummy *dum, struct dummy_hcd *dum_hcd, in dummy_udc_pm()
1134 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(&dum->gadget); in dummy_udc_suspend()
1145 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(&dum->gadget); in dummy_udc_resume()
1187 static int dummy_ep_stream_en(struct dummy_hcd *dum_hcd, struct urb *urb) in dummy_ep_stream_en()
1206 static int get_max_streams_for_pipe(struct dummy_hcd *dum_hcd, in get_max_streams_for_pipe()
1220 static void set_max_streams_for_pipe(struct dummy_hcd *dum_hcd, in set_max_streams_for_pipe()
1237 static int dummy_validate_stream(struct dummy_hcd *dum_hcd, struct urb *urb) in dummy_validate_stream()
1267 struct dummy_hcd *dum_hcd; in dummy_urb_enqueue()
1320 struct dummy_hcd *dum_hcd; in dummy_urb_dequeue()
1406 static int transfer(struct dummy_hcd *dum_hcd, struct urb *urb, in transfer()
1619 static int handle_control_request(struct dummy_hcd *dum_hcd, struct urb *urb, in handle_control_request()
1789 struct dummy_hcd *dum_hcd = from_timer(dum_hcd, t, timer); in dummy_timer()
2026 struct dummy_hcd *dum_hcd; in dummy_hub_status()
2111 struct dummy_hcd *dum_hcd; in dummy_hub_control()
2375 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_bus_suspend()
2389 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_bus_resume()
2460 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in urbs_show()
2479 static int dummy_start_ss(struct dummy_hcd *dum_hcd) in dummy_start_ss()
2500 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_start()
2531 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_stop()
2576 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_alloc_streams()
2623 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_free_streams()
2650 static struct hc_driver dummy_hcd = { variable
2653 .hcd_priv_size = sizeof(struct dummy_hcd),
2684 dummy_hcd.flags = HCD_USB3 | HCD_SHARED; in dummy_hcd_probe()
2686 dummy_hcd.flags = HCD_USB2; in dummy_hcd_probe()
2688 dummy_hcd.flags = HCD_USB11; in dummy_hcd_probe()
2689 hs_hcd = usb_create_hcd(&dummy_hcd, &pdev->dev, dev_name(&pdev->dev)); in dummy_hcd_probe()
2699 ss_hcd = usb_create_shared_hcd(&dummy_hcd, &pdev->dev, in dummy_hcd_probe()
2743 struct dummy_hcd *dum_hcd; in dummy_hcd_suspend()