ehci_root_hub
ehcip->ehci_root_hub.
if (ehcip->ehci_root_hub.
ehcip->ehci_root_hub.rh_curr_intr_reqp;
ph = ehcip->ehci_root_hub.rh_intr_pipe_handle;
port_mask = ehcip->ehci_root_hub.rh_intr_pending_status << 1;
ehcip->ehci_root_hub.rh_intr_pending_status = 0;
&ehcip->ehci_root_hub.rh_descr;
ctrl_reqp = ehcip->ehci_root_hub.rh_curr_ctrl_reqp;
ehcip->ehci_root_hub.rh_port_status[port] = new_port_status;
ctrl_reqp = ehcip->ehci_root_hub.rh_curr_ctrl_reqp;
root_hub_descr = &ehcip->ehci_root_hub.rh_descr;
ctrl_reqp = ehcip->ehci_root_hub.rh_curr_ctrl_reqp;
ctrl_reqp = ehcip->ehci_root_hub.rh_curr_ctrl_reqp;
pipe_state = ehcip->ehci_root_hub.rh_intr_pipe_state;
ASSERT(ehcip->ehci_root_hub.rh_intr_pipe_timer_id == 0);
ASSERT(ehcip->ehci_root_hub.rh_client_intr_reqp == NULL);
ehcip->ehci_root_hub.rh_client_intr_reqp = client_intr_reqp;
ehcip->ehci_root_hub.rh_client_intr_reqp = NULL;
if (ehcip->ehci_root_hub.rh_intr_pending_status) {
if (ehcip->ehci_root_hub.rh_intr_pipe_state ==
ehcip->ehci_root_hub.rh_intr_pipe_state =
ASSERT(ehcip->ehci_root_hub.
ehcip->ehci_root_hub.rh_companion_controllers = (capability &
ph = ehcip->ehci_root_hub.rh_intr_pipe_handle;
curr_intr_reqp = ehcip->ehci_root_hub.rh_curr_intr_reqp;
ASSERT(ehcip->ehci_root_hub.rh_client_intr_reqp);
length = ehcip->ehci_root_hub.
ehcip->ehci_root_hub.rh_client_intr_reqp,
ehcip->ehci_root_hub.rh_curr_intr_reqp = curr_intr_reqp;
if (ehcip->ehci_root_hub.rh_intr_pipe_timer_id == 0) {
ehcip->ehci_root_hub.rh_intr_pipe_timer_id =
ehcip->ehci_root_hub.
ph = ehcip->ehci_root_hub.rh_intr_pipe_handle;
timer_id = ehcip->ehci_root_hub.rh_intr_pipe_timer_id;
ehcip->ehci_root_hub.rh_intr_pipe_timer_id = 0;
curr_intr_reqp = ehcip->ehci_root_hub.rh_curr_intr_reqp;
ehcip->ehci_root_hub.rh_curr_intr_reqp = NULL;
ehcip->ehci_root_hub.rh_client_intr_reqp;
&ehcip->ehci_root_hub.rh_descr;
ehcip->ehci_root_hub.rh_intr_pipe_state);
curr_intr_reqp = ehcip->ehci_root_hub.rh_curr_intr_reqp;
ph = ehcip->ehci_root_hub.rh_intr_pipe_handle;
if (ehcip->ehci_root_hub.rh_intr_pipe_timer_id) {
ehcip->ehci_root_hub.rh_intr_pipe_timer_id = 0;
eptd = &ehcip->ehci_root_hub.rh_intr_pipe_handle->p_ep;
ehcip->ehci_root_hub.
ehcip->ehci_root_hub.
ehcip->ehci_root_hub.
ehcip->ehci_root_hub.
ehcip->ehci_root_hub.
ehcip->ehci_root_hub.rh_intr_pipe_timer_id = 0;
if (ehcip->ehci_root_hub.rh_intr_pipe_state ==
pipe_state = ehcip->ehci_root_hub.
ehcip->ehci_root_hub.rh_curr_ctrl_reqp;
ehcip->ehci_root_hub.rh_curr_ctrl_reqp = NULL;
ehcip->ehci_root_hub.rh_ctrl_pipe_state = pipe_state;
if (ehcip->ehci_root_hub.rh_curr_intr_reqp) {
ehci_root_hub.rh_curr_intr_reqp;
ehcip->ehci_root_hub.rh_curr_intr_reqp = NULL;
ehcip->ehci_root_hub.rh_client_intr_reqp;
ehcip->ehci_root_hub.rh_client_intr_reqp = NULL;
ehcip->ehci_root_hub.rh_intr_pipe_state = pipe_state;
ehcip->ehci_root_hub.rh_port_state[i] = port_state;
ehcip->ehci_root_hub.rh_port_status[i] = 0;
ehcip->ehci_root_hub.rh_ctrl_pipe_handle = ph;
ehcip->ehci_root_hub.rh_ctrl_pipe_state = EHCI_PIPE_STATE_IDLE;
ehcip->ehci_root_hub.rh_curr_ctrl_reqp = NULL;
ehcip->ehci_root_hub.rh_intr_pipe_handle = ph;
ehcip->ehci_root_hub.rh_intr_pipe_state = EHCI_PIPE_STATE_IDLE;
ehcip->ehci_root_hub.rh_client_intr_reqp = NULL;
ehcip->ehci_root_hub.rh_curr_intr_reqp = NULL;
ASSERT(ehcip->ehci_root_hub.
ehcip->ehci_root_hub.rh_ctrl_pipe_state = EHCI_PIPE_STATE_CLOSE;
ehcip->ehci_root_hub.rh_ctrl_pipe_handle = NULL;
ASSERT(ehcip->ehci_root_hub.
ehcip->ehci_root_hub.rh_intr_pipe_state = EHCI_PIPE_STATE_CLOSE;
ehcip->ehci_root_hub.rh_intr_pipe_handle = NULL;
ehcip->ehci_root_hub.rh_ctrl_pipe_state = EHCI_PIPE_STATE_IDLE;
if ((ehcip->ehci_root_hub.rh_client_intr_reqp) &&
(ehcip->ehci_root_hub.rh_intr_pipe_state !=
ehcip->ehci_root_hub.
ASSERT(ehcip->ehci_root_hub.
if (ehcip->ehci_root_hub.
ehcip->ehci_root_hub.rh_curr_ctrl_reqp = ctrl_reqp;
ehcip->ehci_root_hub.rh_ctrl_pipe_state = EHCI_PIPE_STATE_ACTIVE;
rh = &ehcip->ehci_root_hub;
rh = &ehcip->ehci_root_hub;
boolean_t ehci_root_hub;
ehci_root_hub = (strcmp(ddi_driver_name(dip), "ehci") == 0);
} else if (ehci_root_hub) {
ehci_root_hub_t ehci_root_hub; /* Root hub info */