Lines Matching refs:current

692 	transfer_data *current = fFirstTransfer;
693 while (current) {
694 if (current->transfer && current->transfer->TransferPipe() == pipe) {
696 if (!(current->endpoint->flags & OHCI_ENDPOINT_SKIP)) {
697 current->endpoint->flags |= OHCI_ENDPOINT_SKIP;
704 current->endpoint->head_physical_descriptor
705 = current->endpoint->tail_physical_descriptor;
710 = (ohci_isochronous_td *)current->first_descriptor;
717 == (ohci_isochronous_td*)current->last_descriptor)
733 entry->transfer = current->transfer;
734 current->transfer = NULL;
739 current->canceled = true;
741 current = current->link;
1025 // the current tail will become the first descriptor
1081 // the current tail will become the first descriptor
1666 // fill in the information of the first descriptor into the current tail
1706 // fill in the information of the first descriptor into the current tail
2080 ohci_general_td *current = topDescriptor;
2083 while (current) {
2084 next = (ohci_general_td *)current->next_logical_descriptor;
2085 _FreeGeneralDescriptor(current);
2086 current = next;
2265 ohci_isochronous_td *current = topDescriptor;
2268 while (current) {
2269 next = (ohci_isochronous_td *)current->next_done_descriptor;
2270 _FreeIsochronousDescriptor(current);
2271 current = next;
2280 ohci_general_td *current = topDescriptor;
2286 while (current) {
2287 if (!current->buffer_logical)
2291 size_t length = min_c(current->buffer_size - bufferOffset,
2298 (generic_addr_t)current->buffer_logical + bufferOffset, false,
2316 if (bufferOffset >= current->buffer_size) {
2322 if (!current->next_logical_descriptor)
2325 current = (ohci_general_td *)current->next_logical_descriptor;
2337 ohci_isochronous_td *current = topDescriptor;
2343 while (current) {
2344 if (!current->buffer_logical)
2348 size_t length = min_c(current->buffer_size - bufferOffset,
2355 (generic_addr_t)current->buffer_logical + bufferOffset, false,
2373 if (bufferOffset >= current->buffer_size) {
2379 if (!current->next_logical_descriptor)
2382 current = (ohci_isochronous_td *)current->next_logical_descriptor;
2394 ohci_general_td *current = topDescriptor;
2400 while (current && OHCI_TD_GET_CONDITION_CODE(current->flags)
2402 if (!current->buffer_logical)
2405 size_t bufferSize = current->buffer_size;
2406 if (current->buffer_physical != 0) {
2407 bufferSize -= current->last_physical_byte_address
2408 - current->buffer_physical + 1;
2420 (generic_addr_t)current->buffer_logical + bufferOffset, false, length);
2443 current = (ohci_general_td *)current->next_logical_descriptor;
2455 ohci_isochronous_td *current = topDescriptor;
2461 while (current && OHCI_ITD_GET_CONDITION_CODE(current->flags)
2463 size_t bufferSize = current->buffer_size;
2464 if (current->buffer_logical != NULL && bufferSize > 0) {
2474 (generic_addr_t)current->buffer_logical + bufferOffset, false, length);
2498 current = (ohci_isochronous_td *)current->next_done_descriptor;
2509 ohci_general_td *current = topDescriptor;
2512 while (current && OHCI_TD_GET_CONDITION_CODE(current->flags)
2514 size_t length = current->buffer_size;
2515 if (current->buffer_physical != 0) {
2516 length -= current->last_physical_byte_address
2517 - current->buffer_physical + 1;
2521 current = (ohci_general_td *)current->next_logical_descriptor;