Lines Matching refs:pkt_idx
1767 for (int pkt_idx = 0; pkt_idx < urb->transfer.num_isoc_packets; pkt_idx++) {
1768 urb->transfer.isoc_packet_desc[pkt_idx].actual_num_bytes = 0;
1769 urb->transfer.isoc_packet_desc[pkt_idx].status = (canceled) ? USB_TRANSFER_STATUS_CANCELED : USB_TRANSFER_STATUS_NO_DEVICE;
2156 for (int pkt_idx = 0; pkt_idx < transfer->num_isoc_packets; pkt_idx++) {
2157 int xfer_len = transfer->isoc_packet_desc[pkt_idx].num_bytes;
2159 if (pkt_idx == transfer->num_isoc_packets - 1) {
2420 for (int pkt_idx = 0; pkt_idx < transfer->num_isoc_packets; pkt_idx++) {
2428 assert(rem_len <= transfer->isoc_packet_desc[pkt_idx].num_bytes); //Check for DMA errata
2430 transfer->isoc_packet_desc[pkt_idx].actual_num_bytes = transfer->isoc_packet_desc[pkt_idx].num_bytes - rem_len;
2431 total_actual_num_bytes += transfer->isoc_packet_desc[pkt_idx].actual_num_bytes;
2432 transfer->isoc_packet_desc[pkt_idx].status = (desc_status == USBH_HAL_XFER_DESC_STS_NOT_EXECUTED) ? USB_TRANSFER_STATUS_SKIPPED : USB_TRANSFER_STATUS_COMPLETED;