Home
last modified time | relevance | path

Searched refs:n_trans (Results 1 – 3 of 3) sorted by relevance

/USBX-v6.2.1/common/core/src/
Dux_hcd_sim_host_request_isochronous_transfer.c96 ULONG n_trans, packet_size; in _ux_hcd_sim_host_request_isochronous_transfer() local
116n_trans = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_NUMBER_OF_TRANSACTIONS_MASK; in _ux_hcd_sim_host_request_isochronous_transfer()
117 if (n_trans) in _ux_hcd_sim_host_request_isochronous_transfer()
119 n_trans >>= UX_MAX_NUMBER_OF_TRANSACTIONS_SHIFT; in _ux_hcd_sim_host_request_isochronous_transfer()
120 n_trans ++; in _ux_hcd_sim_host_request_isochronous_transfer()
121 packet_size *= n_trans; in _ux_hcd_sim_host_request_isochronous_transfer()
Dux_device_stack_interface_set.c106 ULONG max_transfer_length, n_trans; in _ux_device_stack_interface_set() local
247 n_trans = endpoint -> ux_slave_endpoint_descriptor.wMaxPacketSize & in _ux_device_stack_interface_set()
249 if (n_trans) in _ux_device_stack_interface_set()
251 n_trans >>= UX_MAX_NUMBER_OF_TRANSACTIONS_SHIFT; in _ux_device_stack_interface_set()
252 n_trans ++; in _ux_device_stack_interface_set()
253 max_transfer_length *= n_trans; in _ux_device_stack_interface_set()
Dux_device_stack_alternate_setting_set.c111 ULONG max_transfer_length, n_trans; in _ux_device_stack_alternate_setting_set() local
330n_trans = endpoint -> ux_slave_endpoint_descriptor.wMaxPacketSize & in _ux_device_stack_alternate_setting_set()
332 if (n_trans) in _ux_device_stack_alternate_setting_set()
334 n_trans >>= UX_MAX_NUMBER_OF_TRANSACTIONS_SHIFT; in _ux_device_stack_alternate_setting_set()
335 n_trans ++; in _ux_device_stack_alternate_setting_set()
336 max_transfer_length *= n_trans; in _ux_device_stack_alternate_setting_set()