Lines Matching refs:dummy_hcd

240 struct dummy_hcd {  struct
281 struct dummy_hcd *hs_hcd;
282 struct dummy_hcd *ss_hcd;
285 static inline struct dummy_hcd *hcd_to_dummy_hcd(struct usb_hcd *hcd) in hcd_to_dummy_hcd()
287 return (struct dummy_hcd *) (hcd->hcd_priv); in hcd_to_dummy_hcd()
290 static inline struct usb_hcd *dummy_hcd_to_hcd(struct dummy_hcd *dum) in dummy_hcd_to_hcd()
295 static inline struct device *dummy_dev(struct dummy_hcd *dum) in dummy_dev()
310 static inline struct dummy_hcd *gadget_to_dummy_hcd(struct usb_gadget *gadget) in gadget_to_dummy_hcd()
369 static void set_link_state_by_speed(struct dummy_hcd *dum_hcd) in set_link_state_by_speed()
429 static void set_link_state(struct dummy_hcd *dum_hcd) in set_link_state()
503 struct dummy_hcd *dum_hcd; in dummy_enable()
696 struct dummy_hcd *dum_hcd; in dummy_queue()
852 struct dummy_hcd *dum_hcd; in dummy_wakeup()
896 struct dummy_hcd *dum_hcd; in dummy_pullup()
994 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g); in dummy_udc_start()
1025 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g); in dummy_udc_stop()
1119 static void dummy_udc_pm(struct dummy *dum, struct dummy_hcd *dum_hcd, in dummy_udc_pm()
1131 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(&dum->gadget); in dummy_udc_suspend()
1142 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(&dum->gadget); in dummy_udc_resume()
1184 static int dummy_ep_stream_en(struct dummy_hcd *dum_hcd, struct urb *urb) in dummy_ep_stream_en()
1203 static int get_max_streams_for_pipe(struct dummy_hcd *dum_hcd, in get_max_streams_for_pipe()
1217 static void set_max_streams_for_pipe(struct dummy_hcd *dum_hcd, in set_max_streams_for_pipe()
1234 static int dummy_validate_stream(struct dummy_hcd *dum_hcd, struct urb *urb) in dummy_validate_stream()
1264 struct dummy_hcd *dum_hcd; in dummy_urb_enqueue()
1314 struct dummy_hcd *dum_hcd; in dummy_urb_dequeue()
1399 static int transfer(struct dummy_hcd *dum_hcd, struct urb *urb, in transfer()
1612 static int handle_control_request(struct dummy_hcd *dum_hcd, struct urb *urb, in handle_control_request()
1782 struct dummy_hcd *dum_hcd = from_timer(dum_hcd, t, timer); in dummy_timer()
2015 struct dummy_hcd *dum_hcd; in dummy_hub_status()
2100 struct dummy_hcd *dum_hcd; in dummy_hub_control()
2364 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_bus_suspend()
2378 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_bus_resume()
2447 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in urbs_show()
2466 static int dummy_start_ss(struct dummy_hcd *dum_hcd) in dummy_start_ss()
2486 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_start()
2557 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_alloc_streams()
2604 struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd); in dummy_free_streams()
2631 static struct hc_driver dummy_hcd = { variable
2634 .hcd_priv_size = sizeof(struct dummy_hcd),
2665 dummy_hcd.flags = HCD_USB3 | HCD_SHARED; in dummy_hcd_probe()
2667 dummy_hcd.flags = HCD_USB2; in dummy_hcd_probe()
2669 dummy_hcd.flags = HCD_USB11; in dummy_hcd_probe()
2670 hs_hcd = usb_create_hcd(&dummy_hcd, &pdev->dev, dev_name(&pdev->dev)); in dummy_hcd_probe()
2680 ss_hcd = usb_create_shared_hcd(&dummy_hcd, &pdev->dev, in dummy_hcd_probe()
2726 struct dummy_hcd *dum_hcd; in dummy_hcd_suspend()