Lines Matching refs:h_dip

695 		(void) hubd_pm_busy_component(hubd, hubd->h_dip, 0);
698 (void) hubd_pm_idle_component(hubd, hubd->h_dip, 0);
739 if (DEVI_IS_DETACHING(hubd->h_dip)) {
805 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
856 rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
961 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
1068 dev_info_t *pdip = hubd->h_dip;
1181 ndi_devi_enter(hubd->h_dip, &circ);
1225 ndi_devi_exit(hubd->h_dip, circ);
1238 ndi_devi_enter(hubd->h_dip, &circ);
1274 ndi_devi_exit(hubd->h_dip, circ);
1299 dev_info_t *hdip = hubd->h_dip;
1321 hubd_pm_busy_component(hubd, hubd->h_dip, 0);
1347 (void) ndi_devi_online(hubd->h_dip, 0);
1352 (void) hubd_pm_idle_component(hubd, hubd->h_dip, 0);
1406 ndi_devi_enter(hubd->h_dip, &circ);
1408 ndi_devi_exit(hubd->h_dip, circ);
1650 if (usba_is_root_hub(hubd->h_dip)) {
1659 (void) usb_set_device_pwrlvl3(hubd->h_dip);
1679 (void) usb_set_device_pwrlvl2(hubd->h_dip);
1690 (void) usb_set_device_pwrlvl1(hubd->h_dip);
1708 if (usba_is_root_hub(hubd->h_dip)) {
1715 rval = usb_set_device_pwrlvl0(hubd->h_dip);
1883 hubd->h_dip = dip;
2382 dev_info_t *rh_dip = root_hubd->h_dip;
2709 (void) usb_handle_remote_wakeup(hubd->h_dip,
2870 if ((rval = usb_handle_remote_wakeup(hubd->h_dip,
2879 (void) pm_lower_power(hubd->h_dip, 0, USB_DEV_OS_PWR_OFF);
3003 "hubd_check_ports: addr=0x%x", usb_get_addr(hubd->h_dip));
3080 hubd_pm_busy_component(hubd, hubd->h_dip, 0);
3090 if (usb_async_req(hubd->h_dip, hubd_hotplug_thread,
3095 hubd_pm_idle_component(hubd, hubd->h_dip, 0);
3137 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
3162 rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
3240 if (usb_pipe_sync_ctrl_xfer(hubd->h_dip, hubd->h_default_pipe,
3293 if ((rval = usb_pipe_open(hubd->h_dip,
3343 reqp = usb_alloc_intr_req(hubd->h_dip, 0, USB_FLAGS_SLEEP);
3426 usb_pipe_close(hubd->h_dip, hubd->h_ep1_ph, USB_FLAGS_SLEEP,
3457 (void) hubd_pm_busy_component(hubd, hubd->h_dip, 0);
3480 (void) hubd_pm_idle_component(hubd, hubd->h_dip, 0);
3597 (!DEVI_IS_ATTACHING(hubd->h_dip)) &&
3598 (!DEVI_IS_DETACHING(hubd->h_dip)) &&
3610 (void) hubd_pm_busy_component(hubd, hubd->h_dip, 0);
3615 if (usb_async_req(hubd->h_dip,
3623 hubd->h_dip, 0);
3654 dev_info_t *hdip = hubd->h_dip;
3689 hubd_pm_idle_component(hubd, hubd->h_dip, 0);
3988 (void) ndi_devi_online(hubd->h_dip, 0);
4064 (void) hubd_pm_idle_component(hubd, hubd->h_dip, 0);
4307 rval = hubd_create_child(hubd->h_dip,
4313 usba_update_hotplug_stats(hubd->h_dip,
4373 usba_update_hotplug_stats(hubd->h_dip,
4428 usb_cfg = usb_get_raw_cfg_data(hubd->h_dip, &cfg_length);
4485 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
4507 if (usba_is_root_hub(hubd->h_dip)) {
4544 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
4565 if (!usba_is_root_hub(hubd->h_dip)) {
4630 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
4695 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
4749 if (usb_pipe_sync_ctrl_xfer(hubd->h_dip,
4798 if (!usba_is_root_hub(hubd->h_dip)) {
4804 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
4844 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
4864 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
4910 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
5063 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
5082 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
5102 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
5122 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
5141 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
5328 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
5393 if ((rval = usb_pipe_sync_ctrl_xfer(hubd->h_dip,
6459 usba_hubdi_incr_power_budget(hubd->h_dip, usba_device);
6922 (void) hubd_pm_busy_component(hubd, hubd->h_dip, 0);
6953 (void) hubd_pm_idle_component(hubd, hubd->h_dip, 0);
6983 hubd_pm_busy_component(hubd, hubd->h_dip, 0);
6987 (void) pm_raise_power(hubd->h_dip, 0, USB_DEV_OS_FULL_PWR);
7051 if (usba_is_root_hub(hubd->h_dip)) {
7054 usba_get_usba_device(hubd->h_dip));
7070 hubd_pm_idle_component(hubd, hubd->h_dip, 0);
7123 if (usba_is_root_hub(hubd->h_dip)) {
7126 rval = usb_register_event_cbs(hubd->h_dip, &hubd_events, 0);
7176 (void) hubd_pre_suspend_event_cb(hubd->h_dip);
7184 (void) hubd_post_resume_event_cb(hubd->h_dip);
7475 hubd_pm_busy_component(hubd, hubd->h_dip, 0);
7479 (void) pm_raise_power(hubd->h_dip, 0, USB_DEV_OS_FULL_PWR);
7483 ndi_devi_enter(hubd->h_dip, &circ);
7528 ndi_devi_exit(hubd->h_dip, circ);
7541 ndi_devi_enter(hubd->h_dip, &circ);
8000 ndi_devi_exit(hubd->h_dip, circ);
8005 hubd_pm_idle_component(hubd, hubd->h_dip, 0);
8047 if (usba_is_root_hub(hubd->h_dip)) {
8053 pdip = ddi_get_parent(hubd->h_dip);
8292 if ((usb_get_status(hubd->h_dip, hubd->h_default_pipe,
8300 hubd_ud = usba_get_usba_device(hubd->h_dip);
8339 ASSERT(!usba_is_root_hub(hubd->h_dip));
8341 if (!usba_is_root_hub(hubd->h_dip)) {
8348 pdip = ddi_get_parent(hubd->h_dip);
8644 dev_info_t *hdip = hubd->h_dip;
8808 (void) ndi_devi_online(hubd->h_dip, 0);
8819 (void) hubd_pm_idle_component(hubd, hubd->h_dip, 0);
8990 hdip = hubd->h_dip;