Home
last modified time | relevance | path

Searched refs:port_status (Results 1 – 15 of 15) sorted by relevance

/titanic_44/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_hub.c699 uint_t port_status; in ehci_handle_port_power() local
704 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_port_power()
711 port, port_status, on); in ehci_handle_port_power()
722 if (!(port_status & EHCI_RH_PORT_POWER)) { in ehci_handle_port_power()
725 port_status | EHCI_RH_PORT_POWER); in ehci_handle_port_power()
732 if (port_status & EHCI_RH_PORT_POWER) { in ehci_handle_port_power()
735 port_status & ~EHCI_RH_PORT_POWER); in ehci_handle_port_power()
761 uint_t port_status; in ehci_handle_port_enable() local
765 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_port_enable()
770 port, port_status); in ehci_handle_port_enable()
[all …]
H A Dehci_util.c188 usb_port_status_t port_status,
193 usb_port_status_t port_status,
198 usb_port_status_t port_status);
2184 usb_port_status_t port_status; in ehci_allocate_high_speed_bandwidth() local
2196 port_status = ph->p_usba_device->usb_port_status; in ehci_allocate_high_speed_bandwidth()
2206 port_status, &sbandwidth, &cbandwidth); in ehci_allocate_high_speed_bandwidth()
2217 interval = ehci_adjust_polling_interval(ehcip, endpoint, port_status); in ehci_allocate_high_speed_bandwidth()
2223 if (port_status == USBA_HIGH_SPEED_DEV) { in ehci_allocate_high_speed_bandwidth()
2291 usb_port_status_t port_status; in ehci_allocate_classic_tt_bandwidth() local
2303 port_status = child_ud->usb_port_status; in ehci_allocate_classic_tt_bandwidth()
[all …]
H A Dehci_isoch_util.c1031 uint32_t addr, port_status; in ehci_insert_isoc_to_pfl() local
1119 port_status = EHCI_ITD_LINK_REF_ITD; in ehci_insert_isoc_to_pfl()
1121 port_status = EHCI_ITD_LINK_REF_SITD; in ehci_insert_isoc_to_pfl()
1135 addr |= port_status; in ehci_insert_isoc_to_pfl()
/titanic_44/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhcihub.c378 uint_t port_status = Get_OpReg16(PORTSC[port]); in uhci_handle_port_suspend() local
386 if (!(port_status & HCR_PORT_SUSPEND)) { in uhci_handle_port_suspend()
389 (port_status | HCR_PORT_SUSPEND)); in uhci_handle_port_suspend()
393 if ((port_status & HCR_PORT_SUSPEND)) { in uhci_handle_port_suspend()
396 (port_status & ~HCR_PORT_SUSPEND)); in uhci_handle_port_suspend()
429 uint_t port_status = Get_OpReg16(PORTSC[port]); in uhci_handle_port_enable_disable() local
433 port, port_status); in uhci_handle_port_enable_disable()
437 if (!(port_status & HCR_PORT_ENABLE)) { in uhci_handle_port_enable_disable()
440 (port_status | HCR_PORT_ENABLE)); in uhci_handle_port_enable_disable()
444 if ((port_status & HCR_PORT_ENABLE)) { in uhci_handle_port_enable_disable()
[all …]
H A Duhcitgt.c458 uint_t port_status = 0; in uhci_hcdi_pipe_reset() local
474 port_status = Get_OpReg16(PORTSC[port]); in uhci_hcdi_pipe_reset()
475 if ((!(port_status & HCR_PORT_ENABLE)) && in uhci_hcdi_pipe_reset()
476 (port_status & HCR_PORT_CCS) && in uhci_hcdi_pipe_reset()
477 (!(port_status & HCR_PORT_CSC))) { in uhci_hcdi_pipe_reset()
479 (port_status | HCR_PORT_ENABLE)); in uhci_hcdi_pipe_reset()
H A Duhciutil.c55 usb_port_status_t port_status);
58 usb_ep_descr_t *endpoint, usb_port_status_t port_status);
1251 usb_port_status_t port_status) in uhci_compute_total_bandwidth() argument
1263 if (port_status == USBA_LOW_SPEED_DEV) { in uhci_compute_total_bandwidth()
1297 usb_port_status_t port_status) in uhci_bandwidth_adjust() argument
1336 if ((port_status == USBA_LOW_SPEED_DEV) && in uhci_bandwidth_adjust()
/titanic_44/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci_hub.c719 uint_t port_status; in ohci_handle_port_power() local
725 port_status = Get_OpReg(hcr_rh_portstatus[port]); in ohci_handle_port_power()
731 port, port_status, on); in ohci_handle_port_power()
750 if (!(port_status & HCR_PORT_PPS)) { in ohci_handle_port_power()
776 if ((port_status & HCR_PORT_PPS)) { in ohci_handle_port_power()
807 uint_t port_status; in ohci_handle_port_enable() local
811 port_status = Get_OpReg(hcr_rh_portstatus[port]); in ohci_handle_port_enable()
815 port, port_status); in ohci_handle_port_enable()
819 if (!(port_status & HCR_PORT_PES)) { in ohci_handle_port_enable()
825 if (port_status & HCR_PORT_PES) { in ohci_handle_port_enable()
[all …]
H A Dohci.c166 usb_port_status_t port_status,
171 usb_port_status_t port_status);
3498 usb_port_status_t port_status, in ohci_compute_total_bandwidth() argument
3518 if (port_status == USBA_LOW_SPEED_DEV) { in ohci_compute_total_bandwidth()
3554 usb_port_status_t port_status) in ohci_adjust_polling_interval() argument
3597 if ((port_status == USBA_LOW_SPEED_DEV) && in ohci_adjust_polling_interval()
/titanic_44/usr/src/uts/common/io/sata/adapters/si3124/
H A Dsi3124.c2894 uint32_t port_status; in si_initialize_controller() local
3055 port_status = ddi_get32(si_ctlp->sictl_port_acc_handle, in si_initialize_controller()
3070 } while (!(port_status & PORT_STATUS_BITS_PORT_READY)); in si_initialize_controller()
3081 if (port_status & PORT_STATUS_BITS_PORT_READY) { in si_initialize_controller()
4015 uint32_t command_error, slot_status, port_status; in si_recover_portmult_errors() local
4030 port_status = ddi_get32(si_ctlp->sictl_port_acc_handle, in si_recover_portmult_errors()
4033 failed_slot = (port_status >> 16) & SI_NUM_SLOTS; in si_recover_portmult_errors()
4064 port_status = ddi_get32(si_ctlp->sictl_port_acc_handle, in si_recover_portmult_errors()
4066 failed_slot = (port_status >> 16) & SI_NUM_SLOTS; in si_recover_portmult_errors()
4120 uint32_t port_status; in si_error_recovery_DEVICEERROR() local
[all …]
/titanic_44/usr/src/uts/common/sys/usb/hcd/ehci/
H A Dehci_util.h84 usb_port_status_t port_status);
/titanic_44/usr/src/uts/common/io/usb/usba/
H A Dusba.c837 usb_port_status_t port_status, in usba_create_child_devi() argument
848 (void *)usba_device, port_status); in usba_create_child_devi()
863 usba_device->usb_port_status = port_status; in usba_create_child_devi()
877 usba_device->usb_port_status = port_status; in usba_create_child_devi()
2301 usb_port_status_t port_status; in usba_ready_interface_association_node() local
2338 port_status = child_ud->usb_port_status; in usba_ready_interface_association_node()
2351 port_status, /* port status */ in usba_ready_interface_association_node()
2546 usb_port_status_t port_status; in usba_ready_interface_node() local
2583 port_status = child_ud->usb_port_status; in usba_ready_interface_node()
2596 port_status, /* port status */ in usba_ready_interface_node()
H A Dhubdi.c517 usb_port_status_t port_status,
4094 usb_port_status_t port_status = 0; in hubd_handle_port_connect() local
4221 port_status = USBA_LOW_SPEED_DEV; in hubd_handle_port_connect()
4223 port_status = USBA_HIGH_SPEED_DEV; in hubd_handle_port_connect()
4225 port_status = USBA_FULL_SPEED_DEV; in hubd_handle_port_connect()
4231 port, status, port_status); in hubd_handle_port_connect()
4310 port_status, port, in hubd_handle_port_connect()
4361 (port_status != USBA_HIGH_SPEED_DEV)) { in hubd_handle_port_connect()
5825 usb_port_status_t port_status, in hubd_create_child() argument
5864 port_status, /* low speed device */ in hubd_create_child()
[all …]
/titanic_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ohci.c1539 uint32_t port_status; in hci1394_ohci_phy_info() local
1609 port_status = in hci1394_ohci_phy_info()
1614 port_status = IEEE1394_SELFID_PORT_TO_PARENT; in hci1394_ohci_phy_info()
1618 port_status = IEEE1394_SELFID_PORT_TO_CHILD; in hci1394_ohci_phy_info()
1623 port_status = IEEE1394_SELFID_PORT_NO_PORT; in hci1394_ohci_phy_info()
1627 phy_info = phy_info | (port_status << (6 - (index * 2))); in hci1394_ohci_phy_info()
/titanic_44/usr/src/uts/common/sys/usb/usba/
H A Dwhcdi.h233 usb_port_status_t port_status, usba_device_t *usba_device,
/titanic_44/usr/src/uts/sun4v/io/
H A Dvcc.c1420 i_vcc_turn_off_event(vcc_t *vccp, uint32_t port_status, uint32_t event) in i_vcc_turn_off_event() argument
1435 if (vport->status & port_status) { in i_vcc_turn_off_event()