Lines Matching refs:urb
73 urb_t *urb = hcd_urb_dequeue(default_pipe);
74 TEST_ASSERT_EQUAL(urb_list[i], urb);
75 TEST_ASSERT_EQUAL(USB_TRANSFER_STATUS_COMPLETED, urb->transfer.status);
76 TEST_ASSERT_EQUAL(URB_CONTEXT_VAL, urb->transfer.context);
78 TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
79 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
80 …usb_config_desc_t *config_desc = (usb_config_desc_t *)(urb->transfer.data_buffer + sizeof(usb_setu…
97 urb_t *urb = hcd_urb_dequeue(default_pipe);
99 …TEST_ASSERT(urb->transfer.status == USB_TRANSFER_STATUS_COMPLETED || urb->transfer.status == USB_T…
100 if (urb->transfer.status == USB_TRANSFER_STATUS_COMPLETED) {
102 … TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
103 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
106 TEST_ASSERT_EQUAL(0, urb->transfer.actual_num_bytes);
108 TEST_ASSERT_EQUAL(urb->transfer.context, URB_CONTEXT_VAL);
177 urb_t *urb = hcd_urb_dequeue(default_pipe);
178 TEST_ASSERT_EQUAL(urb_list[i], urb);
179 …TEST_ASSERT(urb->transfer.status == USB_TRANSFER_STATUS_STALL || urb->transfer.status == USB_TRANS…
180 if (urb->transfer.status == USB_TRANSFER_STATUS_COMPLETED) {
182 … TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
183 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
186 TEST_ASSERT_EQUAL(0, urb->transfer.actual_num_bytes);
188 TEST_ASSERT_EQUAL(URB_CONTEXT_VAL, urb->transfer.context);
206 urb_t *urb = hcd_urb_dequeue(default_pipe);
207 TEST_ASSERT_EQUAL(urb_list[i], urb);
208 TEST_ASSERT_EQUAL(USB_TRANSFER_STATUS_COMPLETED, urb->transfer.status);
209 TEST_ASSERT_EQUAL(URB_CONTEXT_VAL, urb->transfer.context);
211 TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
212 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
213 …usb_config_desc_t *config_desc = (usb_config_desc_t *)(urb->transfer.data_buffer + sizeof(usb_setu…
281 urb_t *urb = hcd_urb_dequeue(default_pipe);
282 TEST_ASSERT_EQUAL(urb_list[i], urb);
283 …TEST_ASSERT(urb->transfer.status == USB_TRANSFER_STATUS_COMPLETED || urb->transfer.status == USB_T…
284 if (urb->transfer.status == USB_TRANSFER_STATUS_COMPLETED) {
286 … TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
287 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
288 …usb_config_desc_t *config_desc = (usb_config_desc_t *)(urb->transfer.data_buffer + sizeof(usb_setu…
293 TEST_ASSERT_EQUAL(0, urb->transfer.actual_num_bytes);
295 TEST_ASSERT_EQUAL(URB_CONTEXT_VAL, urb->transfer.context);