Home
last modified time | relevance | path

Searched refs:Get_OpReg (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci_polled.c306 intr = (Get_OpReg(hcr_intr_status) & Get_OpReg(hcr_intr_enable)); in ohci_hcdi_polled_read()
486 (Get_OpReg(hcr_control) & (~HCR_CONTROL_PLE))); in ohci_hcdi_polled_write()
529 (Get_OpReg(hcr_control) | HCR_CONTROL_PLE)); in ohci_hcdi_polled_write()
533 intr = Get_OpReg(hcr_intr_status); in ohci_hcdi_polled_write()
551 (void) Get_OpReg(hcr_intr_status); in ohci_hcdi_polled_write()
563 (void) Get_OpReg(hcr_intr_status); in ohci_hcdi_polled_write()
945 ohci_polled_regsp->hcr_control = Get_OpReg(hcr_control); in ohci_polled_save_state()
946 ohci_polled_regsp->hcr_cmd_status = Get_OpReg(hcr_cmd_status); in ohci_polled_save_state()
947 ohci_polled_regsp->hcr_intr_enable = Get_OpReg(hcr_intr_enable); in ohci_polled_save_state()
948 ohci_polled_regsp->hcr_HCCA = Get_OpReg(hcr_HCCA); in ohci_polled_save_state()
[all …]
H A Dohci_hub.c116 des_A = ohcip->ohci_root_hub.rh_des_A = Get_OpReg(hcr_rh_descriptorA); in ohci_init_root_hub()
117 des_B = ohcip->ohci_root_hub.rh_des_B = Get_OpReg(hcr_rh_descriptorB); in ohci_init_root_hub()
126 ohcip->ohci_root_hub.rh_status = Get_OpReg(hcr_rh_status); in ohci_init_root_hub()
725 port_status = Get_OpReg(hcr_rh_portstatus[port]); in ohci_handle_port_power()
790 port, Get_OpReg(hcr_rh_portstatus[port]), on); in ohci_handle_port_power()
811 port_status = Get_OpReg(hcr_rh_portstatus[port]); in ohci_handle_port_enable()
849 port_status = Get_OpReg(hcr_rh_portstatus[port]); in ohci_handle_clrchng_port_enable()
877 port_status = Get_OpReg(hcr_rh_portstatus[port]); in ohci_handle_port_suspend()
909 port_status = Get_OpReg(hcr_rh_portstatus[port]); in ohci_handle_clrchng_port_suspend()
935 port_status = Get_OpReg(hcr_rh_portstatus[port]); in ohci_handle_port_reset()
[all …]
H A Dohci.c1560 revision = Get_OpReg(hcr_revision); in ohci_init_ctlr()
1619 ohcip->ohci_frame_interval = Get_OpReg(hcr_frame_interval); in ohci_init_ctlr()
1641 ohci_frame_interval = Get_OpReg(hcr_frame_interval); in ohci_init_ctlr()
1657 ohci_frame_interval = Get_OpReg(hcr_frame_interval); in ohci_init_ctlr()
1662 curr_control = Get_OpReg(hcr_control); in ohci_init_ctlr()
1673 ASSERT((Get_OpReg(hcr_control) & in ohci_init_ctlr()
1688 ASSERT(Get_OpReg(hcr_intr_enable) & HCR_INTR_SOF); in ohci_init_ctlr()
1771 mask = Get_OpReg(hcr_HCCA); in ohci_init_hcca()
1776 mask = Get_OpReg(hcr_HCCA); in ohci_init_hcca()
1937 hcr_control_val = Get_OpReg(hcr_control); in ohci_take_control()
[all …]
/titanic_44/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_polled.c278 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) & in ehci_hcdi_polled_input_enter()
287 (Get_OpReg(ehci_command) | EHCI_CMD_ASYNC_SCHED_ENABLE)); in ehci_hcdi_polled_input_enter()
352 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) & in ehci_hcdi_polled_input_exit()
361 (Get_OpReg(ehci_command) | EHCI_CMD_ASYNC_SCHED_ENABLE | in ehci_hcdi_polled_input_exit()
410 intr = ((Get_OpReg(ehci_status) & Get_OpReg(ehci_interrupt)) & in ehci_hcdi_polled_read()
591 Set_OpReg(ehci_command, Get_OpReg(ehci_command) & in ehci_hcdi_polled_write()
616 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) | in ehci_hcdi_polled_write()
622 while (!((Get_OpReg(ehci_status)) & (EHCI_INTR_USB in ehci_hcdi_polled_write()
631 intr = (Get_OpReg(ehci_status)) & in ehci_hcdi_polled_write()
1013 ehci_polled_regsp->ehci_command = Get_OpReg(ehci_command); in ehci_polled_save_state()
[all …]
H A Dehci_hub.c704 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_port_power()
744 port, Get_OpReg(ehci_rh_port_status[port]), on); in ehci_handle_port_power()
765 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_port_enable()
813 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_clrchng_port_enable()
850 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_port_suspend()
910 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_clrchng_port_suspend()
951 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_clrchng_port_suspend()
982 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_port_reset()
1021 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_port_reset()
1039 port_status = Get_OpReg(ehci_rh_port_status[port]) & in ehci_handle_port_reset()
[all …]
H A Dehci_util.c1031 Get_OpReg(ehci_command) | EHCI_CMD_HOST_CTRL_RESET); in ehci_init_hardware()
1036 ASSERT(Get_OpReg(ehci_status) & EHCI_STS_HOST_CTRL_HALTED); in ehci_init_hardware()
1207 (Get_OpReg(ehci_status) & EHCI_STS_HOST_CTRL_HALTED)) { in ehci_init_check_status()
1258 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) | in ehci_init_ctlr()
1274 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) | in ehci_init_ctlr()
1321 ((Get_OpReg(ehci_command) & ~EHCI_CMD_INTR_THRESHOLD) | in ehci_init_ctlr()
1324 ASSERT(Get_OpReg(ehci_command) & EHCI_CMD_HOST_CTRL_RUN); in ehci_init_ctlr()
1800 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) & in ehci_cleanup()
1815 Get_OpReg(ehci_command) & ~EHCI_CMD_HOST_CTRL_RUN); in ehci_cleanup()
2034 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) & in ehci_cpr_suspend()
[all …]
H A Dehci.c448 if (!(Get_OpReg(ehci_status) & EHCI_STS_HOST_CTRL_HALTED)) { in ehci_reset()
452 Get_OpReg(ehci_command) & ~EHCI_CMD_HOST_CTRL_RUN); in ehci_reset()
467 Get_OpReg(ehci_command) | EHCI_CMD_HOST_CTRL_RESET); in ehci_reset()
503 if (!(Get_OpReg(ehci_status) & EHCI_STS_HOST_CTRL_HALTED)) { in ehci_quiesce()
507 Get_OpReg(ehci_command) & ~EHCI_CMD_HOST_CTRL_RUN); in ehci_quiesce()
522 Get_OpReg(ehci_command) | EHCI_CMD_HOST_CTRL_RESET); in ehci_quiesce()
665 intr = (Get_OpReg(ehci_status) & Get_OpReg(ehci_interrupt)); in ehci_intr()
728 (Get_OpReg(ehci_interrupt) & ~EHCI_INTR_ASYNC_ADVANCE)); in ehci_intr()
779 (void) Get_OpReg(ehci_status); in ehci_intr()
H A Dehci_intr.c165 Set_OpReg(ehci_interrupt, (Get_OpReg(ehci_interrupt) & in ehci_handle_ue()
181 Set_OpReg(ehci_interrupt, (Get_OpReg(ehci_interrupt) & in ehci_handle_ue()
207 (((Get_OpReg(ehci_frame_index) & 0x3FFF) ^ in ehci_handle_frame_list_rollover()
H A Dehci_xfer.c623 (qh_addr != Get_OpReg(ehci_async_list_addr))) { in ehci_insert_async_qh()
/titanic_44/usr/src/uts/common/sys/usb/hcd/ehci/
H A Dehcid.h934 #define Get_OpReg(addr) ddi_get32(ehcip->ehci_caps_handle, \ macro
946 while (Get_OpReg(addr) != val) { \
/titanic_44/usr/src/uts/common/sys/usb/hcd/openhci/
H A Dohcid.h785 #define Get_OpReg(addr) ddi_get32(ohcip->ohci_regs_handle, \ macro