Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 4 of 4) sorted by relevance

/USBX-v6.2.1/common/usbx_host_controllers/src/
Dux_hcd_ehci_interrupt_endpoint_create.c116 UINT interval; in _ux_hcd_ehci_interrupt_endpoint_create() local
207 interval = endpoint -> ux_endpoint_descriptor.bInterval; in _ux_hcd_ehci_interrupt_endpoint_create()
215 if (interval <= (1u << i)) in _ux_hcd_ehci_interrupt_endpoint_create()
220 interval = 4 + i; in _ux_hcd_ehci_interrupt_endpoint_create()
226 if (interval <= 4) in _ux_hcd_ehci_interrupt_endpoint_create()
229 i = interval - 4; in _ux_hcd_ehci_interrupt_endpoint_create()
243 if (interval > 0) in _ux_hcd_ehci_interrupt_endpoint_create()
245 interval --; in _ux_hcd_ehci_interrupt_endpoint_create()
246 interval &= 0x3; in _ux_hcd_ehci_interrupt_endpoint_create()
248 interval = (1u << interval); /* 1 (1/8ms), 2, 4, 8 (1ms) */ in _ux_hcd_ehci_interrupt_endpoint_create()
[all …]
Dux_hcd_ohci_interrupt_endpoint_create.c107 UINT interval; in _ux_hcd_ohci_interrupt_endpoint_create() local
158 interval = endpoint -> ux_endpoint_descriptor.bInterval; in _ux_hcd_ohci_interrupt_endpoint_create()
163 if (interval == 0) in _ux_hcd_ohci_interrupt_endpoint_create()
166 interval = 1; in _ux_hcd_ohci_interrupt_endpoint_create()
170 if (interval >= 32) in _ux_hcd_ohci_interrupt_endpoint_create()
183 if (interval & interval_index) in _ux_hcd_ohci_interrupt_endpoint_create()
Dux_hcd_ehci_isochronous_endpoint_create.c116 UCHAR interval; in _ux_hcd_ehci_isochronous_endpoint_create()
143 interval = (UCHAR)endpoint -> ux_endpoint_descriptor.bInterval; in _ux_hcd_ehci_isochronous_endpoint_create()
146 if (interval == 0) in _ux_hcd_ehci_isochronous_endpoint_create()
147 interval = 1; in _ux_hcd_ehci_isochronous_endpoint_create()
148 if (interval > 16) in _ux_hcd_ehci_isochronous_endpoint_create()
149 interval = 16; in _ux_hcd_ehci_isochronous_endpoint_create()
152 interval_shift = (UCHAR)(interval - 1); in _ux_hcd_ehci_isochronous_endpoint_create()
155 interval = (UCHAR)(1u << interval_shift); in _ux_hcd_ehci_isochronous_endpoint_create()
212 if (interval > 2) in _ux_hcd_ehci_isochronous_endpoint_create()
254 ed -> ux_ehci_hsiso_ed_frinterval = interval; in _ux_hcd_ehci_isochronous_endpoint_create()
[all …]
/USBX-v6.2.1/common/core/src/
Dux_hcd_sim_host_interrupt_endpoint_create.c100 UINT interval; in _ux_hcd_sim_host_interrupt_endpoint_create() local
136 interval = endpoint -> ux_endpoint_descriptor.bInterval; in _ux_hcd_sim_host_interrupt_endpoint_create()
139 if (interval >= 32) in _ux_hcd_sim_host_interrupt_endpoint_create()
150 if (interval&interval_index) in _ux_hcd_sim_host_interrupt_endpoint_create()