/USBX-v6.2.1/common/usbx_host_classes/src/ |
D | ux_host_class_asix_reception_callback.c | 94 NX_PACKET *packet; in _ux_host_class_asix_reception_callback() 102 packet = transfer_request -> ux_transfer_request_user_specific; in _ux_host_class_asix_reception_callback() 109 packet -> nx_packet_prepend_ptr += 4; in _ux_host_class_asix_reception_callback() 110 packet -> nx_packet_length = transfer_request -> ux_transfer_request_actual_length - 4; in _ux_host_class_asix_reception_callback() 111 packet -> nx_packet_append_ptr = in _ux_host_class_asix_reception_callback() 112 packet->nx_packet_prepend_ptr + transfer_request -> ux_transfer_request_actual_length ; in _ux_host_class_asix_reception_callback() 115 if((*(packet -> nx_packet_prepend_ptr + 12) == 0x08) && in _ux_host_class_asix_reception_callback() 116 (*(packet -> nx_packet_prepend_ptr + 13) == 0)) in _ux_host_class_asix_reception_callback() 118 …ip_given_length = _ux_utility_short_get_big_endian(packet -> nx_packet_prepend_ptr + 16) + UX_HOST… in _ux_host_class_asix_reception_callback() 119 packet->nx_packet_length = ip_given_length ; in _ux_host_class_asix_reception_callback() [all …]
|
D | ux_host_class_cdc_ecm_write.c | 89 UINT _ux_host_class_cdc_ecm_write(VOID *cdc_ecm_class, NX_PACKET *packet) in _ux_host_class_cdc_ecm_write() argument 134 if (packet -> nx_packet_length > UX_HOST_CLASS_CDC_ECM_NX_PAYLOAD_SIZE) in _ux_host_class_cdc_ecm_write() 144 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_CLASS_ETH_SIZE_ERROR, cdc_ecm, packet -> nx_packet_leng… in _ux_host_class_cdc_ecm_write() 158 packet -> nx_packet_queue_next = UX_NULL; in _ux_host_class_cdc_ecm_write() 161 cdc_ecm -> ux_host_class_cdc_ecm_xmit_queue_head = packet; in _ux_host_class_cdc_ecm_write() 162 cdc_ecm -> ux_host_class_cdc_ecm_xmit_queue_tail = packet; in _ux_host_class_cdc_ecm_write() 174 if (packet -> nx_packet_next != UX_NULL) in _ux_host_class_cdc_ecm_write() 191 … nx_packet_data_extract_offset(packet, 0, packet_header, packet -> nx_packet_length, &copied); in _ux_host_class_cdc_ecm_write() 198 packet_header = packet -> nx_packet_prepend_ptr; in _ux_host_class_cdc_ecm_write() 204 transfer_request -> ux_transfer_request_requested_length = packet -> nx_packet_length; in _ux_host_class_cdc_ecm_write() [all …]
|
D | ux_host_class_asix_write.c | 87 UINT _ux_host_class_asix_write(VOID *asix_class, NX_PACKET *packet) in _ux_host_class_asix_write() argument 91 UX_PARAMETER_NOT_USED(packet); in _ux_host_class_asix_write() 139 packet -> nx_packet_prepend_ptr = packet -> nx_packet_prepend_ptr + NX_ETHERNET_SIZE; in _ux_host_class_asix_write() 140 packet -> nx_packet_length = packet -> nx_packet_length - NX_ETHERNET_SIZE; in _ux_host_class_asix_write() 141 nx_packet_transmit_release(packet); in _ux_host_class_asix_write() 149 packet_header = packet -> nx_packet_prepend_ptr; in _ux_host_class_asix_write() 157 if (packet_header < packet -> nx_packet_data_start) in _ux_host_class_asix_write() 169 if (UX_OVERFLOW_CHECK_ADD_ULONG(packet -> nx_packet_length, sizeof(USHORT) * 2)) in _ux_host_class_asix_write() 177 adjusted_length = packet -> nx_packet_length + sizeof(USHORT) * 2; in _ux_host_class_asix_write() 188 _ux_utility_short_put(packet_header, (USHORT)(packet -> nx_packet_length)); in _ux_host_class_asix_write() [all …]
|
D | ux_host_class_cdc_ecm_thread.c | 109 NX_PACKET *packet; in _ux_host_class_cdc_ecm_thread() local 164 status = nx_packet_allocate(cdc_ecm -> ux_host_class_cdc_ecm_packet_pool, &packet, in _ux_host_class_cdc_ecm_thread() 171 packet -> nx_packet_prepend_ptr += sizeof(USHORT); in _ux_host_class_cdc_ecm_thread() 179 … packet_buffer_size = (ULONG)(packet -> nx_packet_data_end - packet -> nx_packet_prepend_ptr); in _ux_host_class_cdc_ecm_thread() 194 nx_packet_release(packet); in _ux_host_class_cdc_ecm_thread() 211 … transfer_request -> ux_transfer_request_data_pointer = packet -> nx_packet_prepend_ptr; in _ux_host_class_cdc_ecm_thread() 220 transfer_request -> ux_transfer_request_user_specific = packet; in _ux_host_class_cdc_ecm_thread() 223 packet -> nx_packet_queue_next = UX_NULL; in _ux_host_class_cdc_ecm_thread() 255 if (packet -> nx_packet_prepend_ptr != in _ux_host_class_cdc_ecm_thread() 260 … packet -> nx_packet_append_ptr = packet -> nx_packet_prepend_ptr; in _ux_host_class_cdc_ecm_thread() [all …]
|
D | ux_host_class_asix_thread.c | 107 NX_PACKET *packet; in _ux_host_class_asix_thread() local 178 packet = UX_NULL; in _ux_host_class_asix_thread() 236 if (packet != UX_NULL) in _ux_host_class_asix_thread() 238 nx_packet_release(packet); in _ux_host_class_asix_thread() 239 packet = UX_NULL; in _ux_host_class_asix_thread() 255 if (packet != UX_NULL) in _ux_host_class_asix_thread() 257 nx_packet_release(packet); in _ux_host_class_asix_thread() 258 packet = UX_NULL; in _ux_host_class_asix_thread() 268 if (packet != UX_NULL) in _ux_host_class_asix_thread() 273 nx_packet_release(packet); in _ux_host_class_asix_thread() [all …]
|
/USBX-v6.2.1/common/usbx_device_classes/src/ |
D | ux_device_class_rndis_bulkout_thread.c | 101 NX_PACKET *packet; in _ux_device_class_rndis_bulkout_thread() local 149 status = nx_packet_allocate(rndis -> ux_slave_class_rndis_packet_pool, &packet, in _ux_device_class_rndis_bulkout_thread() 160 rndis -> ux_slave_class_rndis_receive_queue = packet; in _ux_device_class_rndis_bulkout_thread() 163 packet -> nx_packet_queue_next = UX_NULL; in _ux_device_class_rndis_bulkout_thread() 195 packet -> nx_packet_prepend_ptr += sizeof(USHORT); in _ux_device_class_rndis_bulkout_thread() 196 packet -> nx_packet_append_ptr += sizeof(USHORT); in _ux_device_class_rndis_bulkout_thread() 199 status = nx_packet_data_append(packet, in _ux_device_class_rndis_bulkout_thread() 209 … _ux_network_driver_packet_received(rndis -> ux_slave_class_rndis_network_handle, packet); in _ux_device_class_rndis_bulkout_thread() 216 nx_packet_release(packet); in _ux_device_class_rndis_bulkout_thread() 224 nx_packet_release(packet); in _ux_device_class_rndis_bulkout_thread() [all …]
|
D | ux_device_class_cdc_ecm_bulkout_thread.c | 101 NX_PACKET *packet; in _ux_device_class_cdc_ecm_bulkout_thread() local 152 status = nx_packet_allocate(cdc_ecm -> ux_slave_class_cdc_ecm_packet_pool, &packet, in _ux_device_class_cdc_ecm_bulkout_thread() 166 cdc_ecm -> ux_slave_class_cdc_ecm_receive_queue = packet; in _ux_device_class_cdc_ecm_bulkout_thread() 169 packet -> nx_packet_queue_next = UX_NULL; in _ux_device_class_cdc_ecm_bulkout_thread() 184 packet -> nx_packet_prepend_ptr += sizeof(USHORT); in _ux_device_class_cdc_ecm_bulkout_thread() 185 packet -> nx_packet_append_ptr += sizeof(USHORT); in _ux_device_class_cdc_ecm_bulkout_thread() 188 status = nx_packet_data_append(packet, in _ux_device_class_cdc_ecm_bulkout_thread() 197 … _ux_network_driver_packet_received(cdc_ecm -> ux_slave_class_cdc_ecm_network_handle, packet); in _ux_device_class_cdc_ecm_bulkout_thread() 204 nx_packet_release(packet); in _ux_device_class_cdc_ecm_bulkout_thread() 210 nx_packet_release(packet); in _ux_device_class_cdc_ecm_bulkout_thread()
|
D | ux_device_class_cdc_ecm_write.c | 81 UINT _ux_device_class_cdc_ecm_write(VOID *cdc_ecm_class, NX_PACKET *packet) in _ux_device_class_cdc_ecm_write() argument 85 UX_PARAMETER_NOT_USED(packet); in _ux_device_class_cdc_ecm_write() 106 cdc_ecm -> ux_slave_class_cdc_ecm_xmit_queue = packet; in _ux_device_class_cdc_ecm_write() 111 cdc_ecm -> ux_slave_class_cdc_ecm_xmit_queue_tail -> nx_packet_queue_next = packet; in _ux_device_class_cdc_ecm_write() 114 cdc_ecm -> ux_slave_class_cdc_ecm_xmit_queue_tail = packet; in _ux_device_class_cdc_ecm_write() 117 packet -> nx_packet_queue_next = NX_NULL; in _ux_device_class_cdc_ecm_write()
|
D | ux_device_class_rndis_write.c | 81 UINT _ux_device_class_rndis_write(VOID *rndis_class, NX_PACKET *packet) in _ux_device_class_rndis_write() argument 85 UX_PARAMETER_NOT_USED(packet); in _ux_device_class_rndis_write() 103 rndis -> ux_slave_class_rndis_xmit_queue = packet; in _ux_device_class_rndis_write() 126 current_packet -> nx_packet_queue_next = packet; in _ux_device_class_rndis_write() 134 packet -> nx_packet_queue_next = NX_NULL; in _ux_device_class_rndis_write()
|
/USBX-v6.2.1/common/usbx_host_classes/inc/ |
D | ux_host_class_cdc_ecm.h | 330 UINT _ux_host_class_cdc_ecm_write(VOID *cdc_ecm_class, NX_PACKET *packet);
|
D | ux_host_class_asix.h | 471 UINT _ux_host_class_asix_write(VOID *asix_class, NX_PACKET *packet);
|
/USBX-v6.2.1/common/usbx_device_classes/inc/ |
D | ux_device_class_cdc_ecm.h | 383 UINT _ux_device_class_cdc_ecm_write(VOID *cdc_ecm_class, NX_PACKET *packet);
|
D | ux_device_class_rndis.h | 614 UINT _ux_device_class_rndis_write(VOID *rndis_class, NX_PACKET *packet);
|