Home
last modified time | relevance | path

Searched refs:packet_count (Results 1 – 10 of 10) sorted by relevance

/haiku/src/add-ons/kernel/busses/usb/
H A Duhci.cpp1057 = current->transfer->IsochronousData()->packet_count; in CancelQueuedIsochronousTransfers()
1232 data->last_to_process = transfer->IsochronousData()->packet_count - 1; in AddPendingIsochronousTransfer()
1261 size_t restSize = packetSize % isochronousData->packet_count; in SubmitIsochronous()
1262 packetSize /= isochronousData->packet_count; in SubmitIsochronous()
1272 uint16 bandwidth = transfer->Bandwidth() / isochronousData->packet_count; in SubmitIsochronous()
1281 = new(std::nothrow) uhci_td *[isochronousData->packet_count]; in SubmitIsochronous()
1288 for (uint32 i = 0; i < (isochronousData->packet_count - 1); i++) { in SubmitIsochronous()
1304 isoRequest[isochronousData->packet_count - 1] = CreateDescriptor(pipe, in SubmitIsochronous()
1308 if (!isoRequest[isochronousData->packet_count - 1]) { in SubmitIsochronous()
1309 for (uint32 i = 0; i < (isochronousData->packet_count - 2); i++) in SubmitIsochronous()
[all …]
H A Dohci.cpp2156 size_t packet_count = isochronousData->packet_count; in _CreateIsochronousDescriptorChain() local
2158 if (packet_count == 0) { in _CreateIsochronousDescriptorChain()
2163 size_t packetSize = dataLength / packet_count; in _CreateIsochronousDescriptorChain()
2164 if (dataLength % packet_count != 0) in _CreateIsochronousDescriptorChain()
2173 uint16 bandwidth = transfer->Bandwidth() / packet_count; in _CreateIsochronousDescriptorChain()
2174 if (transfer->Bandwidth() % packet_count != 0) in _CreateIsochronousDescriptorChain()
2194 uint16 packets = packet_count; in _CreateIsochronousDescriptorChain()
2239 += dataLength - packetSize * (packet_count); in _CreateIsochronousDescriptorChain()
H A Dehci.cpp1165 size_t restSize = packetSize % isochronousData->packet_count; in SubmitIsochronous()
1167 packetSize /= isochronousData->packet_count; in SubmitIsochronous()
1182 uint16 bandwidth = transfer->Bandwidth() / isochronousData->packet_count; in SubmitIsochronous()
1191 = new(std::nothrow) ehci_itd *[isochronousData->packet_count]; in SubmitIsochronous()
1200 isochronousData->packet_count, pipe->MaxPacketSize(), packetSize, in SubmitIsochronous()
2955 packetSize /= isochronousData->packet_count; in ReadIsochronousDescriptorChain()
2960 && packet < isochronousData->packet_count; j++) { in ReadIsochronousDescriptorChain()
H A Dxhci.cpp972 if (isochronousData->packet_count == 0) in SubmitNormalRequest()
976 trbSize = transfer->DataLength() / isochronousData->packet_count; in SubmitNormalRequest()
1017 for (uint32 i = 0; i < isochronousData->packet_count; i++) { in SubmitNormalRequest()
1021 if (i != (isochronousData->packet_count - 1)) { in SubmitNormalRequest()
/haiku/src/add-ons/kernel/bus_managers/usb/
H A Dusbspec_private.h54 uint32 packet_count; member
H A DPipe.cpp303 isochronousData->packet_count = packetCount; in QueueIsochronous()
307 for (uint32 i = 0; i < isochronousData->packet_count; i++) { in QueueIsochronous()
/haiku/src/add-ons/kernel/drivers/bus/usb/
H A Dusb_raw.h184 uint32 packet_count; member
H A Dusb_raw.cpp816 * command.isochronous.packet_count; in usb_raw_ioctl()
862 packetDescriptors, command.isochronous.packet_count, NULL, in usb_raw_ioctl()
/haiku/src/kits/device/
H A DUSBEndpoint.cpp210 command.isochronous.packet_count = packetCount; in IsochronousTransfer()
/haiku/src/add-ons/kernel/drivers/midi/usb_midi/
H A Dusb_midi.cpp670 int packet_count = 0; in usb_midi_write() local
693 packet_count++; in usb_midi_write()
700 * packet_count, (usb_callback_func)midi_usb_write_callback, in usb_midi_write()