Lines Matching refs:ohci_root_hub

108 	    &ohcip->ohci_root_hub.rh_descr;
116 des_A = ohcip->ohci_root_hub.rh_des_A = Get_OpReg(hcr_rh_descriptorA);
117 des_B = ohcip->ohci_root_hub.rh_des_B = Get_OpReg(hcr_rh_descriptorB);
120 "root hub descriptor A 0x%x", ohcip->ohci_root_hub.rh_des_A);
123 "root hub descriptor B 0x%x", ohcip->ohci_root_hub.rh_des_B);
126 ohcip->ohci_root_hub.rh_status = Get_OpReg(hcr_rh_status);
219 ohcip->ohci_root_hub.rh_port_state[i] = port_state;
232 ohcip->ohci_root_hub.rh_port_status[i] = 0;
341 ohcip->ohci_root_hub.rh_ctrl_pipe_handle = ph;
344 ohcip->ohci_root_hub.rh_ctrl_pipe_state = OHCI_PIPE_STATE_IDLE;
346 ohcip->ohci_root_hub.rh_curr_ctrl_reqp = NULL;
355 ohcip->ohci_root_hub.rh_intr_pipe_handle = ph;
358 ohcip->ohci_root_hub.rh_intr_pipe_state = OHCI_PIPE_STATE_IDLE;
360 ohcip->ohci_root_hub.rh_client_intr_reqp = NULL;
362 ohcip->ohci_root_hub.rh_curr_intr_reqp = NULL;
403 ASSERT(ohcip->ohci_root_hub.
407 ohcip->ohci_root_hub.rh_ctrl_pipe_state = OHCI_PIPE_STATE_CLOSE;
410 ohcip->ohci_root_hub.rh_ctrl_pipe_handle = NULL;
419 ASSERT(ohcip->ohci_root_hub.
423 ohcip->ohci_root_hub.rh_intr_pipe_state = OHCI_PIPE_STATE_CLOSE;
429 ohcip->ohci_root_hub.rh_intr_pipe_handle = NULL;
473 ohcip->ohci_root_hub.rh_ctrl_pipe_state = OHCI_PIPE_STATE_IDLE;
483 if ((ohcip->ohci_root_hub.rh_client_intr_reqp) &&
484 (ohcip->ohci_root_hub.rh_intr_pipe_state !=
487 ohcip->ohci_root_hub.
495 ASSERT(ohcip->ohci_root_hub.
547 if (ohcip->ohci_root_hub.rh_ctrl_pipe_state != OHCI_PIPE_STATE_IDLE) {
558 ohcip->ohci_root_hub.rh_curr_ctrl_reqp = ctrl_reqp;
561 ohcip->ohci_root_hub.rh_ctrl_pipe_state = OHCI_PIPE_STATE_ACTIVE;
726 rh = &ohcip->ohci_root_hub;
727 hub_descr = &ohcip->ohci_root_hub.rh_descr;
1055 ctrl_reqp = ohcip->ohci_root_hub.rh_curr_ctrl_reqp;
1059 ohcip->ohci_root_hub.rh_port_status[port] = new_port_status;
1169 ctrl_reqp = ohcip->ohci_root_hub.rh_curr_ctrl_reqp;
1170 root_hub_descr = &ohcip->ohci_root_hub.rh_descr;
1218 ctrl_reqp = ohcip->ohci_root_hub.rh_curr_ctrl_reqp;
1256 ctrl_reqp = ohcip->ohci_root_hub.rh_curr_ctrl_reqp;
1312 pipe_state = ohcip->ohci_root_hub.rh_intr_pipe_state;
1316 ASSERT(ohcip->ohci_root_hub.rh_intr_pipe_timer_id == 0);
1322 ASSERT(ohcip->ohci_root_hub.rh_client_intr_reqp == NULL);
1324 ohcip->ohci_root_hub.rh_client_intr_reqp = client_intr_reqp;
1330 ohcip->ohci_root_hub.rh_client_intr_reqp = NULL;
1387 if (ohcip->ohci_root_hub.rh_intr_pipe_state == OHCI_PIPE_STATE_ACTIVE) {
1389 ohcip->ohci_root_hub.rh_intr_pipe_state =
1395 ASSERT(ohcip->ohci_root_hub.
1429 ph = ohcip->ohci_root_hub.rh_intr_pipe_handle;
1432 curr_intr_reqp = ohcip->ohci_root_hub.rh_curr_intr_reqp;
1439 ASSERT(ohcip->ohci_root_hub.rh_client_intr_reqp);
1442 length = ohcip->ohci_root_hub.
1446 ohcip->ohci_root_hub.rh_client_intr_reqp,
1458 ohcip->ohci_root_hub.rh_curr_intr_reqp = curr_intr_reqp;
1466 if (ohcip->ohci_root_hub.rh_intr_pipe_timer_id == 0) {
1467 ohcip->ohci_root_hub.rh_intr_pipe_timer_id =
1471 ohcip->ohci_root_hub.
1501 ph = ohcip->ohci_root_hub.rh_intr_pipe_handle;
1504 timer_id = ohcip->ohci_root_hub.rh_intr_pipe_timer_id;
1509 ohcip->ohci_root_hub.rh_intr_pipe_timer_id = 0;
1517 curr_intr_reqp = ohcip->ohci_root_hub.rh_curr_intr_reqp;
1521 ohcip->ohci_root_hub.rh_curr_intr_reqp = NULL;
1530 ohcip->ohci_root_hub.rh_client_intr_reqp;
1565 ohcip->ohci_root_hub.rh_intr_pipe_state);
1568 hub_descr = &ohcip->ohci_root_hub.rh_descr;
1571 curr_intr_reqp = ohcip->ohci_root_hub.rh_curr_intr_reqp;
1573 ph = ohcip->ohci_root_hub.rh_intr_pipe_handle;
1576 if (ohcip->ohci_root_hub.rh_intr_pipe_timer_id) {
1581 ohcip->ohci_root_hub.rh_intr_pipe_timer_id = 0;
1597 eptd = &ohcip->ohci_root_hub.rh_intr_pipe_handle->p_ep;
1611 ohcip->ohci_root_hub.rh_status = new_root_hub_status;
1634 ohcip->ohci_root_hub.
1641 ohcip->ohci_root_hub.
1657 ohcip->ohci_root_hub.
1664 ohcip->ohci_root_hub.
1676 ohcip->ohci_root_hub.
1715 ohcip->ohci_root_hub.rh_intr_pipe_timer_id = 0;
1717 if (ohcip->ohci_root_hub.rh_intr_pipe_state == OHCI_PIPE_STATE_ACTIVE) {
1769 pipe_state = ohcip->ohci_root_hub.rh_intr_pipe_state;
1792 ohcip->ohci_root_hub.rh_curr_ctrl_reqp;
1794 ohcip->ohci_root_hub.rh_curr_ctrl_reqp = NULL;
1795 ohcip->ohci_root_hub.rh_ctrl_pipe_state = pipe_state;
1799 if (ohcip->ohci_root_hub.rh_curr_intr_reqp) {
1801 ohcip->ohci_root_hub.rh_curr_intr_reqp;
1803 ohcip->ohci_root_hub.rh_curr_intr_reqp = NULL;
1807 ohcip->ohci_root_hub.rh_client_intr_reqp;
1809 ohcip->ohci_root_hub.rh_client_intr_reqp = NULL;
1812 ohcip->ohci_root_hub.rh_intr_pipe_state = pipe_state;