Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci_polled.c308 intr = (Get_OpReg(hcr_intr_status) & Get_OpReg(hcr_intr_enable)); in ohci_hcdi_polled_read()
488 (Get_OpReg(hcr_control) & (~HCR_CONTROL_PLE))); in ohci_hcdi_polled_write()
531 (Get_OpReg(hcr_control) | HCR_CONTROL_PLE)); in ohci_hcdi_polled_write()
535 intr = Get_OpReg(hcr_intr_status); in ohci_hcdi_polled_write()
553 (void) Get_OpReg(hcr_intr_status); in ohci_hcdi_polled_write()
565 (void) Get_OpReg(hcr_intr_status); in ohci_hcdi_polled_write()
947 ohci_polled_regsp->hcr_control = Get_OpReg(hcr_control); in ohci_polled_save_state()
948 ohci_polled_regsp->hcr_cmd_status = Get_OpReg(hcr_cmd_status); in ohci_polled_save_state()
949 ohci_polled_regsp->hcr_intr_enable = Get_OpReg(hcr_intr_enable); in ohci_polled_save_state()
950 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.c1544 revision = Get_OpReg(hcr_revision); in ohci_init_ctlr()
1603 ohcip->ohci_frame_interval = Get_OpReg(hcr_frame_interval); in ohci_init_ctlr()
1625 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()
1646 curr_control = Get_OpReg(hcr_control); in ohci_init_ctlr()
1657 ASSERT((Get_OpReg(hcr_control) & in ohci_init_ctlr()
1672 ASSERT(Get_OpReg(hcr_intr_enable) & HCR_INTR_SOF); in ohci_init_ctlr()
1755 mask = Get_OpReg(hcr_HCCA); in ohci_init_hcca()
1760 mask = Get_OpReg(hcr_HCCA); in ohci_init_hcca()
1921 hcr_control_val = Get_OpReg(hcr_control); in ohci_take_control()
[all …]
/illumos-gate/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()
1208 (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()
1320 uint32_t cmd_reg = Get_OpReg(ehci_command); in ehci_init_ctlr()
1331 ASSERT(Get_OpReg(ehci_command) & EHCI_CMD_HOST_CTRL_RUN); in ehci_init_ctlr()
1821 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) & in ehci_cleanup()
1836 Get_OpReg(ehci_command) & ~EHCI_CMD_HOST_CTRL_RUN); in ehci_cleanup()
2055 Set_OpReg(ehci_command, (Get_OpReg(ehci_command) & in ehci_cpr_suspend()
[all …]
H A Dehci.c446 if (!(Get_OpReg(ehci_status) & EHCI_STS_HOST_CTRL_HALTED)) { in ehci_reset()
450 Get_OpReg(ehci_command) & ~EHCI_CMD_HOST_CTRL_RUN); in ehci_reset()
465 Get_OpReg(ehci_command) | EHCI_CMD_HOST_CTRL_RESET); in ehci_reset()
501 if (!(Get_OpReg(ehci_status) & EHCI_STS_HOST_CTRL_HALTED)) { in ehci_quiesce()
505 Get_OpReg(ehci_command) & ~EHCI_CMD_HOST_CTRL_RUN); in ehci_quiesce()
520 Get_OpReg(ehci_command) | EHCI_CMD_HOST_CTRL_RESET); in ehci_quiesce()
650 intr = (Get_OpReg(ehci_status) & Get_OpReg(ehci_interrupt)); in ehci_intr()
713 (Get_OpReg(ehci_interrupt) & ~EHCI_INTR_ASYNC_ADVANCE)); in ehci_intr()
764 (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()
/illumos-gate/usr/src/uts/common/sys/usb/hcd/ehci/
H A Dehcid.h935 #define Get_OpReg(addr) ddi_get32(ehcip->ehci_caps_handle, \ macro
947 while (Get_OpReg(addr) != val) { \
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/
H A Dohcid.h785 #define Get_OpReg(addr) ddi_get32(ohcip->ohci_regs_handle, \ macro