Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_host_controllers/src/
Dux_hcd_ohci_initialize.c96 ULONG ohci_register; in _ux_hcd_ohci_initialize() local
178 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_COMMAND_STATUS); in _ux_hcd_ohci_initialize()
179 if ((ohci_register & OHCI_HC_CS_HCR) == 0) in _ux_hcd_ohci_initialize()
184 if ((ohci_register & OHCI_HC_CS_HCR) != 0) in _ux_hcd_ohci_initialize()
217ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_FM_INTERVAL) & OHCI_HC_FM_INTERVAL_C… in _ux_hcd_ohci_initialize()
218 ohci_register |= OHCI_HC_FM_INTERVAL_SET; in _ux_hcd_ohci_initialize()
219 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_FM_INTERVAL, ohci_register); in _ux_hcd_ohci_initialize()
222ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_FM_INTERVAL) & OHCI_HC_FM_INTERVAL_F… in _ux_hcd_ohci_initialize()
223 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_PERIODIC_START, ohci_register * 9 / 10); in _ux_hcd_ohci_initialize()
231 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_RH_DESCRIPTOR_A); in _ux_hcd_ohci_initialize()
[all …]
Dux_hcd_ohci_asynchronous_endpoint_destroy.c90 ULONG ohci_register; in _ux_hcd_ohci_asynchronous_endpoint_destroy() local
134 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_CONTROL); in _ux_hcd_ohci_asynchronous_endpoint_destroy()
135 ohci_register &= ~OHCI_HC_CR_CLE; in _ux_hcd_ohci_asynchronous_endpoint_destroy()
136 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_CONTROL, ohci_register); in _ux_hcd_ohci_asynchronous_endpoint_destroy()
150 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_CONTROL); in _ux_hcd_ohci_asynchronous_endpoint_destroy()
151 ohci_register &= ~OHCI_HC_CR_BLE; in _ux_hcd_ohci_asynchronous_endpoint_destroy()
152 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_CONTROL, ohci_register); in _ux_hcd_ohci_asynchronous_endpoint_destroy()
Dux_hcd_ohci_asynchronous_endpoint_create.c89 ULONG ohci_register; in _ux_hcd_ohci_asynchronous_endpoint_create() local
145 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_CONTROL); in _ux_hcd_ohci_asynchronous_endpoint_create()
146 ohci_register |= OHCI_HC_CR_CLE; in _ux_hcd_ohci_asynchronous_endpoint_create()
147 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_CONTROL, ohci_register); in _ux_hcd_ohci_asynchronous_endpoint_create()
156 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_CONTROL); in _ux_hcd_ohci_asynchronous_endpoint_create()
157 ohci_register |= OHCI_HC_CR_BLE; in _ux_hcd_ohci_asynchronous_endpoint_create()
158 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_CONTROL, ohci_register); in _ux_hcd_ohci_asynchronous_endpoint_create()
Dux_hcd_ohci_interrupt_handler.c93 ULONG ohci_register = 0; in _ux_hcd_ohci_interrupt_handler() local
117 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_INTERRUPT_STATUS); in _ux_hcd_ohci_interrupt_handler()
120 if (ohci_register & OHCI_HC_INT_WDH) in _ux_hcd_ohci_interrupt_handler()
137 if (ohci_register & OHCI_HC_INT_UE) in _ux_hcd_ohci_interrupt_handler()
148 if (ohci_register & OHCI_HC_INT_RHSC) in _ux_hcd_ohci_interrupt_handler()
187 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_INTERRUPT_STATUS, ohci_register); in _ux_hcd_ohci_interrupt_handler()
Dux_hcd_ohci_controller_disable.c78 ULONG ohci_register; in _ux_hcd_ohci_controller_disable() local
85 ohci_register = OHCI_HC_CR_RESET; in _ux_hcd_ohci_controller_disable()
86 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_CONTROL, ohci_register); in _ux_hcd_ohci_controller_disable()
Dux_hcd_ohci_register_read.c72 ULONG _ux_hcd_ohci_register_read(UX_HCD_OHCI *hcd_ohci, ULONG ohci_register) in _ux_hcd_ohci_register_read() argument
76 return(*(hcd_ohci -> ux_hcd_ohci_hcor + ohci_register)); in _ux_hcd_ohci_register_read()
Dux_hcd_ohci_register_write.c73 VOID _ux_hcd_ohci_register_write(UX_HCD_OHCI *hcd_ohci, ULONG ohci_register, ULONG value) in _ux_hcd_ohci_register_write() argument
77 *(hcd_ohci -> ux_hcd_ohci_hcor + ohci_register) = value; in _ux_hcd_ohci_register_write()
Dux_hcd_ohci_request_bulk_transfer.c93 ULONG ohci_register; in _ux_hcd_ohci_request_bulk_transfer() local
236 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_COMMAND_STATUS); in _ux_hcd_ohci_request_bulk_transfer()
237 ohci_register |= OHCI_HC_CS_BLF; in _ux_hcd_ohci_request_bulk_transfer()
238 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_COMMAND_STATUS, ohci_register); in _ux_hcd_ohci_request_bulk_transfer()
Dux_hcd_ohci_request_control_transfer.c107 ULONG ohci_register; in _ux_hcd_ohci_request_control_transfer() local
250 ohci_register = _ux_hcd_ohci_register_read(hcd_ohci, OHCI_HC_COMMAND_STATUS); in _ux_hcd_ohci_request_control_transfer()
251 ohci_register |= OHCI_HC_CS_CLF; in _ux_hcd_ohci_request_control_transfer()
252 _ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_COMMAND_STATUS, ohci_register); in _ux_hcd_ohci_request_control_transfer()
/USBX-v6.2.1/common/usbx_host_controllers/inc/
Dux_hcd_ohci.h407 ULONG _ux_hcd_ohci_register_read(UX_HCD_OHCI *hcd_ohci, ULONG ohci_register);
408 VOID _ux_hcd_ohci_register_write(UX_HCD_OHCI *hcd_ohci, ULONG ohci_register, ULONG value);