Searched refs:sgList (Results 1 - 6 of 6) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/bus_managers/ata/
H A DATAHelper.cpp29 const physical_entry *sgList = ccb->sg_list; local
33 while (sgCount > 0 && offset >= sgList->size) {
34 offset -= sgList->size;
35 ++sgList;
46 for (; size > 0 && requestSize > 0 && sgCount > 0; ++sgList, --sgCount) {
50 bytes = MIN(bytes, sgList->size);
53 vm_memcpy_from_physical(buffer, sgList->address + offset, bytes,
56 vm_memcpy_to_physical(sgList->address + offset, buffer, bytes,
/haiku-fatelf/src/add-ons/kernel/bus_managers/ide/
H A Demulation.cpp67 const physical_entry *sgList = request->sg_list; local
72 offset, allocationLength, size, sgList, sgCount, toBuffer ? "to" : "from");
75 while (sgCount > 0 && offset >= sgList->size) {
76 offset -= sgList->size;
77 ++sgList;
88 for (; size > 0 && requestSize > 0 && sgCount > 0; ++sgList, --sgCount) {
92 bytes = min_c(bytes, sgList->size);
95 buffer, (void *)(sgList->address + offset), (int)bytes, toBuffer);
98 vm_memcpy_from_physical(buffer, sgList->address + offset, bytes,
101 vm_memcpy_to_physical(sgList
[all...]
/haiku-fatelf/src/add-ons/kernel/busses/ata/it8211/
H A Dit8211.c79 it8211_prepare_dma(void *channelCookie, const physical_entry *sgList, argument
83 sgList, sgListCount, toDevice);
/haiku-fatelf/src/add-ons/kernel/busses/ide/it8211/
H A Dit8211.c79 it8211_prepare_dma(void *channelCookie, const physical_entry *sgList, argument
83 sgList, sgListCount, toDevice);
/haiku-fatelf/src/add-ons/kernel/generic/ata_adapter/
H A Data_adapter.cpp240 const physical_entry *sgList, size_t sgListCount, bool writeToDevice)
252 for (i = sgListCount - 1, prd = channel->prdt; i >= 0; --i, ++prd, ++sgList) {
254 device, (void*)(addr_t)sgList->address));
256 prd->count = B_HOST_TO_LENDIAN_INT16((uint16)sgList->size);
261 sgList->address, sgList->size,
239 ata_adapter_prepare_dma(ata_adapter_channel_info *channel, const physical_entry *sgList, size_t sgListCount, bool writeToDevice) argument
/haiku-fatelf/src/add-ons/kernel/generic/ide_adapter/
H A Dide_adapter.cpp221 const physical_entry *sgList, size_t sgListCount, bool writeToDevice)
230 for (i = sgListCount - 1, prd = channel->prdt; i >= 0; --i, ++prd, ++sgList) {
232 (void*)(addr_t)sgList->address));
234 prd->count = B_HOST_TO_LENDIAN_INT16((uint16)sgList->size);
220 ide_adapter_prepare_dma(ide_adapter_channel_info *channel, const physical_entry *sgList, size_t sgListCount, bool writeToDevice) argument

Completed in 111 milliseconds