Lines Matching refs:primary_hcd
2490 struct usb_hcd *primary_hcd) in usb_create_shared_hcd() argument
2499 if (primary_hcd == NULL) { in usb_create_shared_hcd()
2511 hcd->bandwidth_mutex = primary_hcd->bandwidth_mutex; in usb_create_shared_hcd()
2512 hcd->primary_hcd = primary_hcd; in usb_create_shared_hcd()
2513 primary_hcd->primary_hcd = primary_hcd; in usb_create_shared_hcd()
2514 hcd->shared_hcd = primary_hcd; in usb_create_shared_hcd()
2515 primary_hcd->shared_hcd = hcd; in usb_create_shared_hcd()
2583 if (peer->primary_hcd == hcd) in hcd_release()
2584 peer->primary_hcd = NULL; in hcd_release()
2607 if (!hcd->primary_hcd) in usb_hcd_is_primary_hcd()
2609 return hcd == hcd->primary_hcd; in usb_hcd_is_primary_hcd()