Searched refs:n_trans (Results 1 – 3 of 3) sorted by relevance
96 ULONG n_trans, packet_size; in _ux_hcd_sim_host_request_isochronous_transfer() local116 … n_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()
106 ULONG max_transfer_length, n_trans; in _ux_device_stack_interface_set() local247 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()
111 ULONG max_transfer_length, n_trans; in _ux_device_stack_alternate_setting_set() local330 … n_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()