Home
last modified time | relevance | path

Searched refs:ehci_register (Results 1 – 10 of 10) sorted by relevance

/USBX-v6.2.1/common/usbx_host_controllers/src/
Dux_hcd_ehci_controller_disable.c81 ULONG ehci_register; in _ux_hcd_ehci_controller_disable() local
88 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_USB_COMMAND); in _ux_hcd_ehci_controller_disable()
89 ehci_register = EHCI_HC_IO_HCRESET; in _ux_hcd_ehci_controller_disable()
90 ehci_register &= ~EHCI_HC_IO_RS; in _ux_hcd_ehci_controller_disable()
91 _ux_hcd_ehci_register_write(hcd_ehci, EHCI_HCOR_USB_COMMAND, ehci_register); in _ux_hcd_ehci_controller_disable()
94 ehci_register = 0; in _ux_hcd_ehci_controller_disable()
95 while ((ehci_register&EHCI_HC_STS_HC_HALTED) == 0) in _ux_hcd_ehci_controller_disable()
98 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCCR_HCS_PARAMS); in _ux_hcd_ehci_controller_disable()
Dux_hcd_ehci_frame_number_set.c77 ULONG ehci_register; in _ux_hcd_ehci_frame_number_set() local
82 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_USB_COMMAND); in _ux_hcd_ehci_frame_number_set()
83 if (ehci_register & EHCI_HC_IO_RS) in _ux_hcd_ehci_frame_number_set()
88 ehci_register = frame_number << 3; in _ux_hcd_ehci_frame_number_set()
91 _ux_hcd_ehci_register_write(hcd_ehci, EHCI_HCOR_FRAME_INDEX, ehci_register); in _ux_hcd_ehci_frame_number_set()
Dux_hcd_ehci_initialize.c131 ULONG ehci_register; in _ux_hcd_ehci_initialize()
158 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCCR_CAP_LENGTH); in _ux_hcd_ehci_initialize()
159 hcd_ehci -> ux_hcd_ehci_hcor = (ehci_register & 0xff) >> 2; in _ux_hcd_ehci_initialize()
171 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_USB_COMMAND); in _ux_hcd_ehci_initialize()
174 ehci_register = (ehci_register >> 2) & 3; in _ux_hcd_ehci_initialize()
177 switch (ehci_register) in _ux_hcd_ehci_initialize()
269 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_USB_COMMAND); in _ux_hcd_ehci_initialize()
270 ehci_register &= ~EHCI_HC_IO_RS; in _ux_hcd_ehci_initialize()
271 _ux_hcd_ehci_register_write(hcd_ehci, EHCI_HCOR_USB_COMMAND, ehci_register); in _ux_hcd_ehci_initialize()
275 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_USB_COMMAND); in _ux_hcd_ehci_initialize()
[all …]
Dux_hcd_ehci_interrupt_handler.c92 ULONG ehci_register; in _ux_hcd_ehci_interrupt_handler() local
119 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_USB_STATUS); in _ux_hcd_ehci_interrupt_handler()
123 _ux_hcd_ehci_register_write(hcd_ehci, EHCI_HCOR_USB_STATUS, ehci_register); in _ux_hcd_ehci_interrupt_handler()
126 … if ((ehci_register & EHCI_HC_STS_USB_INT) || (ehci_register & EHCI_HC_STS_USB_ERR_INT)) in _ux_hcd_ehci_interrupt_handler()
135 if (ehci_register & EHCI_HC_STS_HSE) in _ux_hcd_ehci_interrupt_handler()
151 if (ehci_register & EHCI_HC_STS_PCD) in _ux_hcd_ehci_interrupt_handler()
182 if (ehci_register & EHCI_HC_STS_IAA) in _ux_hcd_ehci_interrupt_handler()
Dux_hcd_ehci_power_root_hubs.c77 ULONG ehci_register; in _ux_hcd_ehci_power_root_hubs() local
83 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCCR_HCS_PARAMS); in _ux_hcd_ehci_power_root_hubs()
85 if (ehci_register & EHCI_HC_RH_PPC) in _ux_hcd_ehci_power_root_hubs()
93 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_PORT_SC + port_index); in _ux_hcd_ehci_power_root_hubs()
96 …_ux_hcd_ehci_register_write(hcd_ehci, EHCI_HCOR_PORT_SC + port_index, ehci_register | EHCI_HC_PS_P… in _ux_hcd_ehci_power_root_hubs()
Dux_hcd_ehci_door_bell_wait.c82 ULONG ehci_register; in _ux_hcd_ehci_door_bell_wait() local
92 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_USB_COMMAND); in _ux_hcd_ehci_door_bell_wait()
93 ehci_register |= EHCI_HC_IO_IAAD; in _ux_hcd_ehci_door_bell_wait()
94 _ux_hcd_ehci_register_write(hcd_ehci, EHCI_HCOR_USB_COMMAND, ehci_register); in _ux_hcd_ehci_door_bell_wait()
Dux_hcd_ehci_frame_number_get.c76 ULONG ehci_register; in _ux_hcd_ehci_frame_number_get() local
80 ehci_register = _ux_hcd_ehci_register_read(hcd_ehci, EHCI_HCOR_FRAME_INDEX); in _ux_hcd_ehci_frame_number_get()
84 *frame_number = (ehci_register >> 3) & 0x3ff; in _ux_hcd_ehci_frame_number_get()
Dux_hcd_ehci_register_read.c73 ULONG _ux_hcd_ehci_register_read(UX_HCD_EHCI *hcd_ehci, ULONG ehci_register) in _ux_hcd_ehci_register_read() argument
77 return(*(hcd_ehci -> ux_hcd_ehci_base + ehci_register)); in _ux_hcd_ehci_register_read()
Dux_hcd_ehci_register_write.c73 VOID _ux_hcd_ehci_register_write(UX_HCD_EHCI *hcd_ehci, ULONG ehci_register, ULONG value) in _ux_hcd_ehci_register_write() argument
77 *(hcd_ehci -> ux_hcd_ehci_base + ehci_register) = value; in _ux_hcd_ehci_register_write()
/USBX-v6.2.1/common/usbx_host_controllers/inc/
Dux_hcd_ehci.h828 ULONG _ux_hcd_ehci_register_read(UX_HCD_EHCI *hcd_ehci, ULONG ehci_register);
829 VOID _ux_hcd_ehci_register_write(UX_HCD_EHCI *hcd_ehci, ULONG ehci_register, ULONG value);